I've spent several hours on making my videocard work after upgrading Ubuntu to 12.04.
Nothing worked.
The latest attempts were:
-
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
-
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:
That worked for me. Let me know how it goes for you.