On Tue, Apr 24, 2018 at 11:08 AM François Patte < [email protected]> wrote:
> Le 24/04/2018 à 16:01, [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 ____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to [email protected]
