PDA

View Full Version : [ubuntu] [SOLVED] kernel upgrade destroyed nVidia driver and/or xorg.conf file



Deutscher Alex
June 21st, 2008, 08:01 AM
I upgraded to kernel 2.6.24-19, and upon reboot, X no longer recognized my monitor/video card driver or the update destroyed it, and gave me a totally screwed up screen. I tried reinstalling the nVidia driver through System > Administration > Hardware Drivers; no luck. I tried Envy; no luck. I tried booting kernels -17 and -18; nothing. So I was left with the only option of booting into recovery mode and running xfix, which apparently ran the code:
sudo dpkg-reconfigure xserver-xorg -phigh
Now i get a normal screen, but all the Desktop effects no long work because my nVidia driver is disabled. If i try to enable the driver through Hardware Drivers or through envyNG, the whole problem starts over. I have a nVidia GeForce 8400 GS card... Please help!!

Bubba64
June 21st, 2008, 08:30 AM
2nd post
http://ubuntuforums.org/showthread.php?t=835664

Deutscher Alex
June 21st, 2008, 08:03 PM
2nd post
http://ubuntuforums.org/showthread.php?t=835664

thank you for the reply but please read my post.

Deutscher Alex
June 22nd, 2008, 03:55 AM
*bump*
I tried installing all the nvidia drivers I could find; nothing works. Not even the old driver I had works anymore.
I uninstalled the new kernel 2.6.24-19-generic and tested each driver. NOTHING. Not even after uninstalling the new kernel and reinstalling the old driver, WHICH WORKED PERFECTLY until this kernel update.

I've been trying to fix this for 2 days now; it's really starting to **** me off >.> :mad:

avtolle
June 22nd, 2008, 04:05 AM
Do you know the name of the driver(s) you've installed? That will be critical to removing them from the terminal using sudo apt-get remove XXXXX (XXXX being the name of the driver file).

EDIT: Similarly, it may be necessary to purge all instances of the driver and the config files, etc. associated with it.
sudo apt-get --purge XXXX or
sudo dpkg --purge XXXX may get the job done.

Deutscher Alex
June 22nd, 2008, 08:01 AM
Do you know the name of the driver(s) you've installed? That will be critical to removing them from the terminal using sudo apt-get remove XXXXX (XXXX being the name of the driver file).

EDIT: Similarly, it may be necessary to purge all instances of the driver and the config files, etc. associated with it.
sudo apt-get --purge XXXX or
sudo dpkg --purge XXXX may get the job done.

Thank you for this, but purging all the drivers and reinstalling them did not do the trick either.

But what I did notice was that when booting once it said
NVIDIA (169.12) Installing modules and then went on with loading ALSA, etc.
Other times it said something like
NVIDIA (169.12) already installed
169.12 is the driver version that envy installs.


How about if I manually edit xorg.conf?

Driver "nvidia"is the 3D driver I need, but that's the driver causing all the problems, even though it worked before.

Deutscher Alex
June 24th, 2008, 06:43 PM
Thanks for the help, but after trying basically everything else, I resorted to backing up my /home directory and doing a fresh install of Ubuntu. http://ubuntuforums.org/showthread.php?t=835867&page=2