Ubuntu16.04:nvidia driver Installation

Source: Internet
Author: User


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.




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.