Skip to main content

Mesa 20.1 Adds A Vulkan Device Selection Layer For Better Handling Multi-GPU Setups

Mesa 20.1 has landed a Vulkan device selection layer for choosing between multiple Vulkan-enabled GPUs on a given system as the default device. This Vulkan layer allows for picking the default GPU for X11/Wayland/device sessions, similar to DRI PRIME for OpenGL. This Vulkan layer first checks for the MESA_VK_DEVICE_SELECT= environment variable for being pointed towards the GPU/driver to be used, otherwise checks DRI_PRIME and tries to match it to a proper configuration. More details are available on phoronix.