Replies: 2 comments 10 replies
-
Since Frigate 16 is based on Debian bookworm, you could modify an existing Frigate 16 image to include support for Dockerfile
Pull python files from #18310 |
Beta Was this translation helpful? Give feedback.
-
Adventures in trying to use Frigate 16 using Teflon on Libre Computer AltaI'm using a stable mainline kernel If I use the If I use the To debug this, I've modified the Unfortunately, when the board locks up, nothing shows up in the Also locks up when running on Libre Computer 6.12 kernel Note: the same frigate software while running on the Rockchip RK3588 rocket driver is fine. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks to @dsx724, I have gotten a hold of a Libre Computer Alta (https://libre.computer/products/aml-a311d-cc/) which uses the Amlogic A311D SoC.
That SoC contains a 5 TOPS Etnaviv NPU supported by Mesa's Teflon since 25.0.
https://docs.mesa3d.org/teflon.html
The mainline kernel enables NPU in the device trees in 6.17
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/arch/arm64/boot/dts/amlogic?h=v6.17-rc1
Going into Frigate 17.0 is support for using Mesa Teflon as an Object Detector (i.e.
teflon_tfl
). #18310The inference time on the A311D using the cpu_model.tflite is ~20ms.
Note: the tflite delegate on A311D takes a long time to compile the cpu_model.tflite (60,000+ ms). Whereas the tflite delegate on a Rockchip RK3588 takes less than 100ms to compile the cpu_model.tflite.
The SoC contains video decoder with staging driver support. (
meson_vdec
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/staging/media/meson/vdec?h=v6.16)FFmpeg can use
hwaccel_args: -c:v h264_v4l2m2m
for hardware acceleration. However, it doesn't seem to lower CPU usage much. With or without it, the ffmpeg capture process uses 20% cpu utilization when used fordetect
. Also, it seems like meson_vdec can only by used by one client at a time.With 3 cameras (2 x 1920x1080 detection stream and a 1440p camera with 640x360 detection stream), the Libre Computer Alta uses 5w (measured using a Kill A Watt). Running with just the passive heatsink (no fan), the CPU sensor reports 60 C.
Configuration
config.yaml
docker-compose.yml
Related
Beta Was this translation helpful? Give feedback.
All reactions