Not sure if this is of any help to you. In order for Nvidia's OpenCL driver to work it needs write access to some special device files under /dev:
crw-rw----+ 1 root video 195, 0 25. Apr 06:26 /dev/nvidia0 crw-rw----+ 1 root video 195, 255 25. Apr 06:26 /dev/nvidiactl At least nvidiactl is required. As most current Linuxes populate /dev dynamically it's possible that these files do not exist for you, as your graphics runs on the integrated device. Normally these files get generated by the Nvidia driver itself if it is started as root - which typically happens as soon as xorg is started on a "normal" system. A few things for you to try out: check if these files exist and if you have write access (in my case all my desktop users are in group video). If the two device special files don't exist try if running an OpenCL test program as root user works. E.g. get this one http://graphics.stanford.edu/~yoel/notes/clInfo.c and compile it on your system. On my system I have a Nvidia GTS450 as a secondary GPU - not used for graphics work, only for OpenCL. I needed to tweak the system so that as soon as the nvidia kernel module gets loaded at bootup time, the device special files get generated by a script. Ulrich Am 25.04.2014 04:35, schrieb Adam Gold: > I'm running an Nvidia GT750M card on a laptop with a haswell processor. > The integrated graphics on the processor does everything > graphics-related - in fact I'm having difficulty getting the Nvidia card > recognised. I'm running Ubuntu 14.04 and I've tried driver downloads > from the usual ppas like xorg-edgers and X-swat as well as installing > the relevant opencl packages such as nvidia-opencl-icd. Needless to > say, OpenCl is not working with DT. > > My understanding is the underlying problem is that the Nvidia Optimus > technology which is designed to switch automatically between integrated > graphics and discrete GPUs - and which runs on my card - has not been > made available for linux. There appears to be work on an intermediate > solution called Bumblebee. > > A while ago I had OpenCL working with DT on Ubuntu 12.04 and the speed > increase was awesome. I'd love to do it again but right now it seems > prohibitively complex. > > I've done a lot of reading on the web but most of it's about the task of > getting the Optimus set-up working in general as opposed to OpenCL and > DT (although the former is a pre-requisite of the latter). This page > was particularly informative: > http://wiki.belmankraul.com/linux/mint16_bumblebee . However then on > certain other pages, I read that Bumblebee isn't needed for OpenCL, just > for 3D rendering. > > I'm wondering if anyone has any *specific* DT + OpenCL experiences to > share which involve using a recent Nvidia GPU and Ubuntu release. > ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ Darktable-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/darktable-users
