Ubuntu 18.04 上未加载 NVIDIA 驱动程序

Ubuntu 18.04 上未加载 NVIDIA 驱动程序

我通过以下方式安装了 nvidia 驱动程序:

$ sudo add-apt-repository ppa:graphics-drivers/ppa
$ sudo apt-get install nvidia-390

但看起来驱动程序运行不正常:

$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

我已经检查了内核模块lsmod | nvidia但未能找到它。

lshw以下是和的输出lspci,希望它能有所帮助:

$ lspci
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
...
01:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)

$ lshw -C display                                                                                                                             0s 
WARNING: you should run this program as super-user.
  *-display UNCLAIMED       
       description: 3D controller
       product: GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list
       configuration: latency=0
       resources: memory:f2000000-f2ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:6000(size=128)
  *-display
       description: VGA compatible controller
       product: 4th Gen Core Processor Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:29 memory:f3000000-f33fffff memory:d0000000-dfffffff ioport:7000(size=64) memory:c0000-dffff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.

重新启动、禁用安全启动等均prime-select nvidia无效。

我正在使用Ubuntu 18.044.18.0-16-generic谢谢你的建议!

答案1

我不确定你是否找到了解决方案,但只有 Nvidia 304 适用于较旧的显卡,但安装 304 会导致依赖性问题

因此,你按照 AskUbuntu 问题上的说明进行操作 无法在 Ubuntu 18.04 上安装 Nvidia 驱动程序

并修补 Nvidia 的安装程序并运行它。它对我来说很有效。

相关内容