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.
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.
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).
#7 Updated by Tobias Ellinghaus 7 months 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.
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.
this is darktable 2.4.1
copyright (c) 2009-2018 johannes hanika
bit depth is 64 bit
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 6 months 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.
https://www.darktable.org/about/faq/#faq-windows-logs tells where to find the log files.
Edit: Actually, have a look in the log file and look for "[init] startup took".
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.
#12 Updated by Tobias Ellinghaus 6 months ago
Please grab the new 2.4.2 from , 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.
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 6 months 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: https://darktable.org/darktable-2.4.1+76~g58515f129-win64.exe -- I will delete that file in a few days or once you replied.
- File darktable-log.txt added
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?