无法让 NVidia 9600GT 与 Kubuntu 14.04 配合使用

无法让 NVidia 9600GT 与 Kubuntu 14.04 配合使用

问题:Nvidia 驱动程序未加载

硬件:戴尔T110

显卡

root@madeye:~# lspci | grep VGA
02:00.0 VGA compatible controller: NVIDIA Corporation G96 [GeForce 9500 GT] (rev a1)

已安装 Nvidia 软件包

root@madeye:~# dpkg --get-selections | grep nvidia
nvidia-304                  deinstall
nvidia-304-updates              install
nvidia-current-updates              install
nvidia-libopencl1-304               deinstall
nvidia-libopencl1-304-updates           install
nvidia-opencl-icd-304               deinstall
nvidia-opencl-icd-304-updates           install
nvidia-settings                 install

我已在安装后更新了所有软件包并安装了内核头

相关线路来自Xorg.0.log

[    19.739] (II) LoadModule: "nvidia"
[    19.739] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
[    19.740] (II) Module nvidia: vendor="NVIDIA Corporation"
[    19.740]    compiled for 4.0.2, module version = 1.0.0
[    19.740]    Module class: X.Org Video Driver
[    19.774] (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
[    19.774] (EE) NVIDIA:     system's kernel log for additional error messages.
[    19.774] (II) UnloadModule: "nvidia"
[    19.774] (II) Unloading nvidia
[    19.774] (EE) Failed to load module "nvidia" (module-specific error, 0)Ke

相关线路来自kern.log

Jun 28 16:05:12 madeye kernel: [   19.835310] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
Jun 28 16:05:12 madeye kernel: [   19.835310] NVRM: BAR1 is 0M @ 0x0 (PCI:0000:02:00.0)
Jun 28 16:05:12 madeye kernel: [   19.835318] NVRM: The system BIOS may have misconfigured your GPU.
Jun 28 16:05:12 madeye kernel: [   19.835325] nvidia: probe of 0000:02:00.0 failed with error -1
Jun 28 16:05:12 madeye kernel: [   19.835361] NVRM: The NVIDIA probe routine failed for 1 device(s).
Jun 28 16:05:12 madeye kernel: [   19.835364] NVRM: None of the NVIDIA graphics adapters were initialized!
Jun 28 16:05:12 madeye kernel: [   19.875318] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
Jun 28 16:05:12 madeye kernel: [   19.875318] NVRM: BAR1 is 0M @ 0x0 (PCI:0000:02:00.0)
Jun 28 16:05:12 madeye kernel: [   19.875324] NVRM: The system BIOS may have misconfigured your GPU.
Jun 28 16:05:12 madeye kernel: [   19.875328] nvidia: probe of 0000:02:00.0 failed with error -1
Jun 28 16:05:12 madeye kernel: [   19.875348] NVRM: The NVIDIA probe routine failed for 1 device(s).
Jun 28 16:05:12 madeye kernel: [   19.875350] NVRM: None of the NVIDIA graphics adapters were initialized!

我需要采取哪些进一步的故障排除步骤?我该怎么做才能让内核识别显卡?


编辑

根据 terdon 的回答,如果我运行命令,我会收到以下消息:

dthacker@madeye:~$ sudo apt-get install nvidia-kernel-dkms nvidia-xconfig nvidia-settings
Reading package lists... Done 
Building dependency tree Reading state information... Done 
Package nvidia-kernel-dkms 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-kernel-dkms' has no installation candidate 
E: Unable to locate package nvidia-xconfig`

@terdon,我使用了你指出的文章中的这个实用程序:

root@madeye:~# ubuntu-drivers devices | grep recommended
driver   : nvidia-331 - distro non-free recommended

然后我安装了 nvidia-331,受限驱动程序实用程序显示它正在被使用。 nvidia GUI 实用程序仍然没有用于配置多个显示器的可见选项(当前有两个显示器连接到该卡),并且我仍然收到错误消息,kern.log称 Nvidia init 模块失败。

仍在努力寻找解决方案......

输出apt-get install nvidia-driver

root@madeye:~# apt-get install nvidia-driver
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package nvidia-driver 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`

答案1

对于那些来到这里遇到类似问题的人。我的 kubuntu (21.01) 安装无法启动 - 卡在华硕徽标上。 Alt-F2 调出命令提示符,但 dmesg 中唯一的错误是重复:EDAC skx: ECC is disabled on imc 0

按照上面的建议,我使用了: ubuntu-drivers devices | grep recommended

从推荐的驱动程序中,我安装了: sudo apt-get install nvidia-driver-470

重启后,一切正常。快乐的时光。 ECC 错误仍然存​​在,但我会抑制它们。

相关内容