Nvidia driver doesn't work in 12.10
Solution 1
Before switching to the nvidia drivers you need to install linux-source and linux-headers (see bug 1068341). After the source is installed, try switching to the nvidia drivers.
Here is how:
Before you start, install all updates (and reboot the computer, if you are told to).
Switch to a terminal (
Ctrl-Alt-F1
).Login as your username.
Install linux source (
sudo apt-get install linux-source
) and headers (sudo apt-get install linux-headers-generic
).Uninstall nvidia driver - this depends on which version you installed (
sudo apt-get remove nvidia-current
orsudo apt-get remove nvidia-current-updates
orsudo apt-get remove nvidia-experimental-304
).Reinstall nvidia driver (
sudo apt-get install nvidia-current-updates
).If it successfully installs, restart the computer (
sudo shutdown -r now
).
More In-depth How-to
The following link gives a more in-depth overview on how to handle the nvidia driver. It should be applicable to more cases, that are similar, but not exactly the same as the one described here:
https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia
Solution 2
For all of you in this situation (like I was) there is an easy solution:
- After logging into the session (only wallpaper seems to appear and bad resolution), right click and click on change wallpaper. Then click up in the left in Show all configurations (my system is in Spanish so maybe the label names are subtly different), then Software sources and finally you just need to change back to X.Org Nouveau.
After applying the changes press Ctrl+Alt+T to open a terminal and type
sudo reboot
. After this the system should be working properly again.-
Now try to install the NVIDIA drivers again. Install the meta package, not a specific version.
sudo apt-get install linux-headers-generic
Go to system configuration panel and in the software sources select the NVIDIA driver you prefer. (I normally prefer to use the proprietary tested one but it is only my preference)
Solution 3
In the special case of a Ubuntu 12.10 with Nvidia hardware acceleration on a Macbook Pro Retina this set of instructions was tested and works correctly.
Solution 4
For step by step instructions to resolve the issue follow rft183's answere.
If something goes wrong
To use the nouveau driver again run the command:
sudo apt-get install xserver-xorg-video-nouveau --reinstall
Afterwards the monitor resolution could not be set anymore. Deleting the monitors config helped:
rm ~/.config/monitors.xml
Related videos on Youtube
konradk
Updated on September 18, 2022Comments
-
konradk over 1 year
I have GeForce GTX 560 Ti. I's worked fine in 12.04 with nvidia drivers. Unfortunately, after todays 12.10 update, something broke down.
I've tried nvidia-current, nvidia-current-updates and nvidia-experimantal. Always the same behaviour: Bad resolution in lightdm, after logging nothing except wallpaper. No unity panels, "win" key doesn't work.
After removing nvidia drivers everything work.
-
Luis Alvarado about 11 yearsThis should help many users: askubuntu.com/questions/61396/…
-
-
konradk over 11 yearsI've installed linux-source and then nvidia drivers, but still the same problem.
-
rft183 over 11 yearsI wasn't sure if linux-headers was necessary, but try installing them. It should be linux-headers-3.5.0-17-generic in the software center. Then try switching to the nvidia drivers. If that doesn't work, I have a more 'manual' way :)
-
konradk over 11 yearsYes, that's it:bugs.launchpad.net/ubuntu/+source/… Linux headers helped. Thank you!
-
rft183 over 11 yearsCool, I'm glad it worked. I added myself to the list of people that bug affects.
-
Shahe Tajiryan over 11 yearsDo I have to install the nvidia-current-updates? Or can I get the nvidia-current or nvidia-expetimanetal-304?
-
rft183 over 11 yearsI haven't tried the others, but I would guess that they would work.
-
rft183 over 11 yearsThanks for pointing out the linux-headers-generic metapackage. I have updated my answer to reflect that.
-
Boris B. over 11 yearsHeaders are sufficient for most of kernel module compilations, typically one needs full source only for compiling the actual kernel.
-
xavier.seignard over 11 yearsHello, I tried that solution, with no luck. My laptop has 2 video cards, it's an optimus based. For now I'm stuck with the nouveau driver, and it's really annoying because I develop webgl apps so I really need this nvidia driver. Any idea? Regards
-
Boopathi Rajaa over 11 yearsDid you install kubuntu-desktop after installing ubuntu. ?
-
speciousfool over 11 yearsThese instructions do not work on retina macbook pros
-
pratnala over 11 yearsNo luck. I'm on a non-retina MacBook Pro
-
webstrap over 11 yearsI have the same graphic card on a desktop pc, but it does not help. The driver is not shown in the prop. driver settings and i have low resolution AND the i can scroll the screen to right (the second screen) that is just complete blue. Can't even switch to tty anymore. Only after i try recovery boot, and select there normal boot, some graphic driver loading seems to be skipped and i have full resolution, both screens and nvidia drivers used.
-
lumbric about 11 yearsI set up a fresh 12.10 and followed your instructions. The nvidia still couldn't load (
modprob nvidia
said "nvidia_current_updates not found") and also the configuration for nouveau was kind of messed up. I tried it a second time: fresh 12.10 install, then first installing all updates (I suppose this included a kernel update, but I didn't check that in detail), then installinglinux-headers-generic
andlinux-source
and finally installingnvida-current-updates
. Then nvidia drivers were working. That's why I added "install updates first" to your answer. -
damada about 11 yearsIn my case, the problem persisted. I noticed that using a guest account, everything was fine, so it a user setting was broken. 'dconf reset -f /org/compiz' solved the issue (though some compiz settings were resetted also)