ubuntu:gpu:vulkan:set_vulkan_driver
This is an old revision of the document!
Table of Contents
Ubuntu - GPU - Vulkan - Set Vulkan Driver
There are a number of drivers for Vulkan.
Some provide better performance than others.
Drivers include:
- MESA RADV: The Mesa RADV Driver.
- MESA LLVMPIPE: The Mesa LLVMPIPE Driver.
- AMDVLK: The AMD Vulkan Driver.
See Check what Vulkan implementations are currently installed
Set LLVMPIPE as the Vulkan Driver
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/lvp_icd.x86_64.json:/usr/share/vulkan/icd.d/lvp_icd.i686.json
Check that the driver is being picked up
vulkaninfo | grep driver
returns:
driverVersion = 1 (0x0001) driverID = DRIVER_ID_MESA_LLVMPIPE driverName = llvmpipe driverInfo = Mesa 23.1.2 - kisak-mesa PPA (LLVM 15.0.7) driverUUID = 6c6c766d-7069-7065-5555-494400000000 driverUUID = 6c6c766d-7069-7065-5555-494400000000 driverID = DRIVER_ID_MESA_LLVMPIPE driverName = llvmpipe driverInfo = Mesa 23.1.2 - kisak-mesa PPA (LLVM 15.0.7) VK_KHR_driver_properties : extension revision 1
Set MESA RADV as the Vulkan Driver
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.x86_64.json:/usr/share/vulkan/icd.d/radeon_icd.i686.json
ubuntu/gpu/vulkan/set_vulkan_driver.1687014938.txt.gz · Last modified: 2023/06/17 15:15 by peter