If you have a look at https://bugs.freedesktop.org/attachment.cgi?id=144232 you'll notice that the same GPU is registered two times: > Devices count = 2 > GPU id : 0 (AMD RADV POLARIS10 (LLVM 9.0.0)) > GPU id : 1 (AMD RADV POLARIS10 (LLVM 9.0.0)) > Groups : > ======== > Device Group Properties (Group 0) : > physicalDeviceCount = 1 > > AMD RADV POLARIS10 (LLVM 9.0.0) (ID: 0) > > subsetAllocation = 0 > > > Device Group Properties (Group 1) : > physicalDeviceCount = 1 > > AMD RADV POLARIS10 (LLVM 9.0.0) (ID: 0) > > subsetAllocation = 0 But there's just one GPU in the system: > # lspci | grep VGA > 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X] (rev e7) A workaround to this is setting the env variable VK_ICD_FILENAMES to /usr/share/vulkan/icd.d/radeon_icd.x86_64.json but that stops 32 bit apps from accessing the driver. This has been tested with media-libs/vulkan-loader-1.1.92.1 and media-libs/vulkan-loader-1.1.106 As the files inside of /usr/share/vulkan/icd.d are from media-libs/mesa I'm not sure which of the two packages is rensponsible for this.
Another workaround is this: VK_ICD_FILENAMES="/usr/share/vulkan/icd.d/radeon_icd.x86_64.json:/usr/share/vulkan/icd.d/radeon_icd.i686.json" which is weird as this should be the same as VK_ICD_FILENAMES unset, right? > $ ls /usr/share/vulkan/icd.d/ > radeon_icd.i686.json radeon_icd.x86_64.json
(In reply to Thomas from comment #0) > If you have a look at https://bugs.freedesktop.org/attachment.cgi?id=144232 > you'll notice that the same GPU is registered two times: Why is that a problem? Is that somehow a Gentoo packaging problem?