- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On Ubuntu 22.04, when I run the below command, it correctly reports CPU and GPU devices are available.
sudo docker run -it --rm --device /dev/dri/renderD128 --group-add="$(stat -c "%g" /dev/dri/renderD128)" openvino/ubuntu22_dev samples/cpp/samples_bin/samples_bin/hello_query_device
When I upgrade to or clean install Ubuntu 24.04, it only reports CPU available. I am following identical installation steps.
Trying to figure out if I am doing something wrong or if the iGPU support is not available on 24.04 yet.
CPU: N200 Alder Lake N-series
Openvino: 2024.2.0.15519
Install steps:
# Intel repo pub key
wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | sudo gpg --yes --dearmor --output /etc/apt/keyrings/intel.gpg
sudo chmod a+r /etc/apt/keyrings/intel.gpg
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/intel.gpg] https://repositories.intel.com/gpu/ubuntu jammy/lts/2350 unified" | \
sudo tee /etc/apt/sources.list.d/intel-gpu-jammy.list
sudo apt update
sudo apt install -y \
linux-headers-$(uname -r) \
linux-modules-extra-$(uname -r) \
flex bison \
intel-fw-gpu intel-i915-dkms xpu-smi \
intel-opencl-icd intel-level-zero-gpu level-zero \
intel-media-va-driver-non-free libmfx1 libmfxgen1 libvpl2 \
libegl-mesa0 libegl1-mesa libegl1-mesa-dev libgbm1 libgl1-mesa-dev libgl1-mesa-dri \
libglapi-mesa libgles2-mesa-dev libglx-mesa0 libigdgmm12 libxatracker2 mesa-va-drivers \
mesa-vdpau-drivers mesa-vulkan-drivers va-driver-all vainfo hwinfo clinfo driverctl
...and reboot after installation.
On 24.04 this does not return a version, so I think it has to do with Intel OpenCL drivers and N200 / Alder Lake N support.
sudo clinfo | grep "Driver Version"
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found the bug tracking this issue, Intel drivers are not compatible with 6.8 kernel: https://github.com/intel/compute-runtime/issues/710
Invoking the docker command with the environment variables as specified in the issue and shown below correctly shows the GPU.
docker run -it --rm --env NEOReadDebugKeys=1 --env OverrideGpuAddressSpace=48 --device /dev/dri/renderD128 --group-add="$(stat -c "%g" /dev/dri/renderD128)" openvino/ubuntu22_dev samples/cpp/samples_bin/samples_bin/hello_query_device
Output on Ubuntu 24.04 with 6.8.0-35-generic kernel:
[ INFO ] Build ................................. 2024.2.0-15519-5c0f38f83f6-releases/2024/2
[ 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 4
[ INFO ] Immutable: EXECUTION_DEVICES : CPU
[ INFO ] Immutable: FULL_DEVICE_NAME : Intel(R) N200
[ 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: 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 : 0
[ INFO ] Mutable: KV_CACHE_PRECISION : f16
[ INFO ] Mutable: AFFINITY : CORE
[ INFO ]
[ INFO ] GPU
[ INFO ] SUPPORTED_PROPERTIES:
[ INFO ] Immutable: AVAILABLE_DEVICES : 0
[ INFO ] Immutable: RANGE_FOR_ASYNC_INFER_REQUESTS : 1 2 1
[ INFO ] Immutable: RANGE_FOR_STREAMS : 1 2
[ INFO ] Immutable: OPTIMAL_BATCH_SIZE : 1
[ INFO ] Immutable: MAX_BATCH_SIZE : 1
[ INFO ] Immutable: DEVICE_ARCHITECTURE : GPU: vendor=0x8086 arch=v12.4.0
[ INFO ] Immutable: FULL_DEVICE_NAME : Intel(R) UHD Graphics (iGPU)
[ INFO ] Immutable: DEVICE_UUID : 8680d046000000000002000000000000
[ INFO ] Immutable: DEVICE_LUID : 409a0000499a0000
[ INFO ] Immutable: DEVICE_TYPE : integrated
[ INFO ] Immutable: DEVICE_GOPS : {f16:768,f32:384,i8:1536,u8:1536}
[ INFO ] Immutable: OPTIMIZATION_CAPABILITIES : FP32 BIN FP16 INT8 EXPORT_IMPORT
[ INFO ] Immutable: GPU_DEVICE_TOTAL_MEM_SIZE : 13222432768
[ INFO ] Immutable: GPU_UARCH_VERSION : 12.4.0
[ INFO ] Immutable: GPU_EXECUTION_UNITS_COUNT : 32
[ INFO ] Immutable: GPU_MEMORY_STATISTICS : ""
[ INFO ] Mutable: PERF_COUNT : NO
[ INFO ] Mutable: MODEL_PRIORITY : MEDIUM
[ INFO ] Mutable: GPU_HOST_TASK_PRIORITY : MEDIUM
[ INFO ] Mutable: GPU_QUEUE_PRIORITY : MEDIUM
[ INFO ] Mutable: GPU_QUEUE_THROTTLE : MEDIUM
[ INFO ] Mutable: GPU_ENABLE_SDPA_OPTIMIZATION : YES
[ INFO ] Mutable: GPU_ENABLE_LOOP_UNROLLING : YES
[ INFO ] Mutable: GPU_DISABLE_WINOGRAD_CONVOLUTION : NO
[ INFO ] Mutable: CACHE_DIR : ""
[ INFO ] Mutable: CACHE_MODE : optimize_speed
[ INFO ] Mutable: PERFORMANCE_HINT : LATENCY
[ INFO ] Mutable: EXECUTION_MODE_HINT : PERFORMANCE
[ INFO ] Mutable: COMPILATION_NUM_THREADS : 4
[ INFO ] Mutable: NUM_STREAMS : 1
[ INFO ] Mutable: PERFORMANCE_HINT_NUM_REQUESTS : 0
[ INFO ] Mutable: INFERENCE_PRECISION_HINT : f16
[ INFO ] Mutable: ENABLE_CPU_PINNING : NO
[ INFO ] Mutable: DEVICE_ID : 0
[ INFO ]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi PepperJohn,
Thanks for reaching out. For your information, Ubuntu 24.04 is not yet supported with OpenVINO 2024 version. You may check the System Requirements for the supported hardware and Operating system in OpenVINO.
Regards,
Aznie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi PepperJohn,
This thread will no longer be monitored since we have provided information. If you need any additional information from Intel, please submit a new question.
Regards,
Aznie
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page