Lazy loaded image
🗒️Ubuntu系统重启后英伟达显卡无法检测到
字数 233阅读时长 1 分钟
2024-11-26
2025-2-12
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.依次输入以下两条命令即可:

notion image
notion image

4.输入nvidia-smi检测显卡驱动是否显示

 

4.参考链接

 
上一篇
Ubuntu下FFmpeg应用问题
下一篇
Json.cpp中文字符串被转换成unicode的解决办法