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
Logo

更多推荐