Bug 445061 - NEF from Nikon D800 and D850 not shown
Summary: NEF from Nikon D800 and D850 not shown
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-RawImport-Native (show other bugs)
Version: 7.4.0
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-06 06:02 UTC by Tom
Modified: 2022-01-26 04:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.4.0


Attachments
Screenshot Preview Canvas (1.50 MB, image/png)
2021-11-06 06:02 UTC, Tom
Details
DigiKam Log File (56.61 KB, text/plain)
2021-11-09 05:08 UTC, Tom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom 2021-11-06 06:02:30 UTC
Created attachment 143269 [details]
Screenshot Preview Canvas

SUMMARY
NEF Files from a Nikon D800 and from D850 are not shown in the canvas (Preview and Light Table) - Canvas stays "grey" while thumbnails of NEFs are shown.
When trying to process these NEFs to jpeg, a very small image is shown in the image Editor and as a result a low resolution jpeg  (160x120) is created.

STEPS TO REPRODUCE
1. Import RAW from Nikon to Filesystem
2. Refresh Albums
3. Goto to Thumbnails View and Doubleclick on Image OR go to Preview and select Image 

OBSERVED RESULT
Grey Screen - Image not shown

EXPECTED RESULT
Display of picture (probably the jpg which is embedded in the RAW).

SOFTWARE/OS VERSIONS
Windows: 
macOS: Big Sur 11.6
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Nikon NEF File from a Z50 are shown correctly in preview, but the image editor produces also only a 160x120 pixel jpeg.
Comment 1 Maik Qualmann 2021-11-06 07:24:45 UTC
The problem here cannot be reproduced with a D850 sample from the web, neither with Linux nor with Windows. digiKam doesn't have any problems with RAW images from the Nikon Z series either, since I use Nikon myself. We need a log of the output of a terminal when you try to load a RAW image into the Image Editor. It is also described here for MacOS: 

https://www.digikam.org/contribute/

Maik
Comment 2 Maik Qualmann 2021-11-08 12:12:02 UTC
Gilles,

Can you post a debug log from the MacOS Terminal, from the start to the loading of a large RAW file (can also be ARW)? I want to see whether the memory information is correctly recognized.

Maik
Comment 3 caulier.gilles 2021-11-08 16:55:40 UTC
Hi Maik, 

I can reproduce the dysfunction under MacOS BigSur and last 7.4.0 daily build. I used the D800 NEF files available here :

http://www.rawsamples.ch/index.php/en/nikon

Thumbnails are fine, preview is broken, and editor loading is a very small version. Note that libraw code used in background is the current implementation from github. Exiv2 is last stable 0.27.5.

Screenshots :

https://i.imgur.com/Gd72qJm.png
https://i.imgur.com/dDZ3CwR.png
https://i.imgur.com/YF0uZBl.png
https://i.imgur.com/rH6dLUS.png

Gilles
Comment 4 caulier.gilles 2021-11-08 17:00:06 UTC
Maik,

You are right the amount of RAM detected do not work when a NEF try to be open :

...
digikam.general: KMemoryInfo: Platform identified :  "MACOS"
digikam.dimg: Error to get physical memory information form a recognized platform
digikam.dimg.raw: Failed to allocate memory for loading raw file
...

Full log when NEF is open :

digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/NEF-D800/RAW_NIKON_D800_14bit_FX_LOSSLESS.NEF" : "RAW" file identified
digikam.metaengine: Loading metadata with "Exiv2" backend from "/System/Volumes/Data/Users/gilles/Pictures/NEF-D800/RAW_NIKON_D800_14bit_FX_LOSSLESS.NEF"
digikam.rawengine: LibRaw: setup internal DNG SDK
digikam.rawengine: "/System/Volumes/Data/Users/gilles/Pictures/NEF-D800/RAW_NIKON_D800_14bit_FX_LOSSLESS.NEF"
digikam.rawengine: 
-- RAW DECODING SETTINGS --------------------------------
-- autoBrightness:          true
-- sixteenBitsImage:        false
-- brightness:              1
-- RAWQuality:              0
-- inputColorSpace:         0
-- outputColorSpace:        1
-- RGBInterpolate4Colors:   false
-- DontStretchPixels:       false
-- unclipColors:            0
-- whiteBalance:            1
-- customWhiteBalance:      6500
-- customWhiteBalanceGreen: 1
-- halfSizeColorImage:      false
-- enableBlackPoint:        false
-- blackPoint:              0
-- enableWhitePoint:        false
-- whitePoint:              0
-- NoiseReductionType:      0
-- NoiseReductionThreshold: 0
-- medianFilterPasses:      0
-- inputProfile:            ""
-- outputProfile:           "/Applications/digiKam.org/digikam.app/Contents/Resources/digikam/profiles/srgb-d65.icm"
-- deadPixelMap:            ""
-- whiteBalanceArea:        QRect(0,0 0x0)
-- dcbIterations:           -1
-- dcbEnhanceFl:            false
-- expoCorrection:          false
-- expoCorrectionShift:     0.994
-- expoCorrectionHighlight: 0
---------------------------------------------------------

digikam.rawengine: LibRaw Exif Parser: tag: 1048830 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1048832 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1048833 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1048834 type: 3 len: 3 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1048835 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1048838 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1048847 type: 2 len: 18 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1048848 type: 2 len: 11 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1048849 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1048850 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1048853 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1048854 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1048855 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1048858 type: 5 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1048859 type: 5 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1048860 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1048872 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1048881 type: 2 len: 10 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1048882 type: 2 len: 20 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1048891 type: 2 len: 37 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1048906 type: 4 len: 3 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 2097406 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 2097411 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 2097434 type: 5 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 2097435 type: 5 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 2097448 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 2097665 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 2097666 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 2097683 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 3145982 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 3145984 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 3145985 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 3145986 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 3145987 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 3145990 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 3146001 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 3146005 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 3146006 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 3146007 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 3146010 type: 5 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 3146011 type: 5 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 3146012 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 3146024 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 3179149 type: 3 len: 2 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 3179150 type: 1 len: 4 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 3183127 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 4194558 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 4194563 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 4194586 type: 5 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 4194587 type: 5 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 4194600 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 4194817 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 4194818 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 4194835 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1049108 type: 5 len: 6 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1049276 type: 1 len: 1024 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1082008 type: 2 len: 55 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1083241 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 33434 type: 5 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 33437 type: 5 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 34850 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 34855 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 34864 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 36867 type: 2 len: 20 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 36868 type: 2 len: 20 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 37380 type: 10 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 37381 type: 5 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 37383 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 37384 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 37385 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 37386 type: 5 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 37500 type: 7 len: 127770 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 5243139 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 2194
digikam.rawengine: LibRaw Exif Parser: tag: 5243162 type: 5 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 2194
digikam.rawengine: LibRaw Exif Parser: tag: 5243163 type: 5 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 2194
digikam.rawengine: LibRaw Exif Parser: tag: 5243176 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 2194
digikam.rawengine: LibRaw Exif Parser: tag: 5243393 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 2194
digikam.rawengine: LibRaw Exif Parser: tag: 5243394 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 2194
digikam.rawengine: LibRaw Exif Parser: tag: 5243411 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 2194
digikam.rawengine: LibRaw Exif Parser: tag: 37510 type: 7 len: 44 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 37520 type: 2 len: 3 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 37521 type: 2 len: 3 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 37522 type: 2 len: 3 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 41495 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 41728 type: 7 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 41729 type: 7 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 41730 type: 7 len: 8 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 41985 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 41986 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 41987 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 41988 type: 5 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 41989 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 41990 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 41991 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 41992 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 41993 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 41994 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 41996 type: 3 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1083429 type: 4 len: 1 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 327680 type: 1 len: 4 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1085443 type: 2 len: 20 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw Exif Parser: tag: 1085974 type: 1 len: 4 ord: 19789 ifp: 0x7fd5b6209a00 base: 0
digikam.rawengine: LibRaw progress: Reading metadata pass 1 of 2
digikam.rawengine: LibRaw progress: Reading RAW data pass 0 of 2
digikam.rawengine: LibRaw progress: Reading RAW data pass 1 of 2
digikam.rawengine: Disabling LibRaw highlights adjustments
digikam.rawengine: LibRaw progress: Scaling colors pass 0 of 2
digikam.rawengine: LibRaw progress: Scaling colors pass 1 of 2
digikam.rawengine: LibRaw progress: Pre-interpolating pass 0 of 2
digikam.rawengine: LibRaw progress: Pre-interpolating pass 1 of 2
digikam.rawengine: LibRaw progress: Interpolating pass 0 of 3
digikam.rawengine: LibRaw progress: Interpolating pass 1 of 3
digikam.rawengine: LibRaw progress: Interpolating pass 2 of 3
digikam.rawengine: LibRaw progress: Converting to RGB pass 0 of 2
digikam.rawengine: LibRaw progress: Converting to RGB pass 1 of 2
digikam.rawengine: LibRaw: data info: width= 7378  height= 4924  rgbmax= 255
digikam.general: KMemoryInfo: Platform identified :  "MACOS"
digikam.dimg: Error to get physical memory information form a recognized platform
digikam.dimg.raw: Failed to allocate memory for loading raw file
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/NEF-D800/RAW_NIKON_D800_14bit_FX_LOSSLESS.NEF" : "TIFF" file identified (magic)
digikam.metaengine: Loading metadata with "Exiv2" backend from "/System/Volumes/Data/Users/gilles/Pictures/NEF-D800/RAW_NIKON_D800_14bit_FX_LOSSLESS.NEF"
digikam.dimg.tiff: TIFFReadDirectory :: Unknown field with tag 36867 (0x9003) encountered
digikam.dimg.tiff: TIFFReadDirectory :: Unknown field with tag 37398 (0x9216) encountered
TIFF Directory at offset 0x8 (8)
  Subfile Type: reduced-resolution image (1 = 0x1)
  Image Width: 160 Image Length: 120
  Resolution: 300, 300 pixels/inch
  Bits/Sample: 8
  Compression Scheme: None
  Photometric Interpretation: RGB color
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 3
  Rows/Strip: 17
  Planar Configuration: single image plane
  Reference Black/White:
     0:     0   255
     1:     0   255
     2:     0   255
  SubIFD Offsets: 187572 187692 187920
  Make: NIKON CORPORATION
  Model: NIKON D800
  Software: Ver.1.01 
  DateTime: 2014:08:15 10:24:26
  Artist: Jonathan Mark Pittman               
  XMLPacket (XMP Metadata):
<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?><x:xmpmeta xmlns:x="adobe:ns:meta/"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"></rdf:RDF></x:xmpmeta>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             <?xpacket end="w"?>
  Copyright: Jonathan Mark Pittman                                 
  EXIFIFDOffset: 0x668
  GPSIFDOffset: 0x1fba2
  Tag 36867: 2014:08:15 10:24:26
  Tag 37398: 1,0,0,0
digikam.metaengine: Exif color-space tag is sRGB. Using default sRGB ICC profile.
digikam.metaengine: Path to ExifTool: "/usr/local/bin/exiftool"
digikam.metaengine: ExifToolProcess::start(): create new ExifTool instance: "/usr/local/bin/exiftool" ("-stay_open", "true", "-@", "-", "-common_args", "-charset", "filename=UTF8", "-charset", "iptc=UTF8")
digikam.metaengine: ExifTool process started
digikam.metaengine: ExifTool "Load Metadata" "-json -G:0:1:2:4:6 -l /System/Volumes/Data/Users/gilles/Pictures/NEF-D800/RAW_NIKON_D800_14bit_FX_LOSSLESS.NEF"
digikam.general: "Standard Exif Tags" decoding took 5 ms ( false )
digikam.general: "MakerNote Exif Tags" decoding took 5 ms ( false )
digikam.general: "IPTC Records" decoding took 0 ms ( true )
digikam.general: "XMP Schema" decoding took 0 ms ( true )
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifTool complete command for action "Load Metadata" with elasped time (ms): 788
digikam.metaengine: Json Array size: 1
digikam.metaengine: ExifTool Json map size: 271
digikam.metaengine: ExifTool parsed command for action "Load Metadata"
digikam.metaengine: 268 properties decoded
 
Gilles
Comment 5 Maik Qualmann 2021-11-08 17:56:22 UTC
Git commit 473c75367366df117cb025433fea3de37dd10ad9 by Maik Qualmann.
Committed on 08/11/2021 at 17:54.
Pushed by mqualmann into branch 'master'.

try with uint64 for MacOS memory info

M  +6    -6    core/libs/kmemoryinfo/libstatgrab/kmemoryinfo_backend.cpp

https://invent.kde.org/graphics/digikam/commit/473c75367366df117cb025433fea3de37dd10ad9
Comment 6 Tom 2021-11-09 05:08:44 UTC
Created attachment 143359 [details]
DigiKam Log File
Comment 7 Tom 2021-11-09 05:14:17 UTC
(In reply to Maik Qualmann from comment #1)
> The problem here cannot be reproduced with a D850 sample from the web,
> neither with Linux nor with Windows. digiKam doesn't have any problems with
> RAW images from the Nikon Z series either, since I use Nikon myself. We need
> a log of the output of a terminal when you try to load a RAW image into the
> Image Editor. It is also described here for MacOS: 
> 
> https://www.digikam.org/contribute/
> 
> Maik

Dear Maik, 
I uploaded the sample file.
Best, Tom
Comment 8 Tom 2021-11-09 05:17:50 UTC
(In reply to Maik Qualmann from comment #2)
> Gilles,
> 
> Can you post a debug log from the MacOS Terminal, from the start to the
> loading of a large RAW file (can also be ARW)? I want to see whether the
> memory information is correctly recognized.
> 

> Maik

Here's the extract. I uploaded the full log as file as well.

digikam.metaengine: index     :  0
digikam.metaengine: properties:  4
digikam.general: KMemoryInfo: Platform identified :  "MACOS"
digikam.dimg: Error to get physical memory information form a recognized platform
digikam.metaengine: Loading metadata with "Exiv2" backend from "/Volumes/Flash Gordon/Apt2DK-TestEnv/DK_TestEnv/xNef/2021-10-17/D82_4193.NEF"
digikam.metaengine: Exif color-space tag is sRGB. Using default sRGB ICC profile.
digikam.general: Cannot extract preview for "/Volumes/Flash Gordon/Apt2DK-TestEnv/DK_TestEnv/xNef/2021-10-17/D82_4193.NEF"
digikam.general: Stacked View Mode :  1
Comment 9 Maik Qualmann 2021-11-12 21:45:52 UTC
Git commit fe5eaba734d8926d7fd106298449309c0e07fb57 by Maik Qualmann.
Committed on 12/11/2021 at 21:44.
Pushed by mqualmann into branch 'master'.

disable code for memory information from MacOS
FIXED-IN: 7.4.0

M  +7    -3    core/libs/kmemoryinfo/libstatgrab/kmemoryinfo_backend.cpp

https://invent.kde.org/graphics/digikam/commit/fe5eaba734d8926d7fd106298449309c0e07fb57