I have an AMD Vega 56 GPU in my system, and vulkan does not seem to work with amdgpu mesa drivers. I have run sudo pacman -Syu
, yay -Syu
and eos-update --yay
, so everything should be up-to-date. What could be the problem here?
I get these errors:
$ vulkaninfo
ERROR: [Loader Message] Code 0 : setup_loader_term_phys_devs: Failed to detect any valid GPUs in the current config
ERROR: [Loader Message] Code 0 : setup_loader_term_phys_devs: Failed to detect any valid GPUs in the current config
ERROR: [Loader Message] Code 0 : setup_loader_term_phys_devs: Failed to detect any valid GPUs in the current config
ERROR: [Loader Message] Code 0 : setup_loader_term_phys_devs: Failed to detect any valid GPUs in the current config
ERROR: [Loader Message] Code 0 : setup_loader_term_phys_devs: Failed to detect any valid GPUs in the current config
ERROR at /usr/src/debug/vulkan-tools/Vulkan-Tools-1.3.269/vulkaninfo/./vulkaninfo.h:237:vkEnumeratePhysicalDevices failed with ERROR_INITIALIZATION_FAILED
$ vkcube
vkEnumeratePhysicalDevices reported zero accessible devices.
Do you have a compatible Vulkan installable client driver (ICD) installed?
Please look at the Getting Started guide for additional information.
More info:
$ pacman -Qs vulkan
local/dxvk-bin 2.3.1-1
A Vulkan-based compatibility layer for Direct3D 9/10/11 which allows running 3D applications on Linux using Wine (Windows DLL binary files)
local/goverlay 1.1.1-2
A GUI to help manage Vulkan/OpenGL overlays
local/lib32-vulkan-icd-loader 1.3.279-1
Vulkan Installable Client Driver (ICD) Loader (32-bit)
local/lib32-vulkan-mesa-layers 1:24.1.2-1
Mesa's Vulkan layers - 32-bit
local/lib32-vulkan-radeon 1:24.1.2-1
Open-source Vulkan driver for AMD GPUs - 32-bit
local/mangohud 0.7.2-1
A Vulkan overlay layer for monitoring FPS, temperatures, CPU/GPU load and more.
local/qt6-shadertools 6.7.2-1 (qt6)
Provides functionality for the shader pipeline that allows Qt Quick to operate on Vulkan, Metal, and Direct3D, in addition to OpenGL
local/spirv-tools 2024.2-1 (vulkan-devel)
API and commands for processing SPIR-V modules
local/vkd3d 1.11-1
Direct3D 12 to Vulkan translation library By WineHQ
local/vulkan-headers 1:1.3.285-1 (vulkan-devel)
Vulkan header files
local/vulkan-icd-loader 1.3.285-1
Vulkan Installable Client Driver (ICD) Loader
local/vulkan-mesa-layers 1:24.1.2-1
Mesa's Vulkan layers
local/vulkan-radeon 1:24.1.2-1
Open-source Vulkan driver for AMD GPUs
local/vulkan-tools 1.3.269-1 (vulkan-devel)
Vulkan Utilities and Tools
$ pacman -Qs linux-firmware
local/linux-firmware 20240610.9c10a208-1
Firmware files for Linux
local/linux-firmware-whence 20240610.9c10a208-1
Firmware files for Linux - contains the WHENCE license file which documents the vendor license details
$ lspci -k | grep -A3 VGA
0c:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XL/XT [Radeon RX Vega 56/64] (rev c3)
Subsystem: Sapphire Technology Limited Radeon RX VEGA 56 Pulse 8GB OC HBM2
Kernel driver in use: amdgpu
Kernel modules: amdgpu
$ sudo dmesg | grep amdgpu
[ 0.000000] Command line: initrd=\*random id*\6.9.7-arch1-1\initrd nvme_load=YES nowatchdog rw root=UUID=*random id* amdgpu.ppfeaturemask=0xffffffff systemd.machine_id=*random id*
[ 0.036657] Kernel command line: initrd=\*random id*\6.9.7-arch1-1\initrd nvme_load=YES nowatchdog rw root=UUID=*random id* amdgpu.ppfeaturemask=0xffffffff systemd.machine_id=*random id*
[ 2.964588] [drm] amdgpu kernel modesetting enabled.
[ 2.974083] amdgpu: Virtual CRAT table created for CPU
[ 2.974094] amdgpu: Topology: Add CPU node
[ 2.974333] amdgpu 0000:0c:00.0: No more image in the PCI ROM
[ 2.974347] amdgpu 0000:0c:00.0: amdgpu: Fetched VBIOS from ROM BAR
[ 2.974349] amdgpu: ATOM BIOS: 113-376XL-U44
[ 3.043915] amdgpu 0000:0c:00.0: vgaarb: deactivate vga console
[ 3.043919] amdgpu 0000:0c:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
[ 3.043945] amdgpu 0000:0c:00.0: amdgpu: MEM ECC is not presented.
[ 3.043946] amdgpu 0000:0c:00.0: amdgpu: SRAM ECC is not presented.
[ 3.043969] amdgpu 0000:0c:00.0: amdgpu: VRAM: 8176M 0x000000F400000000 - 0x000000F5FEFFFFFF (8176M used)
[ 3.043972] amdgpu 0000:0c:00.0: amdgpu: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF
[ 3.044055] [drm] amdgpu: 8176M of VRAM memory ready
[ 3.044058] [drm] amdgpu: 15999M of GTT memory ready.
[ 3.044672] amdgpu: hwmgr_sw_init smu backed is vega10_smu
[ 3.235770] amdgpu 0000:0c:00.0: amdgpu: reserve 0x400000 from 0xf5fec00000 for PSP TMR
[ 3.747832] amdgpu: HMM registered 8176MB device memory
[ 3.749143] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
[ 3.749153] kfd kfd: amdgpu: Total number of KFD nodes to be created: 1
[ 3.749251] amdgpu: Virtual CRAT table created for GPU
[ 3.749401] amdgpu: Topology: Add dGPU node [0x687f:0x1002]
[ 3.749403] kfd kfd: amdgpu: added device 1002:687f
[ 3.749417] amdgpu 0000:0c:00.0: amdgpu: SE 4, SH per SE 1, CU per SH 16, active_cu_number 56
[ 3.749421] amdgpu 0000:0c:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
[ 3.749423] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[ 3.749425] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[ 3.749426] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[ 3.749427] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[ 3.749428] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[ 3.749430] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[ 3.749431] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[ 3.749432] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[ 3.749433] amdgpu 0000:0c:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 11 on hub 0
[ 3.749434] amdgpu 0000:0c:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 8
[ 3.749436] amdgpu 0000:0c:00.0: amdgpu: ring page0 uses VM inv eng 1 on hub 8
[ 3.749437] amdgpu 0000:0c:00.0: amdgpu: ring sdma1 uses VM inv eng 4 on hub 8
[ 3.749438] amdgpu 0000:0c:00.0: amdgpu: ring page1 uses VM inv eng 5 on hub 8
[ 3.749440] amdgpu 0000:0c:00.0: amdgpu: ring uvd_0 uses VM inv eng 6 on hub 8
[ 3.749441] amdgpu 0000:0c:00.0: amdgpu: ring uvd_enc_0.0 uses VM inv eng 7 on hub 8
[ 3.749442] amdgpu 0000:0c:00.0: amdgpu: ring uvd_enc_0.1 uses VM inv eng 8 on hub 8
[ 3.749443] amdgpu 0000:0c:00.0: amdgpu: ring vce0 uses VM inv eng 9 on hub 8
[ 3.749445] amdgpu 0000:0c:00.0: amdgpu: ring vce1 uses VM inv eng 10 on hub 8
[ 3.749446] amdgpu 0000:0c:00.0: amdgpu: ring vce2 uses VM inv eng 11 on hub 8
[ 3.750990] [drm] Initialized amdgpu 3.57.0 20150101 for 0000:0c:00.0 on minor 1
[ 3.779258] fbcon: amdgpudrmfb (fb0) is primary device
[ 3.910409] amdgpu 0000:0c:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[ 5.552925] snd_hda_intel 0000:0c:00.1: bound 0000:0c:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
$ ls -l /usr/share/vulkan/icd.d/
total 8
-rw-r--r-- 1 root root 149 Jun 20 05:42 radeon_icd.i686.json
-rw-r--r-- 1 root root 147 Jun 20 05:32 radeon_icd.x86_64.json