Darktable Nikon Z6 white balance error

Hi,
I have installed Darktable on my Mac and it start up ok but if I try to open a Nef file I get an error stating “Failed to read camera white balance”. Hope someone can help me out with this. I have installed 2.6.0.

I just exiftool-ed a Z6 NEF, and the “WB RB Levels” makernote tag is still the same ID as my D7000. You might get exiftool and run this:

exiftool -G -H yourfile.NEF

and look for something like:

[MakerNotes]    0x000c WB RB Levels                    : 1.482421875 1.482421875 1 1

in the prodigious output.

Nikon Z NEFs have new stuff in them, e.g., I’m staring at an XMP section with editing parameters I’ve not seen before, but the WB Levels tag hasn’t changed…

@Robteed Welcome to the forum!

First thing to do is to provide a sample NEF to test. Just drag and drop the file into the composer field. Since you are new, you might need to write a few more posts before you can share files.

NZ6_0272.NEF (20.8 MB)

Hello afre,
I have uploaded a NEF file. I think this was taken in the highest resolution. I don’t know if that makes a difference.
Thanks

Confirmed; I get this:




Take note, from the release notes of dt 2.6.0:

Nikon Z 6 (except uncompressed raws)

Also take a look at https://raw.pixls.us/. I see the following raw entries:

If there are more raw formats than listed, please let us know.

1 Like

As per Partial Nikon Z 6 camera support - with exception of uncompressed raws. · darktable-org/rawspeed@3d56d2c · GitHub,
is it uncompressed raw?

EXIF says ‘compressed’.

Here’s an exiftool dump of the metadata:

NZ6_0272.txt (11.9 KB)

That guarantees exactly nothing for NEF’s.

Well, I had the camera shooting in uncompressed Raw, changed to Compressed Raw and I can open Nefs with Darktable now.

1 Like

Great! Hope we get uncompressed support someday. :slight_smile:

1 Like

iirc libraw can decode 14-bit uncompressed Nikon Z6/7 files (though I didn’t verify). We could port that code for darktable/rawtherapee.

darktable does not use libraw.

Hence the comment “we can port that code”

1 Like

@Robteed i suppose you should start with filing a bug somewhere, either https://redmine.darktable.org/projects/darktable/issues/new or Issues · darktable-org/darktable · GitHub

I now have a fix, but someone needs to ask for it in the form of a bugreport (:

Can't decode Nikon Z6/Z7 uncompressed raw file · Issue #2023 · darktable-org/darktable · GitHub is just for you @LebedevRI :smile:

1 Like

Finally, thanks :slight_smile:

2 Likes