×
INDI Library v1.8.1 Released (09 Sep 2019)

Monthly maintenance release INDI v1.8.1

A better FITS viewer?

3 months 1 day ago
crw4096
Expert Boarder
Expert Boarder
Posts: 88
More
A better FITS viewer? #42253
Thanks for pointing out that about fitsviews. I was not suggesting that all be separated from Ekos, just that the fitsviewer might run in its own process or thread.

But anyway, I have not looked for any Linux FITS viewers out there. Perhaps this link is a good start? fits.gsfc.nasa.gov/fits_viewer.html

Ubuntu 18.04 and Raspbian Jessie; INDI 1.7.4
Mounts: CEM-60 chiefly; iEQ45
Cameras: Atik 383L+, QHY5-II-M
Focuser: Moonlite

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

3 months 1 day ago
Herrhausen
Platinum Boarder
Platinum Boarder
Posts: 516
Karma: 3
More
A better FITS viewer? #42259
I see you're running Ubuntu 18.04. Gwenview will display all sorts of image files, .fits included.

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

3 months 23 hours ago
DerPit
Gold Boarder
Gold Boarder
Posts: 264
Karma: 1
More
A better FITS viewer? #42273

crw4096 wrote: But anyway, I have not looked for any Linux FITS viewers out there. Perhaps this link is a good start? fits.gsfc.nasa.gov/fits_viewer.html


It absolutely is. And especially for viewing astronomy fits files be sure to look at DS9 (IMHO).

openSUSE Tumbleweed KStars git INDI git
GPDX+EQMOD, CEM60EC, ASI1600+EFW+ASI290 mini

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

3 months 9 hours ago
Odiug
Senior Boarder
Senior Boarder
Posts: 42
More
Topic Author
A better FITS viewer? #42298
Unfortunately there are not many FITS viewers that display color FITS from INDI. E.g. DS9 only displays grey values and does not recognize the bayer information in the header. Or am I missing something?

BTW, I did not experience a crash with the INDI Fits Viewer yet. But I only have a ZWO ASI 224mc with a small sensor (1304x976). That would also hint at a memory issue, but Jasem already said he had fixed it...

Guido

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

2 months 4 weeks ago
Herrhausen
Platinum Boarder
Platinum Boarder
Posts: 516
Karma: 3
More
A better FITS viewer? #42325
Attachments:

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

4 days 12 hours ago
Odiug
Senior Boarder
Senior Boarder
Posts: 42
More
Topic Author
A better FITS viewer? #45907

Odiug wrote: BTW, I did not experience a crash with the INDI Fits Viewer yet. But I only have a ZWO ASI 224mc with a small sensor (1304x976). That would also hint at a memory issue, but Jasem already said he had fixed it...


OK, now that I bought a ZWO ASI 294mc pro, I'll take this back!
I now also experience frequent crashes with displaying pictures of the new camera (11MP, 4144x2822) in Fits Viewer : often when applying Auto Stretch and reproducable when zooming in.

Is there anything I can do to help debugging?
KStars version: 3.3.8 build: 2019-11-16T00:06:30Z
running under Astroberry on a Pi3.

CS
Guido

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

3 days 23 hours ago
knro
Administrator
Administrator
Posts: 7379
Karma: 51
A better FITS viewer? #45926
Can you run it via gdb and post the backtrace?

gdb -ex run --args kstars

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 days 10 hours ago
Odiug
Senior Boarder
Senior Boarder
Posts: 42
More
Topic Author
A better FITS viewer? #45985
Unfortunately I get a SIGSEGV immediatly at startup:
astroberry@astroberry:~$ gdb -ex run --args kstars
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kstars...Reading symbols from /usr/lib/debug/.build-id/2f/f06cd9509561a1816cfb4441a4f165c88c4c5b.debug...done.
done.
Starting program: /usr/bin/kstars 

Program received signal SIGSEGV, Segmentation fault.
0x76fd9dde in ?? () from /lib/ld-linux-armhf.so.3
(gdb) 

Without gdb KStars used to work normally.
Any idea what is causing the gdb debugging to fail?

Regards
Guido

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

2 days 10 hours ago
Odiug
Senior Boarder
Senior Boarder
Posts: 42
More
Topic Author
A better FITS viewer? #45987
Just looked at "top" when I ran KStars on my PC (instead of the Pi3).
When zooming in to 400% in the Fits Viewer, the RES column in top exceeds 2GB. That would probably easily explain KStars crashing on the Pi.
The Pi does not really use any swap, just /dev/zram0, an in memory ram disk with compression, I assume.

However it also sometimes crashes when just using Auto Stretch with full Ekos running. Maybe it is also already low on memory.

Still it should not crash but check and handle any memory issues.

Maybe, I should go for a Pi4 with 4GB soon.

Regards
Guido

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

2 days 9 hours ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 2007
Karma: 19
More
A better FITS viewer? #45988
You can check how the pi is on memory. I have a program called conky running on mine always reporting the memory used (along with lots of other stuff) so that I know if there is an issue

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

1 day 23 hours ago
knro
Administrator
Administrator
Posts: 7379
Karma: 51
A better FITS viewer? #46009
Yesterday, I performed a test with StellarMate over hotspot. Connected ZWO and Toupcam camera. Went to perform guide looping with ZWO and began a sequence of 500 images for Toupcam, each 10 seconds long. I left it for the night. This morning I checked it and it was still looping without any errors for the last 10 hours. All 500 images captured and saved, and memory consumption was at 1.74GB. It is possible there might due a memory leak from elsewhere... but I cannot reproduce that now.

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.

1 day 11 hours ago
Odiug
Senior Boarder
Senior Boarder
Posts: 42
More
Topic Author
A better FITS viewer? #46052
Astroberry uses swapping to a compressing RAM disk (maybe the default for Ubuntu Mate). That might be helpful when unused program parts are put away in a compressed form to provide more memory for active programs. But I think it is not a good idea when memory is already scarce.

I am using a swapfile now with swappiness set to 0 (only swap when absolutely necessary). On zooming in FITS Viewer the Pi did become very slow, as expected due to swapping to sd-card, but KStars FITS Viewer did not crash yet.

What you have to do:
$ sudo apt install dphys-swapfile

You can configure it in /etc/dphys-swapfile, but default settings seem to be OK. It will use a 2GB swapfile (Maybe too big. I guess the Pi will become unusable before this is fully used)
Set swappiness to 0 by adding "vm.swappiness = 0" to the end of /etc/sysctl.conf.

Regards
Guido

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

Time to create page: 0.900 seconds