×

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: 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 7 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 7 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.

  • Posts: 1957
  • Thank you received: 420
Hmm I tried that but it doesn't resolve the problem:
$> sudo dpkg -P libqhy indi-qhy indi-full
(Reading database ... 185734 files and directories currently installed.)
Removing indi-full (1.7.5~201810090107~ubuntu16.04.1) ...
Removing indi-qhy (1.9~201810082024~ubuntu16.04.1) ...
Removing libqhy (3.0.1+r4244~201810090111~ubuntu16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
$> sudo updatedb
$> locate *qhy*
/usr/bin/indi_qhy_wheel
/var/cache/apt/archives/indi-qhy_1.9~201810080051~ubuntu16.04.1_armhf.deb
/var/cache/apt/archives/indi-qhy_1.9~201810082024~ubuntu16.04.1_armhf.deb
/var/cache/apt/archives/libqhy_3.0.1+r4240~201810080102~ubuntu16.04.1_armhf.deb
/var/cache/apt/archives/libqhy_3.0.1+r4244~201810090111~ubuntu16.04.1_armhf.deb
pi@aries ~ $> sudo apt-get install indi-full
...snip...
$> sudo updatedb
pi@aries ~ $> locate *qhy*
/lib/firmware/qhy
...snip...
/usr/lib/arm-linux-gnueabihf/libqhyccd.so
/usr/lib/arm-linux-gnueabihf/libqhyccd.so.1
/usr/lib/arm-linux-gnueabihf/libqhyccd.so.3
/usr/lib/arm-linux-gnueabihf/libqhyccd.so.3.0.1
...snip...
$> 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

This is on an RPi3 running
$> cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS"
I'll try a reinstall and see if that helps.

EDIT: And FYI
$> ll /usr/lib/arm-linux-gnueabihf/libqhyccd.so
lrwxrwxrwx 1 root root 14 Oct  9 05:12 /usr/lib/arm-linux-gnueabihf/libqhyccd.so -> libqhyccd.so.1
$> ll /usr/lib/arm-linux-gnueabihf/libqhyccd.so.1
lrwxrwxrwx 1 root root 18 Oct  9 05:12 /usr/lib/arm-linux-gnueabihf/libqhyccd.so.1 -> libqhyccd.so.3.0.1
$> ll /usr/lib/arm-linux-gnueabihf/libqhyccd.so.3
lrwxrwxrwx 1 root root 18 Oct  9 05:12 /usr/lib/arm-linux-gnueabihf/libqhyccd.so.3 -> libqhyccd.so.3.0.1
$> ll /usr/lib/arm-linux-gnueabihf/libqhyccd.so.3.0.1
-rw-r--r-- 1 root root 1311584 Oct  9 05:12 /usr/lib/arm-linux-gnueabihf/libqhyccd.so.3.0.1
$> file /usr/lib/arm-linux-gnueabihf/libqhyccd.so.3.0.1
/usr/lib/arm-linux-gnueabihf/libqhyccd.so.3.0.1: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=95417040e4015299b14ff901a2729823db9183cb, stripped
Last edit: 5 years 6 months ago by Wouter van Reeven.
5 years 6 months ago #30250

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

Time to create page: 0.633 seconds