3

I've spent several hours on making my videocard work after upgrading Ubuntu to 12.04. Nothing worked.

The latest attempts were:

  1. Installing the 'official' driver (http://us.download.nvidia.com/XFree86/Linux-x86/340.32/NVIDIA-Linux-x86-340.32.run), but then the installation procedure complained about installed nouveau driver. I have tried to remove/uninstall this driver by:

    • putting nouveau on the modprobe blacklist (see: How do I disable the "Nouveau Kernel Driver"?) and
    • by deleting the package: apt-get --purge remove xserver-xorg-video-nouveau. It didn't help; the installation procedure still detected a nouveau driver
  2. I added the xorg-edges PPA:

    sudo add-apt-repository ppa:xorg-edgers/ppa
    

then I installed the nvidia-graphics-drivers-340 (see http://www.ubuntuupdates.org/ppa/xorg-edgers) by this:

    $ sudo apt-get install nvidia-graphics-driver-340
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package nvidia-graphics-driver-340

How can I fix this?

WillemJ
  • 31

2 Answers2

6

I was having the same problem, and I fixed it by running the following commands in the terminal:

sudo apt-get purge nvidia* ## remove the previously installed proprietary driver
sudo reboot
sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update
sudo apt-get install nvidia-340

That worked for me. Let me know how it goes for you.

karel
  • 122,292
  • 133
  • 301
  • 332
-1

12.04 is not the latest version. 15.04 is the latest version and instead of dist-upgrade I suggest a clean install. Backup all your data and clean install 15.04 and your drivers should be working just fine out of the box. If you find any problem then install again nvidia official drivers but it will work with the updated nouveu drivers included in 15.04.

Brask
  • 1,588