×
INDI Library v1.8.6 Released (21 Aug 2020)

August 2020 release of INDI Library v1.8.6 introduces new drivers while providing fixes and improvements to existing devices and core framework.

PHD2 crashes

1 year 5 months ago
Kaczorek
Moderator
Moderator
Posts: 962
Karma: 6
More
Topic Author
PHD2 crashes #37198
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?

--
Radek Kaczorek
Astroberry Server | NEQ6 | Atik 460EX | Atik EFW2 | ASI 120MM

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

1 year 5 months ago
Ron Kramer
Gold Boarder
Gold Boarder
Posts: 328
More
PHD2 crashes #37203
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

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

1 year 5 months ago
kengs
Gold Boarder
Gold Boarder
Posts: 162
Karma: 3
More
PHD2 crashes #37209
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.

Ubuntu 16.04 AMD64 VM, RPi3 Ubuntu Mate 16.04, Windows 10 AMD64, Ubuntu 16.04 AAEON UP Core
Avalon M-Uno, EQ6 Pro, Atik420, ASI1600MM-C, ASI120MM-S, DBK21AU04, ZWO EFW, Optec TCFSi
Vixen R150S, GSO RC8, ST80

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

1 year 5 months ago
Ihoujin
Platinum Boarder
Platinum Boarder
Posts: 921
Karma: 3
More
PHD2 crashes #37272

Ron Kramer wrote: 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?


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.

INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.

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

1 year 5 months ago
wvreeven
Supernova Explorer
Supernova Explorer
Posts: 1668
Karma: 8
More
PHD2 crashes #37273
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

ASI6200 and filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R

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

1 year 5 months ago 1 year 5 months ago by Kaczorek.
Kaczorek
Moderator
Moderator
Posts: 962
Karma: 6
More
Topic Author
PHD2 crashes #37276
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.

--
Radek Kaczorek
Astroberry Server | NEQ6 | Atik 460EX | Atik EFW2 | ASI 120MM

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

1 year 5 months ago
Ihoujin
Platinum Boarder
Platinum Boarder
Posts: 921
Karma: 3
More
PHD2 crashes #37286
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.

INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.

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

Time to create page: 0.460 seconds