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.
6500 Discussions

GPU works with 2021.3 on Ubuntu20.04 but not Ubuntu 22.04 and 2024.3

wb666greene
Beginner
2,877 Views

I have a couple of N4020 Celeron with Mesa UHD 600 graphics (GLK2) systems running Ubuntu 20.04 and OpenVINO 2021.3 that run Darknet Yolo4 on the iGPU.  I updated one of them to Ubuntu 22.04 and pip installed openvino 2024.3 in a VENV virtual environment to run Ultralytics Yolo8 on the iGPU.  But running code that works fine on other systems I get this error:

 

 

[INFO] Using OpenVINO: 2024.2.0-15519-5c0f38f83f6-releases/2024/2
Available devices:
   CPU: Intel(R) Celeron(R) N4020 CPU @ 1.10GHz
   GPU: Intel(R) UHD Graphics 600 [0x3185] (iGPU)
Traceback (most recent call last):
  File "/home/ai/LearnTestOV/yolo8ov.py", line 45, in <module>
    det_compiled_model = core.compile_model(det_ov_model, "GPU", ov_config)
  File "/home/ai/xyz/lib/python3.10/site-packages/openvino/runtime/ie_api.py", line 543, in compile_model
    super().compile_model(model, device_name, {} if config is None else config),
RuntimeError: Exception from src/inference/src/cpp/core.cpp:104:
Exception from src/inference/src/dev/plugin.cpp:54:
Check 'false' failed at src/plugins/intel_gpu/src/plugin/program_builder.cpp:185:
[GPU] ProgramBuilder build failed!
Exception from src/plugins/intel_gpu/src/runtime/ocl/ocl_stream.cpp:429:
[GPU] clWaitForEvents, error code: -14

 

 

 

Note: I saved this error message from 2024.2, but upgrading to 2024.3 didn't change anything, so I'm posting this question now since installing all these "neo" driver packages and rebooting didn't change anything either:

https://github.com/intel/compute-runtime/releases/tag/24.31.30508.7 

 

Edit:  Should mention that running kernel:

6.8.0-40-generic #40~22.04.3-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 30 17:30:19 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

 

Labels (1)
0 Kudos
28 Replies
Aznie_Intel
Moderator
2,533 Views

Hi Wb666greene,

 

Thanks for reaching out. What version of your OpenCL drivers are you using? The validated version with the latest OpenVINO is 22.43 for Ubuntu 22.04.

 

You can find out this using 'clinfo'

 

 

Regards,

Aznie


0 Kudos
wb666greene
Beginner
2,502 Views

clinfo dumps out a lot, I'll upload a clinfo.txt file of what it says.

Not much of it means anything to me, but it does say: "Platform Version  OpenCL 3.0"

I noticed this is a "Gemini-Lake" system, which on the page I got the "latest" drivers from, says Quality: "Maintenance" and there are "--" for "level zero" in the table.

I may be out of luck in terms of running yolo8 on its iGPU,  my project is here:

https://github.com/wb666greene/AI-Person-Detector-with-YOLO-verification-Version-2 

 

I can run it with two Coral TPUs, but at $60 for a USB TPU it basically kills the economy of using this system as a host for four or fewer cameras.  The previous version of my system runs on this iGPU using Ubuntu 20.04 and OpenVINO 2021.3 and yolo4, but yolo8 is demonstrably better than yolo4 for my use case. 

 

0 Kudos
Aznie_Intel
Moderator
2,414 Views

Hi Wb666greene,

 

You can try running the following commands on a Linux* terminal. If the output is empty, then the compute-runtime driver is not present in the system. 


   $ export gfx_version=$(dpkg-query --showformat='${Version}' --show intel-opencl-icd)

   $ echo $gfx_version


 

Regards,

Aznie


0 Kudos
wb666greene
Beginner
2,355 Views

Thanks, here are the results:

ai@hb2:~$ export gfx_version=$(dpkg-query --showformat='${Version}' --show intel-opencl-icd)
ai@hb2:~$ echo $gfx_version
24.31.30508.7

I'd for there to be a solution for this.

 

0 Kudos
Aznie_Intel
Moderator
2,320 Views

Hi Wb666greene,


We are checking this with the engineering team and will get back to you once the information is available.



Regards,

Aznie


0 Kudos
Witold_Intel
Employee
2,267 Views

Hello Wally,


I see that you're using an older version of the compute runtime driver. Do you have an option to update it to the latest one? https://github.com/intel/compute-runtime/releases/tag/24.35.30872.22


0 Kudos
wb666greene
Beginner
2,223 Views

Thanks for your response,  I'd really like to get this to work if possible.

 

Clearly the driver packaged with Ubuntu 22.04 didn't work for this system, although it did for the other six iGPU systems I've tried, although this is the "lowest spec" system I've tried yet.  I had installed the 24.31 version following a link in some on-line doc I'd found Googling the error message before posting the original message.  I redid it with 24.35 drivers and it still looks like the same error:

~$ echo $gfx_version
24.35.30872.22

image 1/1 /home/ai/LearnTestOV/AI/TestDetection.jpg: 512x640 1 person, 1 snowboard, 2105.5ms
Speed: 5.4ms preprocess, 2105.5ms inference, 710.6ms postprocess per image at shape (1, 3, 512, 640)


[INFO] Using OpenVINO: 2024.3.0-16041-1e3b88e4e3f-releases/2024/3
Available devices:
   CPU: Intel(R) Celeron(R) N4020 CPU @ 1.10GHz
   GPU: Intel(R) UHD Graphics 600 (iGPU)
Traceback (most recent call last):
  File "/home/ai/LearnTestOV/yolo8ov.py", line 46, in <module>
    det_compiled_model = core.compile_model(det_ov_model, "GPU", ov_config)
  File "/home/ai/y8ovv/lib/python3.10/site-packages/openvino/runtime/ie_api.py", line 543, in compile_model
    super().compile_model(model, device_name, {} if config is None else config),
RuntimeError: Exception from src/inference/src/cpp/core.cpp:104:
Exception from src/inference/src/dev/plugin.cpp:53:
Check 'false' failed at src/plugins/intel_gpu/src/plugin/program_builder.cpp:185:
[GPU] ProgramBuilder build failed!
Exception from src/plugins/intel_gpu/src/runtime/ocl/ocl_stream.cpp:429:
[GPU] clWaitForEvents, error code: -14

Frustrating,  that I could use the iGPU on this system with OpenVINO 2021.3 for Darknet YOLO4 on Ubuntu 20.04 but not the much improved Ultralytics YOLO8 with and 2024.3

 

I guess I can try 2024.4 as I just got a notification that is has been released, but if it is a driver problem I doubt it'd help.  I'll do it eventually as I need to verify that 2024.4 doesn't break anything in my code, going from 2024.2 to 2024.3 was fine.   

It seems like it is something in the cpp code that python calls, in the past I've had issues with cmake versions, this system has cmake version 3.22.1 if it might matter.

0 Kudos
Witold_Intel
Employee
2,129 Views

Thank you for your feedback. Would you still like to attempt with 2024.4 or should I consult this case with developers?


0 Kudos
wb666greene
Beginner
2,042 Views

I just upgraded this system to 2024.4, made no difference.  If you think the "Gemini Lake" iGPU should work I'd like a solution if there is one.

0 Kudos
Witold_Intel
Employee
1,968 Views

Thank you for your reply. I opened an issue with the developers in order to resolve this case fully. As soon as I learn more, I will get back to you.


0 Kudos
Witold_Intel
Employee
1,852 Views

Hello Wally, could you please run diagnostic commands "clinfo" and "hello_query_device" and post the results here? Thank you.


0 Kudos
Witold_Intel
Employee
1,774 Views

Hello Wally, there was no response from you for a while. Please provide the output of the diagnostic commands indicated. Otherwise, in 4 business days we will consider your case as resolved.


0 Kudos
wb666greene
Beginner
1,666 Views
~$ clinfo
Number of platforms                               1
  Platform Name                                   Intel(R) OpenCL Graphics
  Platform Vendor                                 Intel(R) Corporation
  Platform Version                                OpenCL 3.0 
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_byte_addressable_store cl_khr_device_uuid cl_khr_fp16 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_intel_command_queue_families cl_intel_subgroups cl_intel_required_subgroup_size cl_intel_subgroups_short cl_khr_spir cl_intel_accelerator cl_intel_driver_diagnostics cl_khr_priority_hints cl_khr_throttle_hints cl_khr_create_command_queue cl_intel_subgroups_char cl_intel_subgroups_long cl_khr_il_program cl_intel_mem_force_host_memory cl_khr_subgroup_extended_types cl_khr_subgroup_non_uniform_vote cl_khr_subgroup_ballot cl_khr_subgroup_non_uniform_arithmetic cl_khr_subgroup_shuffle cl_khr_subgroup_shuffle_relative cl_khr_subgroup_clustered_reduce cl_intel_device_attribute_query cl_khr_extended_bit_ops cl_khr_suggested_local_work_size cl_intel_split_work_group_barrier cl_khr_fp64 cl_ext_float_atomics cl_khr_external_memory cl_intel_planar_yuv cl_intel_packed_yuv cl_intel_motion_estimation cl_intel_device_side_avc_motion_estimation cl_intel_advanced_motion_estimation cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_3d_image_writes cl_intel_media_block_io cl_khr_gl_sharing cl_khr_gl_depth_images cl_khr_gl_event cl_khr_gl_msaa_sharing cl_intel_va_api_media_sharing cl_intel_sharing_format_query cl_khr_pci_bus_info 
  Platform Extensions with Version                cl_khr_byte_addressable_store                                    0x400000 (1.0.0)
                                                  cl_khr_device_uuid                                               0x400000 (1.0.0)
                                                  cl_khr_fp16                                                      0x400000 (1.0.0)
                                                  cl_khr_global_int32_base_atomics                                 0x400000 (1.0.0)
                                                  cl_khr_global_int32_extended_atomics                             0x400000 (1.0.0)
                                                  cl_khr_icd                                                       0x400000 (1.0.0)
                                                  cl_khr_local_int32_base_atomics                                  0x400000 (1.0.0)
                                                  cl_khr_local_int32_extended_atomics                              0x400000 (1.0.0)
                                                  cl_intel_command_queue_families                                  0x400000 (1.0.0)
                                                  cl_intel_subgroups                                               0x400000 (1.0.0)
                                                  cl_intel_required_subgroup_size                                  0x400000 (1.0.0)
                                                  cl_intel_subgroups_short                                         0x400000 (1.0.0)
                                                  cl_khr_spir                                                      0x400000 (1.0.0)
                                                  cl_intel_accelerator                                             0x400000 (1.0.0)
                                                  cl_intel_driver_diagnostics                                      0x400000 (1.0.0)
                                                  cl_khr_priority_hints                                            0x400000 (1.0.0)
                                                  cl_khr_throttle_hints                                            0x400000 (1.0.0)
                                                  cl_khr_create_command_queue                                      0x400000 (1.0.0)
                                                  cl_intel_subgroups_char                                          0x400000 (1.0.0)
                                                  cl_intel_subgroups_long                                          0x400000 (1.0.0)
                                                  cl_khr_il_program                                                0x400000 (1.0.0)
                                                  cl_intel_mem_force_host_memory                                   0x400000 (1.0.0)
                                                  cl_khr_subgroup_extended_types                                   0x400000 (1.0.0)
                                                  cl_khr_subgroup_non_uniform_vote                                 0x400000 (1.0.0)
                                                  cl_khr_subgroup_ballot                                           0x400000 (1.0.0)
                                                  cl_khr_subgroup_non_uniform_arithmetic                           0x400000 (1.0.0)
                                                  cl_khr_subgroup_shuffle                                          0x400000 (1.0.0)
                                                  cl_khr_subgroup_shuffle_relative                                 0x400000 (1.0.0)
                                                  cl_khr_subgroup_clustered_reduce                                 0x400000 (1.0.0)
                                                  cl_intel_device_attribute_query                                  0x400000 (1.0.0)
                                                  cl_khr_extended_bit_ops                                          0x400000 (1.0.0)
                                                  cl_khr_suggested_local_work_size                                 0x400000 (1.0.0)
                                                  cl_intel_split_work_group_barrier                                0x400000 (1.0.0)
                                                  cl_khr_fp64                                                      0x400000 (1.0.0)
                                                  cl_ext_float_atomics                                             0x400000 (1.0.0)
                                                  cl_khr_external_memory                                             0x9001 (0.9.1)
                                                  cl_intel_planar_yuv                                              0x400000 (1.0.0)
                                                  cl_intel_packed_yuv                                              0x400000 (1.0.0)
                                                  cl_intel_motion_estimation                                       0x400000 (1.0.0)
                                                  cl_intel_device_side_avc_motion_estimation                       0x400000 (1.0.0)
                                                  cl_intel_advanced_motion_estimation                              0x400000 (1.0.0)
                                                  cl_khr_image2d_from_buffer                                       0x400000 (1.0.0)
                                                  cl_khr_depth_images                                              0x400000 (1.0.0)
                                                  cl_khr_3d_image_writes                                           0x400000 (1.0.0)
                                                  cl_intel_media_block_io                                          0x400000 (1.0.0)
                                                  cl_khr_gl_sharing                                                0x400000 (1.0.0)
                                                  cl_khr_gl_depth_images                                           0x400000 (1.0.0)
                                                  cl_khr_gl_event                                                  0x400000 (1.0.0)
                                                  cl_khr_gl_msaa_sharing                                           0x400000 (1.0.0)
                                                  cl_intel_va_api_media_sharing                                    0x400000 (1.0.0)
                                                  cl_intel_sharing_format_query                                    0x400000 (1.0.0)
                                                  cl_khr_pci_bus_info                                              0x400000 (1.0.0)
  Platform Numeric Version                        0xc00000 (3.0.0)
  Platform Extensions function suffix             INTEL
  Platform Host timer resolution                  1ns

  Platform Name                                   Intel(R) OpenCL Graphics
Number of devices                                 1
  Device Name                                     Intel(R) UHD Graphics 600
  Device Vendor                                   Intel(R) Corporation
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 3.0 NEO 
  Device UUID                                     86808531-0600-0000-0002-000000000000
  Driver UUID                                     32342e33-352e-3330-3837-322e32320000
  Valid Device LUID                               No
  Device LUID                                     5098-b82cfd7f0000
  Device Node Mask                                0
  Device Numeric Version                          0xc00000 (3.0.0)
  Driver Version                                  24.35.30872.22
  Device OpenCL C Version                         OpenCL C 1.2 
  Device OpenCL C all versions                    OpenCL C                                                         0x400000 (1.0.0)
                                                  OpenCL C                                                         0x401000 (1.1.0)
                                                  OpenCL C                                                         0x402000 (1.2.0)
                                                  OpenCL C                                                         0xc00000 (3.0.0)
  Device OpenCL C features                        __opencl_c_int64                                                 0xc00000 (3.0.0)
                                                  __opencl_c_3d_image_writes                                       0xc00000 (3.0.0)
                                                  __opencl_c_images                                                0xc00000 (3.0.0)
                                                  __opencl_c_read_write_images                                     0xc00000 (3.0.0)
                                                  __opencl_c_fp64                                                  0xc00000 (3.0.0)
  Latest comfornace test passed                   v2024-02-27-00
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               12
  Max clock frequency                             650MHz
  Device Partition                                (core)
    Max number of sub-devices                     0
    Supported partition types                     None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             256x256x256
  Max work group size                             256
  Preferred work group size multiple (device)     32
  Preferred work group size multiple (kernel)     32
  Max sub-groups per work group                   0
  Sub-group sizes (Intel)                         8, 16, 32
  Preferred / native vector sizes                 
    char                                                16 / 16      
    short                                                8 / 8       
    int                                                  4 / 4       
    long                                                 1 / 1       
    half                                                 8 / 8        (cl_khr_fp16)
    float                                                1 / 1       
    double                                               1 / 1        (cl_khr_fp64)
  Half-precision Floating-point support           (cl_khr_fp16)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
  Single-precision Floating-point support         (core)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  Yes
  Double-precision Floating-point support         (cl_khr_fp64)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
  Address bits                                    32, Little-Endian
  Global memory size                              3214745600 (2.994GiB)
  Error Correction support                        No
  Max memory allocation                           1607372800 (1.497GiB)
  Unified memory for Host and Device              Yes
  Shared Virtual Memory (SVM) capabilities        (core)
    Coarse-grained buffer sharing                 Yes
    Fine-grained buffer sharing                   No
    Fine-grained system sharing                   No
    Atomics                                       No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       1024 bits (128 bytes)
  Preferred alignment for atomics                 
    SVM                                           64 bytes
    Global                                        64 bytes
    Local                                         64 bytes
  Atomic memory capabilities                      relaxed, work-group scope
  Atomic fence capabilities                       relaxed, acquire/release, work-group scope
  Max size for global variable                    0
  Preferred total size of global vars             0
  Global Memory cache type                        Read/Write
  Global Memory cache size                        393216 (384KiB)
  Global Memory cache line size                   64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             16
    Max size for 1D images from buffer            100460800 pixels
    Max 1D or 2D image array size                 2048 images
    Base address alignment for 2D image buffers   4 bytes
    Pitch alignment for 2D image buffers          4 pixels
    Max 2D image size                             16384x16384 pixels
    Max planar YUV image size                     16384x16352 pixels
    Max 3D image size                             16384x16384x2048 pixels
    Max number of read image args                 128
    Max number of write image args                128
    Max number of read/write image args           128
  Pipe support                                    No
  Max number of pipe args                         0
  Max active pipe reservations                    0
  Max pipe packet size                            0
  Local memory type                               Local
  Local memory size                               65536 (64KiB)
  Max number of constant args                     8
  Max constant buffer size                        1607372800 (1.497GiB)
  Generic address space support                   No
  Max size of kernel argument                     2048 (2KiB)
  Queue properties (on host)                      
    Out-of-order execution                        Yes
    Profiling                                     Yes
  Device enqueue capabilities                     (n/a)
  Queue properties (on device)                    
    Out-of-order execution                        No
    Profiling                                     No
    Preferred size                                0
    Max size                                      0
  Max queues on device                            0
  Max events on device                            0
  Prefer user sync for interop                    Yes
  Profiling timer resolution                      52ns
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Non-uniform work-groups                       Yes
    Work-group collective functions               No
    Sub-group independent forward progress        No
    IL version                                    SPIR-V_1.3 SPIR-V_1.2 SPIR-V_1.1 SPIR-V_1.0 
    ILs with version                              SPIR-V                                                           0x403000 (1.3.0)
                                                  SPIR-V                                                           0x402000 (1.2.0)
                                                  SPIR-V                                                           0x401000 (1.1.0)
                                                  SPIR-V                                                           0x400000 (1.0.0)
    SPIR versions                                 1.2 
  printf() buffer size                            4194304 (4MiB)
  Built-in kernels                                block_motion_estimate_intel;block_advanced_motion_estimate_check_intel;block_advanced_motion_estimate_bidirectional_check_intel;
  Built-in kernels with version                   block_motion_estimate_intel                                      0x400000 (1.0.0)
                                                  block_advanced_motion_estimate_check_intel                       0x400000 (1.0.0)
                                                  block_advanced_motion_estimate_bidirectional_check_intel         0x400000 (1.0.0)
  Motion Estimation accelerator version (Intel)   2
    Device-side AVC Motion Estimation version     1
      Supports texture sampler use                Yes
      Supports preemption                         No
  Device Extensions                               cl_khr_byte_addressable_store cl_khr_device_uuid cl_khr_fp16 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_intel_command_queue_families cl_intel_subgroups cl_intel_required_subgroup_size cl_intel_subgroups_short cl_khr_spir cl_intel_accelerator cl_intel_driver_diagnostics cl_khr_priority_hints cl_khr_throttle_hints cl_khr_create_command_queue cl_intel_subgroups_char cl_intel_subgroups_long cl_khr_il_program cl_intel_mem_force_host_memory cl_khr_subgroup_extended_types cl_khr_subgroup_non_uniform_vote cl_khr_subgroup_ballot cl_khr_subgroup_non_uniform_arithmetic cl_khr_subgroup_shuffle cl_khr_subgroup_shuffle_relative cl_khr_subgroup_clustered_reduce cl_intel_device_attribute_query cl_khr_extended_bit_ops cl_khr_suggested_local_work_size cl_intel_split_work_group_barrier cl_khr_fp64 cl_ext_float_atomics cl_khr_external_memory cl_intel_planar_yuv cl_intel_packed_yuv cl_intel_motion_estimation cl_intel_device_side_avc_motion_estimation cl_intel_advanced_motion_estimation cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_3d_image_writes cl_intel_media_block_io cl_khr_gl_sharing cl_khr_gl_depth_images cl_khr_gl_event cl_khr_gl_msaa_sharing cl_intel_va_api_media_sharing cl_intel_sharing_format_query cl_khr_pci_bus_info 
  Device Extensions with Version                  cl_khr_byte_addressable_store                                    0x400000 (1.0.0)
                                                  cl_khr_device_uuid                                               0x400000 (1.0.0)
                                                  cl_khr_fp16                                                      0x400000 (1.0.0)
                                                  cl_khr_global_int32_base_atomics                                 0x400000 (1.0.0)
                                                  cl_khr_global_int32_extended_atomics                             0x400000 (1.0.0)
                                                  cl_khr_icd                                                       0x400000 (1.0.0)
                                                  cl_khr_local_int32_base_atomics                                  0x400000 (1.0.0)
                                                  cl_khr_local_int32_extended_atomics                              0x400000 (1.0.0)
                                                  cl_intel_command_queue_families                                  0x400000 (1.0.0)
                                                  cl_intel_subgroups                                               0x400000 (1.0.0)
                                                  cl_intel_required_subgroup_size                                  0x400000 (1.0.0)
                                                  cl_intel_subgroups_short                                         0x400000 (1.0.0)
                                                  cl_khr_spir                                                      0x400000 (1.0.0)
                                                  cl_intel_accelerator                                             0x400000 (1.0.0)
                                                  cl_intel_driver_diagnostics                                      0x400000 (1.0.0)
                                                  cl_khr_priority_hints                                            0x400000 (1.0.0)
                                                  cl_khr_throttle_hints                                            0x400000 (1.0.0)
                                                  cl_khr_create_command_queue                                      0x400000 (1.0.0)
                                                  cl_intel_subgroups_char                                          0x400000 (1.0.0)
                                                  cl_intel_subgroups_long                                          0x400000 (1.0.0)
                                                  cl_khr_il_program                                                0x400000 (1.0.0)
                                                  cl_intel_mem_force_host_memory                                   0x400000 (1.0.0)
                                                  cl_khr_subgroup_extended_types                                   0x400000 (1.0.0)
                                                  cl_khr_subgroup_non_uniform_vote                                 0x400000 (1.0.0)
                                                  cl_khr_subgroup_ballot                                           0x400000 (1.0.0)
                                                  cl_khr_subgroup_non_uniform_arithmetic                           0x400000 (1.0.0)
                                                  cl_khr_subgroup_shuffle                                          0x400000 (1.0.0)
                                                  cl_khr_subgroup_shuffle_relative                                 0x400000 (1.0.0)
                                                  cl_khr_subgroup_clustered_reduce                                 0x400000 (1.0.0)
                                                  cl_intel_device_attribute_query                                  0x400000 (1.0.0)
                                                  cl_khr_extended_bit_ops                                          0x400000 (1.0.0)
                                                  cl_khr_suggested_local_work_size                                 0x400000 (1.0.0)
                                                  cl_intel_split_work_group_barrier                                0x400000 (1.0.0)
                                                  cl_khr_fp64                                                      0x400000 (1.0.0)
                                                  cl_ext_float_atomics                                             0x400000 (1.0.0)
                                                  cl_khr_external_memory                                             0x9001 (0.9.1)
                                                  cl_intel_planar_yuv                                              0x400000 (1.0.0)
                                                  cl_intel_packed_yuv                                              0x400000 (1.0.0)
                                                  cl_intel_motion_estimation                                       0x400000 (1.0.0)
                                                  cl_intel_device_side_avc_motion_estimation                       0x400000 (1.0.0)
                                                  cl_intel_advanced_motion_estimation                              0x400000 (1.0.0)
                                                  cl_khr_image2d_from_buffer                                       0x400000 (1.0.0)
                                                  cl_khr_depth_images                                              0x400000 (1.0.0)
                                                  cl_khr_3d_image_writes                                           0x400000 (1.0.0)
                                                  cl_intel_media_block_io                                          0x400000 (1.0.0)
                                                  cl_khr_gl_sharing                                                0x400000 (1.0.0)
                                                  cl_khr_gl_depth_images                                           0x400000 (1.0.0)
                                                  cl_khr_gl_event                                                  0x400000 (1.0.0)
                                                  cl_khr_gl_msaa_sharing                                           0x400000 (1.0.0)
                                                  cl_intel_va_api_media_sharing                                    0x400000 (1.0.0)
                                                  cl_intel_sharing_format_query                                    0x400000 (1.0.0)
                                                  cl_khr_pci_bus_info                                              0x400000 (1.0.0)

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Intel(R) OpenCL Graphics
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Success [INTEL]
  clCreateContext(NULL, ...) [default]            Success [INTEL]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                 Intel(R) OpenCL Graphics
    Device Name                                   Intel(R) UHD Graphics 600
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                 Intel(R) OpenCL Graphics
    Device Name                                   Intel(R) UHD Graphics 600
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  Success (1)
    Platform Name                                 Intel(R) OpenCL Graphics
    Device Name                                   Intel(R) UHD Graphics 600

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.2.14
  ICD loader Profile                              OpenCL 3.0

 

hello_query_device gets command not found.  Where do I get this?

when I run my test code it finds the GPU but it errors:

[INFO] Using OpenVINO: 2024.4.0-16579-c3152d32c9c-releases/2024/4
Available devices:
   CPU: Intel(R) Celeron(R) N4020 CPU @ 1.10GHz
   GPU: Intel(R) UHD Graphics 600 (iGPU)
Traceback (most recent call last):
  File "/home/ai/LearnTestOV/yolo8ov.py", line 46, in <module>
    det_compiled_model = core.compile_model(det_ov_model, "GPU", ov_config)
  File "/home/ai/y8ovv/lib/python3.10/site-packages/openvino/runtime/ie_api.py", line 543, in compile_model
    super().compile_model(model, device_name, {} if config is None else config),
RuntimeError: Exception from src/inference/src/cpp/core.cpp:104:
Exception from src/inference/src/dev/plugin.cpp:53:
Check 'false' failed at src/plugins/intel_gpu/src/plugin/program_builder.cpp:185:
[GPU] ProgramBuilder build failed!
Exception from src/plugins/intel_gpu/src/runtime/ocl/ocl_stream.cpp:429:
[GPU] clWaitForEvents, error code: -14

 

0 Kudos
Witold_Intel
Employee
1,599 Views

Thank you for the clinfo output. I relayed it to the developers.


If you don't have a hello_query_device.py script on your machine, please copy it from https://docs.openvino.ai/2024/learn-openvino/openvino-samples/hello-query-device.html and provide us the output.


0 Kudos
wb666greene
Beginner
1,563 Views

Here is the output from hello_query_device.py that I copied from the provided link:

$ python hello_query_device.py
[ INFO ] Available devices:
[ INFO ] CPU :
[ INFO ] 	SUPPORTED_PROPERTIES:
[ INFO ] 		AVAILABLE_DEVICES: 
[ INFO ] 		RANGE_FOR_ASYNC_INFER_REQUESTS: 1, 1, 1
[ INFO ] 		RANGE_FOR_STREAMS: 1, 2
[ INFO ] 		EXECUTION_DEVICES: CPU
[ INFO ] 		FULL_DEVICE_NAME: Intel(R) Celeron(R) N4020 CPU @ 1.10GHz
[ INFO ] 		OPTIMIZATION_CAPABILITIES: FP32, INT8, BIN, EXPORT_IMPORT
[ INFO ] 		DEVICE_TYPE: Type.INTEGRATED
[ INFO ] 		DEVICE_ARCHITECTURE: intel64
[ INFO ] 		NUM_STREAMS: 1
[ INFO ] 		INFERENCE_NUM_THREADS: 0
[ INFO ] 		PERF_COUNT: False
[ INFO ] 		INFERENCE_PRECISION_HINT: <Type: 'float32'>
[ INFO ] 		PERFORMANCE_HINT: PerformanceMode.LATENCY
[ INFO ] 		EXECUTION_MODE_HINT: ExecutionMode.PERFORMANCE
[ INFO ] 		PERFORMANCE_HINT_NUM_REQUESTS: 0
[ INFO ] 		ENABLE_CPU_PINNING: True
[ INFO ] 		SCHEDULING_CORE_TYPE: SchedulingCoreType.ANY_CORE
[ INFO ] 		MODEL_DISTRIBUTION_POLICY: set()
[ INFO ] 		ENABLE_HYPER_THREADING: True
[ INFO ] 		DEVICE_ID: 
[ INFO ] 		CPU_DENORMALS_OPTIMIZATION: False
[ INFO ] 		LOG_LEVEL: Level.NO
[ INFO ] 		CPU_SPARSE_WEIGHTS_DECOMPRESSION_RATE: 1.0
[ INFO ] 		DYNAMIC_QUANTIZATION_GROUP_SIZE: 32
[ INFO ] 		KV_CACHE_PRECISION: <Type: 'float16'>
[ INFO ] 		AFFINITY: Affinity.CORE
[ INFO ] 
[ INFO ] GPU :
[ INFO ] 	SUPPORTED_PROPERTIES:
[ INFO ] 		AVAILABLE_DEVICES: 0
[ INFO ] 		RANGE_FOR_ASYNC_INFER_REQUESTS: 1, 2, 1
[ INFO ] 		RANGE_FOR_STREAMS: 1, 2
[ INFO ] 		OPTIMAL_BATCH_SIZE: 1
[ INFO ] 		MAX_BATCH_SIZE: 1
[ INFO ] 		DEVICE_ARCHITECTURE: GPU: vendor=0x8086 arch=v9.4.0
[ INFO ] 		FULL_DEVICE_NAME: Intel(R) UHD Graphics 600 (iGPU)
[ INFO ] 		DEVICE_UUID: 86808531060000000002000000000000
[ INFO ] 		DEVICE_LUID: 409a0000499a0000
[ INFO ] 		DEVICE_TYPE: Type.INTEGRATED
[ INFO ] 		DEVICE_GOPS: {<Type: 'float16'>: 249.59999084472656, <Type: 'float32'>: 124.79999542236328, <Type: 'int8_t'>: 124.79999542236328, <Type: 'uint8_t'>: 124.79999542236328}
[ INFO ] 		OPTIMIZATION_CAPABILITIES: FP32, BIN, FP16, EXPORT_IMPORT
[ INFO ] 		GPU_DEVICE_TOTAL_MEM_SIZE: 3214745600
[ INFO ] 		GPU_UARCH_VERSION: 9.4.0
[ INFO ] 		GPU_EXECUTION_UNITS_COUNT: 12
[ INFO ] 		GPU_MEMORY_STATISTICS: {}
[ INFO ] 		PERF_COUNT: False
[ INFO ] 		MODEL_PRIORITY: Priority.MEDIUM
[ INFO ] 		GPU_HOST_TASK_PRIORITY: Priority.MEDIUM
[ INFO ] 		GPU_QUEUE_PRIORITY: Priority.MEDIUM
[ INFO ] 		GPU_QUEUE_THROTTLE: Priority.MEDIUM
[ INFO ] 		GPU_ENABLE_SDPA_OPTIMIZATION: True
[ INFO ] 		GPU_ENABLE_LOOP_UNROLLING: True
[ INFO ] 		GPU_DISABLE_WINOGRAD_CONVOLUTION: False
[ INFO ] 		CACHE_DIR: 
[ INFO ] 		CACHE_MODE: CacheMode.OPTIMIZE_SPEED
[ INFO ] 		PERFORMANCE_HINT: PerformanceMode.LATENCY
[ INFO ] 		EXECUTION_MODE_HINT: ExecutionMode.PERFORMANCE
[ INFO ] 		COMPILATION_NUM_THREADS: 2
[ INFO ] 		NUM_STREAMS: 1
[ INFO ] 		PERFORMANCE_HINT_NUM_REQUESTS: 0
[ INFO ] 		INFERENCE_PRECISION_HINT: <Type: 'float16'>
[ INFO ] 		ENABLE_CPU_PINNING: False
[ INFO ] 		DEVICE_ID: 0
[ INFO ] 		DYNAMIC_QUANTIZATION_GROUP_SIZE: 0
[ INFO ] 

It would be nice if there was a solution. As this GPU does work with openvino 2021.3 using the default Ubuntu 20.04 OCL drivers.

0 Kudos
Witold_Intel
Employee
1,515 Views

Thank you for the hello query device output. I relayed it to the developers as well.


0 Kudos
Witold_Intel
Employee
1,388 Views

I don't have a response from the developers yet. I will get back to you as soon as I know more.


0 Kudos
Witold_Intel
Employee
1,071 Views

This is just a confirmation that your case is still being processed. I will send a reminder to the developers.


0 Kudos
Witold_Intel
Employee
1,038 Views

Thanks for your patience. Our developers are convinced that your case is a graphics driver issue. That's why I opened a ticket with the graphics debug team. I will let you know as soon as I learn more from them.


0 Kudos
Witold_Intel
Employee
872 Views

Please bear with us. Currently I'm reaching out to the graphics team directly so that your issue is properly assigned. I'll confirm when it's done.


0 Kudos
Reply