×

INDI Library v1.9.8 Released (29 Sep 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

indi_qhy_ccd crashing

  • Posts: 152
  • Thank you received: 10
The latest indi_qhy_ccd driver appears to crash every time I try to take a preview image. Tested on QHY11C and QHY5LII cameras. Anyone else seeing problem on QHY?
OS is Linuxmint 20.3

Dan
2 months 3 weeks ago #86121

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

  • Posts: 26
  • Thank you received: 1
Hi Dan,

Long time I didn't use my QHY-10! I took out of its box and tried it on my Debian:
* Debian GNU/Linux 11.4
* Kstars 3.6.1 Beta (compiled from sources)
* indi-qhy 2.7
* libqhy 22.7.23

Taking a preview image from the CCD tab worked for me. Also worked from the indi control panel.
Do you have any error message?
2 months 3 weeks ago #86123

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

  • Posts: 26
  • Thank you received: 1
I've probably been too fast responding... I've done some more tests and can confirm I4ve seen same crashes.
First time Kstars notified about driver crash and restarted it. Then trying to take the next frame, Kstars crashed as a whole.

However after restarting the indiserver I can't reproduce it anymore
2 months 3 weeks ago #86125

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

  • Posts: 152
  • Thank you received: 10

Replied by Dan Holler on topic indi_qhy_ccd crashing

Thanks Alexandre. No matter how I seem to try to get logging turned on, it turns itself off. And, in spite of all attempts, my indi_qhy_ccd is continuing to crash. I will wait for more input on this topic.

Dan
2 months 3 weeks ago #86127

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

  • Posts: 152
  • Thank you received: 10

Replied by Dan Holler on topic indi_qhy_ccd crashing

I've seen this some place else on the board, but, here is the log:

2022-09-10T10:18:24.411 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "2022-09-10T14:18:24: FIFO: start indi_qhy_ccd"
[2022-09-10T10:18:24.412 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "2022-09-10T14:18:24: FIFO: Starting driver indi_qhy_ccd"
[2022-09-10T10:18:24.412 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "2022-09-10T14:18:24: Driver indi_qhy_ccd: pid=18992 rfd=11 wfd=11 efd=12"
[2022-09-10T10:18:24.412 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "2022-09-10T14:18:24: Driver indi_qhy_ccd: indi_qhy_ccd: error while loading shared libraries: libqhyccd.so.22: cannot open shared object file: No such file or directory"
[2022-09-10T10:18:24.412 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "2022-09-10T14:18:24: Driver indi_qhy_ccd: read: Connection reset by peer"
[2022-09-10T10:18:24.412 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "2022-09-10T14:18:24: Driver indi_qhy_ccd: Terminated after #0 restarts."
[2022-09-10T10:18:24.412 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "2022-09-10T14:18:24: Client 8: new arrival from local pid 11398 (user: 1000:1000) - welcome!"
[2022-09-10T10:18:24.412 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2022-09-10T10:18:24.412 EDT CRIT ][ org.kde.kstars.indi] - INDI driver "indi_qhy_ccd" crashed!
[2022-0
2 months 2 weeks ago #86240

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

  • Posts: 10
  • Thank you received: 0

Replied by Simon on topic indi_qhy_ccd crashing

It seems that your libqhyccd.so.22 file is missing or not in the right place..
If you still have your build folder it should be there then you can copy it like so: "sudo cp ~/Projects/build/indi-3rdparty-libs/libqhy/libqhyccd.so.22 /lib/aarch64-linux-gnu/".
/lib/aarch64-linux-gnu/ is the folder where your file should be..
You can run "sudo find / -name libqhyccd.so.22" to see if you have the file somewhere..
2 months 2 weeks ago #86242

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

  • Posts: 167
  • Thank you received: 24

Replied by Sonny Cavazos on topic indi_qhy_ccd crashing

IF you install the QHYSDK from the QHYCCD.com website, the files get put in different locations.

I have seen this when I installed the latest QHYSDK from the QHY website. If you have installed the SDK, uninstall it and re-install the INDI QHY driver.
2 months 2 weeks ago #86244

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

  • Posts: 26
  • Thank you received: 1
Interestingly enough I figured out the latest SDK provided for Linux by QHY (at least the last one I found) ships a
.so.22.8.17.17
version of the lib, but the symlink is
.so.20
...
That's probably a bug and you should rename that link to
.so.22
, which is exactly the shared object file your system is missing.
All libs should be installed in /usr/local/lib which is a quite common location for manually installed software and most systems should look in this folders for files. So I would assume that simply renaming the file will fix the problem.
(Assuming you installed the library from the QHY SDK here)
The following user(s) said Thank You: Dan Holler
2 months 2 weeks ago #86245

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

  • Posts: 124
  • Thank you received: 28

Replied by Michael on topic indi_qhy_ccd crashing

Hi Alex,
I recognize the same problem with actual SDK from QHY. Doing the right links in /usr/local/lib still gives me the message:

ldd /usr/bin/indi_qhy_ccd |grep libqhy*
libqhyccd.so.22 => not found

Any ideas about this.
Setup is ubuntu 22.04 with actual 3.6.1 KStars and EKOS and latest QHY SDK

@ Sonny: How do you uninstall SDK and re-install the INDI QHY driver?
1 month 4 weeks ago #86804

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

  • Posts: 167
  • Thank you received: 24

Replied by Sonny Cavazos on topic indi_qhy_ccd crashing

If you download the SDK and unpack it you will see two shell commands:

uninstall.sh
distclean.sh

run both of those ./uninstall.sh and ./distclean.sh

To re-install, you just re-install the INDI driver package.
Last edit: 1 month 4 weeks ago by Sonny Cavazos.
1 month 4 weeks ago #86807

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

  • Posts: 124
  • Thank you received: 28

Replied by Michael on topic indi_qhy_ccd crashing

Hi Sonny,
did this:

sudo bash uninstall.sh
sudo bash distclean.sh
sudo apt-get install indi-full kstars-bleeding --reinstall

still:
ldd /usr/bin/indi_qhy_ccd |grep libqhy*

shows:
libqhyccd.so.22 => not found


see the QHY600 in /dev as symlink.
I had the sdk always in the past installed and running. Since upgrade to ubuntu 22.04 (from 20.04) I have this problem.

Any further thoughts about what I'm doing wrong ?
Many thanks
Michel
1 month 3 weeks ago #86809

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

  • Posts: 26
  • Thank you received: 1
Did you run ldconfig after renaming the symlink from /usr/local/lib/libqhyccd.so.20 to /usr/local/lib/libqhyccd.so.22?
1 month 3 weeks ago #86816

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

Time to create page: 0.694 seconds