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
本文指导如何在Ubuntu上为AMD和NVIDIA显卡安装最新的Vulkan驱动。通过添加PPA并更新Apt,可以获取到Mesa的最新驱动,从而支持Vulkan图形API。对于AMD,使用oibaf/graphics-drivers PPA;对于NVIDIA,则使用graphics-drivers/ppa。安装过程包括升级系统,然后安装Vulkan相关的软件包。
5052

被折叠的 条评论
为什么被折叠?



