Can I use a Vulkan?

I have a graphics card of the AMD Turks generation in my computer. I want to use a Vulkan. In the parameters of the system, I observe error messages, given in the screenshot.
What is my problem?


On this system, the Vulkan support is behaving perfectly:

Operating System: openSUSE Leap 15.4
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.14.21-150400.24.33-default (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Ryzen 5 3400G with Radeon Vega Graphics
Memory: 29.3 GiB of RAM
Graphics Processor: AMD Radeon™ Vega 11 Graphics

 > vulkaninfo 

Vulkan Instance Version: 1.2.133

Instance Extensions: count = 18
        VK_EXT_acquire_xlib_display            : extension revision 1
        VK_EXT_debug_report                    : extension revision 10
        VK_EXT_debug_utils                     : extension revision 1
        VK_EXT_direct_mode_display             : extension revision 1
        VK_EXT_display_surface_counter         : extension revision 1
        VK_KHR_device_group_creation           : extension revision 1
        VK_KHR_display                         : extension revision 23
        VK_KHR_external_fence_capabilities     : extension revision 1

Do you have the following AMD related packages installed?

  • kernel-firmware-amdgpu
  • libdrm_amdgpu1
  • ucode-amd
  • xf86-video-amdgpu

Sounds like you need to blacklist radeon driver.

For request “vulkaninfo” get the following answer:

ERROR: …/src/amd/vulkan/radv_device.c:691] Code 0 : Device ‘/dev/dri/renderD129’ is not using the AMDGPU kernel driver: Invalid argument (VK_ERROR_INCOMPATIBLE_DRIVER)
ERROR: …/src/amd/vulkan/radv_device.c:691] Code 0 : Device ‘/dev/dri/renderD128’ is not using the AMDGPU kernel driver: Invalid argument (VK_ERROR_INCOMPATIBLE_DRIVER)
ERROR: [Loader Message] Code 0 : setup_loader_term_phys_devs: Failed to detect any valid GPUs in the current config
ERROR at /home/abuild/rpmbuild/BUILD/Vulkan-Tools-1.3.231/vulkaninfo/vulkaninfo.h:237:vkEnumeratePhysicalDevices failed with ERROR_INITIALIZATION_FAILED
byte 0/0 (END)

Therefore, as “ arvidjaar” suggests, you need to check that, the “amdgpu” driver is being used.

  • The ArchWiki article is the complete and definite guide to setting up your system to load the “amdgpu” driver rather than the Radeon driver.
  • You’ll need to inspect the X.Org Radeon feature to determine if the “Turks” GPU is “Southern Islands” (SI) or “Sea Islands” (CIK) – <>.

[HR][/HR]Bad news:

Therefore, “Vulkan” isn’t supported – you have to use the “radeon” driver, which doesn’t support “Vulkan”.

The situation is clear. Thanks for the detailed answer.

There is another point as well –