×

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

Bi-monthly release with minor bug fixes and improvements

ASI usb3 camera retries 3 times on exposure and fails - git builds

  • Posts: 459
  • Thank you received: 69
I get the same repeated crash. My log file shows a problem with libASICamera2.so ?

2021-04-23T12:42:58.301 ADT DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-04-23T15:42:58: Driver indi_asi_ccd: indi_asi_ccd: error while loading shared libraries: libASICamera2.so: cannot open shared object file: No such file or directory"
[2021-04-23T12:42:58.301 ADT DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-04-23T15:42:58: Driver indi_asi_ccd: stdin EOF"
[2021-04-23T12:42:58.301 ADT DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-04-23T15:42:58: Driver indi_asi_ccd: Terminated after #0 restarts."
2 years 11 months ago #70411

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

  • Posts: 1009
  • Thank you received: 133
What does
ls -l /usr/lib*/libASICamera2.*
tell?
 
2 years 11 months ago #70413

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

  • Posts: 1119
  • Thank you received: 182
lrwxrwxrwx 1 root root      18 Apr 21 14:06 /usr/lib/x86_64-linux-gnu/libASICamera2.so -> libASICamera2.so.1
-rw-r--r-- 1 root root 1998312 Apr 21 14:06 /usr/lib/x86_64-linux-gnu/libASICamera2.so.1
Last edit: 2 years 11 months ago by Jose Corazon.
2 years 11 months ago #70416

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

  • Posts: 459
  • Thank you received: 69
What does <code>ls -l /usr/lib*/libASICamera2.*</code> tell?
odroid@odroid:/media/odroid/T5_1T_SSD/Projects/kstars$ sudo ls -l /usr/lib*/libASICamera2.* ls: cannot access '/usr/lib*/libASICamera2.*': No such file or directory

whereas
odroid@odroid:/media/odroid/T5_1T_SSD/Projects/kstars$ ls -l /usr/lib*/lib*
-rwxr-xr-x 1 root root   11976 Jul  7  2020 /usr/lib/libadpcm.so
-rwxr-xr-x 1 root root  205600 Jul  7  2020 /usr/lib/libamadec.so
-rwxr-xr-x 1 root root   41392 Jul  7  2020 /usr/lib/libamavutils.so
-rwxr-xr-x 1 root root   69832 Jul  7  2020 /usr/lib/libamcodec.so
-rwxr-xr-x 1 root root    8056 Jul  7  2020 /usr/lib/libamffmpegdec.so
-rwxr-xr-x 1 root root  146120 Jul  7  2020 /usr/lib/libammad.so
-rwxr-xr-x 1 root root  343928 Jul  7  2020 /usr/lib/libamplayer.so
-rwxr-xr-x 1 root root  271952 Jul  7  2020 /usr/lib/libamr.so
-rwxr-xr-x 1 root root   23936 Jul  7  2020 /usr/lib/libamstreaming.so
-rwxr-xr-x 1 root root   10872 Jul  7  2020 /usr/lib/libamvdec.so
-rwxr-xr-x 1 root root   21608 Jul  7  2020 /usr/lib/libape.so
lrwxrwxrwx 1 root root      20 Jul  7  2020 /usr/lib/libavcodec.so -> libavcodec.so.53.7.0
lrwxrwxrwx 1 root root      20 Jul  7  2020 /usr/lib/libavcodec.so.53 -> libavcodec.so.53.7.0
-rwxr-xr-x 1 root root 4648416 Jul  7  2020 /usr/lib/libavcodec.so.53.7.0
lrwxrwxrwx 1 root root      21 Jul  7  2020 /usr/lib/libavdevice.so -> libavdevice.so.53.1.1
lrwxrwxrwx 1 root root      21 Jul  7  2020 /usr/lib/libavdevice.so.53 -> libavdevice.so.53.1.1
-rwxr-xr-x 1 root root   38784 Jul  7  2020 /usr/lib/libavdevice.so.53.1.1
lrwxrwxrwx 1 root root      21 Jul  7  2020 /usr/lib/libavfilter.so -> libavfilter.so.2.23.0
lrwxrwxrwx 1 root root      21 Jul  7  2020 /usr/lib/libavfilter.so.2 -> libavfilter.so.2.23.0
-rwxr-xr-x 1 root root  118624 Jul  7  2020 /usr/lib/libavfilter.so.2.23.0
lrwxrwxrwx 1 root root      21 Jul  7  2020 /usr/lib/libavformat.so -> libavformat.so.53.4.0
lrwxrwxrwx 1 root root      21 Jul  7  2020 /usr/lib/libavformat.so.53 -> libavformat.so.53.4.0
-rwxr-xr-x 1 root root 1092008 Jul  7  2020 /usr/lib/libavformat.so.53.4.0
lrwxrwxrwx 1 root root      19 Jul  7  2020 /usr/lib/libavutil.so -> libavutil.so.51.9.1
lrwxrwxrwx 1 root root      19 Jul  7  2020 /usr/lib/libavutil.so.51 -> libavutil.so.51.9.1
-rwxr-xr-x 1 root root  101616 Jul  7  2020 /usr/lib/libavutil.so.51.9.1
-rwxr-xr-x 1 root root  188032 Jul  7  2020 /usr/lib/libcook.so
lrwxrwxrwx 1 root root      19 Dec 30  2018 /usr/lib/libcpufreq.so.0 -> libcpufreq.so.0.0.0
-rw-r--r-- 1 root root   22864 Dec 30  2018 /usr/lib/libcpufreq.so.0.0.0
-rwxr-xr-x 1 root root  537480 Jul  7  2020 /usr/lib/libfaad.so
-rwxr-xr-x 1 root root   35136 Jul  7  2020 /usr/lib/libflac.so
lrwxrwxrwx 1 root root      27 Mar 22  2020 /usr/lib/libhardsid-builder.so.0 -> libhardsid-builder.so.0.0.1
-rw-r--r-- 1 root root   18704 Mar 22  2020 /usr/lib/libhardsid-builder.so.0.0.1
lrwxrwxrwx 1 root root      18 Apr 22 21:57 /usr/lib/libindidriver.so -> libindidriver.so.1
lrwxrwxrwx 1 root root      17 Apr 22 21:57 /usr/lib/libindilx200.so -> libindilx200.so.1
-rwxr-xr-x 1 root root    9928 Jul  7  2020 /usr/lib/liblibpcm_wfd.so
lrwxrwxrwx 1 root root      17 Apr 23  2016 /usr/lib/libnetpbm.so.10 -> libnetpbm.so.10.0
-rw-r--r-- 1 root root  133688 Apr 23  2016 /usr/lib/libnetpbm.so.10.0
-rwxr-xr-x 1 root root  508816 Jul  7  2020 /usr/lib/libopus.so
-rwxr-xr-x 1 root root   15456 Jul  7  2020 /usr/lib/libpcm.so
-rwxr-xr-x 1 root root  286984 Jul  7  2020 /usr/lib/libraac.so
lrwxrwxrwx 1 root root      25 Mar 22  2020 /usr/lib/libresid-builder.so.0 -> libresid-builder.so.0.0.1
-rw-r--r-- 1 root root  183536 Mar 22  2020 /usr/lib/libresid-builder.so.0.0.1
lrwxrwxrwx 1 root root      20 Mar 22  2020 /usr/lib/libsidplay2.so.1 -> libsidplay2.so.1.0.1
-rw-r--r-- 1 root root  262216 Mar 22  2020 /usr/lib/libsidplay2.so.1.0.1
lrwxrwxrwx 1 root root      19 Jul  7  2020 /usr/lib/libswscale.so -> libswscale.so.2.0.0
lrwxrwxrwx 1 root root      19 Jul  7  2020 /usr/lib/libswscale.so.2 -> libswscale.so.2.0.0
-rwxr-xr-x 1 root root  123928 Jul  7  2020 /usr/lib/libswscale.so.2.0.0
lrwxrwxrwx 1 root root      22 Feb 28  2020 /usr/lib/libxmmsclient.so.6 -> libxmmsclient.so.6.0.0
-rw-r--r-- 1 root root  162232 Feb 28  2020 /usr/lib/libxmmsclient.so.6.0.0
 
Last edit: 2 years 11 months ago by Jerry Black.
2 years 11 months ago #70419

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

  • Posts: 459
  • Thank you received: 69
Thank you gentlemen for pointing out the symbolic link issue
ls -l /usr/lib/aarch64-linux-gnu/libASI*
lrwxrwxrwx 1 root root      18 Apr 21 16:06 /usr/lib/aarch64-linux-gnu/libASICamera2.so -> libASICamera2.so.1
-rw-r--r-- 1 root root 1887712 Apr 21 16:06 /usr/lib/aarch64-linux-gnu/libASICamera2.so.1.16
 
cd /usr/lib/aarch64-linux-gnu
sudo rm libASICamera2.so
sudo ln -s libASICamera2.so.1.16 libASICamera2.so
I'm not sure how I got to  ...so.1.16  but at least I'm not crashing now with the nightly build.

My build from source version doesn't display the EKOS menu item, at the moment, but that's again, something I've left out somewhere, and less of an issue as long the the nightly runs.

Thanks
  Jerry
2 years 11 months ago #70434

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

  • Posts: 1119
  • Thank you received: 182
There seems to be a post missing. So what exactly is the problem with the symbolic link? I more than likely am stuck at the same point.

Jo
2 years 11 months ago #70435

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

  • Posts: 1009
  • Thank you received: 133
Hi Jo,

yes, the link was what I was (trying to) point out. The executable is linked to libASICamera2.so, but this usually is a link to the actual (versioned) library. I was just not sure where they actually end up on your systems, as I don't have debian based installations around....
In my case it's like
/usr/lib64/libASICamera2.so -> libASICamera2.so.1
/usr/lib64/libASICamera2.so.1 -> libASICamera2.so.1.16
/usr/lib64/libASICamera2.so.1.16
and I had suspected that something wasn't updated properly in the package, and maybe leftovers from the 1.17 install had survived.

I would completely remove libasi, re-install it, and check where the links are pointing, and that they match the above pattern...
2 years 11 months ago #70440

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

  • Posts: 179
  • Thank you received: 16
KStars 3.5.4 Beta (Build 2021-04-26To1:15:59Z) on Ubuntu 20.04.2 LTS still giving me the "INDI Driver indi_asi_ccd crashed. Restart it?" dialog loop.

Noticed the link in /usr/lib/ are incorrect:
lrwxrwxrwx 1 root root      18 Apr 25 17:05 libASICamera2.so -> libASICamera2.so.1
-rw-r--r-- 1 root root 1998312 Apr 25 17:05 libASICamera2.so.1.16

What's the best way to remove/reinstall the libasi?  Then I'll verify/correct the links.
2 years 11 months ago #70606

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

  • Posts: 1009
  • Thank you received: 133
Seems you are missing a link libASICamera2.so.1 -> libASICamera2.so.1.16
In doubt you can create that yourself (ln -s libASICamera2.so.1.16 /usr/lib/libASICamera2.so.1).

I just compiled the latest version here on my computer (Tumbleweed). No issues, indi_asi_ccd doesn't crash, and drives the camera.
2 years 11 months ago #70616

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

  • Posts: 1119
  • Thank you received: 182
Just follow Jerry's instructions above and adapt to your installation, i.e. the subfolder where the lib would be placed. That differs from installation to installation. It eliminated the crash on my system.

ls -l /usr/lib/aarch64-linux-gnu/libASI*
lrwxrwxrwx 1 root root 18 Apr 21 16:06 /usr/lib/aarch64-linux-gnu/libASICamera2.so -> libASICamera2.so.1
-rw-r--r-- 1 root root 1887712 Apr 21 16:06 /usr/lib/aarch64-linux-gnu/libASICamera2.so.1.16

cd /usr/lib/aarch64-linux-gnu
sudo rm libASICamera2.so
sudo ln -s libASICamera2.so.1.16 libASICamera2.so
2 years 11 months ago #70619

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

  • Posts: 179
  • Thank you received: 16
Thanks - very familiar how to set the links up, but was more looking for how to "completely remove libasi, re-install it" as Peter suggests above. I did straighten out the libASICamera2.so link to point to the existing libASICamera2.so.1.16 library and I no longer get the indi_asi_ccd crash dialog. Will verify the driver talks to the actual camera later.

What's the ultimate cause of this broken link? Bad apt-get upgrade? Bad install?
(Coincidently, after I fixed the libASI link, I did a update/upgrade and the link reverted to the identical broken state.  Looking at it closer, it almost looks like a character limit or typo - the link target is "libASICamera2.so.1" and should be "libASICamera2.so.16")

 
Last edit: 2 years 11 months ago by AirBourn.
2 years 11 months ago #70629
Attachments:

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

  • Posts: 179
  • Thank you received: 16
But now my EAF doesn't show in Ekos. Similar problem?
2 years 11 months ago #70638

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

Time to create page: 1.261 seconds