当前位置: 首页 > 工具软件 > andLinux > 使用案例 >

Install And Test Vulkan On Linux

孙熠彤
2023-12-01
https://linuxconfig.org/install-and-test-vulkan-on-linux

 

Ubuntu
AMD It's best to enable a PPA for the latest Mesa drivers. There is a PPA that packages and releases the latest changes straight from Mesa's Git. Add the PPA to your system and update. Then, upgrade your system. It will automatically upgrade your existing Mesa packages.

$ sudo add-apt-repository ppa:oibaf/graphics-drivers
$ sudo apt update
$ sudo apt upgrade
When it's done, install the Vulkan packages.
# apt install libvulkan1 mesa-vulkan-drivers vulkan-utils
NVIDIA Ubuntu also has a great repository for the NVIDIA proprietary drivers. Add it to your system, and update Apt.

$ sudo add-apt-repository ppa:graphics-drivers/ppa
$ sudo apt upgrade
Now, install your drivers and Vulkan.
$ sudo apt install nvidia-graphics-drivers-396 nvidia-settings vulkan vulkan-utils

 

 

vulkaninfo | less
 类似资料:

相关阅读

相关文章

相关问答