×

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

Bi-monthly release with minor bug fixes and improvements

PHD2 crashes

  • Posts: 983
  • Thank you received: 375

PHD2 crashes was created by Radek Kaczorek

I've been using ZWO ASI120MM for guiding for quite a long time. I flashed with compatible firmware for linux and it works quite well. Sometimes it renders bad frames but I can live with this.
I have noticed recently that PHD2 crashes with this camera. It looks like it happens when it cannot take a shot from the cam.
00:01:13.310 00.000 1945518688 Move returns status 0, amount 0
00:01:13.310 00.000 1945518688 move complete, result=0
00:01:13.310 00.000 1945518688 worker thread done servicing request
00:01:13.310 00.000 1953320960 GuideStep: -16.3 px 1434 ms EAST, -11.3 px 0 ms NORTH
00:01:13.310 00.000 1945518688 Worker thread wakes up
00:01:13.311 00.001 1945518688 worker thread servicing REQUEST_EXPOSE 2500
00:01:13.311 00.000 1945518688 Handling exposure in thread, d=2500 o=3 r=(901,300,51,51)
00:01:13.311 00.000 1945518688 ZWO: frame (896,288)+(64,64)
00:01:13.311 00.000 1945518688 ZWO: stopcapture
00:01:14.280 00.969 1945518688 ZWO: startcapture
00:01:34.315 20.035 1945518688 ZWO: getimagedata ret 11
00:01:34.316 00.001 1945518688 ZWO: stopcapture
00:01:36.785 02.469 1945518688 worker thread setting skip send exposure complete
00:01:36.785 00.000 1945518688 worker thread queueing reconnect event to GUI thread
00:01:36.785 00.000 1945518688 Error thrown from /build/phd2-gNkfQS/phd2-2.6.5.rev20190201/worker_thread.cpp:157->Capture failed
00:01:36.785 00.000 1945518688 worker thread skipping SendWorkerThreadExposeComplete

I run PHD2 2.6.5.rev20190201-0ppa1~ubuntu16.04 on Raspberry Pi.

Anybody facing this issue?
5 years 2 weeks ago #37198

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

  • Posts: 328
  • Thank you received: 53

Replied by Ron Kramer on topic PHD2 crashes

Not sure if it's related, but I think I read that the ASIair is not compatible with the ASI120 camera. (seems odd) but there has to be some reason for this.
The Asiair is a pi similar to the smate but geared for beginners. It has to use ASIcameras. but not the 120?
AP Mach1 / CP4 APCC & PEMpro.
EXP SCI - ED152cf APO - Celestron 11" RASA - Stellarvue 80mm
Baader F2 HS NB filters, Lodestar X2 guide camera / OAG - ZWO 290mm mini
ZWO ASI1600MM Pro / ASI174M (solar) / ASI094MC
NEXDome, CLoudwatcher, AVX mount/ASIair and Stellarmate

5 years 2 weeks ago #37203

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

  • Posts: 269
  • Thank you received: 53

Replied by Ken Self on topic PHD2 crashes

PHD2 recently changed its native ASI driver to use trigger mode in place of streaming mode. I wonder if there is a compatibility issue with your camera operating in trigger mode.
5 years 2 weeks ago #37209

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

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic PHD2 crashes


ASI 120MM (USB2.0 version) has a USB controller that is incompatible with Linux. It uses a non standard packet size which conflicts with a security feature programmed into the USB core in the kernel. The ASI AIR is build on Linux, so is still non compatible.
Although it may be possible to patch the kernel, I have not managed to successfully do so.
5 years 2 weeks ago #37272

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

  • Posts: 1957
  • Thank you received: 420

Replied by Wouter van Reeven on topic PHD2 crashes

As Radek wrote, he has flashed the camera with compatible firmware making it work on Linux. I am not sure if that still could be the reason that PhD crashes though. Perhaps related to the bad frames that the camera sometimes gives? Does PhD crash everytime it tries to take a frame or only sometimes?

Wouter
5 years 2 weeks ago #37273

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

  • Posts: 983
  • Thank you received: 375

Replied by Radek Kaczorek on topic PHD2 crashes

This is correct. I'm successfully using this camera on linux with a compatible firmware (it changes USB packet size). With this firmware it works 99% of time. Even better if you use subframes in PHD2, which minimizes bandwith use.
I don't think the issue is camera specific - it's the way PHD2 handles errors. In this case "Capture failed". I have just submitted a bug report at PHD2 github site.
Last edit: 5 years 2 weeks ago by Radek Kaczorek.
5 years 2 weeks ago #37276

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

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic PHD2 crashes

Compatibility firmware helps. It will work*. But I find I still get unacceptable number of garbage, corrupted frames, and fps in a stream is extremely low.
5 years 2 weeks ago #37286

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

Time to create page: 0.201 seconds