The desktop does not show after I installed nvidia experimental drivers. I tried nvidia simple proprietary drivers, and they did not work either.
Here is how it looks. This is not cropped or any thing. This is how it looks, after the installation of the drivers the desktop resolution decreased from 1440x900 to 1024x768
The desktop only shows desh and panels when I use the open source drivers.
Is there any way to fix this so I can get better performance?
I had the same thing happen. Here is how I fixed it:
Switch to a terminal Ctrl+Alt+F1.
Login as your username.
Install linux headers:
Uninstall nvidia driver - this depends on which version you installed :
or
or
Reinstall nvidia driver
When you do this, it must say something like:
If it says
then the problem will not be solved. Do not believe the message. It is not asking for
linux-source
to be install, it does only want the headers but you must install the specific-generic
headers for your kernel. Run:It will not work with just
linux-headers-generic
orlinux-headers-3.5.0-17
(for example).If it successfully installs, restart the computer :
This should allow the kernel module to compile and install properly. It did for me!
If desktop still don't show, it might cause from Nvidia Optimus graphic card. I have laptop with GT 650M and that's also a Optimus card. Optimus cards behaves a little differently and there is no Linux support for them by default. More info about Optimus in linux: http://ubuntuforums.org/showthread.php?t=1657660
But it's possible to get it working with Bumblebee. This is how I did it on fresh Ubuntu 12.10 installation (No nvidia drivers installed):
Then reboot or re-login.
It didn't work first when I left off that second command. Then to run something with graphic card type optirun before command. In example:
optirun glxspheres
oroptirun ./executable-file
. Good way to test the difference between integrated graphics and your graphic card is to run glxspheres with and without optirun.https://wiki.ubuntu.com/Bumblebee
This saves power when you activate your graphic card only when it's needed. I hope I helped someone, because I have spent hours to find out the problem with my graphics card (yup, I'm quite new with these Linux graphics drivers).
After meddling with this for a few evenings (disappearing unity desktop, 640x480 resolution only, weird artefacts on my screen) on my Geforce GT 630, this is what worked for me:
sudo apt-get install linux-sources && sudo apt-get install linux-headers-generic
(I'm not entirely sure whether/why this step is necessary, but I saw it in this thread and thought I'd give it a try)so far so good - I have the NVIDIA settings panel (without the Xconfig error message), dual monitors, and high resolution.
Special note: do NOT install the "additional drivers" package (Jockey). This package actually seems to disappear after step 2 (software updates) - the method for adding additional drivers seems to have moved to the "software sources" app.
I just installed Ubuntu 12.10 today, and had this issue with nvidia driver.
I tried to follow above instructions, but all these failed because of two words that are quite important: "generic" and "-17".
I eventually found that the best way of installing NVidia driver is to actually use installer privided by nvidia. So I went to:
http://www.nvidia.com/Download/index.aspx?lang=en-us
and downloaded version for Linux-64bit (install synaptic
sudo apt-get install synaptic
and look in the menu Settings -> Repository -> Additional Drivers to find out the exact name of your nvidia card)Then you run the tool and it says you need kernel headers, however read carefully because it requires "generic" headers.
You need to verify your kernel version, mine was 3.5.0-17 (this "-17" at the end matters), so in my case I did:
(find out your kernel version by typing ina terminal
uname -r
)You need to kill GUI login daemon:
and after that you may run:
Installer will probably tell you that Noveau kernel module is loaded and will suggest adding modprobe script. You should say Ok/Yes to all whatever it tells you and then reboot and run NVIDIA-Linux-x86_64-310.19.run again.
Not sure if other approach would work as well, but this one does for sure.
This also works for the Nvidia 7400 cards. But if the kernel updates you must change the install line to the latest version now it is:
instead off:
Reboot the system!
I tried almost everything, but here is the one that really worked for me:
run the following commands:
then reset unity with this command:
reboot and Unity is back!! I hope it works for you.
I solved the problem tonight. I installed the latest Kernel 3.7.1 after compiling it like I always do. Then I installed the nVidia drivers from Synaptic. This caused the Unity menus to disappear like what you show in your screenshot. The solution for me is below:
Now not only is the problem solved by you have the very latest nVidia drivers!
If your install doesn't work (initial module not building), you have to make sure you only have one set of headers installed.
This doesn't work
This works
In this case, simply
Now, the nvidia installer will work.
I did this:
Worked great.