×
INDI Library v1.8.9 Released (01 Mar 2021)

INDI monthly update. In addition to driver improvements, major code refactoring is in progress by @pawel-soja to modernize and improve INDI aging code.

New forum users, please go here first: indilib.org/forum/new-forum-users.html

kstars crashes when downloading an image captured with DSLR

1 month 2 weeks ago
cgmiller
New Member
New Member
Posts: 17
More
Topic Author
kstars crashes when downloading an image captured with DSLR #66060
Hi all! My first post here and hoping to be able to get this issue resolved. I am having an issue with my Nikon Z6 DSLR and the Capture module. I am able to take preview images without any issue, but as soon as I try to run a capture job, even if only one exposure, KStars crashes when downloading the image file. I tried a few tweaks to the Frame Image Settings and CCD Info width & height - but the results are always the same. The Preview images are around 146 MB each.

According to DigiCamDB.com the Nikon Z6 specs are as follows:
Sensor Resolution = 6062 x 4041
Max Image Size = 6048 x 4024

ekos seems to want to default to 6064 x 4040.

I have tried all 3 variations without any impact to resolving the issue.

Included in the zip are multiple log files & the DSLR test output. I intended to also upload the sample preview images that I saved after they were displayed, but even zipped it exceeds the file size limit for the forum.

File Attachment:

File Name: logfiles.zip
File Size:219 KB


Each of the log files has something similar to this at the end:

[2021-01-17T11:49:47.171 EST DEBG ][ org.kde.kstars.indi] - Nikon DSLR Z6 : "[DEBUG] Exposure complete. "
[2021-01-17T11:49:49.218 EST DEBG ][ org.kde.kstars.indi] - Nikon DSLR Z6 : "[DEBUG] File added event completed. "
[2021-01-17T11:49:49.219 EST DEBG ][ org.kde.kstars.indi] - Nikon DSLR Z6 : "[DEBUG] Downloading image... Name: (capt0001.nef) Folder: (/) Delete from SD card? (false) "
[2021-01-17T11:49:49.342 EST DEBG ][ org.kde.kstars.indi] - Nikon DSLR Z6 : "[DEBUG] Could not determine image size (Unspecified error) "
[2021-01-17T11:49:49.416 EST DEBG ][ org.kde.kstars.indi] - Nikon DSLR Z6 : "[DEBUG] Capture target is INTERNAL RAM. "
[2021-01-17T11:49:49.472 EST DEBG ][ org.kde.kstars.indi] - Nikon DSLR Z6 : "[DEBUG] Capture event completed. "
[2021-01-17T11:49:52.148 EST DEBG ][ org.kde.kstars.indi] - Nikon DSLR Z6 : "[DEBUG] read_libraw: raw_width: 6064 top_margin 0 left_margin 0 first_visible_pixel 0 "
[2021-01-17T11:49:52.149 EST DEBG ][ org.kde.kstars.indi] - Nikon DSLR Z6 : "[DEBUG] read_libraw: rawdata.sizes.width: 6064 rawdata.sizes.height 4040 memsize 48997120 bayer_pattern RGGB "
[2021-01-17T11:49:52.220 EST DEBG ][ org.kde.kstars.indi] - Nikon DSLR Z6 : "[DEBUG] read_libraw: memsize (48997120) naxis (2) w (6064) h (4040) bpp (16) bayer pattern (RGGB) "
[2021-01-17T11:49:52.591 EST DEBG ][ org.kde.kstars.indi] - Nikon DSLR Z6 : "[DEBUG] Uploading file. Ext: fits, Size: 49003200, sendImage? Yes, saveImage? No "
[2021-01-17T11:49:53.587 EST DEBG ][ org.kde.kstars.indi] - Nikon DSLR Z6 : "[DEBUG] BLOB transfer took 0.769439 seconds "
[2021-01-17T11:49:53.588 EST DEBG ][ org.kde.kstars.indi] - Nikon DSLR Z6 : "[DEBUG] Upload complete "
[2021-01-17T11:49:54.207 EST DEBG ][ org.kde.kstars.indi] - processBLOB() mode 0

Any help is greatly appreciated!

Christopher Miller

WO GT71 / ZWO 183MC Pro / ZWO EAF / WO Uniguide 50mm / ZWO 290MM Mini / EQ6-R Pro
Meade 8" LX90 / ZWO 224MC / RigelSystems wifi-nFocus / ZWO OAG / ZWO 290MM Mini / Meade EQWedge
AF-S Nikkor 70-300mm Lens / Nikon Z6 / ZWO 30F4 MiniScope / ZWO 120mm Mini / Star Adventurer 2i
Attachments:
The following user(s) said Thank You pug916

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

1 month 1 week ago
knro
Administrator
Administrator
Posts: 8832
Karma: 51
kstars crashes when downloading an image captured with DSLR #66096
Same issue with different camera of similar resolution was reported. Let me try to reproduce it on my system using simulators as I don't have any native cameras with such resolution.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You pug916

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

1 month 1 week ago
pug916
Premium Member
Premium Member
Posts: 114
Karma: 2
More
kstars crashes when downloading an image captured with DSLR #66154
Yes I'm seeing the exact same thing only with my new ZWO camera as my other one is working just fine.

Weather has stopped me testing a work around of not enabling the FITS viewer during an imaging run. It's on this thread here FYI including Jasem's advice on disabling the FITS viewer. I suspect solving one will solve both our issues.
indilib.org/forum/stellarmate/8620-zwo-2...-two-subs.html#66080

Skywatcher EQ6R / EdgeHD 8" / ZWO 1600MC Cool / ZWO 120MM-S

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

1 month 1 week ago
knro
Administrator
Administrator
Posts: 8832
Karma: 51
kstars crashes when downloading an image captured with DSLR #66162
I just received a couple of frames from a QHY600 camera so these would act as a very good testing case. Hopefully this would result in an improved system and less memory consumption.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You pug916

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

1 month 1 week ago 1 month 1 week ago by cgmiller.
cgmiller
New Member
New Member
Posts: 17
More
Topic Author
kstars crashes when downloading an image captured with DSLR #66179
I have added my 2 preview files to Dropbox so you can see them as well.

www.dropbox.com/sh/iwqppyiiy72jh8a/AADov...rbgsdAJMBRAOtha?dl=0

I'll add that I'm running this on a RPi 4 with 4GB Ram as well. I've also tried Disabling both the FITS Viewer & the DSLR Image Viewer and the crash still happens at the same point.

If I change the FORMAT in the Capture Module to NATIVE - it works fine - even with the Viewers still enabled. This is only an issue if the Capture Format is set to FITS. So I have a temporary workaround in my case, but I'd love to be able to capture in FITS instead. :)

Thanks for the replies already & for the work to review the issue!

Christopher Miller

WO GT71 / ZWO 183MC Pro / ZWO EAF / WO Uniguide 50mm / ZWO 290MM Mini / EQ6-R Pro
Meade 8" LX90 / ZWO 224MC / RigelSystems wifi-nFocus / ZWO OAG / ZWO 290MM Mini / Meade EQWedge
AF-S Nikkor 70-300mm Lens / Nikon Z6 / ZWO 30F4 MiniScope / ZWO 120mm Mini / Star Adventurer 2i
The following user(s) said Thank You pug916

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

1 month 1 week ago
pug916
Premium Member
Premium Member
Posts: 114
Karma: 2
More
kstars crashes when downloading an image captured with DSLR #66206
Good to know you have a work around there and interesting note on this being FITS file related. The rest of us a still stuck with FITS being the format we have to use.

Skywatcher EQ6R / EdgeHD 8" / ZWO 1600MC Cool / ZWO 120MM-S

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

3 weeks 5 days ago
cgmiller
New Member
New Member
Posts: 17
More
Topic Author
kstars crashes when downloading an image captured with DSLR #66934
Well - I had a work around but was still having frequent crashes. Now even my work around no longer works. kStars crashes anytime I try to capture an image - whether FITS or RAW. Before this started, I was noticing that anytime I disconnected & stopped the profile - it would crash. I've tried restoring to factory default, purging the Nikon config, rebuilding my gear profile - none of which work. I have been running on the latest stable release and usually check daily for updates. I have another SM instance that I use with ZWO cameras and a different set-up and it works great. This seems tied directly to my Nikon Z6 from the best I can tell. I have also noticed that it doesn't always want to go in to Connect to PC mode when I connect it to my raspberry Pi. As an aside - I also updated to a RPi 4 8gb hoping that would help - but no luck......

Christopher Miller

WO GT71 / ZWO 183MC Pro / ZWO EAF / WO Uniguide 50mm / ZWO 290MM Mini / EQ6-R Pro
Meade 8" LX90 / ZWO 224MC / RigelSystems wifi-nFocus / ZWO OAG / ZWO 290MM Mini / Meade EQWedge
AF-S Nikkor 70-300mm Lens / Nikon Z6 / ZWO 30F4 MiniScope / ZWO 120mm Mini / Star Adventurer 2i

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

3 weeks 5 days ago
DaveSw
Junior Member
Junior Member
Posts: 22
More
kstars crashes when downloading an image captured with DSLR #66937

cgmiller wrote: I have added my 2 preview files to Dropbox so you can see them as well.

www.dropbox.com/sh/iwqppyiiy72jh8a/AADov...rbgsdAJMBRAOtha?dl=0

I'll add that I'm running this on a RPi 4 with 4GB Ram as well. I've also tried Disabling both the FITS Viewer & the DSLR Image Viewer and the crash still happens at the same point.

If I change the FORMAT in the Capture Module to NATIVE - it works fine - even with the Viewers still enabled. This is only an issue if the Capture Format is set to FITS. So I have a temporary workaround in my case, but I'd love to be able to capture in FITS instead. :)

Thanks for the replies already & for the work to review the issue!


I am using a Fuji X-T3 and have had no luck in attempting to save in FITS mode. When I save in NATIVE (the Fuji RAF file) I have no issues saving to the Pi (very quick), or to the laptop (really slow). I, perhaps naively, assumed FITS wouldn't work as the camera does not support FITS. My FITS conversion is handled by Siril when preprocessing the images later.

Random Kstar/Ekos crashes happen and I've not really noticed a solid pattern yet. It always seems to come up again fine.

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

3 weeks 5 days ago
cgmiller
New Member
New Member
Posts: 17
More
Topic Author
kstars crashes when downloading an image captured with DSLR #66961
Here's a little more info on this. From the Focus Module - I can successfully capture a preview, loop frames, and activate Liveview for my Nikon Z6 without incident. However when I go to the Capture module and try to loop frames or capture a preview kstars crashes. It's not random for me but every single time right now. If anyone has ideas - I'm open to suggestions. thanks in advance!

Christopher Miller

WO GT71 / ZWO 183MC Pro / ZWO EAF / WO Uniguide 50mm / ZWO 290MM Mini / EQ6-R Pro
Meade 8" LX90 / ZWO 224MC / RigelSystems wifi-nFocus / ZWO OAG / ZWO 290MM Mini / Meade EQWedge
AF-S Nikkor 70-300mm Lens / Nikon Z6 / ZWO 30F4 MiniScope / ZWO 120mm Mini / Star Adventurer 2i

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

3 weeks 4 days ago
jerry
Elite Member
Elite Member
Posts: 237
Karma: 1
More
kstars crashes when downloading an image captured with DSLR #66971
Sorry I can't add more useful suggestions, but...

I use a Nikon Z7 (full frame 8256 x 5504 pixels) on an Odroid-N2 with 4 G RAM. It seems to me over a year or so, the only way I can reliably capture images is to turn on the "Limited Resources" mode. Having done that I can still view and zoom into images with the Fits Viewer. Each fits file captured is 90.9 M. My previous experience would suggest that Debayering would certainly kill it eventually.The camera of course, is in Manual mode and I'm saving in Fits format.

About 2 weeks ago, I believe I naively let a system update run that trashed my 20.04 Ubuntu Mate. No USB devices were recognized, even the Samsung T5 SSD. So I re-imaged the computer (see My notes )

So now I'm on Release 20.04.2 LTS (Focal Fossa) 64-bit, Kernel Linux 4.9.241-109 aarch64, MATE 1.24.0, but haven't had any clear weather to test the new installation yet.

120 MM Skywatcher Esprit on Celestron CGX
ZWO ASI 224MC guiding
Pegasus FocusCube v2
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um
Triad Ultra Quad NB Filter
Kstars: 1) Odroid-N2 Ubuntu-mate 20.04 2) StellarMate on RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
The following user(s) said Thank You cgmiller

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

3 weeks 4 days ago
cgmiller
New Member
New Member
Posts: 17
More
Topic Author
kstars crashes when downloading an image captured with DSLR #66975
Thanks for the info! I tried the Limited Resources mode just now that you mention and sadly I'm still getting the crashes. Bu t I appreciate the time and suggestion. I figure eventually I'll hit the right setting that stabilizes things for me. At least I hope. :)

Christopher Miller

WO GT71 / ZWO 183MC Pro / ZWO EAF / WO Uniguide 50mm / ZWO 290MM Mini / EQ6-R Pro
Meade 8" LX90 / ZWO 224MC / RigelSystems wifi-nFocus / ZWO OAG / ZWO 290MM Mini / Meade EQWedge
AF-S Nikkor 70-300mm Lens / Nikon Z6 / ZWO 30F4 MiniScope / ZWO 120mm Mini / Star Adventurer 2i

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

3 weeks 4 days ago
knro
Administrator
Administrator
Posts: 8832
Karma: 51
kstars crashes when downloading an image captured with DSLR #66995

jerry wrote: Sorry I can't add more useful suggestions, but...

I use a Nikon Z7 (full frame 8256 x 5504 pixels) on an Odroid-N2 with 4 G RAM. It seems to me over a year or so, the only way I can reliably capture images is to turn on the "Limited Resources" mode. Having done that I can still view and zoom into images with the Fits Viewer. Each fits file captured is 90.9 M. My previous experience would suggest that Debayering would certainly kill it eventually.The camera of course, is in Manual mode and I'm saving in Fits format.

About 2 weeks ago, I believe I <em>naively</em> let a system update run that trashed my 20.04 Ubuntu Mate. No USB devices were recognized, even the Samsung T5 SSD. So I re-imaged the computer (see My notes )

So now I'm on Release 20.04.2 LTS (Focal Fossa) 64-bit, Kernel Linux 4.9.241-109 aarch64, MATE 1.24.0, but <strong>haven't had any clear weather</strong> to test the new installation yet.


Is it crashing with the Nightly PPA?

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.

Time to create page: 0.783 seconds