PDA

View Full Version : Nvidia kernel update leaves X inoperable



rossheth
15th November 2008, 05:56 PM
I'm running F9 on a Geforce FX5900. When I updated to kernel 2.6.27.5-37 and rebooted, I get to a text mode log in screen, then the screen flickers for a few seconds, and X doesn't start. Uninstalling the nvidia drivers solves the problem, but as soon as I reinstall them, the problem recurs. Any advice appreciated.

xorg.conf
__________

# Xorg configuration created by livna-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
EndSection

Section "ServerFlags"
Option "AIGLX" "on"
EndSection

Section "InputDevice"

# keyboard added by rhpxl
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection

Section "Monitor"
Identifier "Monitor0"
ModelName "LCD Panel 1280x1024"
HorizSync 31.5 - 64.0
VertRefresh 56.0 - 65.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nv"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024"
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

11Mikey
15th November 2008, 06:00 PM
After every kernel update, you need to re-install the Nvidia drivers. After that, problem solved (for me)

rossheth
15th November 2008, 06:10 PM
Yes, but reinstalling the drivers (the appropriate version for the new kernel) breaks X again

11Mikey
16th November 2008, 02:04 AM
1. Make sure you have the nvidia module loaded (modprobe nvidia).
2. Make sure X uses the correct driver, you should replace the "nv" driver with "nvidia".

Good luck

bhupesh
17th November 2008, 10:22 AM
May be try installing nvidia drivers manually from nvidia website. After updating nvidia drivers, enable akmods and it should take care of rest.

knesenko
17th November 2008, 12:04 PM
I had this problem yesterday with my old kernel.I updated my kernel to 2.6.27.5-37.fc9.i686.And then just installed kmod-nvidia.My problem is solved.

rossheth
22nd November 2008, 10:08 PM
For the record, the problem was caused by a custom udev rule for the nvidia /dev node. Removing it solved the problem.

spidey_8ball
23rd November 2008, 11:06 PM
i have the same problem with the text mode log in screen, i can only log in with root but only text mode so as a new person to fedora how do i go about this problem?

thanks in advance

Hlingler
23rd November 2008, 11:26 PM
What NVidia driver version are you trying to install? The 173.xx flavor is now the latest to support GeForce 5xxx series chipsets....

V

spidey_8ball
23rd November 2008, 11:39 PM
well what i remember i installed 173.??? and when i activated my second screen and set up all seemed well until i shut down my computer and later rebooted. and then text login screen.
fedora 9 Geforce 6800

leigh123linux
23rd November 2008, 11:46 PM
Here's a nvidia guide for the new rpmfusion nvidia packages .

http://forums.fedoraforum.org/showthread.php?t=204756


P.S I recommend the akmod nvidia install instructions .

spidey_8ball
23rd November 2008, 11:52 PM
so i just do this all text based just like in fedora with a terminal screen?

spidey_8ball
24th November 2008, 12:22 AM
ok so i tried to follow in command lines from leigh123 post

rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm

and it says this:

retrieving http://...............
error: skipping http............... transfer failed - unknown or unexpected error

after reading some other post, other user have the same problem so i looked at when fedora boots and does the system check and its all green "ok" so i don't think their is anything wrong with fedora 9 i think its the nvidia driver that might be preventing me from the kernel

so how to i revert back to the original basic driver

thanks again new fedora user

dhimes
24th November 2008, 04:00 AM
[hanging head and weeping]
I was living merrily in fedora-land. Life was grand. Soon it would be f-10; but I had two kernels with working wifi and nvidia.

Then, I did something stupid. I tried updating to the latest kernel. Now, I have nothing. Except windows Vista, from which this is being entered. Flickering screen? yes that's me (akmod-nvidia notwithstanding). Not only did it not work with the latest, it wiped out what I had spent so many hours getting to work. I had three previous kernels; all were working, none are now.

It's just not fair [sniff, sniff....]

Hlingler
24th November 2008, 04:06 AM
I'm sorry, I really don't understand why all the problems with NVidia drivers. If you guys want to try the DKMS-based NVidia driver like FreshRPMs used to offer, I've got nvidia-x11-drv-177.80-1.fc9.i386.rpm laying around which I'll upload for you to try, if you want. No guarantees, no updates.

V

leigh123linux
24th November 2008, 05:08 AM
I'm sorry, I really don't understand why all the problems with NVidia drivers. If you guys want to try the DKMS-based NVidia driver like FreshRPMs used to offer, I've got nvidia-x11-drv-177.80-1.fc9.i386.rpm laying around which I'll upload for you to try, if you want. No guarantees, no updates.

V

Do you want nvidia-x11-drv-180.08-1.fc9.i386.rpm ?


[leigh05@localhost ~]$ rpm -qa |grep nvidia
nvidia-x11-drv-180.08-1.fc9.x86_64
nvidia-x11-drv-32bit-180.08-1.fc9.x86_64
[leigh05@localhost ~]$

dhimes
24th November 2008, 12:42 PM
I don't understand the problem, either. Nvidia used to be the reliable part; madwifi was the thing I had to wrestle with.

My new kernel won't even boot past the "Red Nash 6.0.52 starting" screen, and my old kernels are unable to use the new Nvidia driver.

dhimes
24th November 2008, 01:00 PM
Hmmm. can't remove the kernel. ethernet connection doesn't seem to be working. Wow! What a day for this to happen...

Dr.Diesel
24th November 2008, 04:47 PM
Same here, now nothing but screen flicker, even if I revert back to the 2.6.26 kernel, no go. Following Leigh's instructions doesn't work either, neither the kmod or akmod. During the boot process it says the Nvidia is loaded correctly??

leigh123linux
24th November 2008, 04:53 PM
Same here, now nothing but screen flicker, even if I revert back to the 2.6.26 kernel, no go. Following Leigh's instructions doesn't work either, neither the kmod or akmod. During the boot process it says the Nvidia is loaded correctly??

Did you install the right nvidia version for you card ?

Dr.Diesel
24th November 2008, 04:55 PM
Yup, sure did. This was all working fine till an update a not long ago.

dhimes
24th November 2008, 04:57 PM
I'm getting that avahi is not working properly--I see it in the shutdown. I'll try to boot from a live cd, andn see if I can restore things...

dhimes
24th November 2008, 05:20 PM
can't boot from liveCD wtf???

dhimes
24th November 2008, 06:33 PM
well, I tried puppy and damn-small-linux to try to rescue my data. Now, I'm trying to mount a usb stick from the command line. Not quite sure how to do it, though (google-searching the forum returns gui-based info).

dhimes
24th November 2008, 06:42 PM
To mount the USB drive using the terminal:

as root:
1) go to /dev/disk/by-label and find the name of the device (mine is USB20FD)
2) make a directory in /mnt/, say usbdir (in /mnt/ use mkdir usbdir)
3) mount /dev/disk/by-label/USB20FD /mnt/usbdir

Hlingler
24th November 2008, 06:54 PM
Do you want nvidia-x11-drv-180.08-1.fc9.i386.rpm ?


[leigh05@localhost ~]$ rpm -qa |grep nvidia
nvidia-x11-drv-180.08-1.fc9.x86_64
nvidia-x11-drv-32bit-180.08-1.fc9.x86_64
[leigh05@localhost ~]$I personally will probably need the SRPM shortly when I upgrade F8 to F9. I've been wondering what to do about updates now that the DKMS driver won't be available from RPMFusion. Perhaps we should discuss that off-line... I'll send a PM.

Thanks,
V