Since a recent upgrade to kernel 5.16.10 and update of packages, I noticed that one application with heavy 2D graphics operations (MAME) suffers considerable performance loss.
I noticed that the obvious reason was the Vulkan system using the software renderer llvmpipe instead of the radv driver that was used before. The application has not changed between the releases. The usage of llvmpipe was reported by the application, and I got a warning on the command line “WARNING: lavapipe is not a conformant vulkan implementation, testing use only.”
When I run vulkaninfo I can see that GPU Id 0 takes the llvmpipe, while GPU Id 1 takes “AMD RADV POLARIS10”. This order has swapped between the updates.
VK_LAYER_MESA_device_select (Linux device selection layer) Vulkan version 1.2.73, layer version 1:
Layer Extensions: count = 0
Devices: count = 2
GPU id = 0 (llvmpipe (LLVM 13.0.1, 256 bits))
Layer-Device Extensions: count = 0
GPU id = 1 (AMD RADV POLARIS10)
Layer-Device Extensions: count = 0
How can I change this? The llvmpipe is much slower than RADV.
Greetings,
Michael