Librem 5: hang with cam -C1
Pavel Machek
pavel at ucw.cz
Wed Mar 26 12:53:53 CET 2025
Hi!
> > With -C100, it actually works, for both front and back cameras.
>
> great news \o/
:). There's still bug somewhere, -C2 results in two buffer captured
and exit, -C1 results in hang, which is quite confusing.
> > > I'm afraid a more detailed log is needed.
> > > Run the above command with
> > >
> > > LIBCAMERA_LOG_LEVELS=0
> > >
> > > As librem5 has no ISP but a RAW sensor as far as I remember (I still
> > > can't figure out what they were thinking when they selected this weird
> > > combination) make sure you have the SimplePipelineHandler and
> > > SoftwareISP compiled in and enabled.
> >
> > Yep, that's correct. I'm afraid combination of RAW sensor and no ISP
>
> In this specific case, the imx8mq SoC on the librem5 has no physical ISP
>
> > or no drivers for ISP is going to be common for a while in phone area
> > :-(.
>
> That's why we're very glad to have the software ISP in libcamera and
> see great improvements there from Milan and others ! ;)
Yes, so... I'd like to take a stab at implementing autofocus in
software ISP, as I understand that one is still missing.
Any hints how to enable SoftwareISP?
meson configure build says
ipas [ipu3, mali-c55, [ipu3, mali-c55, Select which IPA
rkisp1, rpi/pisp, rkisp1, rpi/pisp, modules to build
rpi/vc4, simple, rpi/vc4, simple,
vimc] vimc]
pipelines [auto] [all, auto, Select which
imx8-isi, ipu3, pipeline handlers to
mali-c55, rkisp1, build. If this is
rpi/pisp, rpi/vc4, set to "auto", all
simple, uvcvideo, the pipelines
vimc, virtual] applicable to the
But I have no idea how if that's enough and what needs to be done at
runtime.
Thanks,
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/81669481/attachment.sig>
More information about the libcamera-devel
mailing list