astroarch icon indicating copy to clipboard operation
astroarch copied to clipboard

HQ rpicamera very slow in kstars/ekos

Open icenov opened this issue 5 months ago • 2 comments

Following the great advice and guidance here, I have the rpi hq camera installed and running under kstars in Astroarch (on rpi5).

What is happening is that when running under capture (CCD) in ekos, it is extremely slow to start and capture. For example using a 15 sec exposure with 5 sec delay might result in the first image after 2 minutes followed by an image every minute or so. I think this might be due to the autogain/awb algorithm that normally takes a series of images and sets the optimum gain etc before the final image is taken. Under daylight, this is quick but under very low light each exposure might be tens of seconds - so the process can be very slow! Is there a way to setup the rpi camera in kstars/ekos/indi to bypass this "3A algorithm"? I see that it can be done with the rpicam-still command line like:

rpicam-still --raw -o output.dng --immediate --shutter 500 --gain 2.5 --awbgains 1.5,1.8

Is there a way to use this (-gain, --awbgains) in ekos?

thanks

icenov avatar Aug 18 '25 01:08 icenov

hi, the indi-libcamera EKOS panel provides settings for disabling AWB, but i'm facing the same problem as you. i get horrendous capture times with this camera like 1 minute for a 5 second capture. i thought i could use it for autoguiding but i was forced to give up. this cam is only ok for streaming daylight video, but for still images it really sucks especially in low light condition. i thought cropping could lower the frame grabbing times, but it seems that only two resolutions are provided 2028x1520 and 4056x3040. i tried doing some cropping in EKOS but no success. the indi-libcamera driver seems not to allow this AFAIK

albmef avatar Sep 09 '25 22:09 albmef

@icenov maybe you can try to open an issue on the indi repo for the feature to skip the 3A algo?

MattBlack85 avatar Sep 15 '25 07:09 MattBlack85