Darktable performance is affected when I select AMaZE
or AMaZE + VNG4
demosaic algorithm, making several darktable operations slow.
- Opening pictures in lighttable moving to darktable (if picture use AMaZE) is slow
- Toggle gamut check is slow
- Toggle clipping indication is slow.
I know from documentation that:
**Note:** The performance of the demosaic algorithms differs significantly, *AMaZE* being by far the slowest.
However I also notice when running darktable that AMaZE demosaic never use my GPU only CPU.
Entering darktable and executing toggle gamut check
with AMaZE selected, I get only CPU:
./darktable -d perf | grep demosaic
[dev_pixelpipe] took 1.254 secs (9.626 CPU) [full] processed `demosaic' on CPU, blended on CPU
Entering darktable and executing toggle gamut check
with RCD selected I get GPU:
./darktable -d perf | grep demosaic
[dev_pixelpipe] took 0.098 secs (0.074 CPU) [full] processed `demosaic' on GPU, blended on GPU
This makes opening pictures in lighttable moving to darktable, switching to next picture (if also AMaZE), toggle gamut check and toggle clipping indication slow, when AMaZE is selected.
Is this intended? I mean neither release-4.2.0 nor git master code executes AMaZE demosaic on my GPU (whilst RCD is fine running on GPU all the time). Is it so that focus is on RCD, since that is default and it has never been intended to let AMaZE run on GPU? Is it planned to allow AMaZE to run on GPU in future (feature), or is this a bug?
I compile from git source in this system:
-
OS : Linux debian 5.10.0-21-amd64 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
-
Linux - Distro : Debian 11.6
-
Memory : 16 GB
-
Graphics card : NVIDIA Corporation TU104GL [Quadro RTX 4000]
-
Graphics driver : Nvidia Driver Version: 470.161.03
-
OpenCL installed : Yes, OpenCL 3.0 CUDA 11.4.309
-
OpenCL activated : Yes
-
Xorg : X11
-
Desktop : Gnome 3.38.5
-
GTK+ : 3.24.24
-
gcc : gcc (GCC) 12.2.0
-
cflags :
-
CMAKE_BUILD_TYPE : release.