Autofocus, Librem 5 -- need dma bufs? why?

Pavel Machek pavel at ucw.cz
Wed Mar 26 21:32:17 CET 2025


Hi!

I'd like to record video on Librem 5. I do have code to turn bayer8
into rgb888, and gstreamer can turn that into mkv video. "cam" can
save bayer data to disk. So far so good.

But AFAICT libcamera won't do auto exposure unless I request rgb888
from it; at that point it pulls Software ISP in. I could use that if
it was fast enough.

But that wants to do DMA buffer allocations from /dev/dma_heap/*
... and I don't have that on the system. (And it really should not
need them, as data end up on disk, not on GPU).

Any ideas how to work around these? I guess stubbing out DMA buffer
allocation would be easiest short-term solution, but...?

Best regards,
								Pavel
-- 
I don't work for Nazis and criminals, and neither should you.
Boycott Putin, Trump, and Musk!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20250326/fd483567/attachment.sig>


More information about the libcamera-devel mailing list