Hi all, new to,the forum. Im using Darktable 4.4.1 with Windows 10. A couple of days ago I was quite happily exporting my edited photos to JPEG and all of a sudden it stopped working for no obvious reason. The message on the screen says exporting 1/1 but it’s just stops there. I’ve tried it with a number of different pictures with the same reusult. If I restart the computer, it will successfully export one file but then stop again. I’ve made no changes to my system. Any ideas what could be causing this?
I have a feeling this is a windows problem and DT has fallen victim to some update or other under the bonnet change by Windows. You are not alone. See some of the recommended suggestions. My approach was sledge hammer approach of uninstalling and reinstalling everything, but there is probably a nicer approach to fixing the problem.
Terry since you are now updating often how are you doing it… in windows you are offered the option to uninstall before proceeding …do you do this or just upgrade new versions on top of the old one… just curious… I haven’t noticed any issue and I keep everything from OS, drivers and DT very current…
@RobBarber Can you show a screen shot of your export settings…
I uninstall and do a new install. I rarely have problems. The latest update went in fine and was working, then I just opened the program on Wednesday and I could not export despite the day before it was working. It seems I am not alone with this happening and suspect Windows over DT especially since different versions are involved.
Is there more than you and Rob… and you are on WIn 11 and I think he is on 10 so any upgrades likely wouldn’t be the same… were you tweaking opencl?? Maybe that was someone else. That could certainly impact exporting. I guess we can see if it pops up more widely or we have some Gremlins roaming…
I am running OpenCL set to use all of device memory. I process images from multiple cameras, but my CR3 files from my new Canon R7 has caused crashed when playing around with the diffuse or sharpen module.
This is mine… unchecked all drivers I don’t use… I guess I could try the all memory option and see if I get any benefit but these settings are what I have been using pretty might the whole way and before that setting tuning to none and I have not had any export issues over time and builds. How about your Nvidia driver is it up to date??.. I guess it seems like you have it working now after the “sledgehammer” so I guess you don’t need to mess with it more.
I have the same issue exporting photos using darktable 4.2 on Windows 10. I found I only have an issue if the diffuse or sharpen module is turned on for a photo. This is rather disappointing as I just saw one of Boris’ excellent tutorials on darktable using the module. I tried exporting a photo with the module on, and it says “exporting 1/1” at the bottom left but does not do anything else and uses all the memory of my old laptop (8gb virtual+physical RAM). If I close darktable, end the dt background task, reopen and turn off diffuse and sharpen then I am able to export the photo to a jpeg format. The same error occurs if I have OpenCL active or turned off.
Said this quite often, taking all GPU memory is pretty risky if you don’t know what your system takes. And win11 takes more and more…
I think you should update to 4.4.2 instead of 4.2. There are many bugs that were fixed since then.
Second, ensure you download the latest video card drivers directly from the manufacturer (Nvidia, AMD).
Lastly, ensure you don’t have the Microsoft drivers.
Thank you for the advice, I was shocked that Nvidia had updated drivers for an 8yr old graphics card. Unfortunately my issue persists after updating the graphics card driver and darktable to version 4.4.2. I will also try importing a new set of photos and see if that has any effect.
To check for this, can you post the output of darktable-cltest ? Run it from the command line (cmd).
I’f you monitor memory/resources are you maxing it out??
priort, I checked my resources again more carefully- the RAM is at 5 / 8GB and the nvidia
GPU is at 1.1 / 2 GB. Integrated graphics card is not showing use on resource manager.
g-man, here is the result of the -cltest
0.1484 [dt_get_sysresource_level] switched to 1 as `default’
0.1513 total mem: 8114MB
0.1530 mipmap cache: 1014MB
0.1561 available mem: 4057MB
0.1582 singlebuff: 63MB
0.1599 OpenCL tune mem: OFF
0.1615 OpenCL pinned: OFF
[opencl_init] opencl related configuration options:
[opencl_init] opencl: ON
[opencl_init] opencl_scheduling_profile: ‘default’
[opencl_init] opencl_library: ‘default path’
[opencl_init] opencl_device_priority: ‘/!0,//’
[opencl_init] opencl_mandatory_timeout: 200
[opencl_init] opencl library ‘OpenCL.dll’ found on your system and loaded
[opencl_init] found 2 platforms
[opencl_init] found 3 devices
[dt_opencl_device_init]
DEVICE: 0: ‘NVIDIA GeForce 940M’
PLATFORM NAME & VENDOR: NVIDIA CUDA, NVIDIA Corporation
CANONICAL NAME: nvidiacudanvidiageforce940m
DRIVER VERSION: 546.01
DEVICE VERSION: OpenCL 3.0 CUDA, SM_20 SUPPORT
DEVICE_TYPE: GPU
GLOBAL MEM SIZE: 2048 MB
MAX MEM ALLOC: 512 MB
MAX IMAGE SIZE: 16384 x 16384
MAX WORK GROUP SIZE: 1024
MAX WORK ITEM DIMENSIONS: 3
MAX WORK ITEM SIZES: [ 1024 1024 64 ]
ASYNC PIXELPIPE: NO
PINNED MEMORY TRANSFER: NO
MEMORY TUNING: NO
FORCED HEADROOM: 400
AVOID ATOMICS: NO
MICRO NAP: 250
ROUNDUP WIDTH: 16
ROUNDUP HEIGHT: 16
CHECK EVENT HANDLES: 128
PERFORMANCE: 1.365
TILING ADVANTAGE: 0.000
DEFAULT DEVICE: NO
KERNEL BUILD DIRECTORY: C:\Program Files\darktable\share\darktable\kernels
KERNEL DIRECTORY: C:\Users\User\AppData\Local\Microsoft\Windows\INetCache\darktable\cached_v1_kernels_for_NVIDIACUDANVIDIAGeForce940M_54601
CL COMPILER OPTION: -cl-fast-relaxed-math
KERNEL LOADING TIME: 1.4439 sec
[dt_opencl_device_init]
DEVICE: 1: ‘Intel(R) HD Graphics 5500’
PLATFORM NAME & VENDOR: Intel(R) OpenCL, Intel(R) Corporation
CANONICAL NAME: intelropenclintelrhdgraphics5500
DRIVER VERSION: 20.19.15.4549
DEVICE VERSION: OpenCL 2.0
DEVICE_TYPE: GPU
GLOBAL MEM SIZE: 3238 MB
MAX MEM ALLOC: 809 MB
MAX IMAGE SIZE: 16384 x 16384
MAX WORK GROUP SIZE: 256
MAX WORK ITEM DIMENSIONS: 3
MAX WORK ITEM SIZES: [ 256 256 256 ]
ASYNC PIXELPIPE: NO
PINNED MEMORY TRANSFER: NO
MEMORY TUNING: NO
FORCED HEADROOM: 400
AVOID ATOMICS: NO
MICRO NAP: 250
ROUNDUP WIDTH: 16
ROUNDUP HEIGHT: 16
CHECK EVENT HANDLES: 128
PERFORMANCE: 2.160
TILING ADVANTAGE: 0.000
DEFAULT DEVICE: NO
KERNEL BUILD DIRECTORY: C:\Program Files\darktable\share\darktable\kernels
KERNEL DIRECTORY: C:\Users\User\AppData\Local\Microsoft\Windows\INetCache\darktable\cached_v1_kernels_for_IntelROpenCLIntelRHDGraphics5500_2019154549
CL COMPILER OPTION:
KERNEL LOADING TIME: 0.3088 sec
[dt_opencl_device_init]
DEVICE: 2: ‘Intel(R) Core™ i5-5200U CPU @ 2.20GHz’
PLATFORM NAME & VENDOR: Intel(R) OpenCL, Intel(R) Corporation
CANONICAL NAME: intelropenclintelrcoretmi55200ucpu220ghz
DRIVER VERSION: 5.2.0.10094
DEVICE VERSION: OpenCL 2.0 (Build 10094)
DEVICE_TYPE: CPU
GLOBAL MEM SIZE: 8114 MB
MAX MEM ALLOC: 2029 MB
MAX IMAGE SIZE: 16384 x 16384
MAX WORK GROUP SIZE: 8192
MAX WORK ITEM DIMENSIONS: 3
MAX WORK ITEM SIZES: [ 8192 8192 8192 ]
ASYNC PIXELPIPE: NO
PINNED MEMORY TRANSFER: NO
MEMORY TUNING: NO
FORCED HEADROOM: 400
AVOID ATOMICS: NO
MICRO NAP: 1000
ROUNDUP WIDTH: 16
ROUNDUP HEIGHT: 16
CHECK EVENT HANDLES: 128
TILING ADVANTAGE: 0.000
DEFAULT DEVICE: NO
*** marked as disabled ***
[opencl_init] OpenCL successfully initialized. Internal numbers and names of available devices:
[opencl_init] 0 ‘NVIDIA CUDA NVIDIA GeForce 940M’
[opencl_init] 1 ‘Intel(R) OpenCL Intel(R) HD Graphics 5500’
[opencl_init] FINALLY: opencl is AVAILABLE and ENABLED.
[dt_opencl_update_priorities] these are your device priorities:
[dt_opencl_update_priorities] image preview export thumbs preview2
[dt_opencl_update_priorities] 0 1 0 0 -1
[dt_opencl_update_priorities] 1 -1 1 1 1701013878
[dt_opencl_update_priorities] show if opencl use is mandatory for a given pixelpipe:
[dt_opencl_update_priorities] image preview export thumbs preview2
[dt_opencl_update_priorities] 0 0 0 0 0
[opencl_synchronization_timeout] synchronization timeout set to 200
[dt_opencl_update_priorities] these are your device priorities:
[dt_opencl_update_priorities] image preview export thumbs preview2
[dt_opencl_update_priorities] 0 1 0 0 -1
[dt_opencl_update_priorities] 1 -1 1 1 1701013878
[dt_opencl_update_priorities] show if opencl use is mandatory for a given pixelpipe:
[dt_opencl_update_priorities] image preview export thumbs preview2
[dt_opencl_update_priorities] 0 0 0 0 0
[opencl_synchronization_timeout] synchronization timeout set to 200
The last value seems odd.
Ensure you update the Intel drivers too (from Intel website). Since you have two GPU. If that doesn’t help, then we should disable one of the two to see if the problem persist.
I updated the intel driver with no change in darktable exporting error. I then tried disabling each graphics card through device manager one at a time. The active GPU would show activity in the resource manager, but no image exported. I disabled openCL and the RAM showed 7.5/8 GB utilized. I edited the target storage and it created the folder specified, but no image resulted. Perhaps my computer is just too old to be supported at this point?
Personally if I had a GPU in the system then I would look in the bios to see if you could disable the Integrated graphics. Take it out of the mix and give all the ram back to the system.
Before we go crazy, post a log of darktable -d common when you export.
darktable-log.txt (31.0 KB)
I have tried uploading a text file of the log, hopefully it has some helpful information.
And for anyone researching similar issues in the future, going to darktable.org/about/FAQ has information on how to use the command prompt to get the log file to aid troubleshooting.