!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

517 Members
Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant136 Servers

Load older messages


SenderMessageTime
28 Feb 2025
@hexa:lossy.network@hexa:lossy.networkok, so the frigate update is kinda blocked on onnxruntime support the openvino execution provider05:21:39
@hexa:lossy.network@hexa:lossy.networkwhat I have is here: https://github.com/NixOS/nixpkgs/pull/38054305:22:32
@hexa:lossy.network@hexa:lossy.network
/nix/store/0d0l820v8vnw7kf959xr6bvpvyg21r2b-onnxruntime-1.20.2/lib/libonnxruntime_providers_openvino.so: undefined symbol: _ZN9OrtDevice3NPUE
05:29:54
@hexa:lossy.network@hexa:lossy.network *
/nix/store/0d0l820v8vnw7kf959xr6bvpvyg21r2b-onnxruntime-1.20.2/lib/libonnxruntime_providers_openvino.so: undefined symbol: _ZN9OrtDevice3NPUE
05:30:01
@hexa:lossy.network@hexa:lossy.networkdunno, maybe it is just something stupid, like openvino built w/o npu support05:30:20
@k900:0upti.meK900npue05:30:26
@hexa:lossy.network@hexa:lossy.networkimage.png
Download image.png
05:30:45
@hexa:lossy.network@hexa:lossy.network🫠05:30:48
@hexa:lossy.network@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@hexa:lossy.networkok, that looks like a fairly simple error05:46:16
@hexa:lossy.network@hexa:lossy.networkbut I'm already passing opencv.cxxdev in buildInputs05:46:25
@hexa:lossy.network@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@hexa:lossy.networkdid this07:09:13
@hexa:lossy.network@hexa:lossy.networkand now I'm here07:09:22
@hexa:lossy.network@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@hexa:lossy.networkhow can it find one file, but not the other?07:09:34
@hexa:lossy.network@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@hexa:lossy.networkok, looks like my nix-index is out of date07:10:49
@hexa:lossy.network@hexa:lossy.networkso did opencv drop that api or did we stop building it07:11:34
@hexa:lossy.network@hexa:lossy.networkmissing since the 4.9.0 -> 4.11.0 bump07:30:57
@hexa:lossy.network@hexa:lossy.networkI'm five steps deep in this rabbit hole07:33:43
@hexa:lossy.network@hexa:lossy.networkand each step is a chonky package that is building very slowly on very many cores07:33:58
@mattleon:matrix.orgmattleon @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:supersandro.deSandro 🐧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 users15:19:58
@sandro:supersandro.deSandro 🐧you have nix-index-database, right? should take a couple of days to be up to date.15:21:09
@sandro:supersandro.deSandro 🐧
-- 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:supersandro.deSandro 🐧
--     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:supersandro.deSandro 🐧https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/opencv/4.x.nix#L216 -_-15:33:15
@sandro:supersandro.deSandro 🐧let me try plugging that in and if it works I PR it15:35:12
@sandro:supersandro.deSandro 🐧https://github.com/NixOS/nixpkgs/pull/38582115:46:02

Show newer messages


Back to Room ListRoom Version: 6