f. number of event handles
default 128
Event handles are used by darktable to monitor the success/failure of kernels and provide profiling info even if the pixelpipe is executed asynchronously. The number of event handles is a limited resource of your OpenCL driver – while they can be recycled, there is a limited number that can be used at the same time. Unfortunately, there is no way to find out what the resource limits are for a given device (this is due to darktable using the OpenCL V.1.2 API to support all platforms), so darktable uses a conservative guess of 128 by default. On most current devices and drivers you can expect a number of up to 1024 to be safe (for sure if your driver / card reports OpenCL V.2.0 or larger) leading to a slightly better OpenCL performance. If your driver runs out of free handles you will experience failing OpenCL kernels with error message CL_OUT_OF_RESOURCES or even crashes or system freezes. (If you are running into this problem, please open a github issue)
(darktable user manual - memory & performance tuning)
I am presuming you mean the Nvidia driver. I am running version 470, this was automatically chosen when I did the install. I have the option of version 580, I will try installing this tomorrow and see what happens.
It took a little bit of doing, as well as upgrading my nvidia drivers to version 580, I had to force the reinstall of the kernel. I forced the reinstall of libopenCL as well, just to make sure.
This has fixed the problem, though I do note that Nvidia are rolling out version 590…
I think the problem is that the contents of the repository containing nvidia drivers is controlled by Nvidia, and that the update program, zypper, cannot determine that the GL05 driver set has been obsoleted by the GL06 driver set.
Similar problem on arch - that gave the right hint: I have the 580 nvidia-drivers, but had 510 nvidia-opencl.
I just had to replace the 510 version with 580. Now it works.
(just in case anyone else has similar problems)