LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-28-2009, 02:03 PM   #1
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 688

Rep: Reputation: 34
Fedora 10 no compiz, no working NVIDIA-driver after update


I have Fedora 10 installed. I've just made an update of my system. Things that were updated were a new kernel version with devel and also something with NVIDIA (which is my video card).

After restart of my system, compiz fusion no longer works.

I have a NVIDIA-Linux-x86-177.82-pkg1.run -file to manually install the NVIDIA-driver so the advanced features of Compiz can be utilized.

After install, the bootup screen tells me that loading the NVIDIA driver has failed. I also receive a WARNING-message.

[jonas@jonas ~]$ dmesg | grep nvidia
nvidia: module license 'NVIDIA' taints kernel.
nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
nvidia 0000:01:00.0: setting latency timer to 64
[jonas@jonas ~]$ dmesg | grep NVIDIA
nvidia: module license 'NVIDIA' taints kernel.
NVRM: loading NVIDIA UNIX x86 Kernel Module 177.82 Tue Nov 4 13:35:57 PST 2008

So... what can I do ?
 
Old 01-28-2009, 03:43 PM   #2
Brickwall
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Rep: Reputation: 0
Though I am by no means an expert or perhaps even a power user, I would still like to share a similar experience of mine.

I had the same problem with my nvidia drivers (which I installed from rpmfusion) after I rebooted with the updated kernel. Fortunately, since the previous kernel is kept in the grub menu, I rebooted back to it and after a few hours got an update for nvidia drivers from rpmfusion which resolved the compatibility issue.
 
Old 01-29-2009, 12:01 PM   #3
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 688

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by Brickwall View Post
Though I am by no means an expert or perhaps even a power user, I would still like to share a similar experience of mine.

I had the same problem with my nvidia drivers (which I installed from rpmfusion) after I rebooted with the updated kernel. Fortunately, since the previous kernel is kept in the grub menu, I rebooted back to it and after a few hours got an update for nvidia drivers from rpmfusion which resolved the compatibility issue.
RPMfusion is also in my repositories. But I did not paid attention to the fact if the NVidia-driver came form Fedora or from RPMfusion.

So what I must try is the following : reboot to the previous kernel version and then install the NVidia drivers for this kernel version.

And so I may not update to the newest kernel-version ? I must utilize a previous version ??
Not that I need the newest functionality of the linux kernel...
 
Old 01-29-2009, 11:55 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,589

Rep: Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643
NVIDIA-Linux-x86-177.82-pkg1.run and kmod-nivida SHOULD NOT BE INSTALLED AT THE SAME TIME
use one or the other .Uninstall the kmod BEFORE installing the *.run. Or uninstall the *.run before installing kmod-nvidia
Code:
sh ./NVIDIA-Linux-x86-177.82-pkg1.run --uninstall
 
Old 01-30-2009, 12:00 AM   #5
Brickwall
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Rep: Reputation: 0
Well, if you do need to work with compiz and all the candy that comes along with nvidia drivers, then you have to stick to the previous kernel until your nvidia drivers are updated.

Secondly, if you can afford experimenting, try out the new nvidia 180 drivers. My own 177 one was updated with it. I say experimenting because you probably want to do things manually here. Otherwise, you can of course let the kmod pick the best one for you.
 
Old 01-30-2009, 01:24 AM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Every time you change to a new kernel you will either have to rebuild the driver against the new kernel or install the kmod that was made for that specific kernel. The kmods usually lag behind the kernel release by a few days. There is a third option, DKMS. Essentially DKMS automatically rebuilds the driver on the first boot of each new kernel (only has to be done once per kernel). The big advantages are that you never have to wait on kmods and you do not have to manually rebuild the driver for each kernel. The disadvantage is that when a new driver is released (like 180) you have to wait for them to build the new dkms module before you can use it. It seems like building the dkms modules must be a PITA becuase they do not seem to build them unless there is a major advance in the driver. Hopefully since 180 has the vdpau stuff in it they will rebuild for it.
 
Old 02-03-2009, 03:29 AM   #7
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 688

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by John VV View Post
NVIDIA-Linux-x86-177.82-pkg1.run and kmod-nivida SHOULD NOT BE INSTALLED AT THE SAME TIME
use one or the other .Uninstall the kmod BEFORE installing the *.run. Or uninstall the *.run before installing kmod-nvidia
Code:
sh ./NVIDIA-Linux-x86-177.82-pkg1.run --uninstall
Previously to the updates I installed, I ran compiz with the NVIDIA-Linux-... packages. After every kernel update I ran the script again and everything went on like normal.
Now, I've added some repositories and obviously they have their own drivers which conflict with my way of installing the NVIDIA-driver.

The situation was thus, that the NVIDIA.ko - file was not found at startup and so the driver could not load. So no advanced graphics.

Now I did what you told me to do namely uninstall the NVIDIA-linux-... package via the --uninstall -command you posted.
The problem I have then is that Fedora hangs at startup. No failed NVIDIA-.ko module BUT when starting anacron my screen flickers up and Fedora hangs. I need to go to a second virtual terminal (ctrl+alt+F2) to reboot or shutdown.

I think uninstalling also deleted other files necessary to the system...

What I did now is re-install the NVIDIA-linux-x86-... -driver in a second virtual terminal and now my system runs again, also anacron is able to start. BUT : the NVIDIA.ko- is again not found.

So we're turning in a circle...

How do I uninstall the kmod ??? Do I need to uninstall everything ???

[jonas@jonas ~]$ rpm -qa | grep kmod
kmod-nvidia-2.6.27.9-159.fc10.i686-180.22-1.fc10.i686
libmikmod-3.2.0-3.beta2.fc9.i386
kmod-nvidia-2.6.27.12-170.2.5.fc10.i686-180.25-1.fc10.i686
kmod-nvidia-2.6.27.7-134.fc10.i686-177.82-1.fc10.6.i686
kmod-nvidia-180.25-1.fc10.i686
[jonas@jonas ~]$

Last edited by jonaskellens; 02-03-2009 at 03:32 AM.
 
Old 02-03-2009, 11:42 AM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,589

Rep: Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643
to uninstall the kmod run
Code:
yum erase  kmod-nvidia*
you might want to read the how to
"F10 Howto for the rpmfusion nvidia drivers "
http://forums.fedoraforum.org/showthread.php?t=204752
and use the akmod
 
Old 02-04-2009, 03:39 AM   #9
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 688

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by John VV View Post
to uninstall the kmod run
Code:
yum erase  kmod-nvidia*
you might want to read the how to
"F10 Howto for the rpmfusion nvidia drivers "
http://forums.fedoraforum.org/showthread.php?t=204752
and use the akmod
I've installed the akmod drivers by following the guide you gave me and I must say everything now works like a charme...
I'm curious what happens when a new kernel-version will arive :-)

Thanks for the help.
 
Old 02-04-2009, 10:35 AM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,589

Rep: Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643
the akmod ( unlike the std kmod) will auto build the new driver kernel module ,when a new kernel is detected
 
Old 02-05-2009, 04:26 AM   #11
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 688

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by John VV View Post
the akmod ( unlike the std kmod) will auto build the new driver kernel module ,when a new kernel is detected
I've seen it do this the first time I used akmod, it built like a charm...
I'm hopefull that it does this everytime with the same ease.

Greetingz from Belgium.
 
Old 02-14-2009, 04:58 PM   #12
erik777
LQ Newbie
 
Registered: Feb 2009
Posts: 18

Rep: Reputation: 0
I have been stuck for a long time, and tried everything. Everythings works when I install off the live FC10 CD. I was able to get Nvidia and TwinView working. I've had yum updates before. But, this last one with a kernel update hosed me completely.

I've tried re-installing, installing nvidia with the run script, uninstalling everything. After uninstalling that and kmod, I just tried akmod, to no avail. I've tried simple xorg.conf as well as the more complex one that was once working.

I have a GeForce 6200 PCI. In all these cases, I get:

(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0): enabled.
(EE) NVIDIA(0): Failed to load the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "wfb"
(II) UnloadModule: "fb"

And modprobe can't find nvidia:

[root@localhost erik]# modprobe nvidia
FATAL: Module nvidia not found.

Here are nvidia rpms I have installed:

[root@localhost X11]# rpm -qa | grep -i nvidia
kmod-nvidia-2.6.27.12-170.2.5.fc10.i686-180.25-1.fc10.i686
xorg-x11-drv-nvidia-libs-180.25-1.fc10.i386
xorg-x11-drv-nvidia-180.25-1.fc10.i386
akmod-nvidia-180.25-1.fc10.i686
 
Old 02-14-2009, 05:26 PM   #13
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,589

Rep: Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643
Quote:
I've tried re-installing, installing nvidia with the run script
if you use the nvidia.run installer then FOR ALL kernel,xorg,and x11 updates YOU MUST REBUILD the driver by rerunning the *.run installer
-- also did you UNINSTALL the .run driver BEFORE installing a kmod driver
if both are installed your system may not work right
Code:
sh ./*.run --uninstall
--
also having the kmod AND the akmod installed at the same time will mess up your system
kmod-nvidia-2.6.27.12-170.2.5.fc10.i686-180.25-1.fc10.i686
akmod-nvidia-180.25-1.fc10.i686
remove one
--
the "kmod-nvidia " updated driver may lag about 1 to 3 days behind the kernel update
i used to install the new kernel by running
Code:
yum update kmod-nvidia
and have yum grab the new kernel as a dependency
--
the akmod-nvidia will auto build a driver once a NEW kernel, kernel-devel,or kernel-header is detected

Last edited by John VV; 02-14-2009 at 05:31 PM.
 
Old 02-14-2009, 07:20 PM   #14
erik777
LQ Newbie
 
Registered: Feb 2009
Posts: 18

Rep: Reputation: 0
I did a yum erase kmod-nvidia* to get rid of the kmod one, and it still didn't work.
 
Old 02-14-2009, 08:05 PM   #15
erik777
LQ Newbie
 
Registered: Feb 2009
Posts: 18

Rep: Reputation: 0
I removed all *nvidia* packages with yum erase. I did an rpm reinstall of all xorg-x11* and mesa*. I did an rpm -Va of the same, and only had one discrepancy:

....L... /usr/lib/libGL.so.1

and rpm -qa *nvidia* returns nothing. I then did:

yum install akmod-nvidia xorg-x11-drv-nvidia-libs.i386 xorg-x11-drv-nvidia-libs.x86_64

I now just have:

# rpm -qa *nvid*
xorg-x11-drv-nvidia-180.25-1.fc10.i386
xorg-x11-drv-nvidia-libs-180.25-1.fc10.i386
akmod-nvidia-180.25-1.fc10.i686

did reboot. I still get:

(EE) NVIDIA(0): Failed to load the NVIDIA kernel module!

Keep in mind I had this completely working with kmod-nvidia until I did a yum update earlier last Sunday that included a new kernel among many other things.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
F10 nVidia Driver installation and Enabling Compiz peeths003 Fedora 0 12-02-2008 05:34 AM
Fedora 8: Compiz not starting with nvidia driver Speed_Demon_X Linux - Desktop 7 06-11-2008 03:03 PM
nvidia driver and Fedora 7 - not working tarheel92x Linux - Hardware 11 06-13-2007 12:28 PM
3D desktop stops working after compiz update hansalfredche Mandriva 5 01-23-2007 12:32 PM
Wootness! Etch + KDE + Xgl + Compiz + NVIDIA working! pda_h4x0r Debian 12 11-06-2006 06:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration