New to Astroberry and weird problem

  • Posts: 5
  • Thank you received: 0
Hello all,

Just started using astroberry (bought a new RPI 3B+ just for that).

Here is my setup:
RPI (astroberry last available edition 2.0.3 + updates) - Connected to the internet via Wifi
USB GPS (working fine, getting Fix and time but for some weird reasons no maps are displayed) Indi driver GPSD
Synscan handheld connected to RPI via USB (control of the AZ-GTI mount working fine via KStars) Indi driver SynScan
ZWO ASI385MC via USB (Now I know the camera is USB3 and RPI 3B+ is USB2 but in all fairness I doubt that this is the issue) Indi driver ZWO CCD as I didn't find any other that would match it, but the control panel recognises the camera as a ASI385MC so I guess it is ok.
Canon 5D Mark III via USB using Indi Canon DLSR driver.

Everything shows up in lsusb -v.

All of this works (seems to work fine - no chance to fully test everything yet).
When in Indi control panel, I can do all the setups for every single bit of kit connected to the RPI and the communications look ok. I can do streaming from the Canon 5D without an issue and even click lights (though I messed up the setup and the lights were not saved at all...)
As soon as I start the streaming for the ASI, I have around 5-10 seconds and the RPI simply crashes, when I say crash I mean a full crash, even the TCP Stack stops working (ssh connection lost, no answers to ping). The only option is a full power cycle of the RPI. And this is systematic, I start the streaming on the ZWO, RPI crash.

Any ideas???

Thanks in advance,
C
4 years 1 day ago #60700

Please Log in or Create an account to join the conversation.


×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

  • Posts: 5
  • Thank you received: 0

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
So here is a more precise diagnostic (I got a bit of time).

The streaming crashes the RasPi (via KStars or indilib config local or remote) only when the format is set to RAW 16 bits... the other three are working just fine... I have deliberately left the streaming on using RAW 8 bit for the past hour without a problem and did 15 minutes on RGB 24 and Luma.

Whilst that solves (ish) my problem, it'll be interesting to understand why RAW 16 bits preview crashes the RasPi.

So to all ASI users here do you experience crashes when using the RAW 16 bits streaming ? It'll be interesting to see if it is a general ASI problem or linked to specific camera models...

BR,
C
Last edit: 3 years 11 months ago by Ced. Reason: Formatting issues
3 years 11 months ago #60818

Please Log in or Create an account to join the conversation.

  • Posts: 37
  • Thank you received: 5
Hi,

How much memory does your Pi have? I suspect 1 or 2gb, and FITS viewer is quite demanding.

I am using a 4gb RPI4 and had similar issues (though my images are 120mb). I have managed to get FITS viewer running by adding maximum swap and zram.

However I noticed it slowed down my sequence waiting for image to load. So I have completely deactivated it, which I advice on a RPI.

PS: I am using an ASI6200, so yes I use 16bits RAW
Last edit: 3 years 11 months ago by Palmito. Reason: Stroke out useless question
3 years 11 months ago #60820
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 1957
  • Thank you received: 420
In his original message he says RPi 3B+ so 1 Gb.
3 years 11 months ago #60822

Please Log in or Create an account to join the conversation.

  • Posts: 37
  • Thank you received: 5

Sorry about that, I thought revision 3B+ had several memory configurations, my mistake....
3 years 11 months ago #60824

Please Log in or Create an account to join the conversation.

  • Posts: 1957
  • Thank you received: 420
No need to apologize :)

Anyway, I think you are right that there isn't enough memory for streaming at that bit depth. At least 4Gb and possibly 8 would be necessary so that means getting an RPi4.
3 years 11 months ago #60827

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
Correct, it is a RasPi 3B+

The fun fact (if that can be called fun), is that if I do captures, everything works fine (or at least so it seems) the images are not that big (the 385 is 1080p so not that big), it is just activating the live view (or streaming) which is quite convenient as the ASI is my main camera and I do not have an auto focuser yet...
And when using my Canon 5D the streaming does work just fine even using maximum resolution. The only difference is - drivers aside of course - that the canon 5d has its own power and the ASI takes the power from the RasPi USB, I have a usb hub with external power on the way, I'll see if that changes the behaviour. But the power indicator on the RasPi does not blink at all so I guess from a power supply perspective it should be good.

So being able to view the picture whilst focusing is what I am looking for really.
I guess just choosing temporarily the Raw 8 bits format and doing a live view whilst focusing and then stopping live view and revert to 16 bits is a workaround...
I just need to remember to change the formats :)

BR,
C
3 years 11 months ago #60828

Please Log in or Create an account to join the conversation.

  • Posts: 37
  • Thank you received: 5
FITS viewer performs quite a lot of things when displaying an image.
The 5D mk4 is 10 bit, so I guess the bit depth is the issue.

I had the same issues you had, but only in the FITSViewer window. But the preview in the focus tab works flawlessly even in 16bit RAW and of course even if the FITS viewer is deactivated in options ;-)
So you should be able to focus from there without changing to 8bit RAW.

I like to monitor my subs while they are acquired. As a workaround I simply open fits files from the file browser.
Beware it will open a second instance of KStars, so you might need to extend your swap an zram partitions ;-)
Last edit: 3 years 11 months ago by Palmito.
3 years 11 months ago #60830

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
Thanks so much everyone...

Just to stir it a bit more... whilst the RasPi is doing the Indi lib, I also tried to run KStars on my main computer (I9 9900K, 64 GB RAM) connecting to indilib on RasPi... and the result is the same... RasPi Crash on Raw 16 Bits Streaming... And in that case there is a lot less load on the RasPi.

But hey, I have a workaround for now :) ...

Looking forward to the next clear night sky...

BR,
C
3 years 11 months ago #60831

Please Log in or Create an account to join the conversation.

  • Posts: 37
  • Thank you received: 5

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

Moderators: Radek Kaczorek
Time to create page: 1.248 seconds