Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Same question as on the Blender stackexchange site.

As a recap:

  • I have to install the nvidia driver but how to do it? (repository or manually? And I already had problems with both, as said)
  • My computer detects an other graphic card as the one that I have! (Maybe the reason why no proprietary drivers are purposed)

Every help is welcome!

It came out that the problem was that I have OPTIMUS. But in 14.04 it seems to be supported.

So, under 14.04 (on my external HDD) it detects my Nvidia driver OUT OF THE BOX!!! But with Blender and cuda installed as said on this site and this driver:

enter image description here

I then installed Blender from this ppa as well as the CUDA driver from the same site.

Then, Blender detects the GPU!!!

GPU detected

But it says (Cycles mode with GPU rendering active):

Cuda >= 2.0 only supported

Even with Experimental on:

enter image description here

But on the site, thay say that Cuda < 2.0 is experimental:

Cuda < 2.0 is experimental

Should I wait, or could it help if I use another driver?

share|improve this question

4 Answers 4

As per the question linked by you, you have GeForce GT 330M and ubuntu detected intel card as display driver. This concludes one thing, you have a laptop with optimus technology and you can not install nvidia drivers directly.If done, You will get a black screen.

Now I don't know what a blender is. But I guess this is a graphics intensive app which require powerful graphics processor.

The driver released by Nvidia doesn't support hybrid/optimus configuration. So there is unofficial work to get the power saving and finding a way to use nvidia card. The result is Bumblebee.

You can find the install & usage instruction - https://wiki.ubuntu.com/Bumblebee

You can go through the following question before doing anything

How well do laptops with Nvidia Optimus work?

A similar question but old - Bumblebee ubuntu 12.04 blender

maybe helpful :

How can I get nVidia CUDA or OpenCL working on a laptop with nVidia discrete card/Intel Integrated Graphics?

More info - https://github.com/Bumblebee-Project/Bumblebee/wiki

share|improve this answer
    
Ok! I'll test it! I keep you informed! –  tuxtoriel Mar 19 at 19:01
    
Ok, I tested it on an external HDD, with Ubuntu 13.10 installed on it. I installed Bumblebee and tested blender: nothing. Then, I installed the nvidia driver from ppa but nothing too! Should I wait for 14.04? (See this site) –  tuxtoriel Apr 4 at 16:56
    
I installed 14.04 beta on my external HDD... And ubuntu detects my Nvidia graphics card OUT OF THE BOX!!! I used the additional drivers app to install the nvidia 331.38 version. Then I installed Blender with the irie ppa and CUDA like said on the same site. But then, Blender says:"CUDA device supported only with compute capability 2.0 or up, found 1.2". And in "Experimental" mode, it doesn't change anything too. Is it possible to change the version or something like this? Or should I wait the support (If I understand the Cycles wiki well)? –  tuxtoriel Apr 16 at 19:56
    
For the Nvidia graphics card I choose 331.38 but can choose 304.117 too. Which is best? And should I install the "-updates" version instead of the normal one? (I added a screenshot in the question) –  tuxtoriel Apr 19 at 9:51

The NVIDIA driver has had support for Optimus on Ubuntu since 13.10. Your issue is that neither installing the NVIDIA drivers, nor installing Blender triggers the installation of the cuda toolkit. Open a terminal and issue the following command; sudo apt-get install nvidia-cuda-toolkit and it will enable the use of cuda in Blender.

share|improve this answer
    
I did install nvidia-cuda-toolkit (sorry, I only mentioned it in the comments below, in the response to Web-E). But it installs 1.2 ... (as I understood). I new it from this site. Do you think I could make something to make it work? (I'll update my question with the informations!) Thanks for your help! –  tuxtoriel Apr 21 at 11:18
    
Sadly I have no other ideas. I'll look into it more and update my response if I find anything. This is an issue that plagued me so I know how frustrating this must be for you. –  C.Jacobs Apr 22 at 15:08
    
It is very frustrating,yes! Thank you very much for your help! :) I'll update the post if I have some news! –  tuxtoriel Apr 22 at 19:16

Is it not like in 12.04 (precise) that if you download blender from blender.org (yes - I mean NOT installing but downloading the tar.gz thingy) unpack it and start directly blender from this file that the problem is solved?

I am using blender now since two years and since these two years it always worked like that. Which means: The installed blender version in ubuntu does NOT support CUDA and no update does while the downloaded and "portable" version of blender from blender.org does.

But do not ask me why that has not been changed.

share|improve this answer
    
That's exacly what I did recently, but it does NOT work with 2.70. BUT it WORKS with 2.96!!! :·). The only lasting problem is that, given that it doesn't install, I have to pass, at every launch, the load step (Blender loads something to let me use the graphics card). And my computer does not always pass it (overheating)! :( Thanks for the idea! –  tuxtoriel Jun 25 at 10:36
    
Strange. I work with 2.70a and it runs with CUDA support. It worked for me since almost 2 years now in all blender versions. But good to hear that it works for you with 2.96. –  Peterling Jun 26 at 15:43
up vote 0 down vote accepted

Quick sum up of the issues and their fixes:

  • Optimus not supported by Ubuntu (13.10)

    -> Ubuntu 14.04 supports it out of the box!

  • Blender doesn't detect CUDA

    -> Use the proprietary driver (accessible in the additional driver panel)

  • Blender complains about CUDA 1.2. It only supports >=2.0

    -> Use Blender 2.96 or lower or install the CUDA toolkit

    -> AND use "Experimental" mode

=> It should work! :·)

For more informations: http://blender.stackexchange.com/questions/10800/cuda-acceleration-with-cuda-1-2

Thanks to everybody!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.