I fixed it myself and it is working. This is the background and solution.
On Raspberry Pi 4/5 with libcamera, buffer allocation is done via the Linux dma_heap framework (/dev/dma_heap/system, /dev/dma_heap/linux,cma, etc).
These device nodes have been missing inside my container.
Correct docker parameters:
On Raspberry Pi 4/5 with libcamera, buffer allocation is done via the Linux dma_heap framework (/dev/dma_heap/system, /dev/dma_heap/linux,cma, etc).
These device nodes have been missing inside my container.
Correct docker parameters:
Code:
docker run --rm -it \ --network=host \ --privileged \ --tmpfs /dev/shm:exec \ -v /usr:/usr:ro \ -v /run/udev:/run/udev:ro \ -v /lib:/lib:ro \ -v /dev:/dev \ -e RTSP_PATHS_CAM_SOURCE=rpiCamera \ rpicam-apps:latest bashStatistics: Posted by gftrobots — Mon Aug 18, 2025 5:21 pm