Tuesday, December 27, 2016

drivers - Nvidia Optimus + CUDA + bumblebee + 14.04

I am the unfortunate to have laptop with optimus technology(nvidia gpu + intel integrated gpu), which seems to make a lot of problems to the new Ubutnu users.



I'm running fresh Ubuntu 14.04 install with Nvidia GPU: gtx 760m, and I want to install the following set: nvidia driver + bumblebee + CUDA 6.5 + Nsight Eclipse. I'm interested in running only few program on nvidia GPU via bumblebee and its $optirun command. The rest of the system I want to stay and run on the intel's GPU.



I've searched the whole internet on how to do that, and each search gave sometimes completely different, and sometimes slightly different answers. I followed some of them and each time I failed.




Nvidia driver:




  • should I install the latest driver (340.46 http://www.nvidia.pl/download/driver....aspx/78504/pl) and just run it? Or later driver?

  • Should I install the driver via terminal ? Via Software&Updates ? Or maybe from another repository?

  • Some users say to blacklist opensource nouveau driver. Some user say the installation process does it automatically. Lots of users end with the black screen problem



CUDA:





  • some surces say to



sudo apt-get install nvidia-cuda-toolkit




  • some say just




sudo apt-get install cuda



Could someone who DOES know the problem inside out, paste here the step by step solution? Which driver, from what source? How to verify each installation and step. It'd be helpful for every user struggling with this issue.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...