Hi,
>From what I've read so far this may be slightly different situation. However
I thought sharing it may help in some way? I am running Mint 17 (based on
Ubuntu 14.04). I just bought a new GeForce GTX 980 graphics card and
installed drivers 343 following these notes - http://www.binarytides.com/
install-nvidia-drivers-ubuntu-14-04/
sudo add-apt-repository ppa:xorg-edgers/ppa -y
sudo apt-get update
sudo apt-get install nvidia-343
Reboot the system and the drivers are working now:
glxinfo | grep OpenGL | grep renderer
OpenGL renderer string: GeForce GTX 980/PCIe/SSE2
Then I was searching high and low how to make OpenCL work with darktable and
was trying lots of things. Following are the steps I have taken:
sudo apt-get install nvidia-settings
nvidia-settings
This utility is nice but doesn't show anything about OpenCL. Following
packages showed up as recommended when installing package nvidia-343, so I
tried to install them one by one, testing in between:
sudo apt-get install nvidia-opencl-icd-343
sudo apt-get install libcuda1-343
sudo apt-get install nvidia-343-uvm
sudo apt-get install bumblebee
sudo apt-get install nvidia-prime
At this point my graphics mode started failing on reboot. Luckily I was
getting at least some degraded mode and could easily start removing:
sudo apt-get --purge remove nvidia-prime
sudo apt-get --purge remove bumblebee
At this point I got a stable system again. Then I found this:
https://developer.nvidia.com/cuda-downloads
http://developer.download.nvidia.com/compute/cuda/6_5/rel/docs/CUDA_Getting_
Started_Linux.pdf
So I installed the toolkit as per the instructions, still no luck.
Eventually I came across this thread: https://bbs.archlinux.org/viewtopic.
php?id=178390
And the suggested workaround does the trick for me: Run darktable as root
first and quit. Then start the application as normal user and it will detect
OpenCL fine. Until the next reboot.
I assume I installed some stuff unnecessarily. Though I really couldn't find
any concise notes what is needed. Later on, encouraged by today's posts on
this email thread I tried:
sudo apt-get install clinfo
clinfo
Didn't get it to work - always displays output:
E: -30
I tried installing packages piece by piece from http://tech.kovacs-telekes.
org/2014-07-29-darktable-opencl-nvidia-ubuntu-1404-mint-17
sudo apt-get install nvidia-modprobe opencl-headers
sudo apt-get install nvidia-343-dev
A this point darktable runs fine without the root workaround first. However
I have booting problems now. I ended up in black screen, no GUI. Press Esc
to get Grub2 menu, check all disks, Ctrl+C, and it boots the rest of the way
fine. Remove the suspect:
sudo apt-get --purge remove nvidia-modprobe
sudo apt-get autoremove
(removes bbswitch-dkms which was active)
Now I can reboot again without issues, but darktable requires the root
workaround for OpenCL to work.
Cheers, Tomas
------------------------------------------------------------------------------
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Darktable-users mailing list
Darktable-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-users