Introducing neural restore module – raw denoise, denoise, and upscale

I’ve been working for a while on a new module called neural restore – a utility module that brings AI-based restoration to darktable. It’s available in both lighttable and darkroom: in darkroom it operates on the image you have open; in lighttable it works on your current selection and can launch batch jobs across many images at once.

It’s already in nightly builds, so if you’re tracking nightly you can try it today.

The module has three tabs at the top, in the order they’d appear in your workflow.

raw denoise

Cleans noise in the raw sensor data before demosaic. Best when you want to start a fresh edit from a quieter raw – pushed exposures, ISO 6400+, lifted shadows – and you’d rather fix the floor before the pipeline amplifies grain.

  • strength slider – blend between the source raw (0%) and the denoised output (100%) in raw space.

The path the module takes depends on your sensor’s CFA pattern, and so does the output it writes:

  • Bayer path – for standard 2×2 Bayer sensors (RGGB / BGGR / GRBG / GBRG, i.e. most cameras). The model works directly on the mosaiced CFA, then the result is re-mosaiced back to a Bayer CFA. Output is a Bayer CFA DNG that goes through darktable’s normal demosaic on re-import – your usual demosaic algorithm, lens correction, color profile, and the rest of the pipeline all run as if it were a fresh raw. The preview labels this “output: Bayer CFA DNG”.

  • Linear path – for X-Trans (Fuji), Foveon, monochrome-with-pattern, and any sensor whose CFA doesn’t fit the Bayer pipeline. The denoise routine runs darktable’s demosaic first, denoises in 3-channel linear space, and writes a LinearRaw DNG – already demosaiced. On re-import, darktable’s demosaic step is bypassed (there’s nothing left to demosaic), but everything downstream (color, tone, sharpening, …) still applies. The preview labels this “output: LinearRaw DNG”.

Both outputs are written next to the source and auto-imported into your catalog so you can continue editing from the cleaned raw.

denoise

Cleans noise on the developed RGB image, after your edits. Useful late in the workflow when you’ve already made tonal decisions and just want to lift residual luminance / chroma noise without redoing color.

  • strength slider – 100% is full model output; pulling it down brings back luminance texture and grain while keeping color noise suppressed (a wavelet residual puts detail back without reintroducing noise-frequency content).

  • A preserve wide-gamut colors option keeps highly-saturated pixels untouched (the preview labels that as “wide-gamut preserved, not denoised” so you can see what’s protected).

  • Output is TIFF with the bit depth and ICC profile of your choosing, auto-imported.

upscale

2× or 4× super-resolution for prints and large crops.

  • scale combo – 2x or 4x. The preview shows the resulting size up-front (e.g. 33MP → 130MP) and warns you when the output will be heavy to process.

  • Wide-gamut colors are clipped here (visible in the preview caption) – the upscale model isn’t gamut-aware.

  • Output is TIFF, auto-imported.

preview

Because this is a utility module rather than a darkroom iop, it can’t repaint the main image area to show its result. Instead, the preview lives inside the module’s panel as a small split before/after view of a patch from the image (visible in all three screenshots above). Click the picker button next to process to choose which patch – by default it’s centered on the image. The preview re-runs when you switch tabs, move the patch, or change a slider, so you can A/B different strengths on the same region before committing to a full export. Each tab keeps its own preview cache, so flipping back and forth doesn’t re-run inference.

For the full image, you run process.

output settings

Shared across all tabs:

  • add to the current collection – auto-import the result back into the library

  • output directory – supports darktable variables (e.g. $(FILE_FOLDER) to write next to the source)

  • bit depth / profile / preserve wide gamut – RGB tabs only (raw denoise always writes a DNG)

A standard darktable export panel sits below the module’s own controls.

running it

In darkroom, click process to run the active tab on the currently-open image.

In lighttable, process runs on all selected images – progress shown per image. You can keep switching tabs and previewing patches on other images while a batch runs. Results land in your output directory and back in the library.

feedback welcome

This is still maturing, and feedback from real-world use is exactly what it needs. If you give it a try, I’d love to hear:

  • Image quality – cases where the output surprises you, good or bad. Especially useful: unusual sensors (Fuji X-Trans, Foveon, monochrome bayer), extreme ISO, mixed lighting, deep shadow recoveries.

  • Performance – what hardware you’re on and how long it takes. Helps me tune defaults.

  • UI flow – anything that confused you in the tabs / preview / batch interaction, anything missing from the output settings.

  • Bugs and crashes – please open an issue on GitHub with the log if you can; happy to dig in.

Reply here, ping me, or open an issue – whichever is easiest. Thanks for testing!

18 Likes

Great work you doing in the denoise department!

I am a little bit puzzeled now. Is this an iteration of the ‘NIND Denoise’ that is being added? Is this yet a new denoise module?

Just wondering how this is positioned. Also there is already a module called ‘raw denoise’ and also have ‘denoise (profiled)’ so how is called?

1 Like

Thanks! Happy to clarify – the naming overlap is fair.

neural restore is a new module that groups several AI restoration tasks (raw denoise, denoise, upscale) under one panel. The way these tasks process an image is fundamentally different from how the existing iops work:

  • An AI restoration task runs AI model once on the image and writes a new file – a Bayer/LinearRaw DNG for raw denoise, a TIFF for denoise / upscale. The new file has the same content as the original, just a cleaner or larger version of it. The new image is auto-imported back into your library and from there you keep editing it with the full darkroom pipeline as usual.
  • Existing iops like “raw denoise” and “denoise (profiled)” work the opposite way: they sit inside the darkroom pipeline and re-apply themselves every time darktable renders your image, non-destructively, with no new file written.

That difference – one-shot, file-producing vs. live, in-pipeline – is why neural restore lives as a utility module rather than an iop. The architecture follows from the nature of the processing.

So it’s not a substitute for “raw denoise” or “denoise (profiled)” – those keep their place for everyday work where their results are good enough. neural restore is meant as a complementary tool for cases where the non-destructive iops can’t quite get there: very high ISO, deeply lifted shadows, low-light pushes – the kind of image where you’d rather start over from a quieter raw than fight the noise inside your edit.

Pick the right tool for the job: iop modules first; reach for neural restore when they aren’t enough.


P.S. On “NIND Denoise” – I’m not entirely sure which one you mean, so just to be explicit: if you’re referring to an external plugin or script, then no, neural restore is not that. It’s a native darktable module, built on the new AI infrastructure that’s been added to darktable itself.

That said, the models behind the raw denoise and denoise tabs are the ones trained by Benoit Brummer on his NIND / RawNIND datasets – RawNIND for the raw path, NIND for the RGB path. Same models, integrated natively into darktable.

5 Likes

Just giving the raw denoise option a first run and it looks a nice addition to our tool kit to tackle noise. I like that the output is very similar to a raw file and further denoising is possible with the standard tools in DT. Nice work.

I just used the composite module to merge together the unprocessed RAW and the DNG output from your neural restore. This gives a nice fine control and the option of parametric and drawn masks.

Thanks for this great work.

1 Like

Interesting case. Just curious, what this scenario gives you in addition to strength slider which is a blend of unprocessed RAW and denoised RAW?

@anry can you please use your own words here? AI-generated posts are not welcome. Thanks!

6 Likes

Raw denoise test. It looks great in lighttable but I couldn’t get any further:

imagename_raw-denoise.dng could bot be loaded Unsuported file format

darktable 5.5.0+1118~g68f8a23e20
Linux Mint 22.2

Did I get it right, that you see output image in lighttable, but when you try to open it in darkroom you got this error?

Can you check output with exiftool?

exiftool -a -G1 imagename_raw-denoise.dng

Yes! It was an old Sony ARW image, but dt had processed it in the past. But would not open the denoised dng

I tried to make this output unugly with a spoiler tag. don’t think it worked. Apologies to all.

$ exiftool -a -G1 A7409346_raw-denoise.dng
[ExifTool]      ExifTool Version Number         : 12.76
[System]        File Name                       : A7409346_raw-denoise.dng
[System]        Directory                       : .
[System]        File Size                       : 77 MB
[System]        File Modification Date/Time     : 2026:05:02 23:42:20+05:30
[System]        File Access Date/Time           : 2026:05:02 23:42:20+05:30
[System]        File Inode Change Date/Time     : 2026:05:02 23:42:20+05:30
[System]        File Permissions                : -rw-rw-r--
[File]          File Type                       : DNG
[File]          File Type Extension             : dng
[File]          MIME Type                       : image/x-adobe-dng
[File]          Exif Byte Order                 : Little-endian (Intel, II)
[IFD0]          Subfile Type                    : Reduced-resolution image
[IFD0]          Image Width                     : 6224
[IFD0]          Image Height                    : 4672
[IFD0]          Bits Per Sample                 : 8 8 8
[IFD0]          Compression                     : JPEG
[IFD0]          Photometric Interpretation      : YCbCr
[IFD0]          Image Description               : 
[IFD0]          Make                            : SONY
[IFD0]          Camera Model Name               : ILCE-7M4
[IFD0]          Preview Image Start             : 70900
[IFD0]          Orientation                     : Horizontal (normal)
[IFD0]          Samples Per Pixel               : 3
[IFD0]          Rows Per Strip                  : 4672
[IFD0]          Preview Image Length            : 3956772
[IFD0]          X Resolution                    : 300
[IFD0]          Y Resolution                    : 300
[IFD0]          Planar Configuration            : Chunky
[IFD0]          Resolution Unit                 : inches
[IFD0]          Software                        : darktable 5.5.0+1118~g68f8a23e20
[IFD0]          Modify Date                     : 2026:05:02 23:42:19
[IFD0]          Artist                          : Nick H
[IFD0]          Y Cb Cr Positioning             : Co-sited
[IFD0]          Rating                          : 0
[IFD0]          Copyright                       : Copyright: Nick Haynes
[IFD0]          Date/Time Original              : 2024:12:07 17:32:29
[IFD0]          DNG Version                     : 1.4.0.0
[IFD0]          DNG Backward Version            : 1.2.0.0
[IFD0]          Unique Camera Model             : Sony ILCE-7M4
[IFD0]          Color Matrix 1                  : 0.7459999919 -0.236499995 -0.0588000007 -0.5687000155 1.344200015 0.2474000007 -0.06239999831 0.1155999973 0.6583999991
[IFD0]          As Shot Neutral                 : 0.5211195946 1 0.4444444478
[IFD0]          Preview Image                   : (Binary data 3956772 bytes, use -b option to extract)
[SubIFD]        Subfile Type                    : Full-resolution image
[SubIFD]        Image Width                     : 7168
[SubIFD]        Image Height                    : 5120
[SubIFD]        Bits Per Sample                 : 16
[SubIFD]        Compression                     : Uncompressed
[SubIFD]        Photometric Interpretation      : Color Filter Array
[SubIFD]        Strip Offsets                   : (Binary data 45662 bytes, use -b option to extract)
[SubIFD]        Orientation                     : Horizontal (normal)
[SubIFD]        Samples Per Pixel               : 1
[SubIFD]        Rows Per Strip                  : 1
[SubIFD]        Strip Byte Counts               : (Binary data 30719 bytes, use -b option to extract)
[SubIFD]        Planar Configuration            : Chunky
[SubIFD]        Sample Format                   : Unsigned
[SubIFD]        CFA Plane Color                 : Red,Green,Blue
[SubIFD]        CFA Layout                      : Rectangular
[SubIFD]        Black Level Repeat Dim          : 2 2
[SubIFD]        Black Level                     : 512 512 512 512
[SubIFD]        White Level                     : 15360
[SubIFD]        Default Scale                   : 1 1
[SubIFD]        Default Crop Origin             : 0 0
[SubIFD]        Default Crop Size               : 7032 4688
[SubIFD]        Active Area                     : 0 0 4688 7032
[ExifIFD]       Exposure Time                   : 1/250
[ExifIFD]       F Number                        : 2.0
[ExifIFD]       Exposure Program                : Aperture-priority AE
[ExifIFD]       ISO                             : 8000
[ExifIFD]       Sensitivity Type                : Recommended Exposure Index
[ExifIFD]       Recommended Exposure Index      : 8000
[ExifIFD]       Exif Version                    : 0232
[ExifIFD]       Date/Time Original              : 2024:12:07 17:32:29
[ExifIFD]       Create Date                     : 2024:12:07 17:32:29
[ExifIFD]       Offset Time                     : +05:30
[ExifIFD]       Offset Time Original            : +05:30
[ExifIFD]       Offset Time Digitized           : +05:30
[ExifIFD]       Components Configuration        : Y, Cb, Cr, -
[ExifIFD]       Compressed Bits Per Pixel       : 12
[ExifIFD]       Brightness Value                : -2.0453125
[ExifIFD]       Exposure Compensation           : 0
[ExifIFD]       Max Aperture Value              : 1.8
[ExifIFD]       Metering Mode                   : Multi-segment
[ExifIFD]       Light Source                    : Unknown
[ExifIFD]       Flash                           : Off, Did not fire
[ExifIFD]       Focal Length                    : 135.0 mm
[ExifIFD]       Sub Sec Time                    : 618
[ExifIFD]       Sub Sec Time Original           : 618
[ExifIFD]       Sub Sec Time Digitized          : 618
[ExifIFD]       Flashpix Version                : 0100
[ExifIFD]       Color Space                     : Uncalibrated
[ExifIFD]       File Source                     : Digital Camera
[ExifIFD]       Scene Type                      : Directly photographed
[ExifIFD]       Custom Rendered                 : Normal
[ExifIFD]       Exposure Mode                   : Auto
[ExifIFD]       White Balance                   : Manual
[ExifIFD]       Digital Zoom Ratio              : 1
[ExifIFD]       Focal Length In 35mm Format     : 135 mm
[ExifIFD]       Scene Capture Type              : Standard
[ExifIFD]       Contrast                        : Normal
[ExifIFD]       Saturation                      : Normal
[ExifIFD]       Sharpness                       : Normal
[ExifIFD]       Serial Number                   : 08449247
[ExifIFD]       Lens Info                       : 135mm f/1.8
[ExifIFD]       Lens Model                      : SAMYANG AF 135mm F1.8
[ExifIFD]       Composite Image                 : Unknown
[Sony]          Focus Mode                      : AF-C
[Sony]          AF Area Mode                    : Tracking
[Sony]          Focus Position 2                : 170
[Sony]          Quality                         : RAW + JPEG/HEIF
[Sony]          Flash Exposure Compensation     : 0
[Sony]          White Balance Fine Tune         : 0
[Sony]          White Balance                   : Color Temperature/Color Filter
[Sony]          Rating                          : 0
[Sony]          Contrast                        : 0
[Sony]          Saturation                      : 0
[Sony]          Sharpness                       : +4
[Sony]          Brightness                      : 0
[Sony]          Long Exposure Noise Reduction   : Off
[Sony]          High ISO Noise Reduction        : Off
[Sony]          HDR                             : Off; Uncorrected image
[Sony]          Multi Frame Noise Reduction     : Off
[Sony]          Picture Effect                  : Off
[Sony]          Soft Skin Effect                : Off
[Sony]          Vignetting Correction           : Auto
[Sony]          Lateral Chromatic Aberration    : Auto
[Sony]          Distortion Correction Setting   : Auto
[Sony]          WB Shift AB GM                  : 0 0
[Sony]          Auto Portrait Framed            : No
[Sony]          Flash Action                    : Did not fire
[Sony]          Electronic Front Curtain Shutter: On
[Sony]          Focus Mode                      : AF-C
[Sony]          AF Area Mode Setting            : Wide
[Sony]          Flexible Spot Position          : 0 0
[Sony]          AF Point Selected               : n/a
[Sony]          AF Points Used                  : (none)
[Sony]          AF Tracking                     : Face tracking
[Sony]          Multi Frame NR Effect           : Normal
[Sony]          WB Shift AB GM Precise          : 0.00 0.00
[Sony]          Focus Location                  : 6224 4672 3724 885
[Sony]          Variable Low Pass Filter        : n/a
[Sony]          RAW File Type                   : Lossless Compressed RAW
[Sony]          Focal Plane AF Points Used      : 0
[Sony]          Priority Set In AWB             : Standard
[Sony]          Metering Mode 2                 : Multi-segment
[Sony]          Exposure Standard Adjustment    : 0
[Sony]          Quality                         : RAW + Extra Fine
[Sony]          Pixel Shift Info                : n/a
[Sony]          Shadows                         : 0
[Sony]          Highlights                      : 0
[Sony]          Fade                            : 0
[Sony]          Sharpness Range                 : +3
[Sony]          Clarity                         : +1
[Sony]          Focus Frame Size                : 195x195
[Sony]          JPEG-HEIF Switch                : JPEG
[Sony]          Hidden Data Offset              : 143360
[Sony]          Hidden Data Length              : 53248
[Sony]          Shutter                         : Mechanical (2775 5338 6708)
[Sony]          Flash Status                    : No Flash present
[Sony]          Shutter Count                   :  19308
[Sony]          Sony Exposure Time              : 1/256
[Sony]          Sony F Number                   : 2.0
[Sony]          Release Mode 2                  : Normal
[Sony]          Shutter Count 2                 : 19308
[Sony]          Sony Exposure Time              : 1/256
[Sony]          Sony F Number                   : 2.0
[Sony]          Release Mode 2                  : Normal
[Sony]          Internal Serial Number          : 78ff00003c09
[Sony]          Release Mode 2                  : Normal
[Sony]          Sequence Image Number           : 1
[Sony]          Sequence Length                 : 1 shot
[Sony]          Sequence File Number            : 1
[Sony]          Sequence Length                 : 1 file
[Sony]          Camera Orientation              : Horizontal (normal)
[Sony]          Quality 2                       : RAW + JPEG
[Sony]          ISO Setting                     : Unknown (255)
[Sony]          ISO Auto Min                    : Auto
[Sony]          ISO Auto Max                    : Auto
[Sony]          Battery Temperature             : 40.6 C
[Sony]          Battery Level                   : 79%
[Sony]          Lens Mount 2                    : Unknown
[Sony]          Camera E-mount Version          : 0.00
[Sony]          Tag 9416 0000                   :   3
[Sony]          Sony ISO                        : 8905
[Sony]          Stops Above Base ISO            : 6.5
[Sony]          Sony Exposure Time 2            : 1/256
[Sony]          Exposure Time                   : 1/250
[Sony]          Sony F Number 2                 : 2.0
[Sony]          Sony Max Aperture Value         : 1.8
[Sony]          Sequence Image Number           : 1
[Sony]          Release Mode 2                  : Normal
[Sony]          Exposure Program                : Aperture-priority AE
[Sony]          Creative Style                  : Standard
[Sony]          Lens Mount                      : E-mount
[Sony]          Lens Format                     : Full-frame
[Sony]          Lens Mount                      : E-mount
[Sony]          Lens Type 2                     : Unknown (8)
[Sony]          Distortion Corr Params          : 0 0 2 4 8 12 18 23 29 34 40 44 48 48 45 37
[Sony]          Picture Profile                 : Gamma Still - Standard/Neutral (PP2)
[Sony]          Focal Length                    : 135.0 mm
[Sony]          Min Focal Length                : 135.0 mm
[Sony]          Vignetting Corr Params          : 0 32 80 192 416 816 1360 2064 2848 3664 4528 5408 6304 7200 8096 8976
[Sony]          APS-C Size Capture              : Off
[Sony]          Chromatic Aberration Corr Params: 107 114 119 120 119 114 107 94 79 63 49 36 26 20 20 29 -353 -353 -352 -345 -336 -322 -305 -279 -249 -213 -176 -135 -98 -63 -36 -26
[Sony]          File Format                     : Unknown (5 0 1 0)
[Sony]          Sony Model ID                   : ILCE-7M4
[Sony]          Creative Style                  : Standard
[Sony]          Color Temperature               : 3500
[Sony]          Color Compensation Filter       : 0
[Sony]          Scene Mode                      : Standard
[Sony]          Zone Matching                   : ISO Setting Used
[Sony]          Dynamic Range Optimizer         : Standard
[Sony]          Image Stabilization             : On
[Sony]          Lens Type                       : E-Mount, T-Mount, Other Lens or no lens
[Sony]          Color Mode                      : Standard
[Sony]          Lens Spec                       : E 135mm F1.8
[Sony]          Full Image Size                 : 6224x4672
[Sony]          Preview Image Size              : 1440x1080
[Sony]          Exposure Mode                   : Aperture-priority AE
[Sony]          Flash Level                     : Normal
[Sony]          Release Mode                    : Normal
[Sony]          Sequence Number                 : Single
[Sony]          Anti-Blur                       : On (Shooting)
[Sony]          Intelligent Auto                : Off
[Sony]          White Balance                   : Auto
[InteropIFD]    Interoperability Index          : R98 - DCF basic file (sRGB)
[InteropIFD]    Interoperability Version        : 0100
[PrintIM]       PrintIM Version                 : 0300
[Composite]     Aperture                        : 2.0
[Composite]     Image Size                      : 7168x5120
[Composite]     Lens ID                         : Samyang AF 135mm F1.8
[Composite]     Megapixels                      : 36.7
[Composite]     Scale Factor To 35 mm Equivalent: 1.0
[Composite]     Shutter Speed                   : 1/250
[Composite]     Create Date                     : 2024:12:07 17:32:29.618+05:30
[Composite]     Date/Time Original              : 2024:12:07 17:32:29.618+05:30
[Composite]     Modify Date                     : 2026:05:02 23:42:19.618+05:30
[Composite]     Focus Distance 2                : 6.797 m
[Composite]     Circle Of Confusion             : 0.030 mm
[Composite]     Field Of View                   : 15.2 deg
[Composite]     Focal Length                    : 135.0 mm (35 mm equivalent: 135.0 mm)
[Composite]     Hyperfocal Distance             : 303.28 m
[Composite]     Light Value                     : 3.6
$ 

Oh… I sort of succeeded with the spoiler!

ADDING: I just tried it with a pic that I took yesterday. Same result :sob: AND… You can get these files here if you (or anybody else!) want to see them:

https://filedn.com/lbBwCTkiN6F5AOma0WVcDCj/Pixls.us/Denoise%20test/

Thank you. I will check it tomorrow.

1 Like

Thank you!

The main advantage to me is masking options. Parametric masking lets me do extra denoising in the shadows and protects the details in the highlights. Drawn masks may prove useful in the future for me as well. The details threshold slider can help protect details. I use details threshold slider a lot for both sharpening and denoising modules. Finally the opacity slider lets me look at the whole image on my 43 inch monitor and judge the degree of denoising that is most acceptable to me.

I can not work out a single disadvantage with this composite method yet, but it is still early days for me. The composite method just seems to make your denoising tool even more flexible.

3 Likes

Hi Andrii,

I did some more testing, trying to figure out the performance issues I am having (already posted some details in the now closed PR in github).

With all but Fuji raw files, it takes minutes to process a raw image on GPU, only few seconds on CPU (yes, CPU way faster than GPU!). Tried with Canon, Panasonic, Olympus, Sony, Pentax and Ricoh raw. It seems that the size of the file doesn’t matter: 6MP old Nikon D70 takes as long as 61MP Sony A7RV on GPU.

The exception is with Fuji raw files (RAF): on GPU, less than 5 seconds for preview, less than 10 for creating the DNG file.

Very frustrating as the output from raw denoise is spectacular!

Running on on Windows 11, RTX 3050 with 8GB, 64GM Ram AMD Ryzen 7 5700.

I can provide -d ai logs in you want.

I am looking into this issue. It looks like some Windows DirectML specific issue. As long as DirectML works with multiple GPUs and in case you have multiple GPUs on a computer, there was no means to select which one DirectMl should use. This is addressed in PR #20905. It does not solve you issue, but when this will be merged, you could try on different GPUs.

I will continue my investigation on Windows DirectML and let you know about results.
-d ai logs might help.

1 Like

Hello @Thad_E_Ginathom

Your file works for me on Linux Debian 13.4 built from git master.

Does your darktable application miss dng support? What happens if you open another dng-file?

1 Like

Here are the logs:

  • First log is with CPU. First preview if for Olympus EM5 III, 20MP image. Second previous is for Fuji XT-5, 40MP image.
  • Second log is on GPU, Fuji first than Olympus.

If I read the log correctly:

  • On CPU, Olympus 15s, Fuji 5s.
  • On GPU, Olympus 67s, Fuji 1s!

CPU

[dt starting] as : C:\Program Files\darktable\bin\darktable.exe -d ai
     0.5168 [ai_models] initialized: models_dir=C:\Users\dtrtuser\AppData\Local\darktable\models, cache_dir=C:\Users\dtrtuser\AppData\Local\Microsoft\Windows\INetCache\darktable\ai_downloads
     0.5170 [ai_models] using repository: darktable-org/darktable-ai
     0.5170 [ai_models] registered model: mask sam2.1 hiera small (mask-object-sam21-small)
     0.5170 [ai_models] registered model: mask segnext vitb-sax2 hq (mask-object-segnext-b2hq)
     0.5171 [ai_models] registered model: denoise nind (denoise-nind)
     0.5171 [ai_models] registered model: denoise nafnet small (denoise-nafnet)
     0.5171 [ai_models] registered model: raw denoise nind (rawdenoise-nind)
     0.5171 [ai_models] registered model: upscale bsrgan (upscale-bsrgan)
     0.5171 [ai_models] registry loaded: 6 models from C:\Program Files\darktable\share\darktable\ai_models.json
    12.8986 [darktable_ai] dt_ai_env_init start.
    12.8991 [darktable_ai] discovered: denoise nind (denoise-nind, backend=onnx)
    12.8992 [darktable_ai] discovered: mask segnext vitb-sax2 hq (mask-object-segnext-b2hq, backend=onnx)
    12.8995 [darktable_ai] discovered: raw denoise nind (rawdenoise-nind, backend=onnx)
    12.8996 [darktable_ai] discovered: upscale bsrgan (upscale-bsrgan, backend=onnx)
    24.5684 [neural_restore] raw preview: imgid=95714 bayer patch=(0.500,0.500) widget=484x575 filters=0x94949494
    24.5685 [restore] variant 'bayer': file=model_bayer.onnx input_kind=bayer_v1
    24.5686 [restore] model rawdenoise-nind: coreml_cpu_only=true (ep_flags=1)
    24.5687 [darktable_ai] loaded ORT 1.24.4 (bundled)
    24.5687 [darktable_ai] execution provider: CPU
    24.5943 [darktable_ai] loading: C:\Users\dtrtuser\AppData\Local\darktable\models\rawdenoise-nind\model_bayer.onnx
    24.5943 [darktable_ai] using CPU only (no hardware acceleration)
    27.0365 [neural_restore] raw preview: full=5240x3912 ori=0x0 patch_center=(0.500,0.500) -> sensor=(2378,1668 484x574) bayer
    43.7528 [neural_restore] raw preview: inference returned err=0 src=0000019dab5a1040 denoised=0000019da825e040 requested=484x574 actual=480x570
    71.4921 [neural_restore] raw preview: imgid=92342 x-trans patch=(0.500,0.500) widget=484x575 filters=0x9
    72.0267 [restore] model rawdenoise-nind declares no variants.xtrans.onnx — cannot load variant
    72.0268 [restore] no dedicated xtrans variant; using linear as fallback
    72.0269 [restore] variant 'linear': file=model_linear.onnx input_kind=linear_v1
    72.0269 [restore] model rawdenoise-nind: coreml_cpu_only=true (ep_flags=1)
    72.0270 [darktable_ai] loading: C:\Users\dtrtuser\AppData\Local\darktable\models\rawdenoise-nind\model_linear.onnx
    72.0270 [darktable_ai] using CPU only (no hardware acceleration)
    75.7569 [neural_restore] raw preview: full=7728x5152 ori=0x0 patch_center=(0.500,0.500) -> sensor=(3622,2289 484x575) linear
    80.3503 [neural_restore] raw preview: inference returned err=0 src=0000019da79be040 denoised=0000019da7673040 requested=484x575 actual=484x575

GPU

type or paste code here[dt starting] as : C:\Program Files\darktable\bin\darktable.exe -d ai
     0.5125 [ai_models] initialized: models_dir=C:\Users\dtrtuser\AppData\Local\darktable\models, cache_dir=C:\Users\dtrtuser\AppData\Local\Microsoft\Windows\INetCache\darktable\ai_downloads
     0.5127 [ai_models] using repository: darktable-org/darktable-ai
     0.5127 [ai_models] registered model: mask sam2.1 hiera small (mask-object-sam21-small)
     0.5127 [ai_models] registered model: mask segnext vitb-sax2 hq (mask-object-segnext-b2hq)
     0.5128 [ai_models] registered model: denoise nind (denoise-nind)
     0.5128 [ai_models] registered model: denoise nafnet small (denoise-nafnet)
     0.5128 [ai_models] registered model: raw denoise nind (rawdenoise-nind)
     0.5128 [ai_models] registered model: upscale bsrgan (upscale-bsrgan)
     0.5128 [ai_models] registry loaded: 6 models from C:\Program Files\darktable\share\darktable\ai_models.json
    12.7899 [darktable_ai] dt_ai_env_init start.
    12.7905 [darktable_ai] discovered: denoise nind (denoise-nind, backend=onnx)
    12.7907 [darktable_ai] discovered: mask segnext vitb-sax2 hq (mask-object-segnext-b2hq, backend=onnx)
    12.7910 [darktable_ai] discovered: raw denoise nind (rawdenoise-nind, backend=onnx)
    12.7912 [darktable_ai] discovered: upscale bsrgan (upscale-bsrgan, backend=onnx)
    18.3257 [neural_restore] raw preview: imgid=92342 x-trans patch=(0.500,0.500) widget=484x575 filters=0x9
    18.3259 [restore] model rawdenoise-nind declares no variants.xtrans.onnx — cannot load variant
    18.3259 [restore] no dedicated xtrans variant; using linear as fallback
    18.3260 [restore] variant 'linear': file=model_linear.onnx input_kind=linear_v1
    18.3260 [restore] model rawdenoise-nind: coreml_cpu_only=true (ep_flags=1)
    18.3262 [darktable_ai] loaded ORT 1.24.4 (bundled)
    18.3262 [darktable_ai] execution provider: DirectML
    18.3535 [darktable_ai] loading: C:\Users\dtrtuser\AppData\Local\darktable\models\rawdenoise-nind\model_linear.onnx
    18.3535 [darktable_ai] attempting to enable Windows DirectML...
    18.5270 [darktable_ai] Windows DirectML enabled successfully.
    22.3391 [neural_restore] raw preview: full=7728x5152 ori=0x0 patch_center=(0.500,0.500) -> sensor=(3622,2289 484x575) linear
    23.2666 [neural_restore] raw preview: inference returned err=0 src=000001fd7167a040 denoised=000001fd7029d040 requested=484x575 actual=484x575
    49.5331 [neural_restore] raw preview: imgid=95714 bayer patch=(0.500,0.500) widget=484x575 filters=0x94949494
    49.6193 [restore] variant 'bayer': file=model_bayer.onnx input_kind=bayer_v1
    49.6194 [restore] model rawdenoise-nind: coreml_cpu_only=true (ep_flags=1)
    49.6195 [darktable_ai] loading: C:\Users\dtrtuser\AppData\Local\darktable\models\rawdenoise-nind\model_bayer.onnx
    49.6195 [darktable_ai] attempting to enable Windows DirectML...
    49.7835 [darktable_ai] Windows DirectML enabled successfully.
    52.2438 [neural_restore] raw preview: full=5240x3912 ori=0x0 patch_center=(0.500,0.500) -> sensor=(2378,1668 484x574) bayer
   119.9127 [neural_restore] raw preview: inference returned err=0 src=000001fd71adb040 denoised=000001fd29561040 requested=484x574 actual=480x570

I have a question.

Why has the decision to skip denoising of the out-of-sRGB areas been made?

I understand that the model was trained on sRGB images, and pretending that really-BT.2020 images are sRGB leads to color casts. But the presumably-correct approach is not to reinterpret numbers, but to apply gamut mapping.

Leaving the colors that fall into sRGB alone is equivalent to applying the Relative Colorimetric intent when converting from BT.2020 to sRGB. This conversion is irreversible, which is why, if one sticks to it, out-of-sRGB colors have to be treated specially.

So, I think we need to apply something like the Perceptual intent instead. It leaves a large subset of colors falling into the destination gamut (i.e., not very saturated colors even according to the destination color space) nearly attached to their true positions, and applies a smooth mapping to the rest. The key idea here is that the mapping is reversible, even though it is not normally supposed to be used in the reverse direction.

ChatGPT found this paper for me: https://www.itu.int/dms_pub/itu-r/opb/rep/R-REP-BT.2407-2017-PDF-E.pdf

I.e., how about this?

  • Apply color conversion from BT.2020 to sRGB with a smooth and invertible gamut mapping.
  • Denoise using the sRGB-native AI model.
  • Undo the conversion.
1 Like

Thank you for testing!

My install is also built from Git master. I updated it yesterday or the day before.

I don’t know how it could not include DNG support. That error message really surprised me!

I don’t use dng. But I’ll look around for one to test with. I’ll also try deleting my darktable src directory and building from scratch.

imagename_raw-denoise.dng could not be loaded also for me with self build 5.5.0+1106~g80da16104d, Linux, Ubuntu 24.04. Source image is Sony ARW from A7M4. Terminal shows error messages :

1515,5751 [tiff_open] error: TIFFSetField: /media/ph/raw-2/2026/2026-04-24/DSC01946_raw-denoise.dng: Unknown tag 33421
1515,5751 [tiff_open] error: TIFFSetField: /media/ph/raw-2/2026/2026-04-24/DSC01946_raw-denoise.dng: Unknown tag 33422
1595,3624 [rawspeed] DSC01946_raw-denoise.dng corrupt: rawspeed::RawImage rawspeed::RawDecoder::decodeRaw(), line 334: rawspeed::TiffEntry* rawspeed::TiffIFD::getEntry(rawspeed::TiffTag) const, line 316: Entry 0x828d not found.
1595,3965 [rawspeed] DSC01946_raw-denoise.dng corrupt: rawspeed::RawImage rawspeed::RawDecoder::decodeRaw(), line 334: rawspeed::TiffEntry* rawspeed::TiffIFD::getEntry(rawspeed::TiffTag) const, line 316: Entry 0x828d not found.

Exiftool shows for the original source file

exiftool -H -G1 -a /media/ph/raw-2/2026/2026-04-24/DSC01946.ARW
[ExifTool]           - ExifTool Version Number         : 13.57
[System]             - File Name                       : DSC01946.ARW                                          
[System]             - Directory                       : /media/ph/raw-2/2026/2026-04-24                       
[System]             - File Size                       : 41 MB                                                 
[System]             - File Modification Date/Time     : 2026:04:24 09:39:45+02:00                             
[System]             - File Access Date/Time           : 2026:05:03 08:40:33+02:00                             
[System]             - File Inode Change Date/Time     : 2026:04:24 15:41:11+02:00                             
[System]             - File Permissions                : -rw-rw-r--                                            
[File]               - File Type                       : ARW                                                   
[File]               - File Type Extension             : arw                                                   
[File]               - MIME Type                       : image/x-sony-arw                                      
[File]               - Exif Byte Order                 : Little-endian (Intel, II)                             
[IFD0]          0x00fe Subfile Type                    : Reduced-resolution image                              
[IFD0]          0x0103 Compression                     : JPEG (old-style)                                      
[IFD0]          0x010e Image Description               :                                                       
[IFD0]          0x010f Make                            : SONY                                                  
[IFD0]          0x0110 Camera Model Name               : ILCE-7M4                                              
[IFD0]          0x0112 Orientation                     : Horizontal (normal)                                   
[IFD0]          0x011a X Resolution                    : 350                                                   
[IFD0]          0x011b Y Resolution                    : 350                                                   
[IFD0]          0x0128 Resolution Unit                 : inches                                                
[IFD0]          0x0131 Software                        : ILCE-7M4 v3.02                                        
[IFD0]          0x0132 Modify Date                     : 2026:04:24 09:39:45                                   
[IFD0]          0x0201 Preview Image Start             : 192674                                                
[IFD0]          0x0202 Preview Image Length            : 415798                                                
[IFD0]          0x0213 Y Cb Cr Positioning             : Co-sited                                              
[IFD0]               - Preview Image                   : (Binary data 415798 bytes, use -b option to extract)
[SubIFD]        0x00fe Subfile Type                    : Full-resolution image
[SubIFD]        0x0100 Image Width                     : 7040
[SubIFD]        0x0101 Image Height                    : 4688
[SubIFD]        0x0103 Compression                     : Sony ARW Compressed
[SubIFD]        0x0106 Photometric Interpretation      : Color Filter Array
[SubIFD]        0x0115 Samples Per Pixel               : 1
[SubIFD]        0x011c Planar Configuration            : Chunky
[SubIFD]        0x011a X Resolution                    : 350
[SubIFD]        0x011b Y Resolution                    : 350
[SubIFD]        0x0128 Resolution Unit                 : inches
[SubIFD]        0x828d CFA Repeat Pattern Dim          : 2 2
[SubIFD]        0x828e CFA Pattern 2                   : 0 1 1 2
[SubIFD]        0x7000 Sony Raw File Type              : Sony Compressed RAW
[SubIFD]        0x7010 Sony Tone Curve                 : 8000 10400 12900 14100
[SubIFD]        0x0111 Strip Offsets                   : 8257536
[SubIFD]        0x0116 Rows Per Strip                  : 4688
[SubIFD]        0x0117 Strip Byte Counts               : 33003520
[SubIFD]        0x7031 Vignetting Correction           : Auto (ILCE-1)
[SubIFD]        0x7032 Vignetting Corr Params          : 16 0 128 320 576 896 1344 1888 2432 3008 3488 4096 5120 6400 7936 9696 11392
[SubIFD]        0x7034 Chromatic Aberration Correction : Auto
[SubIFD]        0x7035 Chromatic Aberration Corr Params: 32 -512 -512 -512 -512 -512 -640 -640 -768 -768 -768 -768 -896 -896 -768 -768 -768 0 -128 -128 -128 -128 -128 -128 -128 -128 -128 -128 -128 -128 -128 -128 -128
[SubIFD]        0x7036 Distortion Correction           : Auto fixed by lens
[SubIFD]        0x7037 Distortion Corr Params          : 16 2 4 13 29 50 79 115 158 208 264 327 397 476 562 656 756
[SubIFD]        0x7310 Black Level                     : 512 512 512 512
[SubIFD]        0x7313 WB RGGB Levels                  : 1698 1024 1024 2903
[SubIFD]        0xc61f Default Crop Origin             : 12 8
[SubIFD]        0xc620 Default Crop Size               : 7008 4672
[SubIFD]        0x74c7 Sony Crop Top Left              : 12 8
[SubIFD]        0x74c8 Sony Crop Size                  : 7008 4672
[SubIFD]        0xc61d White Level                     : 16383
[SubIFD]        0x0102 Bits Per Sample                 : 14
[XMP-xmp]            - Rating                          : 0
[XMP-xmpMM]          - Document ID                     : urn:uuid:d8b2031c-a432-4887-94be-e00abc16c10c
[XMP-xmpMM]          - Instance ID                     : urn:uuid:0b36c8a6-10e9-43a4-9a12-9632fc17326c
[ExifIFD]       0x829a Exposure Time                   : 1/25
[ExifIFD]       0x829d F Number                        : 4.0
[ExifIFD]       0x8822 Exposure Program                : Program AE
[ExifIFD]       0x8827 ISO                             : 12800
[ExifIFD]       0x8830 Sensitivity Type                : Recommended Exposure Index
[ExifIFD]       0x8832 Recommended Exposure Index      : 12800
[ExifIFD]       0x9000 Exif Version                    : 0232
[ExifIFD]       0x9003 Date/Time Original              : 2026:04:24 09:39:45
[ExifIFD]       0x9004 Create Date                     : 2026:04:24 09:39:45
[ExifIFD]       0x9010 Offset Time                     : +02:00
[ExifIFD]       0x9011 Offset Time Original            : +02:00
[ExifIFD]       0x9012 Offset Time Digitized           : +02:00
[ExifIFD]       0x9101 Components Configuration        : Y, Cb, Cr, -
[ExifIFD]       0x9102 Compressed Bits Per Pixel       : 8
[ExifIFD]       0x9203 Brightness Value                : -2.959375
[ExifIFD]       0x9204 Exposure Compensation           : 0
[ExifIFD]       0x9205 Max Aperture Value              : 4.0
[ExifIFD]       0x9207 Metering Mode                   : Spot
[ExifIFD]       0x9208 Light Source                    : Unknown
[ExifIFD]       0x9209 Flash                           : Off, Did not fire
[ExifIFD]       0x920a Focal Length                    : 103.0 mm
[ExifIFD]       0x9286 User Comment                    : 
[ExifIFD]       0x9290 Sub Sec Time                    : 596
[ExifIFD]       0x9291 Sub Sec Time Original           : 596
[ExifIFD]       0x9292 Sub Sec Time Digitized          : 596
[ExifIFD]       0xa000 Flashpix Version                : 0100
[ExifIFD]       0xa001 Color Space                     : sRGB
[ExifIFD]       0xa002 Exif Image Width                : 7008
[ExifIFD]       0xa003 Exif Image Height               : 4672
[ExifIFD]       0xa300 File Source                     : Digital Camera
[ExifIFD]       0xa301 Scene Type                      : Directly photographed
[ExifIFD]       0xa401 Custom Rendered                 : Normal
[ExifIFD]       0xa402 Exposure Mode                   : Auto
[ExifIFD]       0xa403 White Balance                   : Auto
[ExifIFD]       0xa404 Digital Zoom Ratio              : 1
[ExifIFD]       0xa405 Focal Length In 35mm Format     : 103 mm
[ExifIFD]       0xa406 Scene Capture Type              : Standard
[ExifIFD]       0xa408 Contrast                        : Normal
[ExifIFD]       0xa409 Saturation                      : Normal
[ExifIFD]       0xa40a Sharpness                       : Normal
[ExifIFD]       0xa432 Lens Info                       : 24-105mm f/4
[ExifIFD]       0xa434 Lens Model                      : FE 24-105mm F4 G OSS
[ExifIFD]       0xa460 Composite Image                 : Unknown
[Sony]          0x2002 Rating                          : 0
[Sony]          0x2004 Contrast                        : 0
[Sony]          0x2005 Saturation                      : 0
[Sony]          0x2006 Sharpness                       : +4
[Sony]          0x2007 Brightness                      : 0
[Sony]          0x2008 Long Exposure Noise Reduction   : Off
[Sony]          0x2009 High ISO Noise Reduction        : Off
[Sony]          0x200a HDR                             : Off; Uncorrected image
[Sony]          0x2014 WB Shift AB GM                  : 0 0
[Sony]          0x2026 WB Shift AB GM Precise          : 0.00 0.00
[Sony]          0xb020 Creative Style                  : Standard
[Sony]          0xb021 Color Temperature               : Auto
[Sony]          0xb022 Color Compensation Filter       : 0
[Sony]          0xb023 Scene Mode                      : Standard
[Sony]          0xb024 Zone Matching                   : ISO Setting Used
[Sony]          0xb025 Dynamic Range Optimizer         : Auto
[Sony]          0xb026 Image Stabilization             : On
[Sony]          0xb029 Color Mode                      : Standard
[Sony]          0xb02b Full Image Size                 : 7008x4672
[Sony]          0xb02c Preview Image Size              : 1616x1080
[Sony]          0xb000 File Format                     : ARW 5.0.1
[Sony]          0x0102 Quality                         : RAW
[Sony]          0x0104 Flash Exposure Compensation     : 0
[Sony]          0x0112 White Balance Fine Tune         : 0
[Sony]          0x0115 White Balance                   : Auto
[Sony]          0xb001 Sony Model ID                   : ILCE-7M4
[Sony]          0x200b Multi Frame Noise Reduction     : Off
[Sony]          0x200e Picture Effect                  : Off
[Sony]          0x200f Soft Skin Effect                : Off
[Sony]          0x2011 Vignetting Correction           : Auto
[Sony]          0x2012 Lateral Chromatic Aberration    : Auto
[Sony]          0x2013 Distortion Correction Setting   : Auto
[Sony]          0xb027 Lens Type                       : E-Mount, T-Mount, Other Lens or no lens
[Sony]          0xb02a Lens Spec                       : FE 24-105mm F4 G OSS
[Sony]          0x2016 Auto Portrait Framed            : No
[Sony]          0x2017 Flash Action                    : Did not fire
[Sony]          0x201a Electronic Front Curtain Shutter: Off
[Sony]          0x201b Focus Mode                      : AF-S
[Sony]          0x201c AF Area Mode Setting            : Expanded Flexible Spot
[Sony]          0x201d Flexible Spot Position          : 320 240
[Sony]          0x201e AF Point Selected               : n/a
[Sony]          0x2020 AF Points Used                  : (none)
[Sony]          0x2021 AF Tracking                     : Off
[Sony]          0x0001 Focal Plane AF Points Used      : 0
[Sony]          0x2023 Multi Frame NR Effect           : Normal
[Sony]          0x2027 Focus Location                  : 7008 4672 3504 2336
[Sony]          0x2028 Variable Low Pass Filter        : n/a
[Sony]          0x202b Priority Set In AWB             : Standard
[Sony]          0x202c Metering Mode 2                 : Spot (Large)
[Sony]          0x202d Exposure Standard Adjustment    : 0
[Sony]          0x2029 RAW File Type                   : Compressed RAW
[Sony]          0x202e Quality                         : RAW
[Sony]          0x202f Pixel Shift Info                : n/a
[Sony]          0x2032 Shadows                         : 0
[Sony]          0x2033 Highlights                      : 0
[Sony]          0x2034 Fade                            : 0
[Sony]          0x2035 Sharpness Range                 : +3
[Sony]          0x2036 Clarity                         : +1
[Sony]          0x2037 Focus Frame Size                : 832x740
[Sony]          0x2039 JPEG-HEIF Switch                : n/a
[Sony]          0x0000 Hidden Data Offset              : 139264
[Sony]          0x0001 Hidden Data Length              : 53248
[Sony]          0xb041 Exposure Mode                   : Program AE
[Sony]          0xb048 Flash Level                     : Normal
[Sony]          0xb049 Release Mode                    : Normal
[Sony]          0xb04a Sequence Number                 : Single
[Sony]          0xb04b Anti-Blur                       : On (Shooting)
[Sony]          0xb04f Dynamic Range Optimizer         : Standard
[Sony]          0xb052 Intelligent Auto                : Off
[Sony]          0xb054 White Balance                   : Auto
[Sony]          0x0009 Release Mode 2                  : Normal
[Sony]          0x0012 Sequence Image Number           : 1
[Sony]          0x0016 Sequence Length                 : 1 shot
[Sony]          0x001a Sequence File Number            : 1
[Sony]          0x001e Sequence Length                 : 1 file
[Sony]          0x0029 Camera Orientation              : Horizontal (normal)
[Sony]          0x002a Quality 2                       : RAW
[Sony]          0x0000 ISO Setting                     : 12800
[Sony]          0x0002 ISO Auto Min                    : 100
[Sony]          0x0004 ISO Auto Max                    : 12800
[Sony]          0x0004 Ambient Temperature             : 18 C
[Sony]          0x0016 Focus Mode                      : AF-S
[Sony]          0x0017 AF Area Mode                    : Expanded Flexible Spot
[Sony]          0x002d Focus Position 2                : 158
[Sony]          0x0004 Sony ISO                        : 12800
[Sony]          0x0006 Stops Above Base ISO            : 7.0
[Sony]          0x000a Sony Exposure Time 2            : 1/26
[Sony]          0x000c Exposure Time                   : 1/25
[Sony]          0x0010 Sony F Number 2                 : 4.0
[Sony]          0x0012 Sony Max Aperture Value         : 4.0
[Sony]          0x001d Sequence Image Number           : 1
[Sony]          0x002b Release Mode 2                  : Normal
[Sony]          0x0035 Exposure Program                : Program AE
[Sony]          0x0037 Creative Style                  : Standard
[Sony]          0x0048 Lens Mount                      : E-mount
[Sony]          0x0049 Lens Format                     : Full-frame
[Sony]          0x004a Lens Mount                      : E-mount
[Sony]          0x004b Lens Type 2                     : Sony FE 24-105mm F4 G OSS
[Sony]          0x004f Distortion Corr Params          : 2 4 14 32 56 88 128 176 232 294 364 442 530 626 730 842
[Sony]          0x0070 Picture Profile                 : Gamma Still - Standard/Neutral (PP2)
[Sony]          0x0071 Focal Length                    : 103.0 mm
[Sony]          0x0073 Min Focal Length                : 24.0 mm
[Sony]          0x0075 Max Focal Length                : 105.0 mm
[Sony]          0x0891 Vignetting Corr Params          : 0 128 320 576 896 1344 1888 2432 3008 3488 4096 5120 6400 7936 9696 11392
[Sony]          0x08b7 APS-C Size Capture              : Off
[Sony]          0x0916 Chromatic Aberration Corr Params: -484 -454 -448 -460 -498 -564 -634 -666 -690 -714 -740 -770 -788 -768 -702 -660 23 -19 -51 -72 -84 -81 -76 -83 -86 -68 -45 -22 -9 -13 -42 -54
[Sony]          0x0005 Battery Temperature             : 26.7 C
[Sony]          0x0007 Battery Level                   : 16%
[Sony]          0x0008 Lens Mount 2                    : E-mount
[Sony]          0x0009 Lens Type 3                     : Sony FE 24-105mm F4 G OSS
[Sony]          0x000b Camera E-mount Version          : 1.80
[Sony]          0x000d Lens E-mount Version            : 1.60
[Sony]          0x0014 Lens Firmware Version           : Ver.02.000
[Sony]          0x0026 Shutter                         : Silent / Electronic (0 0 0)
[Sony]          0x0039 Flash Status                    : No Flash present
[Sony]          0x003a Shutter Count                   : 1138
[Sony]          0x0046 Sony Exposure Time              : 1/26
[Sony]          0x0048 Sony F Number                   : 4.0
[Sony]          0x004b Release Mode 2                  : Normal
[Sony]          0x0050 Shutter Count 2                 : 1138
[Sony]          0x0066 Sony Exposure Time              : 1/26
[Sony]          0x0068 Sony F Number                   : 4.0
[Sony]          0x006b Release Mode 2                  : Normal
[Sony]          0x0088 Internal Serial Number          : 8aff00000d09
[InteropIFD]    0x0001 Interoperability Index          : R98 - DCF basic file (sRGB)
[InteropIFD]    0x0002 Interoperability Version        : 0100
[PrintIM]            - PrintIM Version                 : 0300
[SR2]           0x7200 SR2 Sub IFD Offset              : 65902
[SR2]           0x7201 SR2 Sub IFD Length              : 35398
[SR2]           0x7221 SR2 Sub IFD Key                 : 0x44332211
[SR2SubIFD]     0x7310 Black Level                     : 512 512 512 512
[SR2SubIFD]     0x7312 WB RGGB Levels Auto             : 1698 1024 1024 2903
[SR2SubIFD]     0x7313 WB RGGB Levels                  : 1698 1024 1024 2903
[SR2SubIFD]     0x7800 Color Matrix                    : 1027 -134 131 118 892 14 125 -41 940
[SR2SubIFD]     0x7820 WB RGB Levels Daylight          : 2450 1024 1699
[SR2SubIFD]     0x7821 WB RGB Levels Cloudy            : 2646 1024 1560
[SR2SubIFD]     0x7822 WB RGB Levels Tungsten          : 1513 1024 3040
[SR2SubIFD]     0x7823 WB RGB Levels Flash             : 2702 1024 1516
[SR2SubIFD]     0x7824 WB RGB Levels 4500K             : 2227 1024 1862
[SR2SubIFD]     0x7825 WB RGB Levels Shade             : 2877 1024 1380
[SR2SubIFD]     0x7826 WB RGB Levels Fluorescent       : 2286 1024 2335
[SR2SubIFD]     0x7827 WB RGB Levels Fluorescent P1    : 2443 1024 1721
[SR2SubIFD]     0x7828 WB RGB Levels Fluorescent P2    : 2707 1024 1607
[SR2SubIFD]     0x7829 WB RGB Levels Fluorescent M1    : 1784 1024 2893
[SR2SubIFD]     0x782a WB RGB Levels 8500K             : 2939 1024 1307
[SR2SubIFD]     0x782b WB RGB Levels 6000K             : 2591 1024 1554
[SR2SubIFD]     0x782c WB RGB Levels 3200K             : 1749 1024 2511
[SR2SubIFD]     0x782d WB RGB Levels 2500K             : 1387 1024 3365
[SR2SubIFD]     0x787f White Level                     : 15360 15360 15360
[SR2SubIFD]     0x797d Vignetting Corr Params          : 16 0 128 320 576 896 1344 1888 2432 3008 3488 4096 5120 6400 7936 9696 11392
[SR2SubIFD]     0x7980 Chromatic Aberration Corr Params: 32 -512 -512 -512 -512 -512 -640 -640 -768 -768 -768 -768 -896 -896 -768 -768 -768 0 -128 -128 -128 -128 -128 -128 -128 -128 -128 -128 -128 -128 -128 -128 -128
[SR2SubIFD]     0x7982 Distortion Corr Params          : 16 2 4 13 29 50 79 115 158 208 264 327 397 476 562 656 756
[SR2DataIFD]    0x7770 Color Mode                      : Standard
[SR2DataIFD1]   0x7770 Color Mode                      : Vivid
[SR2DataIFD2]   0x7770 Color Mode                      : Neutral
[SR2DataIFD3]   0x7770 Color Mode                      : Portrait
[SR2DataIFD4]   0x7770 Color Mode                      : FL
[SR2DataIFD5]   0x7770 Color Mode                      : VV2
[SR2DataIFD6]   0x7770 Color Mode                      : IN
[SR2DataIFD7]   0x7770 Color Mode                      : SH
[SR2DataIFD8]   0x7770 Color Mode                      : BW
[SR2DataIFD9]   0x7770 Color Mode                      : Sepia
[IFD1]          0x00fe Subfile Type                    : Reduced-resolution image
[IFD1]          0x0103 Compression                     : JPEG (old-style)
[IFD1]          0x010e Image Description               : 
[IFD1]          0x010f Make                            : SONY
[IFD1]          0x0110 Camera Model Name               : ILCE-7M4
[IFD1]          0x0112 Orientation                     : Horizontal (normal)
[IFD1]          0x011a X Resolution                    : 72
[IFD1]          0x011b Y Resolution                    : 72
[IFD1]          0x0128 Resolution Unit                 : inches
[IFD1]          0x0131 Software                        : ILCE-7M4 v3.02
[IFD1]          0x0132 Modify Date                     : 2026:04:24 09:39:45
[IFD1]          0x0201 Thumbnail Offset                : 43952
[IFD1]          0x0202 Thumbnail Length                : 8487
[IFD1]          0x0213 Y Cb Cr Positioning             : Co-sited
[IFD1]               - Thumbnail Image                 : (Binary data 8487 bytes, use -b option to extract)
[IFD2]          0x00fe Subfile Type                    : Reduced-resolution image
[IFD2]          0x0100 Image Width                     : 7008
[IFD2]          0x0101 Image Height                    : 4672
[IFD2]          0x0102 Bits Per Sample                 : 8 8 8
[IFD2]          0x0103 Compression                     : JPEG
[IFD2]          0x0106 Photometric Interpretation      : YCbCr
[IFD2]          0x010e Image Description               : 
[IFD2]          0x0112 Orientation                     : Horizontal (normal)
[IFD2]          0x0115 Samples Per Pixel               : 3
[IFD2]          0x011c Planar Configuration            : Chunky
[IFD2]          0x0201 Jpg From Raw Start              : 610304
[IFD2]          0x0202 Jpg From Raw Length             : 7645221
[IFD2]          0x0211 Y Cb Cr Coefficients            : 0.299 0.587 0.114
[IFD2]          0x0212 Y Cb Cr Sub Sampling            : YCbCr4:2:2 (2 1)
[IFD2]          0x0213 Y Cb Cr Positioning             : Co-sited
[IFD2]          0x0214 Reference Black White           : 0 255 128 128 128 128
[IFD2]               - Jpg From Raw                    : (Binary data 7645221 bytes, use -b option to extract)
[Composite]          - Aperture                        : 4.0
[Composite]          - Blue Balance                    : 2.834961
[Composite]          - CFA Pattern                     : [Red,Green][Green,Blue]
[Composite]          - Image Size                      : 7040x4688
[Composite]          - Lens ID                         : Sony FE 24-105mm F4 G OSS
[Composite]          - Megapixels                      : 33.0
[Composite]          - Red Balance                     : 1.658203
[Composite]          - Scale Factor To 35 mm Equivalent: 1.0
[Composite]          - Shutter Speed                   : 1/25
[Composite]          - Create Date                     : 2026:04:24 09:39:45.596+02:00
[Composite]          - Date/Time Original              : 2026:04:24 09:39:45.596+02:00
[Composite]          - Modify Date                     : 2026:04:24 09:39:45.596+02:00
[Composite]          - Focus Distance 2                : 3.125 m
[Composite]          - Circle Of Confusion             : 0.030 mm
[Composite]          - Field Of View                   : 19.8 deg
[Composite]          - Focal Length 35mm Equiv         : 103.0 mm (35 mm equivalent: 103.0 mm)
[Composite]          - Hyperfocal Distance             : 88.27 m
[Composite]          - Light Value                     : 1.6

and for the processed file (dng)

[ExifTool]           - ExifTool Version Number         : 13.57
[System]             - File Name                       : DSC01946_raw-denoise.dng
[System]             - Directory                       : /media/ph/raw-2/2026/2026-04-24
[System]             - File Size                       : 74 MB
[System]             - File Modification Date/Time     : 2026:05:03 11:41:07+02:00
[System]             - File Access Date/Time           : 2026:05:03 11:41:08+02:00
[System]             - File Inode Change Date/Time     : 2026:05:03 11:41:07+02:00
[System]             - File Permissions                : -rw-rw-r--
[File]               - File Type                       : DNG
[File]               - File Type Extension             : dng
[File]               - MIME Type                       : image/x-adobe-dng
[File]               - Exif Byte Order                 : Little-endian (Intel, II)
[IFD0]          0x00fe Subfile Type                    : Reduced-resolution image
[IFD0]          0x0100 Image Width                     : 7008
[IFD0]          0x0101 Image Height                    : 4672
[IFD0]          0x0102 Bits Per Sample                 : 8 8 8
[IFD0]          0x0103 Compression                     : JPEG
[IFD0]          0x0106 Photometric Interpretation      : YCbCr
[IFD0]          0x010f Make                            : SONY
[IFD0]          0x0110 Camera Model Name               : ILCE-7M4
[IFD0]          0x0111 Preview Image Start             : 68400
[IFD0]          0x0112 Orientation                     : Horizontal (normal)
[IFD0]          0x0115 Samples Per Pixel               : 3
[IFD0]          0x0116 Rows Per Strip                  : 4672
[IFD0]          0x0117 Preview Image Length            : 7645221
[IFD0]          0x011a X Resolution                    : 300
[IFD0]          0x011b Y Resolution                    : 300
[IFD0]          0x011c Planar Configuration            : Chunky
[IFD0]          0x0128 Resolution Unit                 : inches
[IFD0]          0x0131 Software                        : darktable 5.5.0+1106~g80da16104d
[IFD0]          0x0132 Modify Date                     : 2026:05:03 11:41:06
[IFD0]          0x013b Artist                          : Peter Harde
[IFD0]          0x0213 Y Cb Cr Positioning             : Co-sited
[IFD0]          0x4746 Rating                          : 1
[IFD0]          0x8298 Copyright                       :   Copyright 2026 - All rights reserved
[IFD0]          0x9003 Date/Time Original              : 2026:04:24 09:39:49
[IFD0]          0xc612 DNG Version                     : 1.4.0.0
[IFD0]          0xc613 DNG Backward Version            : 1.2.0.0
[IFD0]          0xc614 Unique Camera Model             : Sony ILCE-7M4
[IFD0]          0xc621 Color Matrix 1                  : 0.7459999919 -0.236499995 -0.0588000007 -0.5687000155 1.344200015 0.2474000007 -0.06239999831 0.1155999973 0.6583999991
[IFD0]          0xc628 As Shot Neutral                 : 0.6030624509 1 0.3527385592
[IFD0]               - Preview Image                   : (Binary data 7645221 bytes, use -b option to extract)
[SubIFD]        0x00fe Subfile Type                    : Full-resolution image
[SubIFD]        0x0100 Image Width                     : 7040
[SubIFD]        0x0101 Image Height                    : 4688
[SubIFD]        0x0102 Bits Per Sample                 : 16
[SubIFD]        0x0103 Compression                     : Uncompressed
[SubIFD]        0x0106 Photometric Interpretation      : Color Filter Array
[SubIFD]        0x0111 Strip Offsets                   : (Binary data 42028 bytes, use -b option to extract)
[SubIFD]        0x0112 Orientation                     : Horizontal (normal)
[SubIFD]        0x0115 Samples Per Pixel               : 1
[SubIFD]        0x0116 Rows Per Strip                  : 1
[SubIFD]        0x0117 Strip Byte Counts               : (Binary data 28127 bytes, use -b option to extract)
[SubIFD]        0x011c Planar Configuration            : Chunky
[SubIFD]        0x0153 Sample Format                   : Unsigned
[SubIFD]        0xc616 CFA Plane Color                 : Red,Green,Blue
[SubIFD]        0xc617 CFA Layout                      : Rectangular
[SubIFD]        0xc619 Black Level Repeat Dim          : 2 2
[SubIFD]        0xc61a Black Level                     : 512 512 512 512
[SubIFD]        0xc61d White Level                     : 15360
[SubIFD]        0xc61e Default Scale                   : 1 1
[SubIFD]        0xc61f Default Crop Origin             : 0 0
[SubIFD]        0xc620 Default Crop Size               : 7032 4688
[SubIFD]        0xc68d Active Area                     : 0 0 4688 7032
[ExifIFD]       0x829a Exposure Time                   : 1/25
[ExifIFD]       0x829d F Number                        : 4.0
[ExifIFD]       0x8822 Exposure Program                : Program AE
[ExifIFD]       0x8827 ISO                             : 12800
[ExifIFD]       0x8830 Sensitivity Type                : Recommended Exposure Index
[ExifIFD]       0x8832 Recommended Exposure Index      : 12800
[ExifIFD]       0x9000 Exif Version                    : 0232
[ExifIFD]       0x9003 Date/Time Original              : 2026:04:24 09:39:49
[ExifIFD]       0x9004 Create Date                     : 2026:04:24 09:39:45
[ExifIFD]       0x9010 Offset Time                     : +02:00
[ExifIFD]       0x9011 Offset Time Original            : +02:00
[ExifIFD]       0x9012 Offset Time Digitized           : +02:00
[ExifIFD]       0x9101 Components Configuration        : Y, Cb, Cr, -
[ExifIFD]       0x9102 Compressed Bits Per Pixel       : 8
[ExifIFD]       0x9203 Brightness Value                : -2.959375
[ExifIFD]       0x9204 Exposure Compensation           : 0
[ExifIFD]       0x9205 Max Aperture Value              : 4.0
[ExifIFD]       0x9207 Metering Mode                   : Spot
[ExifIFD]       0x9208 Light Source                    : Unknown
[ExifIFD]       0x9209 Flash                           : Off, Did not fire
[ExifIFD]       0x920a Focal Length                    : 103.0 mm
[ExifIFD]       0x9286 User Comment                    : Alt-Reiickendorf 35, Museum Reinickendorf.Gebäude mit Wohnraum und Stall, Kochstelle
[ExifIFD]       0x9290 Sub Sec Time                    : 596
[ExifIFD]       0x9291 Sub Sec Time Original           : 596
[ExifIFD]       0x9292 Sub Sec Time Digitized          : 596
[ExifIFD]       0xa000 Flashpix Version                : 0100
[ExifIFD]       0xa001 Color Space                     : Uncalibrated
[ExifIFD]       0xa300 File Source                     : Digital Camera
[ExifIFD]       0xa301 Scene Type                      : Directly photographed
[ExifIFD]       0xa401 Custom Rendered                 : Normal
[ExifIFD]       0xa402 Exposure Mode                   : Auto
[ExifIFD]       0xa403 White Balance                   : Auto
[ExifIFD]       0xa404 Digital Zoom Ratio              : 1
[ExifIFD]       0xa405 Focal Length In 35mm Format     : 103 mm
[ExifIFD]       0xa406 Scene Capture Type              : Standard
[ExifIFD]       0xa408 Contrast                        : Normal
[ExifIFD]       0xa409 Saturation                      : Normal
[ExifIFD]       0xa40a Sharpness                       : Normal
[ExifIFD]       0xa432 Lens Info                       : 24-105mm f/4
[ExifIFD]       0xa434 Lens Model                      : FE 24-105mm F4 G OSS
[ExifIFD]       0xa460 Composite Image                 : Unknown
[Sony]          0x0004 Ambient Temperature             : 18 C
[Sony]          0x0016 Focus Mode                      : AF-S
[Sony]          0x0017 AF Area Mode                    : Expanded Flexible Spot
[Sony]          0x002d Focus Position 2                : 158
[Sony]          0x0102 Quality                         : RAW
[Sony]          0x0104 Flash Exposure Compensation     : 0
[Sony]          0x0112 White Balance Fine Tune         : 0
[Sony]          0x0115 White Balance                   : Auto
[Sony]          0x2002 Rating                          : 0
[Sony]          0x2004 Contrast                        : 0
[Sony]          0x2005 Saturation                      : 0
[Sony]          0x2006 Sharpness                       : +4
[Sony]          0x2007 Brightness                      : 0
[Sony]          0x2008 Long Exposure Noise Reduction   : Off
[Sony]          0x2009 High ISO Noise Reduction        : Off
[Sony]          0x200a HDR                             : Off; Uncorrected image
[Sony]          0x200b Multi Frame Noise Reduction     : Off
[Sony]          0x200e Picture Effect                  : Off
[Sony]          0x200f Soft Skin Effect                : Off
[Sony]          0x2011 Vignetting Correction           : Auto
[Sony]          0x2012 Lateral Chromatic Aberration    : Auto
[Sony]          0x2013 Distortion Correction Setting   : Auto
[Sony]          0x2014 WB Shift AB GM                  : 0 0
[Sony]          0x2016 Auto Portrait Framed            : No
[Sony]          0x2017 Flash Action                    : Did not fire
[Sony]          0x201a Electronic Front Curtain Shutter: Off
[Sony]          0x201b Focus Mode                      : AF-S
[Sony]          0x201c AF Area Mode Setting            : Expanded Flexible Spot
[Sony]          0x201d Flexible Spot Position          : 320 240
[Sony]          0x201e AF Point Selected               : n/a
[Sony]          0x2020 AF Points Used                  : (none)
[Sony]          0x2021 AF Tracking                     : Off
[Sony]          0x2023 Multi Frame NR Effect           : Normal
[Sony]          0x2026 WB Shift AB GM Precise          : 0.00 0.00
[Sony]          0x2027 Focus Location                  : 7008 4672 3504 2336
[Sony]          0x2028 Variable Low Pass Filter        : n/a
[Sony]          0x2029 RAW File Type                   : Compressed RAW
[Sony]          0x0001 Focal Plane AF Points Used      : 0
[Sony]          0x202b Priority Set In AWB             : Standard
[Sony]          0x202c Metering Mode 2                 : Spot (Large)
[Sony]          0x202d Exposure Standard Adjustment    : 0
[Sony]          0x202e Quality                         : RAW
[Sony]          0x202f Pixel Shift Info                : n/a
[Sony]          0x2032 Shadows                         : 0
[Sony]          0x2033 Highlights                      : 0
[Sony]          0x2034 Fade                            : 0
[Sony]          0x2035 Sharpness Range                 : +3
[Sony]          0x2036 Clarity                         : +1
[Sony]          0x2037 Focus Frame Size                : 832x740
[Sony]          0x2039 JPEG-HEIF Switch                : n/a
[Sony]          0x0000 Hidden Data Offset              : 139264
[Sony]          0x0001 Hidden Data Length              : 53248
[Sony]          0x0026 Shutter                         : Silent / Electronic (0 0 0)
[Sony]          0x0039 Flash Status                    : No Flash present
[Sony]          0x003a Shutter Count                   : 1138
[Sony]          0x0046 Sony Exposure Time              : 1/26
[Sony]          0x0048 Sony F Number                   : 4.0
[Sony]          0x004b Release Mode 2                  : Normal
[Sony]          0x0050 Shutter Count 2                 : 1138
[Sony]          0x0066 Sony Exposure Time              : 1/26
[Sony]          0x0068 Sony F Number                   : 4.0
[Sony]          0x006b Release Mode 2                  : Normal
[Sony]          0x0088 Internal Serial Number          : 8aff00000d09
[Sony]          0x0009 Release Mode 2                  : Normal
[Sony]          0x0012 Sequence Image Number           : 1
[Sony]          0x0016 Sequence Length                 : 1 shot
[Sony]          0x001a Sequence File Number            : 1
[Sony]          0x001e Sequence Length                 : 1 file
[Sony]          0x0029 Camera Orientation              : Horizontal (normal)
[Sony]          0x002a Quality 2                       : RAW
[Sony]          0x0000 ISO Setting                     : Unknown (255)
[Sony]          0x0002 ISO Auto Min                    : Auto
[Sony]          0x0004 ISO Auto Max                    : Auto
[Sony]          0x0005 Battery Temperature             : 26.7 C
[Sony]          0x0007 Battery Level                   : 16%
[Sony]          0x0008 Lens Mount 2                    : E-mount
[Sony]          0x0009 Lens Type 3                     : Sony FE 24-105mm F4 G OSS
[Sony]          0x000b Camera E-mount Version          : 1.80
[Sony]          0x000d Lens E-mount Version            : 1.60
[Sony]          0x0014 Lens Firmware Version           : Ver.02.000
[Sony]          0x0004 Sony ISO                        : 12800
[Sony]          0x0006 Stops Above Base ISO            : 7.0
[Sony]          0x000a Sony Exposure Time 2            : 1/26
[Sony]          0x000c Exposure Time                   : 1/25
[Sony]          0x0010 Sony F Number 2                 : 4.0
[Sony]          0x0012 Sony Max Aperture Value         : 4.0
[Sony]          0x001d Sequence Image Number           : 1
[Sony]          0x002b Release Mode 2                  : Normal
[Sony]          0x0035 Exposure Program                : Program AE
[Sony]          0x0037 Creative Style                  : Standard
[Sony]          0x0048 Lens Mount                      : E-mount
[Sony]          0x0049 Lens Format                     : Full-frame
[Sony]          0x004a Lens Mount                      : E-mount
[Sony]          0x004b Lens Type 2                     : Sony FE 24-105mm F4 G OSS
[Sony]          0x004f Distortion Corr Params          : 2 4 14 32 56 88 128 176 232 294 364 442 530 626 730 842
[Sony]          0x0070 Picture Profile                 : Gamma Still - Standard/Neutral (PP2)
[Sony]          0x0071 Focal Length                    : 103.0 mm
[Sony]          0x0073 Min Focal Length                : 24.0 mm
[Sony]          0x0075 Max Focal Length                : 105.0 mm
[Sony]          0x0891 Vignetting Corr Params          : 0 128 320 576 896 1344 1888 2432 3008 3488 4096 5120 6400 7936 9696 11392
[Sony]          0x08b7 APS-C Size Capture              : Off
[Sony]          0x0916 Chromatic Aberration Corr Params: -484 -454 -448 -460 -498 -564 -634 -666 -690 -714 -740 -770 -788 -768 -702 -660 23 -19 -51 -72 -84 -81 -76 -83 -86 -68 -45 -22 -9 -13 -42 -54
[Sony]          0xb000 File Format                     : ARW 5.0.1
[Sony]          0xb001 Sony Model ID                   : ILCE-7M4
[Sony]          0xb020 Creative Style                  : Standard
[Sony]          0xb021 Color Temperature               : Auto
[Sony]          0xb022 Color Compensation Filter       : 0
[Sony]          0xb023 Scene Mode                      : Standard
[Sony]          0xb024 Zone Matching                   : ISO Setting Used
[Sony]          0xb025 Dynamic Range Optimizer         : Standard
[Sony]          0xb026 Image Stabilization             : On
[Sony]          0xb027 Lens Type                       : E-Mount, T-Mount, Other Lens or no lens
[Sony]          0xb029 Color Mode                      : Standard
[Sony]          0xb02a Lens Spec                       : FE 24-105mm F4 G OSS
[Sony]          0xb02b Full Image Size                 : 7008x4672
[Sony]          0xb02c Preview Image Size              : 1616x1080
[Sony]          0xb041 Exposure Mode                   : Program AE
[Sony]          0xb048 Flash Level                     : Normal
[Sony]          0xb049 Release Mode                    : Normal
[Sony]          0xb04a Sequence Number                 : Single
[Sony]          0xb04b Anti-Blur                       : On (Shooting)
[Sony]          0xb052 Intelligent Auto                : Off
[Sony]          0xb054 White Balance                   : Auto
[InteropIFD]    0x0001 Interoperability Index          : R98 - DCF basic file (sRGB)
[InteropIFD]    0x0002 Interoperability Version        : 0100
[PrintIM]            - PrintIM Version                 : 0300
[Composite]          - Aperture                        : 4.0
[Composite]          - Image Size                      : 7040x4688
[Composite]          - Lens ID                         : Sony FE 24-105mm F4 G OSS
[Composite]          - Megapixels                      : 33.0
[Composite]          - Scale Factor To 35 mm Equivalent: 1.0
[Composite]          - Shutter Speed                   : 1/25
[Composite]          - Create Date                     : 2026:04:24 09:39:45.596+02:00
[Composite]          - Date/Time Original              : 2026:04:24 09:39:49.596+02:00
[Composite]          - Modify Date                     : 2026:05:03 11:41:06.596+02:00
[Composite]          - Focus Distance 2                : 3.125 m
[Composite]          - Circle Of Confusion             : 0.030 mm
[Composite]          - Field Of View                   : 19.8 deg
[Composite]          - Focal Length 35mm Equiv         : 103.0 mm (35 mm equivalent: 103.0 mm)
[Composite]          - Hyperfocal Distance             : 88.27 m
[Composite]          - Light Value                     : 1.6

Oh! I was thinking it was just me. I’m a Sony man too, A7m4: I wonder if there could be a connection.

dt had no problem importing the dng and displaying the thumbnail in lighttable, but it wouldn’t open in darkroom.

Currently rebuilding nightly. … Same result.

This is what I am seeing with --d ai

 23.0725 [rawspeed] A7407127_raw-denoise.dng corrupt: rawspeed::RawImage rawspeed::RawDecoder::decodeRaw(), line 334: rawspeed::TiffEntry* rawspeed::TiffIFD::getEntry(rawspeed::TiffTag) const, line 316: Entry 0x828d not found.
    23.1174 [rawspeed] A7407127_raw-denoise.dng corrupt: rawspeed::RawImage rawspeed::RawDecoder::decodeRaw(), line 334: rawspeed::TiffEntry* rawspeed::TiffIFD::getEntry(rawspeed::TiffTag) const, line 316: Entry 0x828d not found.

I will try running the denoise again.

What cli debug options are you using to get most useful messages?