You are not logged in.

#1 2021-08-30 13:32:29

Hubro
Member
Registered: 2019-03-09
Posts: 32

RADV Vulkan implementation no longer working after recent update

Last night I updated my system for the first time in a few weeks. Suddenly Vulkan no longer works:

➜ 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.

Lutris screenshot

All the necessary packages are still installed:

➜ pacman -Q | egrep "^(lib32-)?(linux|mesa|vulkan)"
lib32-mesa 21.2.1-1
lib32-vulkan-icd-loader 1.2.184-1
lib32-vulkan-radeon 21.2.1-1
linux 5.13.12.arch1-1
linux-api-headers 5.12.3-1
linux-firmware 20210818.c46b8c3-1
linux-headers 5.13.12.arch1-1
mesa 21.2.1-1
mesa-demos 8.4.0-4
mesa-vdpau 21.2.1-1
vulkan-headers 1:1.2.187-1
vulkan-icd-loader 1.2.187-1
vulkan-radeon 21.2.1-1
vulkan-tools 1.2.184-1

I have double checked my ICD files exist:

➜ export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.i686.json:/usr/share/vulkan/icd.d/radeon_icd.x86_64.json
➜ ls -1 /usr/share/vulkan/icd.d
amd_icd32.json
amd_icd64.json
radeon_icd.i686.json
radeon_icd.x86_64.json

If I force usage of amdvlk instead, everything works:

export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd32.json

But I get pretty terrible framerates compared to RADV.

Are there any recent known bugs in Mesa that I may have run into? Otherwise, how do I start debugging this?

(I have of course rebooted my PC since updating)

---

GPU:

08:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] (rev c1) (prog-if 00 [VGA controller])
        Subsystem: Gigabyte Technology Co., Ltd Radeon RX 5700 XT Gaming OC
        Flags: bus master, fast devsel, latency 0, IRQ 154, IOMMU group 29
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Memory at e0000000 (64-bit, prefetchable) [size=2M]
        I/O ports at e000 [size=256]
        Memory at fc000000 (32-bit, non-prefetchable) [size=512K]
        Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu

08:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio
        Flags: bus master, fast devsel, latency 0, IRQ 151, IOMMU group 30
        Memory at fc0a0000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

Last edited by Hubro (2021-08-30 13:36:46)

Offline

#2 2021-08-30 13:40:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,334

Re: RADV Vulkan implementation no longer working after recent update

amdvlk added a new loader implementation that breaks ICD based loading for other drivers, see https://wiki.archlinux.org/title/Vulkan … kan_driver for what you can do to reenable that properly.

Offline

#3 2021-08-30 13:44:56

Hubro
Member
Registered: 2019-03-09
Posts: 32

Re: RADV Vulkan implementation no longer working after recent update

V1del wrote:

amdvlk added a new loader implementation that breaks ICD based loading for other drivers, see https://wiki.archlinux.org/title/Vulkan … kan_driver for what you can do to reenable that properly.

Ah, awesome! Thanks!

Offline

#4 2021-08-30 16:49:04

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,334

Re: RADV Vulkan implementation no longer working after recent update

Consider marking this as [SOLVED] if that helped the issue you might have to shorten the title as a whole though.

Offline

Board footer

Powered by FluxBB