无法在Ubuntu 20.04上安装vulkan

时间:2020-06-13 08:01:13

标签: ubuntu unreal-engine4 vulkan

我的GPU是NVIDIA GeForce GT705。在运行./UE4Editor时,错误显示“找不到兼容的Vulkan设备或驱动程序”。因此,我尝试在此页面Vulkan On Linux 之后安装Vulkan。 sudo add-apt-repository ppa:graphics-drivers/ppasudo apt upgrade可能是正确的。

$ sudo ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd0000104Csv00001028sd0000109Bbc03sc00i00
vendor   : NVIDIA Corporation
model    : GF119 [GeForce GT 705]
driver   : nvidia-340 - distro non-free
driver   : nvidia-driver-390 - distro non-free recommended
driver   : xserver-xorg-video-nouveau - distro free builtin

$ sudo add-apt-repository ppa:graphics-drivers/ppa
Hit:1 http://jp.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://jp.archive.ubuntu.com/ubuntu focal-updates InRelease [107 kB]                             
Get:3 http://jp.archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]                                                          
Hit:4 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal InRelease                                                               
Get:5 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Get:6 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu focal InRelease [23.8 kB]
Get:7 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu focal/main amd64 Packages [7,196 B]
Get:8 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu focal/main i386 Packages [6,924 B]
Fetched 350 kB in 3s (128 kB/s)                     
Reading package lists... Done

但是,下面是错误。

$ sudo apt install nvidia-graphics-drivers-396 nvidia-settings vulkan vulkan-utils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package nvidia-graphics-drivers-396
E: Unable to locate package vulkan

我不知道为什么nvidia-graphics-drivers-396vulkan不存在,以及我如何安装vulkan。请告诉我。

1 个答案:

答案 0 :(得分:2)

GT 705基于Fermi架构,它根本不支持Vulkan。因此,即使使用最新的驱动程序,您也无法在该GPU上使用Vulkan。