darktable crashes in lighttable with certain camera model

Hi, I recently updated to Linux Mint 22.3 and installed darktable 5.4.1 (I had 4.8 or 5.0 as my latest version before).
Now I have 1) overall problems with the speed in darktable, everything is really slow especially in the lighttable mode - for that I wanted to look at the manual as there are some tips for optimizing Open Cl (which is activated), but had no time yet.
But worse is 2) that with a certain camera model (Leica M10 Monochrome) darktable crashes always when I want to zoom in. For example I am going through a set of newly imported pictures in Full mode and want to zoom in to better be able to rate it, lighttable freezes and then crashes. No matter whether I zoom in with scrolling or the mousewheel. If I change in the darkroom mode, zooming is ok. With my husbands camera, a Leica M10 R, which has the same sensor size (I first thought the big data is a problem) zooming is no problem, as with my Nikon DSLR.
Has someone an idea what might cause the problem?

Both of your problems have not been reported - so I suspect an issue on your specific configuration.

If you have OpenCL activated what is your device?

Any more data would help.

1 Like

Hi Pascal, thanks for replying!
I am not sure what information you need so I copied the systeminformations in here.
and on the next page it says that OpenGL; Open GL ES and Vulkan is activated.
Does that help?

System:
  Kernel: 6.17.0-14-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: tsc
  Desktop: Cinnamon v: 6.6.7 tk: GTK v: 3.24.41 wm: Muffin v: 6.6.3 vt: 7 dm: LightDM v: 1.30.0
    Distro: Linux Mint 22.3 Zena base: Ubuntu 24.04 noble
Machine:
  Type: Desktop System: Hyrican Informationssysteme AG product: Hyrican PC H610M S2H DDR4 v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: H610M S2H DDR4 serial: <superuser required> part-nu: H610M S2H DDR4
    uuid: <superuser required> BIOS: American Megatrends LLC. v: FE YG date: 03/15/2022
CPU:
  Info: 12-core (8-mt/4-st) model: 12th Gen Intel Core i7-12700F bits: 64 type: MST AMCP
    smt: enabled arch: Alder Lake rev: 2 cache: L1: 1024 KiB L2: 12 MiB L3: 25 MiB
  Speed (MHz): avg: 2158 high: 4700 min/max: 800/4800:4900:3600 cores: 1: 4700 2: 800 3: 800
    4: 800 5: 800 6: 800 7: 800 8: 4695 9: 4683 10: 4700 11: 4700 12: 4694 13: 4600 14: 800 15: 800
    16: 800 17: 800 18: 800 19: 800 20: 800 bogomips: 84480
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3060 Ti Lite Hash Rate] vendor: ZOTAC driver: nvidia
    v: 590.48.01 arch: Ampere pcie: speed: 16 GT/s lanes: 16 ports: active: none off: DP-1
    empty: DP-2,DP-3,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:2489 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa gpu: nv_platform,nvidia,nvidia-nvswitch display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 192 s-size: 254x143mm (10.00x5.63") s-diag: 291mm (11.48")
  Monitor-1: DP-1 mapped: DP-0 note: disabled model: EIZO NANAO EV3237 serial: <filter>
    res: 1920x1080 hz: 60 dpi: 70 size: 697x392mm (27.44x15.43") diag: 806mm (31.7") modes:
    max: 3840x2160 min: 640x480
  API: EGL v: 1.5 hw: drv: nvidia platforms: gbm: drv: nvidia
  API: OpenGL v: 4.6.0 vendor: nvidia v: 590.48.01 glx-v: 1.4 direct-render: yes renderer: NVIDIA
    GeForce RTX 3060 Ti/PCIe/SSE2
  API: Vulkan v: 1.3.275 layers: 5 surfaces: xcb,xlib device: 0 type: discrete-gpu driver: N/A
    device-ID: 10de:2489 device: 1 type: cpu driver: N/A device-ID: 10005:0000
Audio:
  Device-1: Intel Alder Lake-S HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3 chip-ID: 8086:7ad0 class-ID: 0403
  Device-2: NVIDIA GA104 High Definition Audio vendor: ZOTAC driver: snd_hda_intel v: kernel
    pcie: speed: 16 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:228b class-ID: 0403
  API: ALSA v: k6.17.0-14-generic status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Realtek RTL8812AE 802.11ac PCIe Wireless Network Adapter driver: rtl8821ae v: kernel
    pcie: speed: 2.5 GT/s lanes: 1 port: 4000 bus-ID: 02:00.0 chip-ID: 10ec:8812 class-ID: 0280
  IF: wlp2s0 state: down mac: <filter>
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet vendor: Gigabyte
    driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 03:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 2.05 TiB used: 1.43 TiB (69.7%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WD Blue SN570 1TB size: 931.51 GiB
    speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter> fw-rev: 234100WD temp: 36.9 C scheme: GPT
  ID-2: /dev/sda vendor: Micron model: M510 MTFDDAK128MAZ size: 119.24 GiB speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: MU01 scheme: GPT
  ID-3: /dev/sdb vendor: SanDisk model: SDSSDP128G size: 117.38 GiB speed: 6.0 Gb/s tech: SSD
    serial: <filter> scheme: GPT
  ID-4: /dev/sdc vendor: Toshiba model: DT01ACA100 size: 931.51 GiB speed: 6.0 Gb/s tech: HDD
    rpm: 7200 serial: <filter> fw-rev: A750 scheme: GPT
Partition:
  ID-1: / size: 114.48 GiB used: 26.35 GiB (23.0%) fs: ext4 dev: /dev/sdb3
  ID-2: /boot/efi size: 512 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/sdb2
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 16 rev: 2.0 speed: 480 Mb/s lanes: 1
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-1:3 info: Sunplus Innovation Gaming mouse [Philips SPK9304] type: mouse
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s lanes: 1 power: 98mA
    chip-ID: 1bcf:08a0 class-ID: 0301
  Hub-2: 1-9:2 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s lanes: 1 power: 100mA
    chip-ID: 05e3:0608 class-ID: 0900
  Hub-3: 2-0:1 info: super-speed hub ports: 4 rev: 3.1 speed: 20 Gb/s lanes: 2 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 34.0 C mobo: 31.0 C gpu: nvidia temp: 31 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 33%
Repos:
  Packages: pm: dpkg pkgs: 2272
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/graphics:darktable.list
    1: deb http: //download.opensuse.org/repositories/graphics:/darktable/xUbuntu_24.04/ /
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com zena main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu noble main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu noble-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu noble-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
Info:
  Memory: total: 16 GiB available: 15.46 GiB used: 3.73 GiB (24.1%)
  Processes: 394 Power: uptime: 1h 21m states: freeze,mem,disk suspend: deep wakeups: 0
    hibernate: platform Init: systemd v: 255 target: graphical (5) default: graphical
  Compilers: gcc: 13.3.0 Client: Unknown python3.12 client inxi: 3.3.34
1 Like

I just see that one speed problem ( =rating with stars was very slow) I had the last days has improved now

Would be better to have the output of darktable-cltest.

I put this command in the terminal and that is what I get:
darktable 5.4.1
Copyright (C) 2012-2026 Johannes Hanika and other contributors.

Compile options:
Bit depth β†’ 64 bit
Exiv2 β†’ 0.27.6
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 β†’ DISABLED
libheif β†’ ENABLED
libjxl β†’ ENABLED
LibRaw β†’ ENABLED - Version 0.22.0-Release
OpenJPEG β†’ ENABLED
OpenEXR β†’ ENABLED
WebP β†’ ENABLED

See resources | darktable for detailed documentation.
See Sign in to GitHub Β· GitHub to report bugs.

 0,4733 [dt_dlopencl_init] could not find default opencl runtime library 'libOpenCL'
 0,4733 [dt_dlopencl_init] could not find default opencl runtime library 'libOpenCL.so'
 0,4734 [opencl_init] opencl library 'libOpenCL.so.1' found on your system and loaded, preference 'default path'
 0,7963 [opencl_init] found 1 platform

[opencl_init] found 1 device

[dt_opencl_device_init]
DEVICE: 0: β€˜NVIDIA GeForce RTX 3060 Ti’
CONF KEY: cldevice_v5_nvidiacudanvidiageforcertx3060ti
PLATFORM, VENDOR & ID: NVIDIA CUDA, NVIDIA Corporation, ID=4318
CANONICAL NAME: nvidiacudanvidiageforcertx3060ti
DRIVER VERSION: 590.48.01
DEVICE VERSION: OpenCL 3.0 CUDA, SM_20 SUPPORT
DEVICE_TYPE: GPU, dedicated mem
GLOBAL MEM SIZE: 7842 MB
MAX MEM ALLOC: 1960 MB
MAX IMAGE SIZE: 32768 x 32768
MAX CONSTANT BUFFER: 64 KB
ADDRESS ALIGN: 512
COMPUTE UNITS: 38
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/hyrican/.cache/darktable/cached_v5_kernels_for_NVIDIACUDANVIDIAGeForceRTX3060Ti_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,3592 sec
[opencl_init] OpenCL successfully initialized. internal numbers and names of available devices:
[opencl_init] 0 β€˜NVIDIA CUDA NVIDIA GeForce RTX 3060 Ti’
1,2819 [opencl_init] FINALLY: opencl PREFERENCE=ON is AVAILABLE and ENABLED.
[opencl_init] opencl_scheduling_profile: β€˜default’
[opencl_init] opencl_device_priority: β€˜/!0,///!0,*’
[opencl_init] opencl_mandatory_timeout: 1000
[opencl_update_priorities] these are your device priorities:
[opencl_update_priorities] image preview export thumbs preview2
[dt_opencl_update_priorities] 0 -1 0 0 -1
[opencl_update_priorities] show if opencl use is mandatory for a given pixelpipe:
[opencl_update_priorities] image preview export thumbs preview2
[opencl_update_priorities] 0 0 0 0 0
[opencl_synchronization_timeout] synchronization timeout set to 200
[opencl_update_priorities] these are your device priorities:
[opencl_update_priorities] image preview export thumbs preview2
[dt_opencl_update_priorities] 0 -1 0 0 -1
[opencl_update_priorities] show if opencl use is mandatory for a given pixelpipe:
[opencl_update_priorities] image preview export thumbs preview2
[opencl_update_priorities] 0 0 0 0 0
[opencl_synchronization_timeout] synchronization timeout set to 200