type
Post
date
Nov 26, 2024
status
Published
slug
post-47
summary
Ubuntu:解决显卡驱动问题NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver.
tags
C++
Linux
开发
category
技术分享
password
icon
1.报错
2.报错原因
系统内核版本自动更新了:
NVIDIA内核驱动版本和系统驱动不一致(内核版本自动更新了,导致新版本内核和原来显卡驱动不匹配)
3.解决办法
1.查看已安装驱动的版本信息:
2.查看已安装内核:
查看正在使用的内核:
3.依次输入以下两条命令即可:


4.输入nvidia-smi检测显卡驱动是否显示
4.参考链接
- 作者:NotionNext
- 链接:https://tangly1024.com/article/post-47
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。






