Ubuntu – Nvidia driver installed successfully, but not activated


My Ubuntu 12.04 only shows up black screen when starting up some days ago suddenly. Since I can desktop through recovery mode (resume in recovery mode, and the resolution is wrong), I believe there's something wrong with my video card driver. So I go to nvidia's website, download the driver NVIDIA-Linux-x86-310.44.run, and installed it successfully.

Now, while I can get the following output with lspci | grep -i nvidia

01:00.0 VGA compatible controller: NVIDIA Corporation GT215 [GeForce GT 335M] (rev a2)

the driver seems not to be activated.

When I start up NVIDIA X Server settings, it shows up a message box saying

You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run nvidia-xconfig as root), and restart the X server.

But I do run xnvidia-config successfully, and also reboot the system.

What's more, the "Additional Drivers" is blank, saying

No proprietary drivers are in use on this system

Could anybody give some hints on how to deal with this problem? Thanks a lot!

Best Answer

I was also facing the same problem. Now that you asked it, I wanted to fix in my computer as well. So here is how you do it.

EDIT: sudo apt-get install nvidia-current

sudo nvidia-xconfig. This will just create the file /etc/X11/xorg.conf. Next do

sudo software-properties-gtk

You should see something like this

enter image description here

Select Additional Drivers tab and select the latest NVIDIA driver as I have selected here.

Now reboot. This reboot might take a long time. No need to worry. If it takes more than 10 minutes with the black screen, even after rebooting, restart with Ctrl+Alt+Del or even hard reset (keep pressing the power button as long as needed). It should work properly now.

Related Question