Hi guys,
I am using Leap 42.1 on a notebook with Nvidia Optimus (Clevo W230SS) and have one issue (and an annoying workaround) when trying to use “darktable” with OpenCL support. Bumblebee is working fine otherwise.
First, as a normal user, this fails:
**
> optirun darktable -d opencl**
…
[opencl_init] found opencl runtime library ‘libOpenCL’[opencl_init] opencl library ‘libOpenCL’ found on your system and loaded
[opencl_init] could not get platforms: -1001
[opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
[opencl_init] initial status of opencl enabled flag is OFF.
[pixelpipe_process] [thumbnail] using device -1
So the OpenCL library works fine, but it cannot find the device? (“optirun glxspheres” runs fine. My user is also in the video and bumblebee groups)
Out of curiosity and despair I tried to run the command above as root and voila: OpenCL support works out of the box and images are rendered on the GPU.
Plus, if I execute this command now again as normal user, everything is working as well, but only until next reboot.
I would guess that it is related to creating some device files with the right permissions and so on and so forth. Has anyone come across some permanet workaround for this?