Ubuntu16.04: nvidia驱动安装

网友投稿 317 2022-11-06


Ubuntu16.04: nvidia驱动安装

1. 删除之前安装的nvidia驱动,运行 :

sudo apt-get purge nvidia-*

2. 添加第三方驱动源,运行

sudo add-apt-repository ppa:graphics-drivers/ppa

3.更新软件源:

sudo apt-get update

4.安装:

sudo apt-get install nvidia-375sudo apt-get update sudo apt-get upgrade

可能还会报以下的错误:

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

这个时候,可以重启一下,本人也是重启后所有正常的,具体原因不知。

成功输出为:

whsyxt@whsyxt:~$ nvidia-smiThu Oct 19 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 |+-----------------------------------------------------------------------------+

参考文献

[1].ubuntu怎么安装nvidia 375驱动.is wrong about running the command nvidia-smi.has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:接口文档(接口文档是什么)
下一篇:接口测试自动化(接口测试自动化三个自动是什么)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~