Feature #12057

starting screen

Added by Peter M over 2 years ago. Updated over 2 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
Affected Version:
hardware architecture:


It would be nice to have a starting screen as soon as we start dt. Anything, could be a 50x50 pixel darktable logo. I'm an old nervous man ;) so on my old computer if I don't see anything happening on the screen I quite often start a second instance of dt.

darktable-log.txt (40.6 KB) darktable-log.txt first run Peter M, 03/22/2018 10:47 PM
darktable-log2.txt (182 KB) darktable-log2.txt second run Peter M, 03/22/2018 10:47 PM
darktable-log.txt (179 KB) darktable-log.txt Peter M, 04/06/2018 11:14 PM


#1 Updated by Tobias Ellinghaus over 2 years ago

We used to have that, but in all real world cases darktable should take less than a second to start, so we removed it again. How long does darktable take to start for you?

#2 Updated by Peter M over 2 years ago

HP Elitebook 850 G2, Windows 10, i5 5300U 2,3GHz vpro, 8GB memory, connected external 2TB drive via USB 3.0
After restarting computer, only FF working, waiting few minutes before starting dt it takes about 15s to get white window with darktable on bar and 30s to see program with all modules and empty boxes for miniatures of photos quite fast restored. tested once, I'll restart computer again and if the time change I'll write you.
Closing dt and rerunning gives white window in 3s and full running in circa 6,2s. tested couple times, same result each time.

#3 Updated by Tobias Ellinghaus over 2 years ago

Please check if you have "look for updated xmp files on startup" enabled in the 2nd tab of the preferences? If so, try turning it off and see if dt is starting faster then.

#4 Updated by Peter M over 2 years ago

Unchecked "look for updated" - doesn't speed up. I checked also on my old Dell Optiplex 780, core2duo with 4GB, Win 10 and AMD Radeon HD 7500 1GB, same ext HD connected via USB 2.0. First start takes 22-23s, every next start below 6s. It's faster than laptop with (theoretically) much better components. Tested three times (computer reboot).

#5 Updated by Tobias Ellinghaus over 2 years ago

Too bad, that would have been an easy explanation why it's slow.

Do you have any anti virus software installed? Try disabling it and see if darktable starts up fast then.

#6 Updated by Peter M over 2 years ago

On Dell (desktop)I disabled Windows antivirus, first run takes circa 13s, next 5-6s
On HP (laptop) I have AVG but no start time improvement. That's strange.

#7 Updated by Tobias Ellinghaus over 2 years ago

Could you try starting darktable from a cmd.exe shell with the "-d control" command line parameter. Then have a look at the output, does is show new lines all the time while starting, or is it waiting somewhere?
If that doesn't work I will look into providing a test installer that outputs some timing of the startup process.

#8 Updated by Peter M over 2 years ago

I don't get any printout with -d control. To check if calling darktable with options works I checked disabling opencl (opencl is disabled) and --version swith.
D:\Program\darktable\bin>D:\Program\darktable\bin\darktable --disable-opencl


D:\Program\darktable\bin>D:\Program\darktable\bin\darktable --version
this is darktable 2.4.1
copyright (c) 2009-2018 johannes hanika

compile options:
bit depth is 64 bit
normal build
SSE2 optimized codepath enabled
OpenMP support enabled
OpenCL support enabled
Lua support enabled, API version 5.0.0
Colord support disabled
gPhoto2 support enabled
GraphicsMagick support enabled
OpenEXR support enabled

D:\Program\darktable\bin>D:\Program\darktable\bin\darktable -d control


#9 Updated by Tobias Ellinghaus over 2 years ago

Ah right, the -d stuff is written to the log file on Windows, which of course doesn't help with getting timing information. Stay tuned, I will come up with something. tells where to find the log files.

Edit: Actually, have a look in the log file and look for "[init] startup took".

#10 Updated by Peter M over 2 years ago

on desktop Dell
first start: [init] startup took 16,632923 seconds
restarting darktable: [init] startup took 4,408072 seconds
On laptop HP
[init] startup took 23,612731 seconds
[init] startup took 5,847194 seconds

First start takes few seconds more than stated in report. Second start is circa 1-1.5s longer. Measured from moment of hitting enter to moment having photos displayed on screen.

#11 Updated by Tobias Ellinghaus over 2 years ago

That is definitely too long. Even the 4-5 seconds for subsequent starts are slow. I'll prepare some way for you to have better debug output, maybe we can find the problem and fix it.

#12 Updated by Tobias Ellinghaus over 2 years ago

Please grab the new 2.4.2 from [0], install it and run darktable -d control. Then have a look at the log file and show me the timings until the startup is finished.


#13 Updated by Peter M over 2 years ago

Made two files. After first run I deleted file and subsequent start log file has "2" suffix in name.
Off-topic: why I don't see directory INetCache? The only way to access log file is to run search file from FreeCommander (great alternative to Total Commander). I marked "show hidden files" so I can get up to directory Windows inside which should be INetCache.

#14 Updated by Tobias Ellinghaus over 2 years ago

Sorry for my slow reaction times, I am quite busy at the moment. That being said, it seems to take a long time while setting up the gui. I prepared a build with some more debug output, please try that next: -- I will delete that file in a few days or once you replied.

#15 Updated by Peter M over 2 years ago

1. uninstall left one file 2_4_1_cltest.log in the darktable\bin directory (so the directory as well - didn't make clean uninstall)
2. don't know if it is was supposed to delete, but left data in c:\users\AppData\... directory
3. log file after uninstalling darktable and installing from link above. Didn't restart computer. Do you want clean and rerun log?
4. take your time - I'm also busy and don't have much time to learn dt.
I hope one day I'll abandon LR so I'm trying to help to improve dt. I also hope that placing all feature/bug reports will be spotted as contribution in developing better software not as my complaining about it. ;) I'm still using LR as I'm struggling to achieve better results in dt - especially with noise reduction. Have to learn how to make noise profiles as existing profile doesn't cover few iso settings for my GX7
Have a nice weekend all of you!

PS. I checked log file and its dated March 30, checked dt version and it show 2.4.2 + dirty. Install file: darktable-2.4.1+76~g58515f129-win64. First run gave box with information about collecting info so it is the new build, but running with "-d control" doesn't give new log file. Uninstalled again and reinstalled. This time no information about collecting debug info and still old log file. Did something wrong?

#16 Updated by Tobias Ellinghaus over 2 years ago

Hmm, that one was hanging even earlier. Maybe it's your system that is doing some magic? Anti virus comes to mind, scanning files before executing them.

Also available in: Atom PDF

Go to top