当前位置:网站首页>nvidia-smi 报错
nvidia-smi 报错
2022-06-26 14:03:00 【G果】
背景
原本我的 【nvidia 显卡驱动】、【cuda】、【cudnn】 都装成功了,而且也可以正常工作
但是有一天我重启之后就发现 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.
检查问题
- nvcc -V 显示正常,说明nvidia显卡驱动已经安装了
- 再次安装下载好的 【nvidia 显卡驱动】显示已经安装过,最后没能成功安装,出现内核不匹配的错误
- 我设置了ubuntu的检查更新都是never,排除自动更新内核版本的可能
解决方法(亲测有效)
- 屏蔽nouveau驱动
Ubuntu系统集成的显卡驱动程序是nouveau,它是第三方为NVIDIA开发的开源驱动,我们需要先将其屏蔽才能安装NVIDIA官方驱动。 所以我们要先把驱动加到黑名单blacklist.conf里,我们要先修改该文件的属性才能编辑。
加入黑名单后,nvidia-smi即可正常显示,无需重装显卡驱动
参考文章:ubuntu安装nvidia驱动
边栏推荐
- Recent important news
- Caelus - full scene offline mixed Department solution
- IP certificate application process of sectigo
- 2021-10-29 atcoder ABC157——B - Bingo
- 赠书 | 《认知控制》:我们的大脑如何完成任务?
- Sword finger offer 18.22.25.52 Double pointer (simple)
- Installation tutorial about origin2019
- 【 Native cloud】 Éditeur ivx Programmable par tout le monde
- 2022年最新贵州建筑八大员(机械员)模拟考试题库及答案
- [solo π] ADB connects multiple mobile phones
猜你喜欢

Electron

Matplotlib common operations

Sword finger offer 05.58 Ⅱ string

使用宝塔面板部署flask环境

年薪50万是一条线,年薪100万又是一条线…...

From Celsius to the three arrows: encrypting the domino of the ten billion giants, and drying up the epic liquidity

2022年最新贵州建筑八大员(机械员)模拟考试题库及答案

Server create virtual environment run code

Mark: unity3d cannot select resources in the inspector, that is, project locking

备战数学建模31-数据插值与曲线拟合3
随机推荐
人的顶级能量从哪里获取?
Recent important news
获取两个dataframe的交并差集
【云原生】 ”人人皆可“ 编程的无代码 iVX 编辑器
Electron
Use abp Zero builds a third-party login module (I): Principles
Two point answer, 01 score planning (mean / median conversion), DP
使用 Abp.Zero 搭建第三方登录模块(二):服务端开发
Is the account opening link given by the broker manager safe? Who can I open an account with?
备战数学建模30-回归分析2
在线牛人博主
710. 黑名单中的随机数
备战数学建模32-相关性分析2
vmware部分设置
Mark: unity3d cannot select resources in the inspector, that is, project locking
Unity 利用Skybox Panoramic着色器制作全景图预览有条缝隙问题解决办法
Common evaluation indexes of classification model -- confusion matrix and ROC curve
GDAL and opencv smooth and blur TIF images
'coach, I want to play basketball!'—— AI Learning Series booklet for system students
2021-10-29 atcoder ABC157——B - Bingo