1 How can I uninstall a nvidia driver completely ? 完全卸载驱动
- Solution 1
sudo apt-get remove --purge nvidia-*
- solution 2
sudo apt-get remove --purge '^nvidia-.*'
sudo apt-get install ubuntu-desktop
sudo rm /etc/X11/xorg.conf
echo 'nouveau' | sudo tee -a /etc/modules
install Nvidia Driver by Commend Line 命令行安装驱动
1.卸载Nvidia低版本显卡驱动
sudo apt-get purge nvidia*
2.把显卡驱动加入PPA
sudo add-apt-repository ppa:graphics-drivers
sudo apt-get update
3.查找显卡驱动最新的版本号
查找并安装最新驱动
sudo apt-cache search nvidia
4 采用apt-get命令在终端安装:
sudo apt install nvidia-driver-410 && sudo reboot
sudo apt-get install nvidia-xxx nvidia-settings nvidia-prime
xxx为版本号, 例如: nvidia-390
5.重启系统并验证
说三遍 : reboot reboot reboot
2How to install NVIDIA.run?
more details: http://nemesisdesign.net/blog/coding/how-reinstall-nvidia-drivers-linux-ubuntu/
3What is the correct version of CUDA for my nvidia driver?
4CUDA compute capability requirements
5How to find out which NVIDIA GPU I have
when nvidia-smi
doesn't show the NVIDIA GPU version detail information like this:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 375.26 Driver Version: 375.26 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Graphics Device Off | 0000:01:00.0 Off | N/A |
| 26% 47C P0 59W / 250W | 0MiB / 12187MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 1 Graphics Device Off | 0000:03:00.0 Off | N/A |
| 0% 40C P0 56W / 250W | 0MiB / 12189MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
- please update your PCI ID database with:
sudo update-pciids
- And use the following command in your terminal:
lspci -nn | grep '\[03'
You will see the model name of your graphic card. If it's ambiguous, you could search the PCI ID (something like [10de:11bc]) on the Internet for the corrent model name
网友评论