Opening darktable on new pc, just immediately starts-stops

darktable is FOSS, created and maintained by interested programmers in their free time, supported by users (partly running development versions of the software) reporting issues, others writing articles for the manual or providing videos, packagers creating packages for Linux, executables for Windows or …

Bugs (or incompatibilities) will not “heal automagically”, they need to be

  • reported by users (the more details provided what happens or how to reproduce, the better). logs are usually of great interest. So far i don’t see any useful log that you have provided. @kofa gave you an excellent list of steps how you can do this.
  • fixed by a developer beeing interested and spending their free time

Usually this is an iterative process, sometimes taking some time and back and forth of communication. Just waiting for a stroke of luck someone else will come across the same error and reporting is rarely successful. That’s not how FOSS works…

Also, if the problem is due to something on your side, bug fixes won’t help (except perhaps by accident).
So waiting half a year is a gamble…

It worked Kofa, but raises a question.
I tried darktable --disable-opencl at the command prompt and had 3 or more ‘boxes’ flash on screen and go and the darktable icon appeared on the taskbar. I clicked it and it worked !!

So it is to do with Opencl, now what ? I will search a bit but I can at least set up a desktop shortcut with the above command in it.

I will look into istalling Opencl again, once I have figured out what it is.

You don’t have to install OpenCL, it comes with your GPU (graphics card) drivers.
You may have to uninstall the ‘Microsoft OpenCL Compatibility Pack’ (or its equivalent on Windows 11), as it seems to be broken.
If your only GPU is the one built into the processor (CPU), it may or may not be strong enough to help with performance.

You can find more info on OpenCL, its usage by darktable, and troubleshooting steps here:
https://darktable-org.github.io/dtdocs/en/special-topics/opencl/
https://darktable-org.github.io/dtdocs/en/special-topics/opencl/problems-solutions/
https://darktable-org.github.io/dtdocs/en/special-topics/opencl/still-doesnt-work/

Oh, OP has an NVidia card:

As that’s a fairly old architecture (appeared in 2010), I’m not sure activating it will give all that much extra speed.

1 Like

I do not know if the current w11 nvidia driver really support this gpu or if w11 is just using a generic one to make do with it
I know for a fact that nvidia stopped support for 700 series in linux a few years ago.

PS :
The nvidia search page here seems to suggest that 400 series do not have official support past windows 7
latest driver with 400 family support being

GeForce Game Ready Driver WHQL** 391.35 March 27, 2018 for windows 7

Without being a windows user nor expert … I’d say your chance of getting opencl support with this gpu on w11 are rather slim.

1 Like

I think putting old hardware in a new box is just not often worth it… likely something is going to have to slow down or some compromise is made in this case I think going back someone commented that the OP had a nice primary gpu so why risk any interactions or issue… I suspect if DT got cleaned up after all the tinkering that has been done… ie being sure to also clear out all the config files and files in the cache and appdata etc… pull the old GPU, look for the opencl compatibility pack and delete that reinstall DT and it will be off to the races…

1 Like

Not that old GPU just not massive, https://www.nvidia.com/content/dam/en-zz/Solutions/design-visualization/productspage/quadro/quadro-desktop/nvidia-t400-datasheet-1987150-r3.pdf I had it in a small format pc so power and mainly heat were my main thoughts. Only bought as I do some videos, to be honest the Intel one is fine. Ironically when it was in the Dell optiplex 7020 Darktable worked fine. Just the entire PC is slow, I was ok with it till I got this one.

I am not looking for speed really as I just do the occasional photo not like professional batch processing I guess.
At least I can use it using the darktable --disable-opencl command and it is fine just tedious to start.
Strangely I have Opencl drivers unticked, now ticked in the screen shot, as suggested and still needs the fix to start it. I had hoped saying don’t bother with opencl would have worked. Done the usual uninstall reinstall etc.

1 Like

Okay so you have opencl kernel caches in DT… I would find them… I will look-up the directory for you and delete them… they will be created again from scratch and perhaps clean up any remaining issues…

EDIT:

C:\Users\username\AppData\Local\Microsoft\Windows\INetCache\darktable

username = you windows user account name

Delete the files in here…since its a new install and if you have not imported a lot of files maybe the mipimaps files too…these are the image thumbs but they can also be recreated… I don’t think any harm to kill them as well and start from scratch…

See if that helps…

Ok, sorry I misred you I though you had shove a gtx 480 into your brand new rig… sorry.

You can create a desktop shortcut and add the --disable-opencl option to the lauch options

PS : not so old but nevertheless driver update on these quadro linup seems to be less frequent, maybe the support for opencl is not so streamlined ? I’d be ready inclined to think that a more common GPU would eliminate some compatibility issues.
On the cheap side, 1650 would be an upgrade not requiering any 12v GPU connector where some other more expensive upgrade path would provide a more sensible amount of video memory to boost DT (depending the size of the files you open in it)

I think that’s a different card. The Quadro T400, based on the Turing micro-architecture, was released in May 2021.

It’s the first one in the ‘T/RTX’ section of the page.

1 Like

We’ll see. OP would have to give the actual type of the card. We only can use what he gives us…

There was an NVidia brochure linked above. There seem to be two variants, one with 2, the other with 4 GB.
Maybe the NVidia driver is not the problem. The i7-13700 also has a GPU, the UHD Graphics 770.

It’d be nice to know if the broken Microsoft ‘OpenCL Compatibility’ thingy is installed. @charentejohn , can you provide info on that?

Could you also provide the output of darktable-cltest, as shown here?

Below is the actual GPU I bought, I will get back to this tomorrow but just want to thank everyone for their help, unexpected and much appreciated.

Just checking out the shortcut wording, I think it is “C:Program Files\Darktable.exe” --disable-opencl

1 Like