nvidia-smi 输出“No devices were found

文章描述了一个用户在运行nvidia-smi命令时遇到设备未被检测到的错误。问题源于使用了带有open标签的nvidia驱动版本525。解决方案是切换到非开源的驱动版本或调整相应的模块选项。用户发现更换为不带open的驱动后问题得到解决。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

也不知道是什么原因,输入nvidia-smi会有这个bug。看到一个帖子中遇到和我类似的问题:

I have several issues actually, but I am not sure whether they are related.

nvidia-smi out puts no device were found.
The system cannot detect the second display.
The fractional scaling is not working (can only set to 200% even if I set 150%).
The update rate is incorrect in system setting.

有一个评论解决了我的问题:

Wrong driver, please either switch to the non “-open” driver version in Software&Updates or set the appropriate module option.

我安装的显卡驱动是nvidia-driver-525-open,带有open,换一个不带open的驱动就好了,鬼bug。

参考:https://forums.developer.nvidia.com/t/nvidia-smi-outputs-no-devices-were-found-on-ubuntu-22-04-driver-520/234829

评论 17
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值