It's available here, though (src): https://github.com/NVIDIA/nvidia-modprobe
On 26 July 2014 23:25, KOVÁCS István <[email protected]> wrote: > Note: nvidia-modprobe is not shipped in the .deb files from the PPA > > On 26 July 2014 22:53, Ulrich Pegelow <[email protected]> wrote: >> Am 26.07.2014 22:31, schrieb KOVÁCS István: >>> Hi, >>> >>> When I run an opencl-related program as root, the devide node changes. >>> >>> [ROOT USER] >>> eagle ~ # modprobe nvidia-331-uvm >>> eagle ~ # ls -l /dev|grep nvidia >>> crw-rw-rw- 1 root root 195, 0 Jul 26 20:22 nvidia0 >>> crw-rw-rw- 1 root root 195, 255 Jul 26 20:22 nvidiactl >>> eagle ~ # mknod -m 666 /dev/nvidia-uvm c 249 0 >>> eagle ~ # ls -l /dev/ >/tmp/dev-before >>> >>> -- at this point, running darktable as non-root user results in >>> [NORMAL USER] >>> [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. >>> >>> [ROOT USER] >>> eagle ~ # clinfo >>> clinfo: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1: no version >>> information available (required by clinfo) >>> E: -30 >>> >>> -- despite this error, darktable can now be run as normal user >>> >>> -- Comparing devices: it's not a permission issue, rather the device >>> major code is modified: >> >> Interesting point. I googled around and found this one: >> >> http://developer.download.nvidia.com/compute/cuda/6_0/rel/docs/CUDA_Getting_Started_Linux.pdf >> >> According to that document the major device number of nvidia-uvm is not >> defined to be 249. It's dependent on the specific installation. I guess >> the script given on page 15 is the way to go. >> >> Ulrich >> >> >>> eagle ~ # ls -l /dev/ >/tmp/dev-after >>> eagle ~ # diff /tmp/dev-before /tmp/dev-after >>> 47c47 >>> < crw-rw-rw- 1 root root 249, 0 Jul 26 22:24 nvidia-uvm >>> --- >>>> crw-rw-rw- 1 root root 250, 0 Jul 26 22:24 nvidia-uvm >>> >>> Kofa >>> >> >> >> ------------------------------------------------------------------------------ >> 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 ------------------------------------------------------------------------------ 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
