Ubuntu – How to install drivers for NVIDIA GT210

aptdriversnvidiaxorg

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?

Best Answer

  • 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.

  • Related Question