如何卸载NVIDIA内核模块 "nvidia "以安装新的驱动程序?

问题描述 投票:0回答:1

我需要升级我的nvidia驱动程序,所以我已经尝试运行 NVIDIA-LInux-x86_64.run 档案

但是,我看到以下信息

ERROR: An NVIDIA kernel module 'nvidia' 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-drm 而当我试图卸载 nvidia

$ sudo modprobe -r nvidia
modprobe: FATAL: Module nvidia is in use.

谁能指导我安装这个新的驱动程序,而不出现任何问题?

谅谅

tensorflow ubuntu gpu ubuntu-18.04 nvidia
1个回答
0
投票

我刚刚删除了现有的驱动程序并重新安装了

© www.soinside.com 2019 - 2024. All rights reserved.