我按照这些步骤在 16.04 版本的 ubuntu 系统中安装了 nvidia 驱动程序 440。我的显卡型号是 nvidia GeForce GTX 1080
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
当我做ubuntu-drivers devices
它显示像
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
manual_install: True
modalias : pci:v000010DEd00001B80sv000010DEsd0000119Ebc03sc00i00
vendor : NVIDIA Corporation
driver : nvidia-430 - third-party free recommended
driver : nvidia-415 - third-party free
driver : xserver-xorg-video-nouveau - distro free builtin
driver : nvidia-418 - third-party free
driver : nvidia-410 - third-party free
driver : nvidia-384 - distro non-free
在上述输出中,驱动器440不存在。
sudo apt-get install nvidia-440
上面一行的输出是
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nvidia-440 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'nvidia-440' has no installation candidate
如果您查看PPA,您会发现 440 不适用于 16.04
这是 PPA 上 16.04 的最新版本,要获得 440,您需要升级到较新的版本,18.04 或 20.04 都有 440 的包并且是 LTS 版本。
您可以从Nvidia获得 440 二进制文件并尝试使用本指南安装它,但这并不理想,因为没有自动更新,您需要为每次更新安装它。