PDA

View Full Version : nvidia mod not detected with new FC6 kernel


winblowz
18th August 2007, 05:43 PM
after sudo yum update lastnite a new kenel (2.6.22.2-42.fc6) was installed.

but now it seems the nvidia kernel mod can't be found by this kernel even tho they are there... /usr/lib/xorg/modules/extensions/nvidia/

here is what my xorg.conf looks like under the new kernel...
# Xorg configuration created by system-config-display

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

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

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

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
which looks quite a bit different from my xorg.conf under kernel 2.6.22.1-32.fc...
# 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/extensions/nvidia"
ModulePath "/usr/lib/xorg/modules"
EndSection

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

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

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

i have saved my old xorg.conf as current but after booting into 2.6.22.2-42.fc6 i still see that the nvidia kernel mod cannot be found with a FAILED & 2 WARNINGs during boot-up.

so i am left with a butt ugly display after boot-up.

i just noticed that the new xorg.conf (one that gets changed after nvidia kernel mod not found) gets re-generated by the system-config-display whereas the older xorg.conf that detects my nvidia card & correctly runs my display is generated by livna-config-display.

i am not sure if it was during my update last nite (with the new kernel update) or the previous update but i remember livna-config-display was recently updated.

any ideas what i can try?

SlowJet
18th August 2007, 06:21 PM
At least a half dozen questions about this is asked every time there is a new kernel.

Fedora does not make the video drive or the kmod.

Before updating the kernel, check with the repo that you are getting it from (liva) to make sure that:
1. There is a new kmod to download. If so download the rpm(s) needed and save them so you can re-install them without a gui browser, net access, etc.
2. Check with Nvidia to make sure this kmod is for the same video drv, or a newer one.
3. If a newer video drv, check the Nvidia model list to make sure your model (still works with the drv or not, and what has been change for your model.)

(It is the same process you have to do for Windows except you need the 3rd party kmod, also.)


SJ

leigh123linux
18th August 2007, 06:25 PM

Try

su
yum update kmod-nvidia

SlowJet
18th August 2007, 06:35 PM
Try

su
yum update kmod-nvidia


How is that any different than
yum update

At most the liva repo would be disabled so it would be
yum update --enablerepo=livareponame

SJ

leigh123linux
18th August 2007, 06:37 PM
How is that any different than
yum update

At most the liva repo would be disabled so it would be
yum update --enablerepo=livareponame

SJ

Well if you care to check the livna repo they have uploaded a new kmod today

i am not sure if it was during my update last nite (with the new kernel update) or the previous update but i remember livna-config-display was recently updated.

And winblowz updated last night .



I hope this explains the difference :p

SlowJet
18th August 2007, 06:45 PM
So say that.

Another metod for newbies is

yum check-update
if you see a new kernel but no kmod then reply N.
Then do
yum update --exclude=kernel --exclude=kernel-headers ...(other kernel-pakages

Yet another way is to put the exclude(s) in the yum.conf so the kernel is never updated
Then use rpms to install the new kernel

see
man yum
man rpm

SJ

leigh123linux
18th August 2007, 06:47 PM
So say that.

Another metod for newbies is

yum check-update
if you see a new kernel but no kmod then reply N.
Then do
yum update --exclude=kernel --exclude=kernel-headers ...(other kernel-pakages

Yet another way is to put the exclude(s) in the yum.conf so the kernel is never updated
Then use rpms to install the new kernel

see
man yum
man rpm

SJ

Agreed people should check before they update

you can also shorten the command to this

yum update --exclude=kernel*

winblowz
19th August 2007, 05:17 AM
su
yum update kmod-nvidia
that was the ticket. i actually did try to re-install the nvidia driver but i guess i should have went the extra step & tried to upgrade rather than re-install... DOH! live another day & learn another lesson :)

cheers,
wb