aaronwmorris / indi-allsky

Software to manage a Linux-based All Sky Camera.
GNU General Public License v3.0
256 stars 42 forks source link

Frame is dark even though gain and exposure look ok #1020

Open crankmosh opened 1 year ago

crankmosh commented 1 year ago

Camera: SV305Pro Ubuntu 22.04 (patched up to latest) Mini PC x86

Here is a sample video: https://www.youtube.com/watch?v=t7XKc2_C-ek

Some frames that are grabbed are dark, even though the gain and exposure time seem regular.

aaronwmorris commented 1 year ago

Did you compile indi using the build_indi.sh script or did you have it installed from the repo?

crankmosh commented 1 year ago

repo only has 2.0.4 which doesn't work with svbony so I had to use build_indi.sh, the odd part is, the dark frames still seem to show stars even though they are just really dark

aaronwmorris commented 1 year ago

During your next run, can you check the "Image Lag" view under tools and see if the dark frames are being received in less time than the exposure?

gigaklatch commented 1 year ago

Sounds and looks like the same issue that I have with my SV305M PRO which I use as a guide camera. Every now and then the images are much darker, not fully dark, some of the brigther objects are still seen in the image. This happens both in Astroberry, with INDI driver and in Windows when using the native drivers.

I have spent about a year and a half trying to get SVBony to really look into the issue. But they are very difficult to communicate with and they do not answer any of my questions nor seem to understand me at all and simply suggest to update the drivers. Doing that has not changed anything so far.

So, things are looking dark on this issue.

aaronwmorris commented 1 year ago

If the frames are darker, it means one of two things:

The exposure being shorter than reported is more likely. An issue I experienced with my SV305 was once you go above 5-6 seconds on exposures, approximately 25% of the frames would require double the time to complete. The exposures were still correct, but the camera spent half the time doing nothing.

This issue was why I started tracking the time it actually takes to get an exposure from a camera in the database. This has helped me diagnose problematic cameras in many cases. You just cannot trust the hardware to do what you tell it to do sometimes.

ikeysolomon commented 5 months ago

I noticed this last night. I have re-installed onto a rpi5 now (an upgrade from the 3b+, with a view to perform onboard timelapse generation). I will see how things go tonight and report back. This wasn't noticed with what I had installed on the 3b+ only say a fortnight ago?

ikeysolomon commented 5 months ago

Can report back that images look much better tonight and less darks than last night now for some reason? Magic of settling in for a day haha.

aaronwmorris commented 5 months ago

Its possible this was a bug in the version of INDI you were using at the time. The SVBony driver went through some major changes just before you opened this ticket, it was completely rewritten.

https://github.com/indilib/indi-3rdparty/pull/839

I am not saying this was the cause, but bugs can be expected with such a major rewrite.