Il 24.07.2014 18:51 Ulrich Pegelow ha scritto: > Hi, > > to bring a bit of input to the different topics. > > darktable needs the system library libOpenCL.so which must be > accessible > to the system's dynamic loader (ld.so). Reason is that the function > flow > is like this: >
this is ok > > If the library is found there are other requirements that must be met. > > As written above you need the vendor specific library > libnvidia-opencl.so.1 (or similar). libOpenCL.so knows from the content > of /etc/OpenCL/vendors/nvidia.icd which vendor library to call. If that > file is missing, OpenCL can't work. > this is ok > Then the kernel driver needs to be loaded. Newer nvidia systems need > two > kernel modules: nvidia and nvidia_uvm. > > Check with 'lsmod | egrep nvidia' if both are there. > This is not ok. I can manually run 'modprobe nvidia-uvm' but it will last only for the current session. > If this is OK there need to be device special files for the vendor > specific library to communicate with your kernel drivers. You need to > see something like that: > > crw-rw----+ 1 root video 195, 0 24. Jul 18:28 /dev/nvidia0 > crw-rw----+ 1 root video 195, 255 24. Jul 18:28 /dev/nvidiactl > crw-rw-rw- 1 root root 249, 0 24. Jul 18:28 /dev/nvidia-uvm > > Check that your account has write access to all of them. In my case > users who want to use OpenCL need to be member of group video. > I'm missing nvidia-uvm. Who should create that device? I'm still affected by this bug? https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746643 > @Federico: > > The error number -1001 from your system tells that even though you have > libOpenCL.so one of the other requirements above were not met. > > Ulrich ------------------------------------------------------------------------------ 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
