NVidia 驱动程序无法正常工作:`无法加载模块“nvidia”(模块不支持此操作系统,0)`

NVidia 驱动程序无法正常工作:`无法加载模块“nvidia”(模块不支持此操作系统,0)`

我在一台配备独立 NVidia 显卡(GeForce 610M)的笔记本电脑上全新安装了 Xubuntu 20.04。我根本没有修改视频驱动程序设置(除了在安装时启用专有驱动程序)。

问题是 GLX 不起作用:

holyblackcat@hbc-laptop:~$ glxinfo
name of display: :0.0
Error: couldn't find RGB GLX visual or fbconfig

以下是 Xorg 日志:

holyblackcat@hbc-laptop:/etc/X11$ grep -i nvidia /var/log/Xorg.0.log
[   117.912] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules"
[   117.914] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/libglx.so
[   117.918] (II) Module glx: vendor="NVIDIA Corporation"
[   117.918] (II) NVIDIA GLX Module  390.132  Fri Nov  1 04:00:46 PDT 2019
[   117.918] (II) LoadModule: "nvidia"
[   117.918] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/nvidia_drv.so
[   117.919] (II) Module nvidia: vendor="NVIDIA Corporation"
[   117.919] (II) NVIDIA dlloader X Driver  390.132  Fri Nov  1 03:36:28 PDT 2019
[   117.919] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   117.919] (II) Applying OutputClass "nvidia" to /dev/dri/card1
[   117.919]   loading driver: nvidia
[   118.057] (==) Matched nvidia as autoconfigured driver 0
[   118.057] (II) LoadModule: "nvidia"
[   118.057] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/nvidia_drv.so
[   118.057] (II) Module nvidia: vendor="NVIDIA Corporation"
[   118.057] (II) UnloadModule: "nvidia"
[   118.057] (II) Unloading nvidia
[   118.057] (EE) Failed to load module "nvidia" (module doesn't support this OS, 0)
[   118.058] (II) NVIDIA dlloader X Driver  390.132  Fri Nov  1 03:36:28 PDT 2019
[   118.058] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   118.058] (II) NOUVEAU driver for NVIDIA chipset families :
[   118.146] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
[   118.316] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event11)
[   118.316] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event12)
[   118.317] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event13)
[   118.317] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event14)

我尝试运行sudo nvidia-xconfig并重新启动。

它并没有解决 GLX 问题,而使得事情变得更糟:系统切换到了一个很小的分辨率,即使删除/etc/X11/xorg.conf(由 生成nvidia-xconfig)并重新启动后我也无法更改它。

我目前已切换到 Noveau 驱动程序,它解决了这些问题。

答案1

请卸载全部nvidia 驱动程序然后安装仅有的最新的一个。

相关内容