我的系统是带有 GPU NVIDIA GF117M 的三星 NP450R5E-X04IT Ativ Book 4。它在 X11 会话上运行带有 Gnome Shell 40.5 和内核 5.13.0-20 的 Ubuntu 21.10。上次全新安装是使用 Ubuntu 20.04,然后我每 6 个月使用常规操作系统更新更新系统。
我使用 Nouveau 驱动程序,没有安装 NVIDIA 驱动程序。现在,我想安装它们。首先,我尝试了以下方法:
$ sudo ubuntu-drivers autoinstall
No drivers found for installation.
然后,我通过sudo apt install nvidia-drivers-470
. 安装没问题(根据相关数据的输出):
$ sudo apt install nvidia-driver-470
Reading package lists... Done
[...]
0 upgraded, 69 newly installed, 0 to remove and 0 not upgraded.
Need to get 305 MB of archives.
After this operation, 858 MB of additional disk space will be used.
[...]
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
Loading new nvidia-470.74 DKMS files...
Building for 5.13.0-20-generic
Building for architecture x86_64
Building initial module for 5.13.0-20-generic
Secure Boot not enabled on this system.
Done.
nvidia.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.13.0-20-generic/updates/dkms/
nvidia-modeset.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.13.0-20-generic/updates/dkms/
nvidia-drm.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.13.0-20-generic/updates/dkms/
nvidia-uvm.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.13.0-20-generic/updates/dkms/
nvidia-peermem.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.13.0-20-generic/updates/dkms/
depmod..........
DKMS: install completed.
[...]
update-initramfs: Generating /boot/initrd.img-5.13.0-20-generic
但是,即使在重新启动后,驱动程序也不会在附加驱动程序选项卡中列出。
lspci
命令显示以下控制器:
$ lspci -k | grep -EA3 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
DeviceName: Onboard IGD
Subsystem: Samsung Electronics Co Ltd 3rd Gen Core processor Graphics Controller
Kernel driver in use: i915
--
01:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)
Subsystem: Samsung Electronics Co Ltd GeForce 710M
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
我也尝试nvidia-driver-390
根据Ubuntu 20.04 LTS 中未检测到 NVIDIA 驱动程序进行卸载,但无济于事。
是什么阻止了 nvidia-drivers 出现在 Additional Drivers 选项卡中?是否有一些缺少的命令可以运行以使 NVIDIA 驱动程序可选?