Hi all, I’m having a problem with blender not detecting my nVidia TITAN GPU!
there is no GPU option in blender under user preferences.
what I did is:
-installed my nVidia driver and libraries from rpm-fusion repository using:
yum install akmod-nvidia xorg-x11-drv-nvidia-libs xorg-x11-drv-nvidia-libs.i686
-checked that the driver installed cuda libraries at:
/lib64/nvidia/libcuda.so.1
/lib64/nvidia/libcuda.so.319.32
-checked that blender can use my card, which has a compute capability of 3.5 using this link:
-downloaded blender from the official website from this link:
http://www.blender.org/dl/http://download.blender.org/release/Blender2.68/blender-2.68a-linux-glibc211-x86_64.tar.bz2
-checked that blender has the corresponding cuda pre-compiled binaries -in my case “kernel_sm_35.cubin”- in the directory:
blender/2.68/scripts/addons/cycles/lib/
after this I started blender but can’t find a GPU option under user preferences!
I did some search on the internet and did some search and found out that some people got this fixed by installing the nVidia driver from the official nVidia website, although I knew that this is VERY BAD and it will eventually kill my system, but did it anyways, so what I did is:
-removed the rpmfusion driver using
yum remove akmod-nvidia* xorg-x11-drv-nvidia*
-downloaded and installed the official nVidia driver from this link:
http://us.download.nvidia.com/XFree86/Linux-x86_64/319.49/NVIDIA-Linux-x86_64-319.49.run
and yes…it did kill my system and I had to boot from the fedora dvd to fix the broken xorg…
so I removed the official driver using the script that came with it and re-installed the rpmfusion driver.
I did more search and found that for fedora 19 to use cuda I have to install the cuda-toolkit, and some people also says that this helped them fix this issue with no GPU option showing in blender…
although I know that this is not the case here as blender already comes with the pre-compiled cuda binary, I did it anyway
but couldn’t find a fedora 19 version of cuda so what I did is:
-followed this guide and installed cuda 5.5:
http://hobiger.org/blog/2013/07/04/fedora-19-and-cuda/
then I started blender but still no cuda option!!
I thought that my installation of cuda is not correct so what I did is:
-removed my old cuda install
-used the second method of installing cuda by downloading and installing the cuda ysing yum package manager so I installed the cuda repository from this link:
http://developer.download.nvidia.com/compute/cuda/repos/fedora18/x86_64/cuda-repo-fedora18-5.5-0.x86_64.rpm
-the I installed cuda using the following command in terminal:
yum install cuda
after the download and installation finished I opened blender and still no cuda option under user preferences!!!
I tried to reboot my machine after the install, but found out that I can’t log-in to fedora and the x-server wont start
because the cuda-toolkit from the cuda repository installed an nVidia driver for fedora 18 without even give me an option to chose from!!, anyways I booted to the install dvd again, removed the cuda toolkit and fixed the problem.
I also tried selecting the experimental option in render settings for a chance for the GPU option to show up, but NO it didn’t!
I also tried to export the nvidia lib paths by editing ~/.bash_profile and inserting
export LD_LIBRARY_PATH=/lib64/nvidia$LD_LIBRARY_PATH
with no luck!
I thought that there might be something wrong with the card so I switched to -Windows7 X64 SP1- and installed the nVidia driver and blender can see cuda and render with it!
now, can anyone show me what I’m doing wrong, or what dependency I should install for blender to be able to show the GPU option in fedora 19?
also it’s worth mentioning that with these steps and fedora 18 cuda option was showing up and rendering with no problem.
My Current PC Configuration Is:
-CPU:Intel Core I7 3930K
-Ram:16GB
-MB:Asus SaberTooth-X79
-GPU:nVidia TITAN
-OS:Linux Fedora 19-x86_64, with Kernel 3.10.10-200
blender Version:2.68a-r60058