| 28 Feb 2025 |
@hexa:lossy.network | ok, so the frigate update is kinda blocked on onnxruntime support the openvino execution provider | 05:21:39 |
@hexa:lossy.network | what I have is here: https://github.com/NixOS/nixpkgs/pull/380543 | 05:22:32 |
@hexa:lossy.network |
/nix/store/0d0l820v8vnw7kf959xr6bvpvyg21r2b-onnxruntime-1.20.2/lib/libonnxruntime_providers_openvino.so: undefined symbol: _ZN9OrtDevice3NPUE
| 05:29:54 |
@hexa:lossy.network | * /nix/store/0d0l820v8vnw7kf959xr6bvpvyg21r2b-onnxruntime-1.20.2/lib/libonnxruntime_providers_openvino.so: undefined symbol: _ZN9OrtDevice3NPUE
| 05:30:01 |
@hexa:lossy.network | dunno, maybe it is just something stupid, like openvino built w/o npu support | 05:30:20 |
K900 | npue | 05:30:26 |
@hexa:lossy.network |  Download image.png | 05:30:45 |
@hexa:lossy.network | 🫠| 05:30:48 |
@hexa:lossy.network | openvino> /build/source/src/plugins/intel_npu/tools/protopipe/src/scenario/accuracy_metrics.hpp:9:10: fatal error: opencv2/core/core.hpp: No such file or directory
openvino> 9 | #include <opencv2/core/core.hpp>
openvino> | ^~~~~~~~~~~~~~~~~~~~~~~
openvino> compilation terminated.
| 05:46:07 |
@hexa:lossy.network | ok, that looks like a fairly simple error | 05:46:16 |
@hexa:lossy.network | but I'm already passing opencv.cxxdev in buildInputs | 05:46:25 |
@hexa:lossy.network | - # src/graph/src/plugins/intel_gpu/src/graph/include/reorder_inst.h:24:8: error: type 'struct typed_program_node' violates the C++ One Definition Rule [-Werror=odr]
- env.NIX_CFLAGS_COMPILE = "-Wno-odr";
+ env = {
+ CXXFLAGS = "-I${lib.getDev opencv}/include/opencv4";
+ # src/graph/src/plugins/intel_gpu/src/graph/include/reorder_inst.h:24:8: error: type 'struct typed_program_node' violates the C++ One Definition Rule [-Werror=odr]
+ NIX_CFLAGS_COMPILE = "-Wno-odr";
+ };
| 07:09:12 |
@hexa:lossy.network | did this | 07:09:13 |
@hexa:lossy.network | and now I'm here | 07:09:22 |
@hexa:lossy.network | openvino> /build/source/src/plugins/intel_npu/tools/protopipe/src/utils/data_providers.hpp:11:10: fatal error: opencv2/gapi/gmat.hpp: No such file or directory
openvino> 11 | #include <opencv2/gapi/gmat.hpp>
openvino> | ^~~~~~~~~~~~~~~~~~~~~~~
openvino> compilation terminated.
| 07:09:25 |
@hexa:lossy.network | how can it find one file, but not the other? | 07:09:34 |
@hexa:lossy.network | opencv.out 8,520 r /nix/store/lff6m9s1xlyh4r1rdkiq548vpvx872xa-opencv-4.9.0/include/opencv4/opencv2/gapi/gmat.hpp
| 07:10:43 |
@hexa:lossy.network | ok, looks like my nix-index is out of date | 07:10:49 |