当前位置:网站首页>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驱动
边栏推荐
- Is the account opening link given by the broker manager safe? Who can I open an account with?
- JVM 输出 GC 日志导致 JVM 卡住,我 TM 人傻了
- Electron
- Complimentary Book Cognitive Control: how does our brain accomplish tasks?
- Common controls and custom controls
- 券商经理给的开户链接安全吗?找谁可以开户啊?
- ArcGIS cannot be opened and displays' because afcore cannot be found ' DLL, solution to 'unable to execute code'
- '教练,我想打篮球!' —— 给做系统的同学们准备的 AI 学习系列小册
- Is it safe to open an online stock account? Somebody give me an answer
- Practice with the topic of bit operation force deduction
猜你喜欢

备战数学建模30-回归分析2

MySQL主从复制与读写分离

Mathematical modeling of war preparation 30 regression analysis 2

这才是优美的文件系统挂载方式,亲测有效

Use abp Zero builds a third-party login module (I): Principles

Sword finger offer 40.41 Sort (medium)

【云原生】 ”人人皆可“ 编程的无代码 iVX 编辑器

Correlation of XOR / and

Sword finger offer 06.24.35 Linked list

Eigen(3):error: ‘Eigen’ has not been declared
随机推荐
Sword finger offer 09.30 Stack
Attention meets Geometry:几何引导的时空注意一致性自监督单目深度估计
Naacl2022: (code practice) good visual guidance promotes better feature extraction, multimodal named entity recognition (with source code download)
获取两个dataframe的交并差集
C语言刷题随记 —— 乒乓球比赛
Correlation of XOR / and
Use abp Zero builds a third-party login module (I): Principles
Experience sharing of mathematical modeling: comparison between China and USA / reference for topic selection / common skills
Is the account opening link given by the broker manager safe? Who can I open an account with?
Datasets dataset class (2)
Practical website recommendations worth collecting for College Students
NAACL2022:(代码实践)好的视觉引导促进更好的特征提取,多模态命名实体识别(附源代码下载)...
Eigen(3):error: ‘Eigen’ has not been declared
How to mount cloud disks in ECS
Matplotlib common operations
Understand the difference and use between jsonarray and jsonobject
Sword finger offer 40.41 Sort (medium)
Electron
在云服务器中云磁盘如何挂载
Caelus - full scene offline mixed Department solution