You are not logged in.

#1 2023-06-09 02:58:33

basie
Member
Registered: 2017-09-28
Posts: 17

[SOLVED] Tomb Raider insists 7900 XTX doesn't exist, uses iGPU

Solution: missing lib32-vulkan-radeon.

Most Proton games are working fine with a new desktop build, based around an i5 13600K and a Radeon 7900XTX. However, Tomb Raider is getting on in years a bit, and it seems not to want to recognise my dGPU. It runs, but only finds the iGPU. Both monitor outputs are plugged into the 7900XTX, but this seems not to make any difference.

The below findings are with Proton Experimental, though I've tried various versions with little difference. Native Linux for this game exits immediately (a known issue apparently). Desktop environment is Wayland/sway.

Installed are:

- local/lib32-mesa 23.1.1-1
- local/lib32-vulkan-intel 23.1.1-1
- local/lib32-vulkan-icd-loader 1.3.245-1
- local/lib32-vulkan-intel 23.1.1-1
- local/lib32-vulkan-mesa-layers 23.1.1-1
- local/mesa 23.1.1-1
- local/spirv-tools 2022.4-1 (vulkan-devel)
- local/vulkan-icd-loader 1.3.245-1
- local/vulkan-mesa-layers 23.1.1-1
- local/vulkan-radeon 23.1.1-1
- local/vulkan-tools 1.3.245-1 (vulkan-devel)

Worth noting that amdvlk is not installed.

6n1HAJ2.png

vulkaninfo --summary

==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.246

## Instance Extensions: count = 23

VK_EXT_acquire_drm_display : extension revision 1
VK_EXT_acquire_xlib_display : extension revision 1
VK_EXT_debug_report : extension revision 10
VK_EXT_debug_utils : extension revision 2
VK_EXT_direct_mode_display : extension revision 1
VK_EXT_display_surface_counter : extension revision 1
VK_EXT_surface_maintenance1 : extension revision 1
VK_EXT_swapchain_colorspace : extension revision 4
VK_KHR_device_group_creation : extension revision 1
VK_KHR_display : extension revision 23
VK_KHR_external_fence_capabilities : extension revision 1
VK_KHR_external_memory_capabilities : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2 : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2 : extension revision 1
VK_KHR_portability_enumeration : extension revision 1
VK_KHR_surface : extension revision 25
VK_KHR_surface_protected_capabilities : extension revision 1
VK_KHR_wayland_surface : extension revision 6
VK_KHR_xcb_surface : extension revision 6
VK_KHR_xlib_surface : extension revision 6
VK_LUNARG_direct_driver_loading : extension revision 1

## Instance Layers: count = 7

VK_LAYER_INTEL_nullhw INTEL NULL HW 1.1.73 version 1
VK_LAYER_MESA_device_select Linux device selection layer 1.3.211 version 1
VK_LAYER_MESA_overlay Mesa Overlay layer 1.3.211 version 1
VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer 1.3.207 version 1
VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer 1.3.207 version 1
VK_LAYER_VALVE_steam_overlay_32 Steam Overlay Layer 1.3.207 version 1
VK_LAYER_VALVE_steam_overlay_64 Steam Overlay Layer 1.3.207 version 1

# Devices:

GPU0:
apiVersion = 1.3.246
driverVersion = 23.1.1
vendorID = 0x1002
deviceID = 0x744c
deviceType = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
deviceName = AMD Radeon RX 7900 XTX (RADV GFX1100)
driverID = DRIVER_ID_MESA_RADV
driverName = radv
driverInfo = Mesa 23.1.1
conformanceVersion = 1.3.0.0
deviceUUID = 00000000-0300-0000-0000-000000000000
driverUUID = 414d442d-4d45-5341-2d44-525600000000

DXVK_LOG_LEVEL=debug

info: Game: TombRaider.exe
info: DXVK: v2.2-33-gd241daa0b1f96f7
info: Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fa91d60
info: Built-in extension providers:
info: Win32 WSI
info: OpenVR
info: OpenXR
info: Enabled instance extensions:
info: VK_KHR_get_surface_capabilities2
info: VK_KHR_surface
info: VK_KHR_win32_surface
info: D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info: Intel(R) Graphics (RPL-S):
info: Driver : Intel open-source Mesa driver 23.1.1
info: Memory Heap[0]:
info: Size: 23900 MiB
info: Flags: 0x1
info: Memory Type[0]: Property Flags = 0x1
info: Memory Type[1]: Property Flags = 0x7
info: Memory Type[2]: Property Flags = 0xf
info: D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info: Intel(R) Graphics (RPL-S):
info: Driver : Intel open-source Mesa driver 23.1.1
info: Memory Heap[0]:
info: Size: 23900 MiB
info: Flags: 0x1
info: Memory Type[0]: Property Flags = 0x1
info: Memory Type[1]: Property Flags = 0x7
info: Memory Type[2]: Property Flags = 0xf
info: Process set as DPI aware

Same, but with DXVK_FILTER_DEVICE_NAME="AMD":

info: Game: TombRaider.exe
info: DXVK: v2.2-33-gd241daa0b1f96f7
info: Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fa91d60
info: Built-in extension providers:
info: Win32 WSI
info: OpenVR
info: OpenXR
info: Enabled instance extensions:
info: VK_KHR_get_surface_capabilities2
info: VK_KHR_surface
info: VK_KHR_win32_surface
warn: DXVK: No adapters found. Please check your device filter settings and Vulkan setup.
info: Process set as DPI aware

glxinfo -B

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon RX 7900 XTX (gfx1100, LLVM 15.0.7, DRM 3.52, 6.3.6-arch1-1) (0x744c)
    Version: 23.1.1
    Accelerated: yes
    Video memory: 24576MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 22958 MB, largest block: 22958 MB
    VBO free aux. memory - total: 15820 MB, largest block: 15820 MB
    Texture free memory - total: 22958 MB, largest block: 22958 MB
    Texture free aux. memory - total: 15820 MB, largest block: 15820 MB
    Renderbuffer free memory - total: 22958 MB, largest block: 22958 MB
    Renderbuffer free aux. memory - total: 15820 MB, largest block: 15820 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 24576 MB
    Total available memory: 40509 MB
    Currently available dedicated video memory: 22958 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 7900 XTX (gfx1100, LLVM 15.0.7, DRM 3.52, 6.3.6-arch1-1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Any thoughts on what I could try next?

Last edited by basie (2023-06-09 20:36:19)

Offline

#2 2023-06-09 03:22:00

basie
Member
Registered: 2017-09-28
Posts: 17

Re: [SOLVED] Tomb Raider insists 7900 XTX doesn't exist, uses iGPU

Just checked for the hell of it: disabling the iGPU in BIOS doesn't help (the game exits immediately).

Offline

#3 2023-06-09 06:39:07

seth
Member
Registered: 2012-09-03
Posts: 60,756

Re: [SOLVED] Tomb Raider insists 7900 XTX doesn't exist, uses iGPU

Offline

#4 2023-06-09 20:35:23

basie
Member
Registered: 2017-09-28
Posts: 17

Re: [SOLVED] Tomb Raider insists 7900 XTX doesn't exist, uses iGPU

Thanks! That lead me to the fact that I was missing /usr/share/vulkan/icd.d/radeon-icd.i686.json, which meant I needed to install lib32-vulkan-radeon. All set now, appreciate the help.

Last edited by basie (2023-06-09 20:37:00)

Offline

Board footer

Powered by FluxBB