首页 > 解决方案 > 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

我错过了什么?

标签: gpuopenclintel

解决方案


[编辑 - 感谢彼得科德斯指出,纠正我的答案]

能够解决这个。显然根本原因是安装了不正确的驱动程序。重新安装驱动程序解决了这个问题。

正如 Peter Cordes 在评论中指出的那样。我验证了root用户不需要添加到videorender中。如果您以非root用户身份运行,则它是必需的。


推荐阅读