mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-01 07:19:30 +00:00
The bundled CDI descriptors assume the Qualcomm Linux BSP filesystem layout (/usr/lib/rfsa/adsp). On the equally-official Ubuntu image for RB3 Gen 2 / Rubik Pi 3, the QAIRT apt packages board-select the Hexagon skels into /usr/lib/dsp/cdsp and leave /usr/lib/rfsa/adsp as self-referential symlink loops, so install_cdi silently dropped the skel mounts and NPU offload failed silently at runtime (or a host-symlink workaround broke on reboot with an ELOOP CDI mount error). install_cdi.py now resolves each missing/broken mount from a fallback library dir and rewrites it to the real file, injects ADSP_LIBRARY_PATH so the DSP loader finds the skels, and warns loudly (with an optional --strict) when a critical QNN/HTP library cannot be found instead of failing silently. Docs updated to cover both images and a stronger verify step. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>