LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Fedora 10 no compiz, no working NVIDIA-driver after update (https://www.linuxquestions.org/questions/fedora-35/fedora-10-no-compiz-no-working-nvidia-driver-after-update-700592/)

jonaskellens 01-28-2009 02:03 PM

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 ?

Brickwall 01-28-2009 03:43 PM

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.

jonaskellens 01-29-2009 12:01 PM

Quote:

Originally Posted by Brickwall (Post 3424480)
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...

John VV 01-29-2009 11:55 PM

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

Brickwall 01-30-2009 12:00 AM

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.

lazlow 01-30-2009 01:24 AM

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.

jonaskellens 02-03-2009 03:29 AM

Quote:

Originally Posted by John VV (Post 3425979)
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 ~]$

John VV 02-03-2009 11:42 AM

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

jonaskellens 02-04-2009 03:39 AM

Quote:

Originally Posted by John VV (Post 3430577)
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.

John VV 02-04-2009 10:35 AM

the akmod ( unlike the std kmod) will auto build the new driver kernel module ,when a new kernel is detected

jonaskellens 02-05-2009 04:26 AM

Quote:

Originally Posted by John VV (Post 3432009)
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.

erik777 02-14-2009 04:58 PM

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

John VV 02-14-2009 05:26 PM

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

erik777 02-14-2009 07:20 PM

I did a yum erase kmod-nvidia* to get rid of the kmod one, and it still didn't work.

erik777 02-14-2009 08:05 PM

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.


All times are GMT -5. The time now is 02:33 PM.