Closed as not planned
Description
Describe the bug
Using a Celeron J4125 I am trying to run OpenVINO, but get
[Step 7/11] Loading the model to the device
[ ERROR ] Check 'false' failed at src/inference/src/core.cpp:114:
Check 'false' failed at src/plugins/intel_gpu/src/plugin/program.cpp:384:
GPU program build failed!
[GPU] clWaitForEvents, error code: -14
Steps To Reproduce
Steps to reproduce the behavior:
- nix-shell -p 'python310.withPackages(ps: with ps; [ openvino opencv4])' opencv2 pciutils
- git clone https://github.com/openvinotoolkit/openvino/ && cd openvino
- python tools/benchmark_tool/benchmark_app.py -m rc/bindings/python/tests/test_utils/utils/test_model_fp32.xml -d GPU
(It also fails using ssdlite_mobilenet_v2.xml from the frigate NVR package which is the one I really want to use, so I don't think this is a model-specific problem. I'm no expert though)
Expected behavior
Good question. I expected it not to fail with an error message, but I don't know what correct behaviour looks like. I'd like frigate to work, but it fails with the same error messages, so I hope that this is a smaller test case
Additional context
configuration.nix has
hardware.opengl = {
# needed for frigate to use hw accel in ffmpeg
enable = true; driSupport = true;
extraPackages = with pkgs; [
intel-media-driver
intel-compute-runtime
ocl-icd
];
};
clinfo works:
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.3.2
ICD loader Profile OpenCL 3.0
If I set LD_DEBUG=libs
I can see quite voluminous output which includes several fatal
lines. I don't know if these are relevant ...
[nix-shell:~/src/openvino]$ LD_DEBUG=libs python tools/benchmark_tool/benchmark_app.py -m /etc/nixos/openvino/ssdlite_mobilenet_v2.xml -d GPU 2>&1 |grep fatal
51110: /nix/store/9c03r86hcdn43dm3hsgjirifvyzfkhwh-python3-3.10.12/bin/python: error: symbol lookup error: undefined symbol: kmp_set_thread_affinity_mask_initial (fatal)
51110: /nix/store/syx6gbglc3s41nw08g0g72233h6aima4-openvino-2023.0.0/runtime/lib/intel64/libopenvino_intel_gpu_plugin.so: error: symbol lookup error: undefined symbol: CreateExtensionShared (fatal)
51110: /nix/store/syx6gbglc3s41nw08g0g72233h6aima4-openvino-2023.0.0/runtime/lib/intel64/libopenvino_intel_gpu_plugin.so: error: symbol lookup error: undefined symbol: CreateExtension (fatal)
51110: /nix/store/syx6gbglc3s41nw08g0g72233h6aima4-openvino-2023.0.0/runtime/lib/intel64/libopenvino_auto_batch_plugin.so: error: symbol lookup error: undefined symbol: CreateExtensionShared (fatal)
51110: /nix/store/syx6gbglc3s41nw08g0g72233h6aima4-openvino-2023.0.0/runtime/lib/intel64/libopenvino_auto_batch_plugin.so: error: symbol lookup error: undefined symbol: CreateExtension (fatal)
51110: /nix/store/9c03r86hcdn43dm3hsgjirifvyzfkhwh-python3-3.10.12/bin/python: error: symbol lookup error: undefined symbol: scalable_malloc (fatal)
Notify maintainers
From git history: @mweinelt @superherointj
Metadata
[nix-shell:~/src/openvino]$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 6.4.4, NixOS, 23.11 (Tapir), 23.11pre506474.12303c652b8`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.15.1`
- channels(root): `"nixos"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`