linux安装nvidia驱动的步骤

最简单的安装方式

sudo apt-get install nvidia*

eg:sudo apt-get install nvidia-390

查询系统推荐驱动

ubuntu-drivers devices   # 查询所有ubuntu推荐的驱动

run方式安装
https://blog.csdn.net/xunan003/article/details/81665835

安装好nvidia驱动,运行命令 nvidia-smi之后,出现:

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

解决方案:

sudo modprobe nvidia

然后再运行:

nvidia-smi.

——————————

作者:hhhuua
来源:CSDN
原文:https://blog.csdn.net/hhhuua/article/details/80734092

你可能感兴趣的:(linux攻略)