Grant replied to the topic 'atik filter wheel driver crashes' in the forum. 2 years ago

Yep, that's the correct ID.

Read More...

Grant replied to the topic 'atik filter wheel driver crashes' in the forum. 2 years ago

Nope - I had it working very briefly, but wasn't able to replicate it and have tried a full rebuild on several occasions. I've fallen back on a poor workaround of running Ubuntu 18.04 in a virtual machine just to talk to the filter wheel.

Read More...

Grant replied to the topic 'atik filter wheel driver crashes' in the forum. 3 years ago

My strategy was to search those libraries and find what packages supply them. For example:

packages.ubuntu.com/search?suite=xenial&...eywords=libgomp.so.1

From there, I tried to install one of each such package - in the sample above, this was libgomp1. If you haven't yet, I'd recommend re-trying that for all of the files mentioned in that post. If that doesn't work, try uninstalling and reinstalling kstars, indi, and the appropriate indi-3rdparty libraries.

Are you building the package from source?

Read More...

Grant replied to the topic 'atik filter wheel driver crashes' in the forum. 3 years ago

In the comment linked below, user paolostivanin identified the shared object files which are required by the libraries:

github.com/indilib/indi-3rdparty/issues/...suecomment-926911217

I didn't have my original (problematic) configuration set up, so I created a new 20.04 machine, followed the build/installation instructions, and then tried to install the packages which provide these files. These were the only two which didn't show up as installed on my system, but there were others - go through those files and do a search to see if there are any other ones which you might not have by default. Also, it may help to rebuild/reinstall kstars/indi/libatik/indi-atik after grabbing these prerequisites.

Read More...

Grant replied to the topic 'atik filter wheel driver crashes' in the forum. 3 years ago

I was able to get mine working on Ubuntu 20.04 - pulling from the latest on Github, when I installed the following system packages things worked right away:

libgcc1
ib64stdc++6

Read More...

Grant replied to the topic 'atik filter wheel driver crashes' in the forum. 3 years ago

I've re-opened my issue here: github.com/indilib/indi-3rdparty/issues/382

I've been using Boxes to change the filter wheel manually, but that's really annoying when I should be able to set up a whole night of imaging ahead of time.

Read More...

Grant replied to the topic 'atik filter wheel driver crashes' in the forum. 3 years ago

I think that's actually a different issue - the segfault information is different, and the symptoms are somewhat different. As far as I can tell, the issue that I've been seeing is something specific to the binary Atik library when used on newer kernels, rather than something internal to kstars or indi.

I'm not sure what to suggest for your issue, but a general rebuild isn't a bad place to start. Perhaps check that any third party components were also updated in sync with kstars/indi.

Read More...

Grant replied to the topic 'atik filter wheel driver crashes' in the forum. 3 years ago

Ok, so I have a partial workaround, but it's pretty clunky.

Idea 1: Run another instance of indiserver in docker with Ubuntu 18.04, and connect to EFW remotely
Problem: For reasons I only vaguely understand, docker doesn't sufficiently isolate the broken Atik library from the newer kernel, so the crash persists

Idea 2: From a modern OS like Ubuntu 20.04, download Gnome Boxes and set up an Ubuntu 18.04 virtual machine, enable access to the EFW USB device in "preferences", install indiserver, and connect to the EFW remotely
Problem: While this works within the VM, the driver on the client still crashes with a segfault even when connecting remotely. Is there a way in indi to connect to a remote driver without having the driver installed on a client?

Idea 3: Give up on automatic control of the EFW, and just run a parallel instance of kstars in the 18.04 VM to control it.
Problem: This obviously sucks, but at least it does work.

I've messaged Atik about this, but only time will tell if they're willing to rebuild their driver for a non-archaic kernel. In the meantime:

1. I might need to learn how to use wireshark to figure out how to talk to the EFW and write a proper open source driver. It's a pretty simple device after all...
2. Does anyone know of solutions to the remote driver crash? That would be a decent workaround if it could be made to work.

Read More...

Grant replied to the topic 'atik filter wheel driver crashes' in the forum. 3 years ago

I can reproduce this error exactly (on both 20.04 and 21.04, as well as on Fedora 33), and nothing provided by Atik seems to address the issue:

Apr 24 22:30:29 astrolaptop kernel: [ 382.645496] indi_atik_wheel[3117]: segfault at 0 ip 00007f32893eab82 sp 00007ffd7acaa318 error 4 in libc-2.31.so[7f3289289000+178000]
Apr 24 22:30:29 astrolaptop kernel: [ 382.645508] Code: ff ff e9 01 80 f3 ff 90 f3 0f 1e fa 89 f8 31 d2 c5 c5 ef ff 09 f0 25 ff 0f 00 00 3d 80 0f 00 00 0f 8f 52 03 00 00 c5 fe 6f 0f <c5> f5 74 06 c5 fd da c1 c5 fd 74 c7 c5 fd d7 c8 85 c9 74 7a f3 0f

Read More...

I've been using Indi via Ekos/Kstars on Fedora for a while now, and have generally be able to troubleshoot by reading this forum, but I've hit two issues today that I'm having trouble resolving. I recently picked up a QHY-268M, and an Atik EFW 2.2, but can't get either of them to work. Both devices seem to connect and function fine on Windows using software from the manufacturers.

Device/Software Info:

Machine: Fedora 33 64 bit
Indi: built from source, latest (8cb8dd5ce88be)
Kstars: built from source, latest (3d1d568d894)
Indi-3rdparty components: built from source, latest (60009a959bdd)

The devices were each connected to the computer in turn with nothing else attached, and used in a profile in Ekos with simulators for all other devices. Subsequently, I've investigated them using the indiserver -v command. Both devices display via the "lsusb" command:

Atik:
Bus 001 Device 024: ID 04d8:003f Microchip Technology, Inc. Filter Wheel 2

QHY:
Bus 001 Device 023: ID 1618:c268 Cypress WestBridge


Problem 1: Atik EFW2.2

I've installed libatik and indi-atik, but the driver in ekos crashes. When I run indiserver -v, I get the following result:

bash-5.0$ indiserver -v indi_atik_wheel
2021-04-24T15:12:11: startup: indiserver -v indi_atik_wheel  
2021-04-24T15:12:11: Driver indi_atik_wheel: pid=18045 rfd=3 wfd=6 efd=7
2021-04-24T15:12:11: listening to port 7624 on fd 4
Child process 18045 died
2021-04-24T15:12:12: Driver indi_atik_wheel: stderr EOF
2021-04-24T15:12:12: Driver indi_atik_wheel: restart #1
2021-04-24T15:12:12: Driver indi_atik_wheel: pid=18053 rfd=0 wfd=6 efd=7
2021-04-24T15:12:12: Driver indi_atik_wheel: stderr EOF
Child process 18053 died
2021-04-24T15:12:12: Driver indi_atik_wheel: restart #2
2021-04-24T15:12:12: Driver indi_atik_wheel: pid=18070 rfd=0 wfd=6 efd=7
2021-04-24T15:12:12: Driver indi_atik_wheel: stderr EOF
Child process 18070 died
2021-04-24T15:12:12: Driver indi_atik_wheel: restart #3
2021-04-24T15:12:12: Driver indi_atik_wheel: pid=18079 rfd=0 wfd=6 efd=7
2021-04-24T15:12:13: Driver indi_atik_wheel: stderr EOF
Child process 18079 died
2021-04-24T15:12:13: Driver indi_atik_wheel: restart #4
2021-04-24T15:12:13: Driver indi_atik_wheel: pid=18093 rfd=0 wfd=6 efd=7
2021-04-24T15:12:13: Driver indi_atik_wheel: stderr EOF
Child process 18093 died
2021-04-24T15:12:13: Driver indi_atik_wheel: restart #5
2021-04-24T15:12:13: Driver indi_atik_wheel: pid=18105 rfd=0 wfd=6 efd=7
2021-04-24T15:12:13: Driver indi_atik_wheel: stderr EOF
Child process 18105 died
2021-04-24T15:12:13: Driver indi_atik_wheel: restart #6
2021-04-24T15:12:13: Driver indi_atik_wheel: pid=18121 rfd=0 wfd=6 efd=7
2021-04-24T15:12:13: Driver indi_atik_wheel: stderr EOF
Child process 18121 died
2021-04-24T15:12:13: Driver indi_atik_wheel: restart #7
2021-04-24T15:12:13: Driver indi_atik_wheel: pid=18133 rfd=0 wfd=6 efd=7
Child process 18133 died
2021-04-24T15:12:14: Driver indi_atik_wheel: restart #8
2021-04-24T15:12:14: Driver indi_atik_wheel: pid=18147 rfd=0 wfd=6 efd=7
Child process 18147 died
2021-04-24T15:12:14: Driver indi_atik_wheel: restart #9
2021-04-24T15:12:14: Driver indi_atik_wheel: pid=18160 rfd=0 wfd=6 efd=7
Child process 18160 died
2021-04-24T15:12:14: Driver indi_atik_wheel: restart #10
2021-04-24T15:12:14: Driver indi_atik_wheel: pid=18171 rfd=0 wfd=6 efd=7
Child process 18171 died
2021-04-24T15:12:14: Driver indi_atik_wheel: stderr EOF
2021-04-24T15:12:14: Driver indi_atik_wheel: Terminated after #10 restarts.
2021-04-24T15:12:14: good bye

Some other topics on this forum seemed to indicate that I should get the Atik software from cloudmakers, but it seems older (and requires an antiquated version of libnova and won't install by default).

Problem 2: QHY268M

Despite everything seeming to install correctly, the camera doesn't seem to be detected at all. Running qhy_ccd_test, I get:
QHY Test CCD using SingleFrameMode, Version: 1.00
-- InitQHYCCDResource param
QHYCCD|QHYCCD.CPP|InitQHYCCDResource()|START
QHYCCD|QHYCCD.CPP|InitQHYCCDResource|auto_detect_camera:false,call InitQHYCCDResourceInside
QHYCCD|QHYCCD.CPP|InitQHYCCDResourceInside|START
QHYCCD|QHYCCD.CPP|libusb_version 1.0.24.11584
QHYCCD|QHYCCD.CPP|libusb_init(libqhyccd_context) called...
QHYCCD|QHYCCD.CPP|InitQHYCCDResourceInside|numdev set to 0
QHYCCD|QHYCCD.CPP|InitQHYCCDResourceInside|END
************************** config file path 21.4.15.16 svn: 10823 ************************************
QHYCCD|QHYCCD.CPP|InitQHYCCDResource|Load ini filePath = /home/USERNAME/devel/indi-astro/indi-3rdparty/indi-qhy/build fileName = qhyccd.ini
SDK resources initialized.
No QHYCCD camera found, please check USB or power.



Has anyone experienced either of these issues, or know what else I should try? Any help is greatly appreciated.
 

Read More...