Hi,

I'm trying to setup a simple Rpi 4 based imaging setup, using only QHY 5II and gphoto with a pentax camera. When I'm using only the guider and drive the camera by hand with a remote control, all is working fine.

But when I use both the guider and the DSLR through INDI drivers, I can see that the image freeze a bit on PHD2's side during (or just after) the DSLR raw transfers. Eventually, at some point, the QHY driver time out and and indi server needs to be restarted to continue the imaging session.

Can anyone help me looking in the right direction for a solution to this issue ? Power issue (I don't have a powered hub at the moment) ? USB bottleneck on the pi ? Driver bug ? I'm a novice in this kind of stuff and I don't really know where to start to find the culprid :(

PHD2 2.6.6dev1
Kstars 3.3.3
libindi 1.7.9, recompiling last sources as I write this

Here is an extract of PHD2 log

21:35:48.188 00.000 3020460048 INDI Camera: connectServer done ready = 1
21:35:48.189 00.001 3020460048 Connected Camera: INDI Camera [QHY CCD QHY5LII-M-6047e]
21:35:48.190 00.001 3020460048 FullSize=(1280,960)
21:35:48.190 00.000 3020460048 PixelSize=3.75
21:35:48.190 00.000 3020460048 BitsPerPixel=8
21:35:48.190 00.000 3020460048 HasGainControl=0
21:35:48.190 00.000 3020460048 HasShutter=0
21:35:48.190 00.000 3020460048 HasSubFrames=1
21:35:48.191 00.001 3020460048 ST4HasGuideOutput=1
21:35:48.191 00.000 3020460048 GetBoolean("/profile/2/camera/AutoLoadDefectMap", 1) returns 1
21:35:48.191 00.000 3020460048 auto-loading defect map
21:35:48.206 00.015 3020460048 Loading defect map file /home/pi/.phd2/darks_defects/PHD2_defect_map_2.txt
21:35:48.214 00.008 3020460048 Loaded 81 defects
21:35:48.215 00.001 3020460048 Status Line: Defect map loaded
21:35:48.883 00.668 3020460048 Status Line: Camera Connected
21:35:48.900 00.017 3020460048 Camera Re-connect succeeded, resume exposures
21:35:48.901 00.001 3020460048 ScheduleExposure(100,3,0) exposurePending=0
21:35:48.901 00.000 3020460048 Enqueuing Expose request
21:35:48.901 00.000 3014934592 Worker thread wakes up
21:35:48.902 00.001 3014934592 worker thread servicing REQUEST_EXPOSE 100
21:35:48.902 00.000 3014934592 Handling exposure in thread, d=100 o=3 r=(0,0,0,0)
21:35:48.902 00.000 3014934592 INDI Camera Exposure is busy. Waiting
21:36:04.005 15.103 2991386688 INDI Camera: serverDisconnected
21:36:04.005 00.000 3014934592 INDI Camera: serverDisconnected
21:36:04.006 00.001 3014934592 worker thread setting skip send exposure complete
21:36:04.006 00.000 3014934592 worker thread queueing reconnect event to GUI thread
21:36:04.006 00.000 3014934592 Error thrown from /home/pi/install/phd2-git/worker_thread.cpp:157->Capture failed
21:36:04.006 00.000 3014934592 worker thread skipping SendWorkerThreadExposeComplete
21:36:04.006 00.000 3014934592 worker thread done servicing request
21:36:04.007 00.001 3020460048 Alert: After 15.1 sec the camera has not completed a 0.1 sec exposure, so it has been disconnected to prevent other problems. If you think the hardware is working correctly, you can increase the timeout period on the Camera tab of the Advanced Settings Dialog.
PHD will make several attempts to re-connect the camera.
21:36:04.041 00.034 3020460048 Try camera reconnect, now = 1567452964
21:36:04.041 00.000 3020460048 More than 3 camera reconnect attempts in less than 60 seconds, return without reconnect.
21:36:04.041 00.000 3020460048 OnExposeComplete: enter
21:36:04.041 00.000 3020460048 OnExposeComplete: Capture Error reported
21:36:04.041 00.000 3020460048 StopCapturing CaptureActive=1 continueCapturing=0 exposurePending=0
21:36:04.044 00.003 3020460048 Changing from state SELECTING to UNINITIALIZED
21:36:04.044 00.000 3020460048 guider state => SELECTING
21:36:04.050 00.006 3020460048 Status Line: Stopped.
21:36:04.773 00.723 3020460048 Error thrown from /home/pi/install/phd2-git/myframe_events.cpp:488->Error reported capturing image


Regards,
Bertrand

Read More...