Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to get CUDA running on my Dell Precision M6700 laptop. I use Ubuntu 12.04 for the moment but I can switch to a newer version if it facilitates the installation of CUDA.

I just want CUDA to run, I don't really care about power management.

After some reading I decided to install bumblebee because my laptop uses Optimus, I followed the instructions here : I also updated the drivers to nvidia-319 driver.

Now I am unable to boot my computer with graphics; I end up with a frozen prompt. I still have access to the terminal prompt in recovery mode but I don't know where to look for errors.

I tried things like apt-get remove --purge nvidia* etc. How can I get the graphic mode working again to try something else ?

share|improve this question
up vote 2 down vote accepted

Well, I reinstalled a fresh Ubuntu 12.04 to get everything working again. I followed nVidia instructions here:

  • Replace sudo /etc/init.d/gdm stop with sudo service lightdm stop
  • Don't forget the --optimus option when calling the .run
  • When exporting to the path, be careful with versions, cuda-5.0 doesn't exist if you install cuda 5.5 !
  • I did nothing with the /dev/nvidia* files. I did not understand that part but CUDA is working.

Check that CUDA is working with the example and it should work !

share|improve this answer
What about screen tearing? does that work OK? – nbubis Dec 30 '14 at 8:53
No tearing on main screen, but there is tearing on any additional screen – VictorLamoine Dec 30 '14 at 20:32

Your Answer


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.