| 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 |
@hexa:lossy.network | so did opencv drop that api or did we stop building it | 07:11:34 |
@hexa:lossy.network | missing since the 4.9.0 -> 4.11.0 bump | 07:30:57 |
@hexa:lossy.network | I'm five steps deep in this rabbit hole | 07:33:43 |
@hexa:lossy.network | and each step is a chonky package that is building very slowly on very many cores | 07:33:58 |
mattleon | @hexa:lossy.network: could you review https://github.com/NixOS/nixpkgs/pull/384651 when you get a chance? Matter-server is still broken. | 11:37:53 |
Sandro 🐧 | it is usually more compatible if apps haven't catched up but that shouldn't be a problem here.
The ldap script basically calls ldapsearch which kinda sucks and in the beginning it didn't properly create HA users | 15:19:58 |
Sandro 🐧 | you have nix-index-database, right? should take a couple of days to be up to date. | 15:21:09 |
Sandro 🐧 | -- ADE: Downloading v0.1.2e.zip from https://github.com/opencv/ade/archive/v0.1.2e.zip
-- Try 1 failed
CMake Warning at cmake/OpenCVDownload.cmake:251 (message):
ADE: Download failed: 6;"Could not resolve hostname"
For details please refer to the download log file:
/build/source/build/CMakeDownloadLog.txt
Call Stack (most recent call first):
modules/gapi/cmake/DownloadADE.cmake:5 (ocv_download)
modules/gapi/cmake/init.cmake:20 (include)
cmake/OpenCVModule.cmake:298 (include)
cmake/OpenCVModule.cmake:361 (_add_modules_1)
cmake/OpenCVModule.cmake:408 (ocv_glob_modules)
CMakeLists.txt:1068 (ocv_register_modules)
-- Checking for module 'gtk+-3.0'
I would say that could no longer match, at least cmake complains https://github.com/opencv/opencv/blob/4.x/modules/gapi/cmake/DownloadADE.cmake#L5
| 15:28:00 |
Sandro 🐧 | -- Unavailable: cannops cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv fastcv freetype gapi java julia matlab ovis python2 python3 viz
further down: so I would say that is at least one problem in the chain
| 15:28:26 |
Sandro 🐧 | https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/opencv/4.x.nix#L216 -_- | 15:33:15 |
Sandro 🐧 | let me try plugging that in and if it works I PR it | 15:35:12 |
Sandro 🐧 | https://github.com/NixOS/nixpkgs/pull/385821 | 15:46:02 |