DT 4.8 Hanging on Export

Running the new DT 4.8 from flatpack on Mint 21.3. I can get it to export one raw file but then the rest hang and never finish exporting. I then kill DT and start over to get another to export. Anyone else? Any ideas?

Start from the CLI with the option -d all and share the output here.

Here is some of the output:

tim@larry:~$ /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/darktable --file-forwarding org.darktable.Darktable -d all
darktable 4.8.0
Copyright (C) 2012-2024 Johannes Hanika and other contributors.

Compile options:
Bit depth → 64 bit
Debug → DISABLED
SSE2 optimizations → ENABLED
OpenMP → ENABLED
OpenCL → ENABLED
Lua → ENABLED - API version 9.3.0
Colord → ENABLED
gPhoto2 → ENABLED
GMIC → ENABLED - Compressed LUTs are supported
GraphicsMagick → ENABLED
ImageMagick → DISABLED
libavif → ENABLED
libheif → ENABLED
libjxl → ENABLED
OpenJPEG → ENABLED
OpenEXR → ENABLED
WebP → ENABLED

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

 0.0002 application_directory: /app/bin
 0.0003 darktable.datadir: /app/share/darktable
 0.0003 darktable.plugindir: /app/lib/darktable
 0.0003 darktable.localedir: /app/share/locale
 0.0004 darktable.configdir: /home/tim/.var/app/org.darktable.Darktable/config/darktable
 0.0004 darktable.cachedir: /home/tim/.var/app/org.darktable.Darktable/cache/darktable
 0.0004 darktable.sharedir: /app/share
 0.0004 darktable.tmpdir: /tmp
 0.0004 [memory] at startup
 0.0005 [memory] max address space (vmpeak):      133080 kB
        [memory] cur address space (vmsize):      133080 kB
        [memory] max used memory   (vmhwm ):       27648 kB
        [memory] cur used memory   (vmrss ):       27648 kB
 0.0005 new_xdg_data_dirs: (null)

Gtk-Message: 20:22:25.957: Failed to load module “xapp-gtk3-module”
0.0938 [init sql] library: /home/tim/.var/app/org.darktable.Darktable/config/darktable/library.db, data: /home/tim/.var/app/org.darktable.Darktable/config/darktable/data.db
0.1093 [sql] /run/build/darktable/src/common/tags.c:644, function dt_set_darktable_tags(): exec “DELETE FROM memory.darktable_tags”
0.1093 [sql] /run/build/darktable/src/common/tags.c:649, function dt_set_darktable_tags(): prepare “INSERT INTO memory.darktable_tags (tagid) SELECT DISTINCT id FROM data.tags WHERE name LIKE ‘darktable|%%’”
0.1103 [dt_worker_threads] using 6 worker threads
0.1114 [sql] /run/build/darktable/src/common/film.c:529, function dt_film_set_folder_status(): prepare “DELETE FROM memory.film_folder”
0.1114 [sql] /run/build/darktable/src/common/film.c:535, function dt_film_set_folder_status(): prepare “SELECT id, folder FROM main.film_rolls”
0.1114 [sql] /run/build/darktable/src/common/film.c:540, function dt_film_set_folder_status(): prepare “INSERT INTO memory.film_folder (id, status) VALUES (?1, ?2)”
0.1115 [dt_get_sysresource_level] switched to 2 as large' 0.1116 total mem: 128825MB 0.1116 mipmap cache: 16103MB 0.1116 available mem: 88064MB 0.1116 singlebuff: 2012MB 0.1116 [sql] /run/build/darktable/src/common/collection.c:889, function _dt_collection_compute_count(): prepare "SELECT COUNT(DISTINCT sel.id) FROM (SELECT mi.id, filename, version FROM main.images AS mi WHERE (flags & 256) != 256 AND (( (film_id IN (SELECT id FROM main.film_rolls WHERE folder LIKE '/home/tim/Desktop/20240621_Baseball/raw/selected'))) AND ( (1=1)))) AS sel ORDER BY filename, version ASC LIMIT ?1, ?2" 0.1120 [sql] /run/build/darktable/src/common/collection.c:920, function dt_collection_get_selected_count(): prepare "SELECT COUNT(*) FROM main.selected_images" 0.1120 [sql] /run/build/darktable/src/common/collection.c:954, function dt_collection_get(): prepare "SELECT mi.imgid FROM main.selected_images AS s JOIN memory.collected_images AS mi WHERE mi.imgid = s.imgid LIMIT -1, ?1" 0.1121 [sql] /run/build/darktable/src/common/collection.c:2674, function dt_collection_update_query(): prepare "DELETE FROM main.selected_images WHERE imgid NOT IN (SELECT DISTINCT sel.id FROM (SELECT mi.id, filename, version FROM main.images AS mi WHERE (flags & 256) != 256 AND (( (film_id IN (SELECT id FROM main.film_rolls WHERE folder LIKE '/home/tim/Desktop/20240621_Baseball/raw/selected'))) AND ( (1=1)))) AS sel ORDER BY filename, version ASC LIMIT ?1, ?2)" 0.1124 [sql] /run/build/darktable/src/common/collection.c:889, function _dt_collection_compute_count(): prepare "SELECT COUNT(DISTINCT sel.id) FROM (SELECT mi.id, filename, version FROM main.images AS mi WHERE (flags & 256) != 256 AND (( (film_id IN (SELECT id FROM main.film_rolls WHERE folder LIKE '/home/tim/Desktop/20240621_Baseball/raw/selected'))) AND ( (1=1)))) AS sel ORDER BY filename, version ASC" 0.1126 [sql] /run/build/darktable/src/common/collection.c:920, function dt_collection_get_selected_count(): prepare "SELECT COUNT(*) FROM main.selected_images" 0.1126 [sql] /run/build/darktable/src/common/collection.c:954, function dt_collection_get(): prepare "SELECT mi.imgid FROM main.selected_images AS s JOIN memory.collected_images AS mi WHERE mi.imgid = s.imgid LIMIT -1, ?1" 0.1127 [sql] /run/build/darktable/src/common/collection.c:920, function dt_collection_get_selected_count(): prepare "SELECT COUNT(*) FROM main.selected_images" 0.1127 [sql] /run/build/darktable/src/common/collection.c:954, function dt_collection_get(): prepare "SELECT mi.imgid FROM main.selected_images AS s JOIN memory.collected_images AS mi WHERE mi.imgid = s.imgid LIMIT -1, ?1" 0.1128 [pwstorage_new] Creating new context 0x5efefc042160 0.1128 [pwstorage_new] no storage backend. not storing username/password. please change in preferences, security tab. 0.1130 [add_job] 0 | 0.1130 detect opencl devices | queue: 4 | priority: 0 0.1131 [wb_presets] loading wb_presets from /app/share/darktable/wb_presets.json’
0.1131 [run_job+] 07 428756946.058933 0.1131 detect opencl devices | queue: 4 | priority: 0
0.1132 [opencl_init] opencl disabled via darktable preferences
0.1133 [dt_dlopencl_init] could not find default opencl runtime library ‘libOpenCL’
0.1134 [dt_dlopencl_init] could not find default opencl runtime library ‘libOpenCL.so’
0.1137 [opencl_init] opencl library ‘libOpenCL.so.1’ found on your system and loaded, preference ‘default path’
0.2331 [opencl_init] found 2 platforms
0.2332 [check platform] platform ‘Clover’ with key ‘clplatform_clover’ is NOT active
0.2332 [check platform] platform ‘rusticl’ with key ‘clplatform_rusticl’ is NOT active
[opencl_init] found 0 device
0.2332 [opencl_init] FINALLY: opencl PREFERENCE=OFF is NOT AVAILABLE and NOT ENABLED.
0.2332 [run_job-] 07 428756946.179047 0.2332 detect opencl devices | queue: 4 | priority: 0
0.3037 [wb_presets] loading noiseprofile file
0.3037 [wb_presets] found 16 makers
0.3037 [wb_presets] found maker `Canon’

I limited what I copied from the output due to the limit of characters allowed here. I found that exports complete but they take a very very long time! They did not before the upgrade.

What if you try and export a different format?

Use -d common instead of all and attach a txt file.

does not matter if it is tiff jpg or png. First one goes pretty quick and the rest take forever.

tim@larry:~$ /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/darktable --file-forwarding org.darktable.Darktable -d common
darktable 4.8.0
Copyright (C) 2012-2024 Johannes Hanika and other contributors.

Compile options:
Bit depth → 64 bit
Debug → DISABLED
SSE2 optimizations → ENABLED
OpenMP → ENABLED
OpenCL → ENABLED
Lua → ENABLED - API version 9.3.0
Colord → ENABLED
gPhoto2 → ENABLED
GMIC → ENABLED - Compressed LUTs are supported
GraphicsMagick → ENABLED
ImageMagick → DISABLED
libavif → ENABLED
libheif → ENABLED
libjxl → ENABLED
OpenJPEG → ENABLED
OpenEXR → ENABLED
WebP → ENABLED

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

 0.0053 application_directory: /app/bin
 0.0053 darktable.datadir: /app/share/darktable
 0.0054 darktable.plugindir: /app/lib/darktable
 0.0054 darktable.localedir: /app/share/locale
 0.0063 darktable.configdir: /home/tim/.var/app/org.darktable.Darktable/config/darktable
 0.0063 darktable.cachedir: /home/tim/.var/app/org.darktable.Darktable/cache/darktable
 0.0064 darktable.sharedir: /app/share
 0.0064 darktable.tmpdir: /tmp
 0.0064 new_xdg_data_dirs: (null)

Gtk-Message: 23:19:34.913: Failed to load module “xapp-gtk3-module”
0.3316 [dt_worker_threads] using 6 worker threads
0.3330 [dt_get_sysresource_level] switched to 2 as `large’
0.3330 total mem: 128825MB
0.3330 mipmap cache: 16103MB
0.3330 available mem: 88064MB
0.3330 singlebuff: 2012MB
0.3424 [opencl_init] opencl disabled via darktable preferences
0.3425 [dt_dlopencl_init] could not find default opencl runtime library ‘libOpenCL’
0.3426 [dt_dlopencl_init] could not find default opencl runtime library ‘libOpenCL.so’
0.3472 [opencl_init] opencl library ‘libOpenCL.so.1’ found on your system and loaded, preference ‘default path’
0.6768 [dt_worker_threads] using 6 worker threads
0.8253 [opencl_init] found 2 platforms
0.8254 [check platform] platform ‘Clover’ with key ‘clplatform_clover’ is NOT active
0.8254 [check platform] platform ‘rusticl’ with key ‘clplatform_rusticl’ is NOT active
[opencl_init] found 0 device
0.8254 [opencl_init] FINALLY: opencl PREFERENCE=OFF is NOT AVAILABLE and NOT ENABLED.

You gotta do this, you log isn’t nearly long enough.

dt.txt (732.6 KB)