0

I just installed Ubuntu 12.04, and the installation went good, all seemed fine, did my updates. After that I decided to install the proprietary drivers for my Graphics card.

Before I did my updates I checked and all was good, I just needed to install them, but now I get this:

enter image description here

Is there any way to fix this? Is my driver already installed, or do I need to reinstall Ubuntu again?

Just for the record if it helps my graphics card is NVidia Geforce 740m

Tim
  • 32,861
  • 27
  • 118
  • 178

2 Answers2

3

As you haven't installed the drivers yet, let's try that.

If you want the latest drivers add the repository to software sources:

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-cache search nvidia | grep -oE "nvidia-[0-9]{1,3}"

I have a list like this:

nvidia-340
nvidia-346
nvidia-346
nvidia-346
nvidia-346
nvidia-346
nvidia-346
nvidia-346
nvidia-346
nvidia-352
nvidia-352
nvidia-355
nvidia-355

View full output here.

Then you need to install one of them. I currently have nvidia-355 (the latest at time of writing) active, but I have also got 352, 346 and 340 as well.

I'd suggest installing the latest non-dev version, which you can find by searching the nVidia site. This is 355 at the moment, so run this command:

sudo apt-get install nvidia-355

Then restart the computer when this completes. When it boots up, check everything is okay and login and then check the Additional Drivers window.

If anything looks buggy, use Ctrl + Alt + F2 to enter tty and login. Then you can install an earlier version, with one of the following commands:

sudo apt-get install nvidia-331
sudo apt-get install nvidia-340
sudo apt-get install nvidia-346
sudo apt-get install nvidia-352
sudo apt-get install nvidia-355
cl-netbox
  • 31,163
  • 7
  • 94
  • 131
Tim
  • 32,861
  • 27
  • 118
  • 178
1

Remove nvidia drivers:

sudo apt-get purge '^nvidia.*'
sudo reboot

Install the latest drivers:

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update

You need to find the latest driver:

sudo apt-cache search nvidia | grep -oE "nvidia-[0-9]{1,3}"

And you will see a list of drivers. At the time of writing, 355 is the latest, but 358 will be released soon, so make sure you run the command and look at the last, newest version, and install that with:

sudo apt-get install nvidia-355 
sudo reboot  

If you have a laptop with hybrid graphics:

sudo apt-get install nvidia-prime

To switch between intel and nvidia graphics open NVIDIA X Server Settings -> Prime Profiles

Tim
  • 32,861
  • 27
  • 118
  • 178
TellMeWhy
  • 17,484