1. Remove previously installed Nvidia driver, run:
sudo apt-get purge nvidia-*
2. Add third party driver source, run
sudo add-apt-repository Ppa:graphics-drivers/ppa
3. Update the SOFTWARE Source:
sudo apt-get update
4. Installation:
sudo apt-get install nvidia-375
sudo apt-get update
sudo apt-get upgrade
The following error may also be reported:
Nvidia-smi has failed because it couldn ' t communicate with the NVIDIA driver. Make sure this latest NVIDIA driver is installed and running.
This time, you can restart, I also reboot after all normal, specific reasons do not know.
Successful output is:
whsyxt@whsyxt:~$ Nvidia-smi Thu Oct 17:40:57 2017 +------------------------------------------------------------- ----------------+
| Nvidia-smi 375.82 Driver version:375.82 | |-------------------------------+----------- -----------+----------------------+
| GPU Name persistence-m| Bus-id Disp.a | Volatile Uncorr. ECC | | Fan Temp Perf pwr:usage/cap| Memory-usage |
Gpu-util Compute M. | |===============================+======================+======================|
| 0 GeForce GTX 1070 off | 0000:01:00.0 on | N/A | | 47% 35C P8 11w/160w | 277mib/8110mib |
0% Default |
+-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+
| Processes: GPU Memory | | GPU PID Type Process name Usage | |============================================ =================================|
| 0 950 g/usr/lib/xorg/xorg 149MiB | |
0 1771 G Compiz 125MiB | +-----------------------------------------------------------------------------+
Reference Documents
[1].ubuntu How to install Nvidia 375 drive. https://zhidao.baidu.com/question/1115001642352097179.html
[2]. There is wrong about running the command nvidia-smi.https://github.com/jcjohnson/neural-style/issues/335
Https://askubuntu.com/questions/927199/nvidia-smi-has-failed-because-it-couldnt-communicate-with-the-nvidia-driver-ma
[3]. Nvidia-smi has failed because it couldn ' t communicate with the NVIDIA driver. Make sure this latest NVIDIA driver is installed and running.