Librem 5: hang with cam -C1
Jacopo Mondi
jacopo.mondi at ideasonboard.com
Wed Mar 26 12:44:28 CET 2025
On Wed, Mar 26, 2025 at 12:27:45PM +0100, Pavel Machek wrote:
> Hi!
>
> > > Now I have cam library that pretends to capture frames, but
> >
> > Maybe it actually captures one frame ?
>
> Should it exit after it does so? :-).
Well, you asked for one frame (-C1) and it captured one frame :)
Sorry I didn't notice in my first reply!
>
> With -C100, it actually works, for both front and back cameras.
>
great news \o/
> > > hangs. This is Librem 5, Megapixels works on same hardware, any hints
> > > would be welcome.
> > >
> > > purism at pureos:~/g/libcamera/build$ sudo src/apps/cam/cam -c2 -C1
> > > [sudo] password for purism:
> > > [106:52:56.773797302] [120527] INFO IPAManager ipa_manager.cpp:137 libcamera is not installed. Adding '/home/purism/g/libcamera/build/src/ipa' to the IPA search path
> > > [106:52:56.782060764] [120527] INFO Camera camera_manager.cpp:329 libcamera v0.4.0+158-d505bd53
> > > [106:52:56.821063562] [120528] WARN CameraSensorProperties camera_sensor_properties.cpp:463 No static properties available for 's5k3l6xx'
> > > [106:52:56.821163286] [120528] WARN CameraSensorProperties camera_sensor_properties.cpp:465 Please consider updating the camera sensor properties database
> > > [106:52:56.854255536] [120528] WARN CameraSensor camera_sensor_legacy.cpp:669 's5k3l6xx 3-002d': Unsupported ancillary entity function 131074
> > > Using camera /base/soc at 0/bus at 30800000/i2c at 30a50000/camera at 2d as cam0
> > > [106:52:56.860899427] [120527] INFO Camera camera.cpp:1205 configuring streams: (0) 1052x780-SGRBG8
> > > cam0: Capture 1 frames
> >
> > 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 ! ;)
>
> 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: 833 bytes
Desc: not available
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20250326/05b88a71/attachment.sig>
More information about the libcamera-devel
mailing list