Il 24.07.2014 07:15 Ulrich Pegelow ha scritto: > You are lacking libOpenCL.so which should be a symbolic link to > libOpenCL.so.1. We had a similar issue before. > > Normally this link gets generated during installation of the driver by > automatically calling ldconfig. You may either > > * call ldconfig as root (preferred option) > * generate the link manually >
Same problem here, but ldconfig did not help to generate the symlink. Output from root user: # find / -name 'libOpenCL.so' # # ldconfig # find / -name 'libOpenCL.so' # It seems that it should be included in this package: $ apt-file search libOpenCL.so | grep nvidia nvidia-libopencl1: /usr/lib/x86_64-linux-gnu/libOpenCL.so nvidia-libopencl1: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 nvidia-libopencl1: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0 nvidia-opencl-dev: /usr/lib/x86_64-linux-gnu/libOpenCL.so But it's actually just in nvidia-opencl-dev: https://packages.debian.org/sid/amd64/nvidia-opencl-dev/filelist https://packages.debian.org/sid/amd64/nvidia-libopencl1/filelist Now I've installed the -dev package and I got the symlink: $ ls -l /usr/lib/x86_64-linux-gnu/libOpenCL.so lrwxrwxrwx 1 root root 14 mag 25 01:36 /usr/lib/x86_64-linux-gnu/libOpenCL.so -> libOpenCL.so.1 However, darktable can't use opencl: [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. I'm on debian sid. I've reported the problem here weeks ago: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746643 $ cat /proc/driver/nvidia/version NVRM version: NVIDIA UNIX x86_64 Kernel Module 340.24 Wed Jul 2 14:24:20 PDT 2014 GCC version: gcc version 4.8.3 (Debian 4.8.3-4) ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Darktable-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/darktable-users
