×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

QHY 5-II camera in RPI4 setup

  • Posts: 4
  • Thank you received: 2
Dear all,

Hope you are doing well.
I have two systems using INDI functionalities. I have an issue with one of the two systems. The issue is related to a QHY 5-II camera.

First setup
  • LINUX64 (ubuntu 18.04) architecture.
  • INDI last version lightly
  • INDI_QHY_CCD version 2.7
  • SDK 21.1.19 version
Second setup
  • AARCH64 (ubuntu 18.04) architecture
  • INDI last version lightly
  • INDI_QHY_CCD version 2.7
  • SDK 20.12.23 version
Everything is fine with the First setup
First setup
  • QHY_CCD_TEST: success
  • GETTING A PICTURE FROM EKOS : success
I have a problem with the second setup
Second setup
  • QHY_CCD_TEST: segmentation fault with "GetQHYCCDSingleFrame failure, error: -1"
  • GETTING A PICTURE FROM EKOS: fail with "GetQHYCCDSingleFrame failure, error: -1"

I think the problem is coming from the SDK version I am using in the AARCH64 setup (RPI4). I am right ?
The problem seems similar to the one described here: www.indilib.org/forum/ccds-dslrs/5701-qh...error-1.html?start=0 and also to this one github.com/indilib/indi/issues/1059

I tried to strace the execution of the binary QHY_CCD_TEST to understand the issue without a success.

I am unable to find a newer version of the SDK I can install on the RPI4.

Someone is able to get QHY 5-II camera working on AARCH64 setup (RPI4) ?

thank you.
3 years 1 month ago #67265

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

  • Posts: 4
  • Thank you received: 2
I fixed the problem.
I managed to upgrade the SDK version in the RPI4.
I did it in a dirty way :
sudo rm -rf /usr/lib/aarch64-linux-gnu/libqhyccd.so*
sudo apt-get remove indi-full indi-qhy libqhy
sudo apt-get install indi-full indi-qhy libqhy

now I have the SDK 21.1.19 version on my RPI4 and all is working fine.
thanks.
The following user(s) said Thank You: Jasem Mutlaq
3 years 1 month ago #67272

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

  • Posts: 13
  • Thank you received: 1
I actually seem to have the same problem in this topic:

www.indilib.org/forum/ccds-dslrs/5701-qh....html?start=36#67448

The difference is that I'm on Ubuntu 20.04.

The latest packages are:

ppa.launchpad.net/mutlaqja/ppa/ubuntu/po...ntu18.04.1_amd64.deb
ppa.launchpad.net/mutlaqja/ppa/ubuntu/po...ntu21.04.1_arm64.deb

And they both contain the lib 20.12.23, which seems to be the problem.

Where did you get a 21.1.19 from?

I could only get it working as described in the thread above - using an old lib.
Last edit: 3 years 1 month ago by Domokos Molnar. Reason: Typo fix
3 years 1 month ago #67452

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

  • Posts: 13
  • Thank you received: 1
I noticed that for 19.04 there is a build from 2020-02-24

ppa.launchpad.net/mutlaqja/ppa/ubuntu/po...ntu19.04.1_arm64.deb

This has SDK libqhyccd.so.20.2.19 in it, which actually works and is more recent that the version 6 I used as per the previous thread, so I just put this lib there manually temporarily.

Still the question is on: where did you get a 21.1.19 from?
3 years 1 month ago #67454

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

  • Posts: 4
  • Thank you received: 2
Hi,

I get it from here:
launchpad.net/~mutlaqja/+archive/ubuntu/...field.series_filter=

for my case i took the : libqhy - 21.2.11+unstable~202102160314~ubuntu18.04.1

inside this lib in the file CMakeLists.txt we can read:
# QHY SDK 21.2.11
set(LIBQHY_VERSION "20.2.11")
set(LIBQHY_SOVERSION "20")

in your case you need the : libqhy - 21.2.11+unstable~202102160312~ubuntu20.04.1

I hope this will help you !
The following user(s) said Thank You: Domokos Molnar
3 years 1 month ago #67457

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

  • Posts: 157
  • Thank you received: 19
I think there is a label issue - the latest release is libqhyccd.so.20.2.11 but should be libqhyccd.so.21.2.11. I installed this from the nightly on Feb 11. Seems to work find for my QHY5L-II mono on RPI and x64.

Regards,

jmh
3 years 1 month ago #67463

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

  • Posts: 13
  • Thank you received: 1
I can confirm. The executable is compiled against the so.20, while versions seem to be actual dates.

doma@astropi:~$ ldd /usr/bin/indi_qhy_ccd |grep qhy
libqhyccd.so.20 => /lib/aarch64-linux-gnu/libqhyccd.so.20 (0x0000ffffba0d2000)


A closer look reveals a work in progress, there is already a - broken - symlink for the oncoming so.21 series in the package:

doma@astropi:~$ ls -l /lib/aarch64-linux-gnu/libqhyccd*
lrwxrwxrwx 1 root root 15 Feb 16 03:12 /lib/aarch64-linux-gnu/libqhyccd.so -> libqhyccd.so.21
lrwxrwxrwx 1 root root 20 Feb 16 03:12 /lib/aarch64-linux-gnu/libqhyccd.so.20 -> libqhyccd.so.20.2.11
-rw-r--r-- 1 root root 2939936 Feb 16 03:12 /lib/aarch64-linux-gnu/libqhyccd.so.20.2.11
Last edit: 3 years 1 month ago by Domokos Molnar.
3 years 1 month ago #67469

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


The SOVERSION was not updated correctly, I just pushed a fix for this.
3 years 1 month ago #67470

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

Time to create page: 1.415 seconds