This is most likely caused by missing or bogus OpenCL configuration files under /etc/OpenCL/vendors. In that folder you should have a file nvidia.icd with one line containing something like "libnvidia-opencl.so.1" (without quotation marks). libnvidia-opencl.so.1 needs to be a symbolic link to the dynamic library that fits to your driver version number. In my case it's a link to libnvidia-opencl.so.319.32.
On my systems I need to install the package nvidia-computeG03-319.32-15.1.x86_64 and all its dependencies to have everything set up correctly and I need to make sure that the nvidia kernel driver is loaded. Ulrich Am 12.10.2013 16:01, schrieb [email protected]: > Hi! > > I'm having trouble getting Darktable to use OpenCL on my laptop with > discrete Nvidia graphics aka Nvidia Optimus (I'm using Bumblebee). I get > the following output when running optirun darktable -d opencl -d perf > > [opencl_init] opencl related configuration options: > [opencl_init] > [opencl_init] opencl: 1 > [opencl_init] opencl_library: '' > [opencl_init] opencl_memory_requirement: 768 > [opencl_init] opencl_memory_headroom: 300 > [opencl_init] opencl_device_priority: '*/!0,*/*/*' > [opencl_init] opencl_size_roundup: 16 > [opencl_init] opencl_async_pixelpipe: 0 > [opencl_init] opencl_synch_cache: 0 > [opencl_init] opencl_number_event_handles: 25 > [opencl_init] opencl_micro_nap: 1000 > [opencl_init] opencl_use_pinned_memory: 0 > [opencl_init] opencl_avoid_atomics: 0 > [opencl_init] opencl_omit_whitebalance: 0 > [opencl_init] > [opencl_init] trying to load opencl library: '<system default>' > [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. > > Any suggestions on how to fix this? Would be wonderful :) > > cheers Paul > ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ Darktable-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/darktable-users
