×
INDI Library v1.8.5 Released (19 Apr 2020)

April 2020 release of INDI Library v1.8.5 introduces new drivers while providing fixes and improvements to existing devices and core framework.

QHY 5L II connection problem. Again

2 years 2 months ago 2 years 2 months ago by fenriques.
fenriques
Gold Boarder
Gold Boarder
Posts: 166
More
Topic Author
QHY 5L II connection problem. Again #25246
It seems that lately QHY are giving issues. Searched the forum but didn't find anything matching my issue.
I tried to update, upgrade, dist-upgrade and reinstall indi-qhy but nothing seems to work. This is the dump of:
indiserver -vvv indi_qhy_ccd
....
2018-04-18T22:18:29: Driver indi_qhy_ccd: pid=2615 rfd=0 wfd=6 efd=7
2018-04-18T22:18:29: Driver indi_qhy_ccd: sending msg copy 1 nq 1:
<getProperties version='1.7'/>

2018-04-18T22:18:29: Driver indi_qhy_ccd: indi_qhy_ccd: error while loading shared libraries: libqhyccd.so.1: cannot map zero-fill pages
2018-04-18T22:18:29: Driver indi_qhy_ccd: stderr EOF
2018-04-18T22:18:29: Driver indi_qhy_ccd: Terminated after #10 restarts.
2018-04-18T22:18:29: good bye

Have any idea?
Ferrante

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

2 years 2 months ago
bowmangotti
Fresh Boarder
Fresh Boarder
Posts: 3
More
QHY 5L II connection problem. Again #25287
I am having the same issue with same error

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

2 years 2 months ago 2 years 2 months ago by fenriques.
fenriques
Gold Boarder
Gold Boarder
Posts: 166
More
Topic Author
QHY 5L II connection problem. Again #25296
Even a full reinstall of indi / ekos doesn't work.
Found in the forum that 2 months ago qhy changed the name of their library from libqhy to libqhyccd but this was fixed immediately after by Jasem.
I'm running Ubuntu 16.04 mate on a rpi3.
Too bad this happens when the weather is nice after months of clouds and snow....
Attachments:

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

2 years 2 months ago 2 years 2 months ago by fenriques.
fenriques
Gold Boarder
Gold Boarder
Posts: 166
More
Topic Author
QHY 5L II connection problem. Again #25297
after further investigation, seems that the libqhyccd version number doesn't match.
The error I get is about version 1:
error while loading shared libraries: libqhyccd.so.1
While in CMakeList file both libqhy version and soversion has been update to the new SDK more than 20 days ago:
set(LIBQHY_VERSION "2.0.0")
set(LIBQHY_SOVERSION "2")

EDITED: wrong guessing: libqhyccd.so.1 is just a symbolic link to 2.0.0

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

2 years 2 months ago
fenriques
Gold Boarder
Gold Boarder
Posts: 166
More
Topic Author
QHY 5L II connection problem. Again #25298
found a workaround, assuming you have RPI3:
/usr/lib/arm-linux-gnueabihf/libqhyccd.so.2.0.0
could be copied or renamed to:
/usr/lib/arm-linux-gnueabihf/libqhyccd.so.2.0.3
...or, better, just wait for the fix that Jasem did 12 hours ago but not yet available as update.

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

2 years 2 months ago
knro
Administrator
Administrator
Posts: 8109
Karma: 51
QHY 5L II connection problem. Again #25305
Check if the Nightly PPA solves the issue or it's the same there?

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

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

2 years 2 months ago
bowmangotti
Fresh Boarder
Fresh Boarder
Posts: 3
More
QHY 5L II connection problem. Again #25308
The nightly version gives me the same error:

...
2018-04-20T12:25:19: Driver indi_qhy_ccd: restart #10
2018-04-20T12:25:19: Driver indi_qhy_ccd: pid=3163 rfd=0 wfd=6 efd=7
2018-04-20T12:25:19: Driver indi_qhy_ccd: sending msg copy 1 nq 1:
<getProperties version='1.7'/>

2018-04-20T12:25:19: Driver indi_qhy_ccd: indi_qhy_ccd: error while loading shared libraries: libqhyccd.so.2: cannot map zero-fill pages
2018-04-20T12:25:19: Driver indi_qhy_ccd: stderr EOF
Child process 3163 died
2018-04-20T12:25:19: Driver indi_qhy_ccd: Terminated after #10 restarts.
2018-04-20T12:25:19: good bye

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

2 years 2 months ago 2 years 2 months ago by knro.
knro
Administrator
Administrator
Posts: 8109
Karma: 51
QHY 5L II connection problem. Again #25310
Have you installed libqhy or indi-qhy yourself before? You have something on your system that interferes with this. Is this on RPI3 or x86-64 system?

EDIT: Ok I know why. For some reason, the QHY SDK is reserving TOO much memory (~780 MB) but its actual use is very little, but this is leading to errors in memory use. This is not a problem on StellarMate due to memory compression but on a regular RPI3 it would be a problem. I'll try to find out why it is reserving so much memory.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

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

2 years 2 months ago
bowmangotti
Fresh Boarder
Fresh Boarder
Posts: 3
More
QHY 5L II connection problem. Again #25311
I'm using Ubuntu Mate 16.04 on RPI3 (same as Fenriques posted). Everything was a fresh install from your ppa. For the nightly I simply updated only the qhy package. Thanks for checking.

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

2 years 2 months ago 2 years 2 months ago by fenriques.
fenriques
Gold Boarder
Gold Boarder
Posts: 166
More
Topic Author
QHY 5L II connection problem. Again #25314
@bowmangotti: in the meantime, as Jasem implicity suggested, using compressed memory works fine.
Use this script: github.com/novaspirit/rpi_zram
Check the result with the command 'free'
The following user(s) said Thank You bowmangotti

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

2 years 2 months ago
AstroWill
Junior Boarder
Junior Boarder
Posts: 29
More
QHY 5L II connection problem. Again #25439
Hi,

I have attempted this solution and the problem wasn't resolved for my QHY5-M. It is showing the "Exposure Timeout" error since the update released 08/04/2018.
I have a QHY5-L-ii-c that seems to work without any failures but I would rather not guide using the colour cam. Any suggestions?

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

2 years 2 months ago
fenriques
Gold Boarder
Gold Boarder
Posts: 166
More
Topic Author
QHY 5L II connection problem. Again #25457
Your issue seems not related to the one discussed here. Whenever I have a timeout error I power off/on the camera and restart indi. Usually it is sufficient to fix the issue.
Yesterday a new release was available, have you tried to update?
If this won't fix it I suggest you post here your log file.

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

Time to create page: 0.362 seconds