- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have been unable to get my card detected successfully using OpenVINO in docker.
To test, I am doing the following:
docker run \
-it \
--device /dev/dri:/dev/dri \
--device-cgroup-rule='c 226:* rmw' \
--group-add=989 \
--rm \
openvino/ubuntu20_dev:latest
My graphics card is detected by the host OS:
$ lspci|grep VGA
2f:00.0 VGA compatible controller: Intel Corporation Battlemage G21 [Arc B580]
And I do have the appropriate render device:
$ ls -la /dev/dri
total 0
drwxr-xr-x 3 root root 100 May 14 15:49 .
drwxr-xr-x 20 root root 4540 May 14 15:50 ..
drwxr-xr-x 2 root root 80 May 14 15:49 by-path
crw-rw---- 1 root video 226, 0 May 14 15:51 card0
crw-rw-rw- 1 root render 226, 128 May 14 15:51 renderD128
Also shown within the container:
openvino@976f86a38945:/opt/intel/openvino_2025.1.0.0$ ls -la /dev/dri
total 0
drwxr-xr-x 2 root root 80 May 16 07:53 .
drwxr-xr-x 6 root root 380 May 16 07:53 ..
crw-rw---- 1 root 985 226, 0 May 16 07:53 card0
crw-rw-rw- 1 root 989 226, 128 May 16 07:53 renderD128
However when I attempt to run the hello_query_device sample I receive:
openvino@976f86a38945:/opt/intel/openvino_2025.1.0.0$ samples/cpp/samples_bin/samples_bin/hello_query_device
[ INFO ] Build ................................. 2025.1.0-18503-6fec06580ab-releases/2025/1
[ INFO ]
[ INFO ] Available devices:
[ INFO ] CPU
[ INFO ] SUPPORTED_PROPERTIES:
[ INFO ] Immutable: AVAILABLE_DEVICES : ""
[ INFO ] Immutable: RANGE_FOR_ASYNC_INFER_REQUESTS : 1 1 1
[ INFO ] Immutable: RANGE_FOR_STREAMS : 1 16
[ INFO ] Immutable: EXECUTION_DEVICES : CPU
[ INFO ] Immutable: FULL_DEVICE_NAME : AMD Ryzen 7 3700X 8-Core Processor
[ INFO ] Immutable: OPTIMIZATION_CAPABILITIES : FP32 INT8 BIN EXPORT_IMPORT
[ INFO ] Immutable: DEVICE_TYPE : integrated
[ INFO ] Immutable: DEVICE_ARCHITECTURE : intel64
[ INFO ] Mutable: NUM_STREAMS : 1
[ INFO ] Mutable: INFERENCE_NUM_THREADS : 0
[ INFO ] Mutable: PERF_COUNT : NO
[ INFO ] Mutable: INFERENCE_PRECISION_HINT : f32
[ INFO ] Mutable: PERFORMANCE_HINT : LATENCY
[ INFO ] Mutable: EXECUTION_MODE_HINT : PERFORMANCE
[ INFO ] Mutable: PERFORMANCE_HINT_NUM_REQUESTS : 0
[ INFO ] Mutable: ENABLE_CPU_PINNING : YES
[ INFO ] Mutable: ENABLE_CPU_RESERVATION : NO
[ INFO ] Mutable: SCHEDULING_CORE_TYPE : ANY_CORE
[ INFO ] Mutable: MODEL_DISTRIBUTION_POLICY : ""
[ INFO ] Mutable: ENABLE_HYPER_THREADING : YES
[ INFO ] Mutable: DEVICE_ID : ""
[ INFO ] Mutable: CPU_DENORMALS_OPTIMIZATION : NO
[ INFO ] Mutable: LOG_LEVEL : LOG_NONE
[ INFO ] Mutable: CPU_SPARSE_WEIGHTS_DECOMPRESSION_RATE : 1
[ INFO ] Mutable: DYNAMIC_QUANTIZATION_GROUP_SIZE : 32
[ INFO ] Mutable: KV_CACHE_PRECISION : u8
[ INFO ] Mutable: KEY_CACHE_PRECISION : u8
[ INFO ] Mutable: VALUE_CACHE_PRECISION : u8
[ INFO ] Mutable: KEY_CACHE_GROUP_SIZE : 0
[ INFO ] Mutable: VALUE_CACHE_GROUP_SIZE : 0
[ INFO ]
openvino@976f86a38945:/opt/intel/openvino_2025.1.0.0$
So clearly, the GPU is not being detected.
From my searching online, it looks like Arc B series supposed was supposed to be added in 2024, so I'm not sure why my card is not being detected.
Additionally, I noticed that on the host OS, the intel_gpu_top command yields an error, but I think the intel_gpu_top binary is deprecated?
$ intel_gpu_top
No device filter specified and no discrete/integrated i915 devices found
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
What clinfo command return ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Haioken,
Thank you for reaching out.
I received the same output when running the hello_query_device sample:
Please Install the ocl-icd-libopencl1, intel-opencl-icd, intel-level-zero-gpu and level-zero apt packages:
apt-get update
apt-get install -y ocl-icd-libopencl1 intel-opencl-icd intel-level-zero-gpu level-zero
If the driver cannot be installed due to a permission issue, try running Docker as the root user and install the driver again:
docker run \
-it \
--user root \
--device /dev/dri:/dev/dri \
--device-cgroup-rule='c 226:* rmw' \
--group-add=989 \
--rm \
openvino/ubuntu20_dev:latest
I managed to get the GPU detected:
Regards,
Zul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
clinfo inside the container yields:
Number of platforms 0
But on the host it's much more verbose. I'll attach that as a text file if anybody wants to take a look.
Zulkifli_Intel: Unfortunately, this made no improvement.
The packages within the container were already installed and up to date, and running container as root was also ineffective.
I even tried running the python based hello_query_device instead of the compiled binary cpp version (just in case) but that was also ineffective.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
please follow this instructions: Installing Client GPUs — Intel® software for general purpose GPU capabilities documentation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Haioken,
Can you share your Ubuntu version and kernel version?
Regards,
Zul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your question. If you need any additional information from Intel, please submit a new question as this thread is no longer being monitored.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page