Linux卸载并更新显卡驱动

时间:2024-02-24 09:46:54

1. 下载对应版本的驱动

https://www.nvidia.com/Download/index.aspx?lang=en-us

 

 

 2. 卸载已有驱动

sudo sh NVIDIA-Linux-x86_64-390.116.run --uninstall

sudo /usr/bin/nvidia-uninstall

如果没有对应的驱动文件,需要再官网下载

3. 重启服务器

sudo reboot

 

4. 按照新驱动

sudo sh NVIDIA-Linux-x86_64-410.104.run

 

注:安装后提示

To uninstall the CUDA Toolkit, run cuda-uninstaller in /usr/local/cuda-10.1/bin
To uninstall the NVIDIA Driver, run nvidia-uninstall