×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

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

  • Posts: 1119
  • Thank you received: 182
I fixed my crashes by 1) purging libasi, then 2) recompiling indi using 'git checkout dc02153a571281f613321df0cad912d5ae09480a' instead of 'git checkout master', i.e. going back in time to March 10 when everything still worked for me.

Not the cleanest method, but fast and after doing that my ZWO filter wheel, Moonlight focuser and ZWO cameras were back in action again.

I assume that reverted the ZWO SDK also, but I did not check.

Jo
Last edit: 3 years 1 week ago by Jose Corazon.
3 years 1 week ago #70074

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

  • Posts: 180
  • Thank you received: 16
Running latest nightly (2021-04-21T23:50:23Z) on Ubuntu 20.04.2.  Immediately on starting Ekos I get a dialog that says "INDI Driver indi_asi_ccd crashed.  Restart it?" and it will cycle a couple of time (probably once for each ASI CCD device), and then show the INDI Control Panel without my ASI devices.  I also see a message about the driver crash in the log.  Latest Stable (3.5.2 I think) works fine on the machine.  Related?

3 years 2 days ago #70347
Attachments:

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

  • Posts: 535
  • Thank you received: 109

Oops, I missed this, but I see you were able to get it merged. Thank you.
3 years 18 hours ago #70402

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

  • Posts: 535
  • Thank you received: 109
@AIRBOURN you didn't provide any logs, so I don't know if your error is the same or not, but when you say latest nightly, you made sure to have the latest indilib as well as asi driver and library? I had thought this particular error was mitigated now.

Jim
3 years 18 hours ago #70403

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

  • Posts: 1119
  • Thank you received: 182


I just updated Indi and Kstars from nightly and I am seeing exactly the same thing.  Except that it doesn't just cycle the crash/restart window only a couple of times, it continued to do that until I canceled after about 3 min. 
3 years 18 hours ago #70405

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

  • Posts: 460
  • 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."
3 years 15 hours 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?
 
3 years 14 hours 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: 3 years 13 hours ago by Jose Corazon.
3 years 13 hours ago #70416

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

  • Posts: 460
  • 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: 3 years 12 hours ago by Jerry Black.
3 years 12 hours ago #70419

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

  • Posts: 460
  • 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
3 years 8 hours 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
3 years 5 hours 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...
3 years 18 minutes ago #70440

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

Time to create page: 0.665 seconds