UnleashedRecomp icon indicating copy to clipboard operation
UnleashedRecomp copied to clipboard

Unable to detect GPU properly on my 7800XT arch linux system

Open BuyMyMojo opened this issue 9 months ago • 5 comments

Validation

  • [x] I have checked the Issues page to see if my problem has already been reported
  • [x] I have confirmed that this bug does not occur in the original game running on original Xbox 360 hardware

If you have DLC installed, please specify which ones you have.

  • [ ] Apotos & Shamar Adventure Pack
  • [ ] Chun-nan Adventure Pack
  • [ ] Empire City & Adabat Adventure Pack
  • [ ] Holoska Adventure Pack
  • [ ] Mazuri Adventure Pack
  • [ ] Spagonia Adventure Pack

Describe the Bug

A clear and concise description of what the bug is.

The game is a unable to start on my 7800XT system, I cant even get to the installation step:

Image

Steps to Reproduce

Steps to reproduce the bug:

  1. Install the flatpack
  2. Run (I've tried running normally through the system menu, as in the menu that opens with you press the super/windows button on KDE Plasma and I've tried directly using the command with the wayland flag like in the screenshot above)

Expected Behavior

A clear and concise description of what you expected to happen.

The game to run

Specifications

Fill out the following details:

  • OS: EndeavourOS x86_64
  • Host: X570 Phantom Gaming 4
  • Kernel: Linux 6.13.5-zen1-1-zen
  • DE: KDE Plasma 6.3.2
  • WM: KWin (Wayland)
  • CPU: AMD Ryzen 9 5900X (24) @ 4.95 GHz
  • GPU: AMD Radeon RX 7800 XT [Discrete]
  • RAM: 48GB

BuyMyMojo avatar Mar 04 '25 09:03 BuyMyMojo

I saw this same error listed for #718 which is an Nvidia GPU and I tried the solution in #630 but that didn't fix anything for me on linux

BuyMyMojo avatar Mar 04 '25 09:03 BuyMyMojo

What is your current environment ? Mine worked perfectly

OS: Arch Linux x86_64 Host: X570 AORUS ULTRA (-CF) Kernel: Linux 6.14.0-rc4-1-mainline CPU: AMD Ryzen 9 5950X (32) @ 5.18 GHz GPU: AMD Radeon RX 6900 XT [Discrete] Memory: 31.26 GiB Graphics driver : Mesa 25.1.0-devel (git-2dfbade2d8) (LLVM 19.1.7)

Worked perfectly on the steam deck (latest, stable) as well.

gouineblade avatar Mar 04 '25 10:03 gouineblade

What is your current environment ? Mine worked perfectly

OS: Arch Linux x86_64 Host: X570 AORUS ULTRA (-CF) Kernel: Linux 6.14.0-rc4-1-mainline CPU: AMD Ryzen 9 5950X (32) @ 5.18 GHz GPU: AMD Radeon RX 6900 XT [Discrete] Memory: 31.26 GiB Graphics driver : Mesa 25.1.0-devel (git-2dfbade2d8) (LLVM 19.1.7)

Worked perfectly on the steam deck (latest, stable) as well.

vulkaninfo is showing this for my mesa version:

        driverVersion     = 24.3.4 (100675588)
        driverUUID         = 414d442d-4d45-5341-2d44-525600000000

some relevant environment variables:

AMD_VULKAN_ICD=RADV
VK_DRIVER_FILES=/usr/share/vulkan/icd.d/radeon_icd.i686.json:/usr/share/vulkan/icd.d/radeon_icd.x86_64.json
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.i686.json:/usr/share/vulkan/icd.d/radeon_icd.x86_64.json
HSA_OVERRIDE_GFX_VERSION=11.0.0
DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1=1

BuyMyMojo avatar Mar 04 '25 10:03 BuyMyMojo

Just adding that this issue is still in the new patch 👌

BuyMyMojo avatar Mar 08 '25 03:03 BuyMyMojo

Are you able to build the project by yourself by any chance to attempt to debug the issue? We'd need information about what devices are available during this bit of code: https://github.com/hedge-dev/UnleashedRecomp/blob/131427e017588fe349e10694bdaf2a37900683d7/UnleashedRecomp/gpu/rhi/plume_vulkan.cpp#L3588-L3614

DarioSamo avatar Mar 08 '25 04:03 DarioSamo

Closing due to no response from OP.

DeaTh-G avatar Mar 16 '25 14:03 DeaTh-G