如何卸载内核模块“nvidia-Modeset”

如何卸载内核模块“nvidia-Modeset”

我正在尝试在 Debian Stretch 中安装最新的 NVIDIA 驱动程序。我已经从这里下载了 NVIDIA-Linux-x86_64-390.48.run,但是当我尝试这样做时。

sudo sh ./NVIDIA-Linux-x86_64-390.48.run

按照建议,出现错误消息。

ERROR: An NVIDIA kernel module 'nvidia-modeset' appears to already be loaded in your kernel. This may be because it is in use (for example, by an X server, a CUDA program, or the NVIDIA Persistence Daemon), but this may also happen if your kernel was configured without support for module unloading. Please be sure to exit any programs that may be using the GPU(s) before attempting to upgrade your driver. If no GPU-based programs are running, you know that your kernel supports module unloading, and you still receive this message, then an error may have occured that has corrupted an NVIDIA kernel module's usage count, for which the simplest remedy is to reboot your computer.

有什么帮助完成 nvidia 驱动程序的安装吗?

答案1

您需要先卸载旧驱动程序,然后才能安装新驱动程序。我不记得您是否可以让新安装程序将其删除或手动执行。

相关内容