Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

GPU not detected

Dimitry_N_Intel
Employee
797 Views

Hi , 

./hello_query_device detect only CPU .

sudo ./hello_query_device detect CPU and GPU .

is there workaround I can provide permission to user access GPU.

already tried "sudo usermod -a -G render user" and "sudo usermod -a -G video user"

OpenVino 2024.

 

Thanks

 

0 Kudos
3 Replies
Aznie_Intel
Moderator
766 Views

Hi Dimitry_N_Intel,

 

Thanks for reaching out. Can you try the code below and see if your GPU is detected?

 

import openvino as ov

core = ov.Core()

core.available_devices

device = "GPU"

core.get_property(device, "FULL_DEVICE_NAME")

 

On another note, have you been able to configure the GPU before? You may check these Configurations for Intel® Processor Graphics (GPU) page, and please try to install the apt package below without using sudo.

 

apt-get install -y ocl-icd-libopencl1 intel-opencl-icd intel-level-zero-gpu level-zero.

 

 

Regards,

Aznie


0 Kudos
Dimitry_N_Intel
Employee
749 Views

Hi , thanks for reply. look like I needed to restart machine after adding user to render group. Now sample working fine.

0 Kudos
Aznie_Intel
Moderator
718 Views

Hi Dimitry_N_Intel,

 

I am glad to hear that. This thread will no longer be monitored since this issue has been resolved. If you need any additional information from Intel, please submit a new question. 

 

 

Regards,

Aznie


0 Kudos
Reply