Skip to content

ui slowdown appimage vs repository version #20270

@shrippen

Description

@shrippen

Is there an existing issue for this?

  • I checked and did not find my issue in the already reported ones

Describe the bug

I am running on Arch(EndeavourOS) with the version provided in the arch repositories. The 5.4 version shows noticably slower UI when interacting with the UI. It is especially noticable when opening modules, moving sliders and pressing middle mouse button to zoom to 100%. I can visibly see the shifting and resizing of ui elements where I didn't notice that before. When testing different versions I also tested the appimage provided by darktable.

The appimage version is still the same speed as before! It also still shows regular borders (same border decoration as all other windows on my system) where the flathub and arch repositorie version show new window border decoration (gtk vs qt? not my expertise).

Steps to reproduce

Install via arch repository and run

run via appimage

Expected behavior

No response

Logfile | Screenshot | Screencast

Output of darktable -d common for the reposity version:

darktable 5.4.0
Copyright (C) 2012-2025 Johannes Hanika and other contributors.

Compile options:
  Bit depth              -> 64 bit
  Exiv2                  -> 0.28.7
  Lensfun                -> 0.3.4
  Debug                  -> DISABLED
  SSE2 optimizations     -> ENABLED
  OpenMP                 -> ENABLED
  OpenCL                 -> ENABLED
  Lua                    -> ENABLED  - API version 9.6.0
  Colord                 -> ENABLED
  gPhoto2                -> ENABLED
  OSMGpsMap              -> ENABLED  - map view is available
  GMIC                   -> ENABLED  - Compressed LUTs are supported
  GraphicsMagick         -> ENABLED
  ImageMagick            -> DISABLED
  libavif                -> ENABLED
  libheif                -> ENABLED
  libjxl                 -> ENABLED
  LibRaw                 -> ENABLED  - Version 0.22.0-PreRC1
  OpenJPEG               -> ENABLED
  OpenEXR                -> ENABLED
  WebP                   -> ENABLED

See https://www.darktable.org/resources/ for detailed documentation.
See https://github.com/darktable-org/darktable/issues/new/choose to report bugs.

     0.0001 [dt starting]
 /usr/bin/darktable -d common
     0.0002 application_directory: /usr/bin
     0.0002 darktable.datadir: /usr/share/darktable
     0.0002 darktable.plugindir: /usr/lib/darktable
     0.0002 darktable.localedir: /usr/share/locale
     0.0003 darktable.sharedir: /usr/share
     0.0003 darktable.configdir: /home/arian/.config/darktable
     0.0003 darktable.cachedir: /home/arian/.cache/darktable
     0.0003 darktable.tmpdir: /tmp
     0.0003 new_xdg_data_dirs: (null)
     0,8021 [dt_worker_threads] using 7 worker threads
     1,6229 [dt_configure_runtime_performance] found a sufficient 64-bit system with 64114 Mb ram and 24 cores
     1,6230 [dt_get_sysresource_level] switched to `large'
     1,6230   total mem:       64114MB
     1,6230   available mem:   43827MB
     1,6230   singlebuff:      1001MB
     1,6230   mipmap cache:    8014MB
     1,6716 [opencl_init] opencl library 'libOpenCL' found on your system and loaded, preference 'default path'
     1,8567 [opencl_init] found 1 platform
     1,8567 [dt_worker_threads] using 7 worker threads
[opencl_init] found 1 device

[dt_opencl_device_init]
   DEVICE:                   0: 'NVIDIA GeForce RTX 3090'
   CONF KEY:                 cldevice_v5_nvidiacudanvidiageforcertx3090
   PLATFORM, VENDOR & ID:    NVIDIA CUDA, NVIDIA Corporation, ID=4318
   CANONICAL NAME:           nvidiacudanvidiageforcertx3090
   DRIVER VERSION:           590.48.01
   DEVICE VERSION:           OpenCL 3.0 CUDA, SM_20 SUPPORT
   DEVICE_TYPE:              GPU, dedicated mem
   GLOBAL MEM SIZE:          24092 MB
   MAX MEM ALLOC:            6023 MB
   MAX IMAGE SIZE:           32768 x 32768
   MAX CONSTANT BUFFER:      64 KB
   ADDRESS ALIGN:            512
   MAX WORK GROUP SIZE:      1024
   MAX WORK ITEM DIMENSIONS: 3
   MAX WORK ITEM SIZES:      [ 1024 1024 64 ]
   ASYNC PIXELPIPE:          NO
   PINNED MEMORY TRANSFER:   NO
   AVOID ATOMICS:            NO
   MICRO NAP:                250
   ROUNDUP WIDTH & HEIGHT    16x16
   CHECK EVENT HANDLES:      128
   TILING ADVANTAGE:         0,000
   DEFAULT DEVICE:           NO
   KERNEL BUILD DIRECTORY:   /usr/share/darktable/kernels
   KERNEL DIRECTORY:         /home/arian/.cache/darktable/cached_v5_kernels_for_NVIDIACUDANVIDIAGeForceRTX3090_5904801
   CL COMPILER OPTION:       -cl-fast-relaxed-math
   CL COMPILER COMMAND:      -w -cl-fast-relaxed-math -DNVIDIA_SM_20=1 -DNVIDIA=1 -I"/usr/share/darktable/kernels"
   CL EXCEPTION:             DT_OPENCL_ONLY_CUDA
   KERNEL LOADING TIME:       0,0295 sec
[opencl_init] OpenCL successfully initialized. internal numbers and names of available devices:
[opencl_init]           0       'NVIDIA CUDA NVIDIA GeForce RTX 3090'
     2,0167 [opencl_init] FINALLY: opencl PREFERENCE=ON is AVAILABLE and ENABLED.
[opencl_init] opencl_scheduling_profile: 'very fast GPU'
[opencl_init] opencl_device_priority: '*/!0,*/*/*/!0,*'
[opencl_init] opencl_mandatory_timeout: 400
[opencl_update_priorities] these are your device priorities:
[opencl_update_priorities]              image   preview export  thumbs  preview2
[dt_opencl_update_priorities]           0       0       0       0       0
[opencl_update_priorities] show if opencl use is mandatory for a given pixelpipe:
[opencl_update_priorities]              image   preview export  thumbs  preview2
[opencl_update_priorities]              1       1       1       1       1
[opencl_synchronization_timeout] synchronization timeout set to 0
[opencl_update_priorities] these are your device priorities:
[opencl_update_priorities]              image   preview export  thumbs  preview2
[dt_opencl_update_priorities]           0       0       0       0       0
[opencl_update_priorities] show if opencl use is mandatory for a given pixelpipe:
[opencl_update_priorities]              image   preview export  thumbs  preview2
[opencl_update_priorities]              1       1       1       1       1
[opencl_synchronization_timeout] synchronization timeout set to 0
     5,0541 [lib_load_module] failed to open `midi': libportmidi.so.2: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
    12,8083 Session fullpipe cache report. hits/run=0,00, hits/test=0,000
 [opencl_summary_statistics] device 'NVIDIA CUDA NVIDIA GeForce RTX 3090' id=0: NOT utilized

-d common output for the appimage version

darktable 5.4.0
Copyright (C) 2012-2025 Johannes Hanika and other contributors.

Compile options:
  Bit depth              -> 64 bit
  Exiv2                  -> 0.28.7
  Lensfun                -> 0.3.2
  Debug                  -> DISABLED
  SSE2 optimizations     -> ENABLED
  OpenMP                 -> ENABLED
  OpenCL                 -> ENABLED
  Lua                    -> ENABLED  - API version 9.6.0
  Colord                 -> ENABLED
  gPhoto2                -> ENABLED
  OSMGpsMap              -> ENABLED  - map view is available
  GMIC                   -> ENABLED  - Compressed LUTs are supported
  GraphicsMagick         -> ENABLED
  ImageMagick            -> DISABLED
  libavif                -> ENABLED
  libheif                -> ENABLED
  libjxl                 -> ENABLED
  LibRaw                 -> ENABLED  - Version 0.22.0-PreRC1
  OpenJPEG               -> ENABLED
  OpenEXR                -> ENABLED
  WebP                   -> ENABLED

See https://www.darktable.org/resources/ for detailed documentation.
See https://github.com/darktable-org/darktable/issues/new/choose to report bugs.

     0.0015 [dt starting]
 /tmp/.mount_DarktaEEhpdN/usr/bin/darktable -d common
     0.0027 application_directory: /tmp/.mount_DarktaEEhpdN/usr/bin
     0.0032 darktable.datadir: /tmp/.mount_DarktaEEhpdN/usr/share/darktable
     0.0033 darktable.plugindir: /tmp/.mount_DarktaEEhpdN/usr/lib/x86_64-linux-gnu/darktable
     0.0034 darktable.localedir: /tmp/.mount_DarktaEEhpdN/usr/share/locale
     0.0034 darktable.sharedir: /tmp/.mount_DarktaEEhpdN/usr/share
     0.0039 darktable.configdir: /home/arian/.config/darktable
     0.0039 darktable.cachedir: /home/arian/.cache/darktable
     0.0039 darktable.tmpdir: /tmp
     0.0040 new_xdg_data_dirs: (null)
/tmp/.mount_DarktaEEhpdN/usr/bin/../lib/libcrypto.so.3: version `OPENSSL_3.3.0' not found (required by /usr/lib/libssl.so.3)
Failed to load module: /tmp/.mount_DarktaEEhpdN/usr/lib/gio/modules/libgiolibproxy.so
Gtk-Message: 18:09:02.694: Failed to load module "colorreload-gtk-module"
Gtk-Message: 18:09:02.694: Failed to load module "window-decorations-gtk-module"
Fontconfig warning: using without calling FcInit()
     0,6755 [dt_worker_threads] using 7 worker threads
     1,4972 [dt_configure_runtime_performance] found a sufficient 64-bit system with 64114 Mb ram and 24 cores
     1,4972 [dt_get_sysresource_level] switched to `large'
     1,4972   total mem:       64114MB
     1,4972   available mem:   43827MB
     1,4972   singlebuff:      1001MB
     1,4972   mipmap cache:    8014MB
     1,5211 [opencl_init] opencl library 'libOpenCL' found on your system and loaded, preference 'default path'
     1,6618 [opencl_init] found 1 platform
[opencl_init] found 1 device

[dt_opencl_device_init]
   DEVICE:                   0: 'NVIDIA GeForce RTX 3090'
   CONF KEY:                 cldevice_v5_nvidiacudanvidiageforcertx3090
   PLATFORM, VENDOR & ID:    NVIDIA CUDA, NVIDIA Corporation, ID=4318
   CANONICAL NAME:           nvidiacudanvidiageforcertx3090
   DRIVER VERSION:           590.48.01
   DEVICE VERSION:           OpenCL 3.0 CUDA, SM_20 SUPPORT
   DEVICE_TYPE:              GPU, dedicated mem
   GLOBAL MEM SIZE:          24092 MB
   MAX MEM ALLOC:            6023 MB
   MAX IMAGE SIZE:           32768 x 32768
   MAX CONSTANT BUFFER:      64 KB
   ADDRESS ALIGN:            512
   MAX WORK GROUP SIZE:      1024
   MAX WORK ITEM DIMENSIONS: 3
   MAX WORK ITEM SIZES:      [ 1024 1024 64 ]
   ASYNC PIXELPIPE:          NO
   PINNED MEMORY TRANSFER:   NO
   AVOID ATOMICS:            NO
   MICRO NAP:                250
   ROUNDUP WIDTH & HEIGHT    16x16
   CHECK EVENT HANDLES:      128
   TILING ADVANTAGE:         0,000
   DEFAULT DEVICE:           NO
     1,7655 [dt_worker_threads] using 7 worker threads
   KERNEL BUILD DIRECTORY:   /tmp/.mount_DarktaEEhpdN/usr/share/darktable/kernels
   KERNEL DIRECTORY:         /home/arian/.cache/darktable/cached_v5_kernels_for_NVIDIACUDANVIDIAGeForceRTX3090_5904801
   CL COMPILER OPTION:       -cl-fast-relaxed-math
   CL COMPILER COMMAND:      -w -cl-fast-relaxed-math -DNVIDIA_SM_20=1 -DNVIDIA=1 -I"/tmp/.mount_DarktaEEhpdN/usr/share/darktable/kernels"
   CL EXCEPTION:             DT_OPENCL_ONLY_CUDA
   KERNEL LOADING TIME:       0,0369 sec
[opencl_init] OpenCL successfully initialized. internal numbers and names of available devices:
[opencl_init]           0       'NVIDIA CUDA NVIDIA GeForce RTX 3090'
     1,8277 [opencl_init] FINALLY: opencl PREFERENCE=ON is AVAILABLE and ENABLED.
[opencl_init] opencl_scheduling_profile: 'very fast GPU'
[opencl_init] opencl_device_priority: '*/!0,*/*/*/!0,*'
[opencl_init] opencl_mandatory_timeout: 400
[opencl_update_priorities] these are your device priorities:
[opencl_update_priorities]              image   preview export  thumbs  preview2
[dt_opencl_update_priorities]           0       0       0       0       0
[opencl_update_priorities] show if opencl use is mandatory for a given pixelpipe:
[opencl_update_priorities]              image   preview export  thumbs  preview2
[opencl_update_priorities]              1       1       1       1       1
[opencl_synchronization_timeout] synchronization timeout set to 0
[opencl_update_priorities] these are your device priorities:
[opencl_update_priorities]              image   preview export  thumbs  preview2
[dt_opencl_update_priorities]           0       0       0       0       0
[opencl_update_priorities] show if opencl use is mandatory for a given pixelpipe:
[opencl_update_priorities]              image   preview export  thumbs  preview2
[opencl_update_priorities]              1       1       1       1       1
[opencl_synchronization_timeout] synchronization timeout set to 0
    12,6819 Session fullpipe cache report. hits/run=0,00, hits/test=0,000
 [opencl_summary_statistics] device 'NVIDIA CUDA NVIDIA GeForce RTX 3090' id=0: NOT utilized

Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

5.4.0

What OS are you using?

Linux

What is the version of your OS?

EndeavourOS

Describe your system

OS: EndeavourOS x86_64
Kernel: Linux 6.18.1-arch1-2
Uptime: 8 hours, 28 mins
DE: KDE Plasma 6.5.5
WM: KWin (Wayland)
CPU: AMD Ryzen 9 3900X (24) @ 4.67 GHz
GPU: NVIDIA GeForce RTX 3090 [Discrete]
Memory: 48.03 GiB / 62.61 GiB (77%)

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

NVIDIA GeForce RTX 3090 nvidia-open-dkms 590.48.01-2

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: upstreamhe bug needs a fix outside of the scope of darktable, in an external lib or in a driver

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions