gpu - clinfo 未检测到英特尔 GPU
问题描述
clinfo
检测到 CPU 和另一台设备,但未检测到英特尔 GPU。
(py36) root@933ec02aa577:/home/user# clinfo -l
Platform #0: Intel(R) OpenCL
`-- Device #0: Genuine Intel(R) CPU $0000%@
Platform #1: Intel(R) FPGA Emulation Platform for OpenCL(TM)
`-- Device #0: Intel(R) FPGA Emulation Device
(py36) root@933ec02aa577:/home/user#
我已将用户添加到video
组,安装了此处提到的驱动程序,但仍然无法检测到 Intel GPU https://dgpu-docs.intel.com/installation-guides/ubuntu/ubuntu-focal.html
我错过了什么?
解决方案
[编辑 - 感谢彼得科德斯指出,纠正我的答案]
能够解决这个。显然根本原因是安装了不正确的驱动程序。重新安装驱动程序解决了这个问题。
正如 Peter Cordes 在评论中指出的那样。我验证了root
用户不需要添加到video
组render
中。如果您以非root
用户身份运行,则它是必需的。
推荐阅读
- node.js - 如何从对象数组中拼接一个对象?
- node.js - Azure 上的 npm start 错误 - EADDRNOTAVAIL
- sql - 有没有办法在每次避免 ORDER BY 子句时选择不同的行?
- c++ - 如何在 C++ 中更有效地分配具有相同名称的变量?
- java - Spring JPA 的多租户
- python - SQLITE3:更新数据库时出错
- hdf5 - GDAL:库未加载 libhdf5.100.dylib
- apache-camel - 如何使用 apache camel 在 DynamoDb 中将地图作为属性值?
- python - 在我的 base.html 上显示用户图像 ({{ userprofile.image.url }})
- java - 从带有流的枚举中收集值不起作用