GPU rendering with gtx-970 on ubuntu

Hello folks, I’ve just build a new computer with a nice GTX-970, I’ve been just installed ubuntu 14.04 and… I cannot use GPU rendering with the latest bulid version of Blender (2.72.2).

My nividia driver is the 343.22 version (the latest stable version). Anyone has encounterd the same problem?

Hello.
How you have installed these drivers? From PPA?

Yes I’ve been updated the PPA, and after that installed the 343 driver. I’ve tried to use the 346.16.run on nvidia page, but it made crash my computer, and I had to completly reinstall the OS, because I couldn’t recover my xorg.

You download and install the “nvidia-modprobe” package and then reboot:
http://packages.ubuntu.com/trusty-backports/nvidia-modprobe

No matter are not the same versions, you can install this package. Of course, you download the file corresponding to the architecture of your system (32 or 64bits).

By the way, if you mean Xorg edgers PPA, you remember to disable this PPA after installing the driver.

I will try after my sequence editing course this afternoon. but cuda seams to works on my computer


Hi Niva, do you use the latest Release of Blender 2.72b?
It does not support GTX 970/80, you have to use latest development from https://builder.blender.org/download/

Cheers, mib

yes I use the official 2.72.2 build, I’ve just started to download the goosberry branch maybe it will work better…


-_-

WooooOOOOOoooooOoOOOOo It’s alive, it’s alive !!! Thanks mib, you’re my new best friend of all the world!!!

Good to know that you have been able to make it work.

For any Ubuntu user that can reach this thread, I must say that from nvidia 331 driver you must install the “nvidia-modprobe” package to have access to CUDA as a normal user. In ubuntu 14.04 install it manually. In newer versions of Ubuntu, this package is probably install automatically with the driver.
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1361207

I’ve made what you said, I’ve installed the nvidia-moprobe, and after that the corrected cuda for GTX9xx series on this link.
And It still doesn’t works, I don’t know why after an other download of the latest development build on mib link, wich it was also on the bleder wiki on the top of the release log, it works.

I think the nvidia 346.22 driver cannot works well, and I won’t try to use the 346.16 again ^^.

Because mib2berlin is right, for GTX-970 you also need the latest version of blender from buildbot. Have you been able to use CUDA in Blender with version 343.22, right?

By the way, if you download the official version of blender or version from buildbot, you don’t need install CUDA Toolkit because those versions have the precompiled CUDA kernel. You only need the driver. I guess this (not needed CUDA Toolkit) is valid for GTX 970 too, but I’m not sure.

Yes I’ve been activate it, and It took 1min40 to render this scene in 4k



with my last computer, with the 4x2.9Ghz i5 it took 1hour and 55 minutes to get the picture, so it’s about 60x speeder :eek:

wow what a speed jump - so you are happy with the GTX 970? where did you buy it and what model?

I think I will get this one now as well because I think the drivers are out for OS X.

Yes I’m very happy with it, and it’s noty very expensive too. I’ve bought the msi Version because it’s overclocked by MSI itself, with waranty, and a friend has convinced me with the military class IV quality.


I’m wondering if I am missing something.

I’m running Ubuntu 14.10, 64 bit, with a new MSI GTX 970. I have:

and I’m still not seeing the GPU in the user preferences.

The nvidia server settings utility shows that 343.22 is running and the page “GPU 0” looks nearly identical to the one Niva had posted.

What am I missing? Do I have to tweak any other config files?

Thanks

Hello mistr try to dowload the cuda version for GTX970 on https://developer.nvidia.com/cuda-downloads-geforce-gtx9xx I think it won’t work without it.

Still no luck. :frowning:

I’ve downloaded the deb package from that link (>1 GB).
Installing this package dropped a few other packages onto the system, but did not install them.

From those I’ve installed “cuda-6.5”. After that “cuda-toolkit-6-5” had been installed along with some other stuff.

But the “Compute Device” in User Preferences - System is still “None”…

I’ll keep digging - any hints are welcome

@mistr, you show here what you get from the terminal with the next commands:

lspci | grep -i vga

sudo dpkg -l | grep -i nvidia

from buildbot have you downloaded Official or Gooseberry build?

Thank you for your help:

It’s a NVIDIA GTX 970

$ lspci | grep -i vga
01:00.0 VGA compatible controller: NVIDIA Corporation Device 13c2 (rev a1)

$ sudo dpkg -l | grep -i nvidia

showing removed nvidia driver 331, and removed older CUDA 5.5 libraries, and the newly installed 343 library

ii bbswitch-dkms 0.7-2ubuntu1 amd64 Interface for toggling the power on nVidia Optimus video cards
rc libcublas5.5:amd64 5.5.22-3ubuntu1 amd64 NVIDIA CUDA BLAS runtime library
rc libcuda1-331 331.38-0ubuntu7.1 amd64 NVIDIA CUDA runtime library
ii libcuda1-343 343.19-0ubuntu1 amd64 NVIDIA CUDA runtime library
rc libcudart5.5:amd64 5.5.22-3ubuntu1 amd64 NVIDIA CUDA runtime library
rc libcufft5.5:amd64 5.5.22-3ubuntu1 amd64 NVIDIA CUDA FFT runtime library
rc libcufftw5.5:amd64 5.5.22-3ubuntu1 amd64 NVIDIA CUDA FFTW runtime library
rc libcuinj64-5.5:amd64 5.5.22-3ubuntu1 amd64 NVIDIA CUDA INJ runtime library (64-bit)
rc libcurand5.5:amd64 5.5.22-3ubuntu1 amd64 NVIDIA CUDA Random Numbers Generation runtime library
rc libcusparse5.5:amd64 5.5.22-3ubuntu1 amd64 NVIDIA CUDA Sparse Matrix runtime library
rc libnppc5.5:amd64 5.5.22-3ubuntu1 amd64 NVIDIA Performance Primitives core runtime library
rc libnppi5.5:amd64 5.5.22-3ubuntu1 amd64 NVIDIA Performance Primitives for image processing runtime library
rc libnpps5.5:amd64 5.5.22-3ubuntu1 amd64 NVIDIA Performance Primitives for signal processing runtime library
ii libnvtoolsext1:amd64 5.5.22-3ubuntu1 amd64 NVIDIA Tools Extension
rc libnvvm2:amd64 5.5.22-3ubuntu1 amd64 NVIDIA CUDA Compiler NVVM runtime library
ii nvidia-343 343.22-0ubuntu1~xedgers14.04.1 amd64 NVIDIA binary driver - version 343.22
ii nvidia-343-dev 343.19-0ubuntu1 amd64 NVIDIA binary Xorg driver development files
ii nvidia-343-uvm 343.22-0ubuntu1~xedgers14.04.1 amd64 NVIDIA Unified Memory kernel module
ii nvidia-libopencl1-343 343.19-0ubuntu1 amd64 NVIDIA OpenCL Driver and ICD Loader library
ii nvidia-modprobe 343.19-0ubuntu1 amd64 Load the NVIDIA kernel driver and create device files
ii nvidia-opencl-icd-343 343.22-0ubuntu1~xedgers14.04.1 amd64 NVIDIA OpenCL ICD
ii nvidia-prime 0.6.2 amd64 Tools to enable NVIDIA’s Prime
ii nvidia-settings 346.16-0ubuntu1~xedgers14.04.2 amd64 Tool for configuring the NVIDIA graphics driver
[email protected]:/mnt/oldroot/home/mike$ sudo dpkg -l | grep -i nvidia
ii bbswitch-dkms 0.7-2ubuntu1 amd64 Interface for toggling the power on nVidia Optimus video cards
rc libcublas5.5:amd64 5.5.22-3ubuntu1 amd64 NVIDIA CUDA BLAS runtime library
rc libcuda1-331 331.38-0ubuntu7.1 amd64 NVIDIA CUDA runtime library
ii libcuda1-343 343.19-0ubuntu1 amd64 NVIDIA CUDA runtime library
rc libcudart5.5:amd64 5.5.22-3ubuntu1 amd64 NVIDIA CUDA runtime library
rc libcufft5.5:amd64 5.5.22-3ubuntu1 amd64 NVIDIA CUDA FFT runtime library
rc libcufftw5.5:amd64 5.5.22-3ubuntu1 amd64 NVIDIA CUDA FFTW runtime library
rc libcuinj64-5.5:amd64 5.5.22-3ubuntu1 amd64 NVIDIA CUDA INJ runtime library (64-bit)
rc libcurand5.5:amd64 5.5.22-3ubuntu1 amd64 NVIDIA CUDA Random Numbers Generation runtime library
rc libcusparse5.5:amd64 5.5.22-3ubuntu1 amd64 NVIDIA CUDA Sparse Matrix runtime library
rc libnppc5.5:amd64 5.5.22-3ubuntu1 amd64 NVIDIA Performance Primitives core runtime library
rc libnppi5.5:amd64 5.5.22-3ubuntu1 amd64 NVIDIA Performance Primitives for image processing runtime library
rc libnpps5.5:amd64 5.5.22-3ubuntu1 amd64 NVIDIA Performance Primitives for signal processing runtime library
ii libnvtoolsext1:amd64 5.5.22-3ubuntu1 amd64 NVIDIA Tools Extension
rc libnvvm2:amd64 5.5.22-3ubuntu1 amd64 NVIDIA CUDA Compiler NVVM runtime library
ii nvidia-343 343.22-0ubuntu1~xedgers14.04.1 amd64 NVIDIA binary driver - version 343.22
ii nvidia-343-dev 343.19-0ubuntu1 amd64 NVIDIA binary Xorg driver development files
ii nvidia-343-uvm 343.22-0ubuntu1~xedgers14.04.1 amd64 NVIDIA Unified Memory kernel module
ii nvidia-libopencl1-343 343.19-0ubuntu1 amd64 NVIDIA OpenCL Driver and ICD Loader library
ii nvidia-modprobe 343.19-0ubuntu1 amd64 Load the NVIDIA kernel driver and create device files
ii nvidia-opencl-icd-343 343.22-0ubuntu1~xedgers14.04.1 amd64 NVIDIA OpenCL ICD
ii nvidia-prime 0.6.2 amd64 Tools to enable NVIDIA’s Prime
ii nvidia-settings 346.16-0ubuntu1~xedgers14.04.2 amd64 Tool for configuring the NVIDIA graphics driver