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.

I have Ubuntu 12.10 and I have been very painfully trying to figure out how to install my Nvidia drivers.

Online I read to do this:

sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get updates
sudo apt-get install nvidia-current

I did that and restart and now i have no menues, HUD, dash or anything, just my desktop wallpaper and a handfull of icons i left on the desktop.

How do I fix this?

share|improve this question

1 Answer 1

Ok, so you are experiencing something that happens to a small group, me included. The solution is a little bit tedious but if you have an internet connection then we can proceed.

Another point to be noted, if you are trying to install the driver into a optimus/hybrid graphics enabled laptop/All in one, you may stuck at black screen or low resolution (or some weird situation).

  • These nvidia-driver doesn't support optimus enabled computer. To know how to work with these models see How well do laptops with Nvidia Optimus work?.

  • To know whether you have optimus, execute lspci | grep VGA, if the output is two line intel HD and nvidia, you do have optimus. If you only have one nvidia card in the output, please follow instruction below.

First, when booting, hold the SHIFT or press ESC like crazy until the GRUB menu appears. Select the option about "Recovery".

After the recovery menu appears, go to the option that gives you the chance to go to the terminal with root privileges.

After going to the terminal add the Xorg Edges PPA. Why this PPA?, Because on some machines I have worked on, the solution is the specific drivers and xorg version found in this PPA.

sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update
sudo apt-get upgrade

Now the following line, which is the one to install a specific driver, depends totally on the video card you are using.

This will literally vary, for example, if you have an Nvidia 730m from HP DV 6000 for example, the only driver that will work correctly will be the oldest one. This is, the Nvidia 173 packages.

If you have a more up to date model, then you can test the 304, 310 or 313 series.

simply do ONE of the following and reboot afterwards to see if it worked:

sudo apt-get install nvidia-173 - For very old models ranging from 5xxx to 9xxx

sudo apt-get install nvidia-304 - For old/new models ranging from 6xxx and up

sudo apt-get install nvidia-310 - For new models

sudo apt-get install nvidia-313 - For newest models

After executing one of those, simply do sudo reboot

One of those will, after rebooting, fix all problems. Unity and Compiz should work correctly. The only thing left would be that, if after opening the Nvidia Panel you get an error about some missing file, simply go to a terminal and sudo nvidia-xconfig, then reboot again.

This is the quickest way to solve this, although,adding the specific Nvidia model would help narrow down the package you need to install. I can confirm this in 12.04, 12.10 and 13.04 with about 10 computers that happen to have the same problem since I encounter it a couple of months back.

share|improve this answer
    
OP here, thanks for your help but someone recommended i try something called bumblebee 3.0 and it seemed to fix it for me –  user127189 Jan 30 '13 at 6:35
    
No problem although that is one of the reasons I always ask for the hardware the user is using. –  Luis Jan 30 '13 at 6:41

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.