Hello community,
recently I am experiencing an issue with the selection of the right Vulkan driver on my machine for some apps. The ones most affected are of course Lutris and Steam.
If I open a terminal and check the Vulkan environment variables, I can see that they are set exactly as per what I have set in the file /etc/environment:
$ echo $VK_DRIVER_FILES
/usr/share/vulkan/icd.d/radeon_icd.i686.json:/usr/share/vulkan/icd.d/radeon_icd.x86_64.json
$ echo $AMD_VULKAN_ICD
RADV
However, when I run a game in either Lutris or Steam, I get the error message that the system doesn’t support Vulkan (or DirectX, according to the game). In order to make sure to pick the RADV driver, I have always to specify the prefix command vk_radv before any executable.
Is there any way for defaulting the selection of the RADV driver, therefore avoiding to specify always the vk_radv command prefix?
Here below my /etc/environment file settings:
AMD_VULKAN_ICD=RADV
DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1=1
VK_DRIVER_FILES=/usr/share/vulkan/icd.d/radeon_icd.i686.json:/usr/share/vulkan/icd.d/radeon_icd.x86_64.json
and here below my system setup:
OS: Manjaro Linux x86_64
Kernel: 6.12.17-1-MANJARO
Resolution: 2560x1440
DE: GNOME 47.5
WM: Mutter
CPU: AMD Ryzen 7 5800X (16) @ 5.234GHz
GPU: AMD ATI Radeon RX 6800/6800 XT / 6900 XT
Memory: 8127MiB / 64207MiB
Could you please advise?
All the best.