Blender not detecting Nvidia Card.

Hello all,

As the title says, blender is not giving me the option to choose CUDA as the renderer on Linux Mint 17.2. It is running Blender version 2.75a and running Nvidia Driver K2100. The driver appears to be installed corrected as optirun works and states it is using the nvidia driver. I am using the tar.gz version of blender. The graphics card version is Nvidia 352.

What I have tried to far:
Reinstalling blender and nvidia.
Force mounting the card using sudo modprobe nvidia_352
installing the latest version of nvidia mod-probe

I have managed to get it working twice on this machine before both by installing nvidia-modprobe.

Some outputs:

cat /proc/driver/nvidia/version 
NVRM version: NVIDIA UNIX x86_64 Kernel Module  352.30  Tue Jul 21 18:53:45 PDT 2015
GCC version:  gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04) 


sudo dpkg -l | grep -i nvidia
ii  bbswitch-dkms                                               0.8-2~trustyppa1                                    all          Interface for toggling the power on NVIDIA Optimus video cards
ii  bumblebee                                                   3.2.1-91~trustyppa1                                 amd64        NVIDIA Optimus support
ii  bumblebee-nvidia                                            3.2.1-91~trustyppa1                                 amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
ii  libcublas5.5:amd64                                          5.5.22-3ubuntu1                                     amd64        NVIDIA CUDA BLAS runtime library
rc  libcuda1-349                                                349.16-0ubuntu0~xedgers14.04.1                      amd64        NVIDIA CUDA runtime library
ii  libcuda1-352                                                352.30-0ubuntu0~xedgers14.04.1                      amd64        NVIDIA CUDA runtime library
ii  libcudart5.5:amd64                                          5.5.22-3ubuntu1                                     amd64        NVIDIA CUDA runtime library
ii  libcufft5.5:amd64                                           5.5.22-3ubuntu1                                     amd64        NVIDIA CUDA FFT runtime library
ii  libcufftw5.5:amd64                                          5.5.22-3ubuntu1                                     amd64        NVIDIA CUDA FFTW runtime library
ii  libcuinj64-5.5:amd64                                        5.5.22-3ubuntu1                                     amd64        NVIDIA CUDA INJ runtime library (64-bit)
ii  libcurand5.5:amd64                                          5.5.22-3ubuntu1                                     amd64        NVIDIA CUDA Random Numbers Generation runtime library
ii  libcusparse5.5:amd64                                        5.5.22-3ubuntu1                                     amd64        NVIDIA CUDA Sparse Matrix runtime library
ii  libnppc5.5:amd64                                            5.5.22-3ubuntu1                                     amd64        NVIDIA Performance Primitives core runtime library
ii  libnppi5.5:amd64                                            5.5.22-3ubuntu1                                     amd64        NVIDIA Performance Primitives for image processing runtime library
ii  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
ii  libnvvm2:amd64                                              5.5.22-3ubuntu1                                     amd64        NVIDIA CUDA Compiler NVVM runtime library
rc  nvidia-304                                                  304.125-0ubuntu1~xedgers14.04.1                     amd64        NVIDIA legacy binary driver - version 304.125
ii  nvidia-352                                                  352.30-0ubuntu0~xedgers14.04.1                      amd64        NVIDIA binary driver - version 352.30
ii  nvidia-cuda-dev                                             5.5.22-3ubuntu1                                     amd64        NVIDIA CUDA development files
ii  nvidia-cuda-toolkit                                         5.5.22-3ubuntu1                                     amd64        NVIDIA CUDA toolkit
ii  nvidia-opencl-icd-352                                       352.30-0ubuntu0~xedgers14.04.1                      amd64        NVIDIA OpenCL ICD
ii  nvidia-prime                                                0.6.2linuxmint1                                     amd64        Tools to enable NVIDIA's Prime
ii  nvidia-profiler                                             5.5.22-3ubuntu1                                     amd64        NVIDIA Profiler for CUDA and OpenCL
ii  nvidia-settings                                             346.72-0ubuntu1                                     amd64        Tool for configuring the NVIDIA graphics driver
ii  primus                                                      20150328-1~trustyppa1                               amd64        client-side GPU offloading for NVIDIA Optimus


The beginning of optirun glxgears -info returns:

GL_RENDERER = Quadro K2100M/PCIe/SSE2
GL_VERSION = 4.5.0 NVIDIA 352.30
GL_VENDOR = NVIDIA Corporation

However sudo prime-select nvidia returns:

Error: alternatives are not set up properly
Error: nvidia mode can’t be enabled

Thanks in Advance

I’m running Mint 17.2 64 bit with a NVIDIA GTX 970 and am using the driver 346.72 that comes installed with Mint 17.2.

Cuda works for me using Blender 2.75.

Not sure if this will be much help but here’s a screenshot of the files I have installed via synaptic for CUDA and Modprobe


As far as I can remember theses are the only files I have installed that relate to Cuda and Modprobe.

I have installed Nvidia mod-probe both from the ubuntu repositary and the latest version from another repo. nvidia-modprobe -v returns:
nvidia-modprobe: version 352.30 (ming@ming-ThinkPad-W540) Thu Aug 13 18:14:36 AEST 2015

All of the packages in the screen shot are either installed or not seen of my synaptics screen. And I think that tar.gz version from the Blender site contains cuda anyways.

nvidia-modprobe does not appear in your “sudo dpkg -l | grep -i nvidia” output, for that reason I had asked.

So, You are not able to find CUDA in User Preferences when you run “blender” from official tar.bz2 file?

What does it show this command?

lspci | grep -iE ‘vga|3D’

Duplicate Post

I have deleted the nvidia-modprobe package from the repository which is why it doesn’t show up but I have the latest 352 version installed from ftp://download.nvidia.com/XFree86/nvidia-modprobe/

That is correct.

lspci | grep -iE ‘vga|3D’ returns:

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GK106GLM [Quadro K2100M] (rev a1)

Duplicate Post

It seems that you have a laptop with Optimus technology. Right?
I do not know much about it. I also do not know how your BIOS should be configured in that case. Although I have been able to run Intel + Nvidia on my PC recently:
https://devtalk.nvidia.com/default/topic/580537/linux/intel-nvida-simultaneously-is-it-possible-for-linux-desktop-/post/4562082/#4562082

Are you sure you need bumblebee? have you tried uninstalling all bumblebee and configuring your machine directly from nvidia driver (with “nvidia-prime” package installed)?

The card supports optimus and the bios should be condifugred correctly as cuda works on my arch system.

I prefer using Bumblebee as it is more convenient than prime and cinnamon crashes when try loading cinnamon with the nvidia driver.