无法加载模块“nvidia”(模块不存在,0)

无法加载模块“nvidia”(模块不存在,0)

我有 nvidia GM206 (GeForce GTX960)。我正在使用 Linux Mint Rosa (Ubuntu 14.04),最近我安装了 Steam。当它抱怨没有直接渲染时,我按照中的说明进行操作Steam社区编辑 /usr/lib/nvidia-387 和 /usr/lib/nvidia-387-prime 中的 alt_ld.so.conf。重新启动后,X无法启动,并且在我重新安装nvidia驱动程序后,我只能使用640x480分辨率,并且显示器被识别为笔记本电脑(尽管我在台式机上)。

现在我的 Xorg.0.log 包含:

cat /var/log/Xorg.0.log | grep nvidia
[    19.039] (==) Matched nvidia as autoconfigured driver 0
[    19.039] (==) Matched nvidia as autoconfigured driver 2
[    19.039] (II) LoadModule: "nvidia"
[    19.039] (WW) Warning, couldn't open module nvidia
[    19.039] (II) UnloadModule: "nvidia"
[    19.039] (II) Unloading nvidia
[    19.039] (EE) Failed to load module "nvidia" (module does not exist, 0)
[    19.069] (==) Matched nvidia as autoconfigured driver 0
[    19.069] (==) Matched nvidia as autoconfigured driver 2
[    19.069] (II) LoadModule: "nvidia"
[    19.070] (WW) Warning, couldn't open module nvidia
[    19.070] (II) UnloadModule: "nvidia"
[    19.070] (II) Unloading nvidia
[    19.070] (EE) Failed to load module "nvidia" (module does not exist, 0)

我怎样才能找出为什么 nvidia-387 无法加载 nvidia 模块,即使它已安装?

答案1

可能参加聚会迟到了,但可能会给某人提供信息。

就我而言,当我尝试将 nvidia 驱动程序升级到更高版本时,就会发生这种情况。重新启动后,X.org 未启动,dmesg 出现以下情况:

[  919.938560] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  919.939080] NVRM: The NVIDIA GeForce 9600 GT GPU installed in this system is
               NVRM:  supported through the NVIDIA 340.xx Legacy drivers. Please
               NVRM:  visit http://www.nvidia.com/object/unix.html for more
               NVRM:  information.  The 390.138 NVIDIA driver will ignore
               NVRM:  this GPU.  Continuing probe...
[  919.939086] NVRM: No NVIDIA graphics adapter found!

所以我恢复了更改:

apt remove nvidia-driver-390; apt autoremove  # or whatever you tried to install
apt install nvidia-340

相关内容