Z5 ii noise profile creation problems

Hey everyone,

Since I already own the Z5 ii, I decided to finally get to work and create the noise profiles for darktable, using this tutorial. However, I ran into a problem during the compilation of dt from source and I have no idea how to solve it… do I need to run this from somewhere else or…?

The command:

I’m running Ubuntu 24.04.3 on WSL (Windows 11)

at least for the OBS rpms we ship those tools in a package. and if you use the obs debs for ubuntu they also have a subpackage for darktable-tools-noise which should have all the tools you need. HTH

So… I tried to just install the .deb file hoping that would do it, but the /usr/lib/darktable/tools/ is still empty, so how do I install a subpackage?

That tutorial is missing a few steps, mainly the submodule part. GitHub - darktable-org/darktable: darktable is an open source photography workflow application and raw developer

1 Like

I built darktable from source (I think it was successful? The compilation threw no errors), but there’s still no noise tool:

image

image

Did I somehow miss the subpackage?
This is what I ran:

git clone --recurse-submodules --depth 1 https://github.com/darktable-org/darktable.git
cd darktable

git submodule update --init          <---(no output, I guess ok?)

./build.sh --prefix /opt/darktable --build-type Release --install --sudo

I think you need to compile with the build noise tool on as a flag. Check what are the flag options via --help in build.sh

The help doesn’t mention anything related to the noise tool:

xpizza@Dell-Vostro-15:~/darktable$ ./build.sh --help
build.sh [OPTIONS] [-- [additional cmake configuration options...]]

Options:
Installation:
   --prefix         <string>  Install directory prefix
                              (default: /opt/darktable)
   --sudo                     Use sudo when doing the install

Build:
   --build-dir      <string>  Building directory
                              (default: /home/xpizza/darktable/build)
   --build-type     <string>  Build type (Release, Debug, RelWithDebInfo)
                              (default: RelWithDebInfo)
   --build-generator <string> Build tool
                              (default: Unix Makefiles)

-j --jobs <integer>           Number of tasks
                              (default: number of CPUs)

   --asan                     Enable address sanitizer options
                              (default: disabled)

Actual actions:
   --skip-build               Configure but exit before building the binaries
                              (default: disabled)
   --install                  After building the binaries, install them
                              (default: disabled)

Cleanup actions:
   --clean-build              Clean build directory
   --clean-install            Clean install directory
   --clean-all                Clean both build and install directories
-f --force                    Force clean-build to perform removal
                              ignoring any errors

Additional cmake configuration options:
Options passed as is to the cmake configure command

Features:
By default cmake will enable the features it autodetects on the build machine.
Specifying the option on the command line forces the feature on or off.
All these options have a --disable-* equivalent.
    --enable-camera
    --enable-colord
    --enable-graphicsmagick
    --enable-imagemagick
    --enable-jxl
    --enable-kwallet
    --enable-libsecret
    --enable-lua
    --enable-mac_integration
    --enable-map
    --enable-opencl
    --enable-openexr
    --enable-openmp
    --enable-unity
    --enable-webp

Extra:
-h --help                Print help message

try -DBUILD_NOISE_TOOLS=ON

I reinstalled with the -DBUILD_NOISE_TOOLS=ON, but now the /usr/lib/darktable/tools/ directory is empty

Custom builds usually go to /use/local or /opt

This is what I found, identical situation as before:
image

Again, no noise tools:

EDIT:
nvm, found it :sweat_smile:
image

You haven’t run the install step then.

I have, I had an --install for the build.sh options when I ran it. Is that not it?

Also… huh? Why is it not there…

EDIT:
I forgot to take a shot at Hi 1.7… I took it and added it.

Should be, strange…

I wonder, would it be possible to do it using a supplied virtual machine with all the software installed? … that would make it a bit easier for the contributors. But I feel like my struggles with the darktable-noiseprofile tool are probably an anomaly and doesn’t justify making a vm for this purpose

I tried to repeat the install process on a Linux Mint laptop that’s laying around, but the same happened – darktable-noiseprofile nowhere to be found and darktable-gen-noiseprofile only exists in the directory where I have cloned darktable.

Alternatively, could anyone please generate the noise profile for me if I supply the images? I have no idea how to get this running or how others do it…

Unless the problem is in installing the submodules somewhere, I feel like it didn’t install what it should have.
Any way to verify this has worked? It doesn’t output anything so it should be good, but idk…
git submodule update --init

Hmm this might be it?


They are in the same directory and placed in /opt, which makes sense… I’ll try that once I take images at ISO 50, 64 and 80, 'cause of course I didn’t take those :crazy_face:

EDIT:
guys I think we’re cooking:

EDIT 2:
:bangbang:
time to check it and submit an issue on Github…

2 Likes

So… here’s a little before and after @ ISO 128,000

Can I load the presets.json somewhere (for the time being) so I wouldn’t have to launch DT from command line with the json file as argument?

You can edit your .desktop file for DT so it includes the json argument

1 Like

Genius, I didn’t think of that, works perfectly. I could even drag that into the taskbar – hopefully it doesn’t break. In the next update it won’t be needed, but for now it will be a lot easier.

Oh, and I almost forgot - thanks everyone for help!