Axel replied to the topic 'INDI LibCamera Driver' in the forum. 3 months ago

Hi Jasem,

thanks a lot.

> Jasem Mutlaq post=98771: I pushed an update to indi-libcamera package yesterday, did you install that version? There was an update to rpicam-apps as well. Make sure to run this:
<code>sudo apt-get update && sudo apt-get -y dist-upgrade
</code>[/quote]

I did my test yesterday (here is CEST, so only 2 hours difference). Probably things got mixed up. Now I just did an upgrade and got a lot of indi drivers, but no indi-libcamera. And I now know why ...

stellarmate@stellarmate:~ $ dpkg -l indi-libcamera
dpkg-query: no packages found matching indi-libcamera
stellarmate@stellarmate:~ $ apt-cache search libcam | grep indi
python3-libcamera - complex camera support library (Python bindings)
indi-libcamera - INDI driver for cameras accessible via libcamera.
indi-libcamera-dbg - INDI driver for cameras accessible via libcamera.

:huh: Seems there had been no such module installed. Me culpa mea maxima culpa.
stellarmate@stellarmate:~ $ sudo apt install indi-libcamera
[...]
The following NEW packages will be installed:
  indi-libcamera
[...]
Setting up indi-libcamera (1.1+z+stable~202402051324) ...

Test:
- After starting Stellarmate I could select the driver LibCamera imx477 (see photo). Good.
- Taking photo leads to an abort
- I changed the image type in the Stellarmate App from DNG (default) to JPG and could take a photo.
- After fidling around with the filetype in EKOS (VNC), I got only "scrambled eggs" :-)
- rebooted. Captured OK (JPG) - > but after 4 or 5 times the capture aborts:
[ERROR] Error opening camera: failed to allocate capture buffers for stream
- rebooted. capture OK (JPG and DNG) ... after some tries: scrambled eggs or [ERROR]:-)


So this is a big step forward - Tux likes it :) But it needs some work to really beeing stable.

I'll try further on.

Read More...