Sunday, April 27, 2014

Blender 2.70 GPU render in Ubuntu 14.04 (Trusty) with GTX 750ti

This post sums up the current solutions to get Blender 2.70 to render with Cycles GPU (CUDA) with an Nvidia GTX 750ti in Ubuntu 14.04 (Trusty Tahr) amd64.

Test environment

  • UbuntuStudio 14.04 amd64
  • Blender 2.70 64 bits
  • Graphics processor: GEForce GTX 750 ti
  • Nvidia driver version 337.12 (xorg-edgers ppa)
  • CPU: Core i7 4770

Installation of nvidia-337-uvm

1. Install x-edgers ppa 337.12 nvidia driver from https://launchpad.net/~xorg-edgers/+archive/ppa

2. The patch buildfix_kernel_3.12.patch failed in nvida-337-uvm above, so I modified the deb file and removed the patch and instructions associated with it. Download and install the nvidia-337-uvm.deb in https://www.mediafire.com/?wih2o3vhibdvze6
UPDATE: The latest nvidia-337-uvm_337.19-0ubuntu1~xedgers14.04.1_amd64.deb version from the xorg-edgers ppa archives had commented out the patch in the dkms.conf so there is no need to install my mod. Just install the xorg-edgers version.


3. copy 60-nvidia-uvm.rules (in the zip file above) to /etc/udev/rules.d/
note: this is an implementation of the solution posted at https://devtalk.nvidia.com/default/topic/699610/334-21-driver-returns-999-on-cuinit-cuda-/?offset=6

4. add nvidia and nvidia-uvm to list of modules in /etc/modules

5. reboot your computer

Installation of sm_50 cuda kernel in blender 2.70

3. Download Jucyfruit's precompiled cuda kernel for linux at http://martijnberger.nl/file/2.70_sm50.tar.gz . (see in context http://blenderartists.org/forum/showthread.php?327909-Cycles-NVidia-MAXWELL-Benchmarks&p=2602924&viewfull=1#post2602924)

Copy the X86_64/kernel_sm_50.cubin to blender-2.70-linux-glibc211-x86_64/2.70/scripts/addons/cycles/lib/

1 comment:

Anonymous said...

These instructions worked for me about a month ago in 14.04, but I had to reformat my drive and now these no longer work. I tried installing it both ways mentioned, and neither work for me now.
system specs:
CPU: i7 4771
GPU: GTX 750 ti FTW
MBoard: Gigabyte GA-H87-D3H
Memory: 8GB GSkill Ripjaw 1600

 
Creative Commons License
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.