On 2014-12-11 18:43, Wolfgang Goetz wrote:
Wolfgang Goetz wrote:

Update for ppa:xorg-edgers/ppa         short:doesnt work

nvidia-340:
...
[opencl_init] found opencl runtime library 'libOpenCL'
[opencl_init] opencl library 'libOpenCL' found on your system and loaded
[opencl_init] could not get platforms: -1001
...


sudo modprobe nvidia-340-uvm
lsmod | grep nvidia
nvidia_uvm             35066  0
nvidia              10557103  40 nvidia_uvm
drm                   303102  2 nvidia




ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0 ==
model    : GK106 [GeForce GTX 660]
modalias : pci:v000010DEd000011C0sv00001462sd00002872bc03sc00i00
vendor   : NVIDIA Corporation
driver   : xserver-xorg-video-nouveau - distro free builtin
driver   : nvidia-340 - third-party free recommended
driver   : nvidia-304 - third-party free
driver   : nvidia-331-updates - distro non-free
driver   : nvidia-331 - third-party free
driver   : nvidia-304-updates - distro non-free








disabling xorg-edgers to keep system clean.
opencl seems to be a dead duck on ubu14lts.

have a nice weekend.
greets
Woolfgang










Hello,

spent again some time on Nvidia versions to get opencl
working again (partly).



nvidia-304-updates:
--------------------
opencl detected, kernels compiled except blendop

leads to the known fallback to cpu with long processing time:
[dev_pixelpipe] took 77,193 secs (254,325 CPU) processed `denoise
(profiled)  ' on CPU with tiling, blended on CPU [export]




nvidia-331 NOGO (checked: normal/updates, uvm)
--------------------
darktable-cltest:    -1001



for-the-file:
i searched mailinglist, google.
not very helpful except using newer nvidia blobs, some tips for uvm
and symlink: /opt/darktable/lib/darktable/libOpenCL.so
-> /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0

dt from git
GeForce GTX 660


ubuntu 14.04 LTS too old?
what distribution / nvidia combination is working?
f21 is in the wild...



i would not like to install driver package from nvidia itself,
screwed up my system in the past. dependency hell. iirc the
'Additional Drivers' should be the only thing to fiddle system
settings.



kind regards
Wolfgang


For what it is worth I'm on 14.04 LTS, 64 bit with the 343.22 NVIDIA driver installed and OpenCL active.
But this machine contains an Asus DirectCU GTX 780 3GB


I installed it by using the advanced options in the boot menu:
1. Select "Advanced..." in jthe first grub/boot menu
2. Select "Ubuntu, with Linux ... (recovery mode)"
3. Select "fsck            Check all file systems" and let it run
4. Select "network            Enable networking"
5. Select "root            Drop to root shell prompt"

At the root prompt cd to the dir where you have the downloaded driver.
Then do all or some (depending on your current installed driver) of these:
-
apt-get purge nvidia-*
sudo add-apt-repository ppa:xorg-edgers/ppa  -y --remove
bash NVIDIA-Linux-x86_64-343.22.run
-
... where the last line is for installing the NVIDIA provided driver.

For me "dkms" cause trouble and "32-bit" are/is apparently not necessary
- from reading the failure messages in install logs.


Then reboot and login - NOTE: the driver should be working at this stage.
Open a terminal and do
"gksudo nvidia-settings &"
to create the initial settings file in $HOME, then
verify and tweak your settings, and last but not least
check under "X Server Display configuration" and do
"Save to the X Configuration file".



NOTE: I just realized by looking at "Manual driver search" here:
http://www.geforce.co.uk/drivers
... that 340.22 probably is a "BETA" version, it isn't even listed.

Latest non beta: 340.65 - Release Date: Mon Dec 08, 2014
I have not tried that one.

I have had trouble with the noveau driver earlier,
but 343.22 and some earlier installation packages seems to have mitigated that e.g.
by adding "nouveau.blacklist=1" to the kernel BOOT line (dmesg | grep BOOT).

And recently only a single xorg update has required one uninstall + re-install. > "bash NVIDIA-Linux-x86_64-343.22.run --uninstall" - is for removing the driver.

/Hannu

--

/H

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to