×

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

Bi-monthly release with minor bug fixes and improvements

QHY broken with new release (indi-1.7.4), kstars/ekos (2.9.7)

  • Posts: 1957
  • Thank you received: 420
I am experiencing problems with a QHY9 camera as well, though in my case the problems are with the filter wheel. See

www.indilib.org/forum/ccds-dslrs/3872-qh...x-mac-ok-though.html

I haven't found a soliution yet and will keep an eye on this thread just in case...
5 years 7 months ago #29647

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

  • Posts: 157
  • Thank you received: 19
I have verified that my QHY9 is in good working order, testing it using Nebulosity 4 under Windows, using the same cables. Camera, cooler and filter works well.

I also ran qhy_ccd_test and no issues there - output below:

QHY Test CCD using SingleFrameMode, Version: 1.00
SDK resources initialized.
Number of QHYCCD cameras found: 2
Application connected to the following camera from the list: Index: 1, cameraID = QHY9S-M-0101010304XXXXXX
Open QHYCCD success.
SetQHYCCDStreamMode set to: 0, success.
InitQHYCCD success.
GetQHYCCDOverScanArea:
Overscan Area startX x startY : 3486 x 30
Overscan Area sizeX x sizeY : 30 x 2450
GetQHYCCDEffectiveArea:
Effective Area startX x startY: 3486 x 30
Effective Area sizeX x sizeY : 30 x 2450
GetQHYCCDChipInfo:
Effective Area startX x startY: 3486 x 30
Chip size width x height : 17.960 x 13.520 [mm]
Pixel size width x height : 5.400 x 5.400 [um]
Image size width x height : 3584 x 2574
This is a mono camera.
SetQHYCCDParam CONTROL_GAIN set to: 10, success
SetQHYCCDParam CONTROL_GAIN set to: 140, success.
SetQHYCCDParam CONTROL_EXPOSURE set to: 20000, success.
SetQHYCCDResolution roiStartX x roiStartY: 0 x 0
SetQHYCCDResolution roiSizeX x roiSizeY : 3584 x 2574
SetQHYCCDBinMode set to: binX: 1, binY: 1, success.
ExpQHYCCDSingleFrame(pCamHandle) - start...
ExpQHYCCDSingleFrame(pCamHandle) - end...
ExpQHYCCDSingleFrame success (0).
Allocated memory for frame: 19702032 [uchar].
GetQHYCCDSingleFrame: 3584 x 2574, bpp: 16, channels: 1, success.
CancelQHYCCDExposingAndReadout success.
Close QHYCCD success.
SDK resources released.

There is some interaction between EKOS, indi, and the driver that makes the system think streaming is turned on. qhy_test_ccd seems to indicate the camera is fine, and I presume uses the driver to communicate to the camera. I've removed the xml files, rebooted the Raspberry Pi (where indi runs) and verified cabling and USB hub. I'm at a loss as to what else I can do or check.

Ideas?

jmh
5 years 6 months ago #29656

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

  • Posts: 989
  • Thank you received: 161

Another hint where to direct future development efforts at. I think Ekos/Indi would profit massively from a major overhaul that would simplifying the configuration and have everything one place.
The following user(s) said Thank You: Greg
5 years 6 months ago #29695

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

  • Posts: 73
  • Thank you received: 8
I've been off these forums and not using the software for a while now hoping that QHY issues would have been resolved by now. Poked my head in the door to see what was new and found this thread.

I will wait several more months.
5 years 6 months ago #30166

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

There has been a new QHY SDK and QHY driver release since then in INDI Nightly PPA. Please test that.
The following user(s) said Thank You: Wouter van Reeven
5 years 6 months ago #30167

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

  • Posts: 1957
  • Thank you received: 420
5 years 6 months ago #30168

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

  • Posts: 1957
  • Thank you received: 420
I gave it a try tonight. First I added the nightly ppa, then i updated KStars and INDI. Next I connected the QHY9 but as soon as I started the INDI server via Ekos it reported that the qhy driver had crashed. Here are the logs.


- Wouter
5 years 6 months ago #30181
Attachments:

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

It seems there was a build problem.. I rebuilt the package, can you try to update and check again?
The following user(s) said Thank You: Wouter van Reeven
5 years 6 months ago #30186

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

  • Posts: 1957
  • Thank you received: 420
I updated KStars and tried again. Unfortunately the qhy driver still crashes. Here are the new logs.
5 years 6 months ago #30219
Attachments:

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

Please post the output of these two commands:
which indi_qhy_ccd

and
ldd /usr/bin/indi_qhy_ccd
5 years 6 months ago #30223

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

  • Posts: 1957
  • Thank you received: 420
$> which indi_qhy_ccd
/usr/bin/indi_qhy_ccd
and
$> ldd /usr/bin/indi_qhy_ccd
/usr/bin/indi_qhy_ccd: error while loading shared libraries: libqhyccd.so.3: failed to map segment from shared object

EDIT: FYI
$> dpkg -l \*qhy\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                                          Version                             Architecture                        Description
+++-=============================================================-===================================-===================================-================================================================================================================================
ii  indi-qhy                                                      1.9~201810082024~ubuntu16.04.1      armhf                               INDI QHY Driver. This driver is compatible with any INDI client such as KStars or Xephem.
ii  libqhy                                                        3.0.1+r4244~201810090111~ubuntu16.0 armhf                               libqhy provide libraries to access and control QHY CCDs and Filter Wheels.
Last edit: 5 years 6 months ago by Wouter van Reeven.
5 years 6 months ago #30227

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

I just tested on StellarMate and it didn't get that error... so there is something odd going on with your system. Try purging libqhy and reinstalling it again. Check /usr/lib and make sure there is no old libqhy there somehow.
5 years 6 months ago #30243

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

Time to create page: 0.821 seconds