Public bug reported: Under Ubuntu 12.04 precise pangolin, I'm unable to load darktable with opencl with an optimus nvidia graphic card.
I've got this error : $ optirun darktable -d opencl [opencl_init] trying to load opencl library: ” [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. To solve the problem I have to create a file : nvidia.icd in /etc/OpenCL/vendors/ with the only content being libcuda.so After that I got it working. ** Affects: nvidia-graphics-drivers (Ubuntu) Importance: Undecided Status: New ** Tags: 295 304 darktable nvidia opencl optimus ** Tags added: darktable ** Tags added: 295 304 nvidia opencl optimus -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to nvidia-graphics-drivers in Ubuntu. https://bugs.launchpad.net/bugs/1039684 Title: nvidia.icd file is not present in nvidia-current 64bits. Fail to load opencl (like darktable) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/1039684/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp