I just recently bought a Canon R7 camera and when I try processing the images and play with the details threshold slider in diffuse or sharpen DT crashes. I presumed this was a resource issue. I confirmed DT was working fine with other images and returned to my CR3 files from the Canon R7 and again it crashes.
My solution which appears to be working is to set open CL to use all the device memory. Is this a problem or a suitable solution. Turning open CL off also worked , but I obviously don’t want to do that.
For the life of me I can not remember how to start DT from Windows 11 command prompt. I tried to find previous posts on this and looked up the manual but to no avail.
Just navigate in the cmd prompt to that directory in the Program FIles folder… ie the bin subfolder of DT and then run dt from there…then you won’t need to worry about path issues…
So I followed @apostel338 advice and opened in the terminal. I then typed what he suggested and hit enter. It just brought me back to the same prompt screen.
However typing in the following “./darktable.exe” got darktable to open. I presume without generating a log. (Edit: I have typed the backslash in this sentence but it doesn’t appear on the post for some reason)
You don’t need all that extra stuff once you navigate to the bin directory in the cmd prompt just type darktable.exe -d opencl… no quotes or ./ stuff I think that is more for linux…
Edit: also because the logs go to a sort of obscure location that can often be hard to remember you can simply create a symbolic link in the command line so that its easy to find… something like
Those look like typographical hypens (–) rather than dashes/minus signs. Just use the same key that you would for a minus.
If you are already in the darktable\bin directory, you don’t need any ./darktable.exe or .\darktable.exe format; in Windows, the current directory is automatically used to search for software to run (this is usually not the case on Linux). darktable should work.
So
c:
cd "\program files\darktable\bin"
darktable -d opencl
I think this depends on the console / terminal used. The method I described opens the Powershell, where only darktable won’t work. With the legacy console, you need to do without ./.
edit:
for explanation how powershell does this: if you are calling an .exe file in the current directoy, it must be preceded with "." and the filename must be complete (including the extension)