Ubuntu – Ubuntu 12.04 LTS – Black Screen at boot After changing Nvidia Driver

12.04bootdriversgrub2nvidia

2 days ego i updated my Ubuntu 12.04 LTS to latest updates but i ignored Grub Updating because I thought it will clear my grub settings (I'm so noob!).
After restart every things was right, the Ubuntu started normally and every things was working well except graphic which had problem before update.

I had the experimental driver before but I changed it to the current-update version.
After restart Ubuntu stock on black screen.
I tried to reinstall Nvidia driver from recovery but it not worked.

Then i used Update Grub in recovery, it not worked too but i see this line on screen at boot:

enter image description here

at this time it stops and keyboard not working, but when I push the power button it shows these lines and it will shutdown.

enter image description here

OK finally I made it start with older kernel (3.5.0-28-generic).
Now how can I keep this kernel or fix Ubuntu to work with new kernel?
Should I reinstall Nvidia driver? Which version should I use?

Best Answer

i have same issue.

In /var/log/syslog i have found next lines:

[   13.834336] NVRM: API mismatch: the client has the version 319.32, but
[   13.834336] NVRM: this kernel module has the version 304.88.  Please
[   13.834336] NVRM: make sure that this kernel module and all NVIDIA driver
[   13.834336] NVRM: components have the same version.

It`s mean, that 2 kerenl modules installed.

In dkms i have seen 2 modules installed.

dkms status
nvidia-304-updates, 304.88, 3.5.0-39-generic, x86_64: installed
nvidia-319-updates, 319.32, 3.5.0-39-generic, x86_64: installed

Just delete previous module, and it work`s for me.

sudo apt-get purge nvidia-304 nvidia-304-updates