Guillermo Rozas schrieb am 24.04.2018 um 16:30:
On Tue, Apr 24, 2018 at 11:08 AM François Patte
<[email protected]
<mailto:[email protected]>> wrote:
Le 24/04/2018 à 16:01, [email protected]
<mailto:[email protected]> a écrit :
> François Patte (2018-Apr-24, excerpt):
>> How to debug opencl? Sometimes, darktable displays a message:
"DT has
>> encounter a problem with opencl which will be disabled for this
session".
>
> If it worked before: I sometimes see this after updating the Linux
> kernel or nvidia drivers.
It is not after updating the system, but after putting the computer in
standby for sometimes.
At least in my case (laptop with Optimus) the NVidia driver is hit or
miss when going to sleep, 90% of the time the computer either doesn't
suspend correctly or has problems when returning from sleep and in
several occasions I could track it back to the graphic driver crashing.
I surely have other non-related problems (my computer is a mess), but
I wouldn't find strange that the NVidia driver crashes on suspend also
in your case. You can test it by using NVidia tools (nvidia-smi)
before and after suspend, and before and after DT crashes.
Also, if you start DT from a terminal as darktable -d opencl it will
show you debugging information related to opencl, including hopefully
why it fails.
Best regards,
Guillermo
I still have this same issue - see "Heavily disappointed about openCL"
in the archives.
What I found is:
I can call 'clinfo' from time to time and it reports openCL working.
This is also after Suspend-to-RAM.
But: when I have darktable running and then STR, after opening 5 images
in dt it gives the mentioned message and when calling clinfo after this
it simply reports something like 0 available platforms - openCL stopped
working.
And as mentioned: complete reboot is the only way to recover.
What puzzles me is the following: I tried with some other apps like
gimp, blender and newest firefox - they also use openCL - and have them
open during STR - but neither of those seems to kill openCL - only
darktable does (?).
regards
Bernhard
https://www.bilddateien.de
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]