View previous topic :: View next topic |
Author |
Message |
shruggy1987 n00b
Joined: 16 Jun 2004 Posts: 50 Location: Stony Brook, NY
|
Posted: Thu Feb 10, 2005 11:57 pm Post subject: Can't load nvidia module |
|
|
I emerged nvidia-glx so that I can get my nvidia GoForceFX card up
and running. After the emerge, I try to load the module:
modprobe nvidia
and i get an error output:
FATAL: error inserting nvidia (/lib/modules/2.6.10-gentoo-r6/video/nvidia.ko): Invalid module format.
Why is this and how should I fix it? |
|
Back to top |
|
|
meinstein n00b
Joined: 10 Jan 2005 Posts: 1
|
Posted: Fri Feb 11, 2005 12:12 am Post subject: |
|
|
It's most likely due to your kernel being compiled with a different GCC version than your kernel modules. Try recompiling your kernel, then the module again, and everything should work.
At least, it worked for me |
|
Back to top |
|
|
tortue.net n00b
Joined: 08 Jul 2004 Posts: 62 Location: France
|
Posted: Mon Feb 21, 2005 9:59 pm Post subject: |
|
|
I've got the same problem
I tried to unmerge all nvidia related ebuild and my kernel (ck-source-2.6.10-ck5).
I reinstalled my kernel, reinstalled nvidia-glx and nvidia-kernel...but I still have this same problem |
|
Back to top |
|
|
DarkStorm_Inc Tux's lil' helper
Joined: 07 Feb 2005 Posts: 105 Location: The Ether
|
Posted: Tue Feb 22, 2005 1:11 am Post subject: |
|
|
what particular nvidia ebuild are you using?
You may need to go to package.keywords and enter in nvidia-kernel ~x86 (dont forget the media-video or whatever dir it is)
I had a compile problem with nitro.. but this fixed (maybe with ck as well.. dont remember) |
|
Back to top |
|
|
shakti Guru
Joined: 15 May 2002 Posts: 358 Location: omnipresent
|
Posted: Tue Feb 22, 2005 1:27 am Post subject: |
|
|
/usr/src/linux must point to the correct kernel sources i believe, make sure its up to date if you updated kernel, then reinstall nvidia-kernel _________________ Using Gentoo since 2002. |
|
Back to top |
|
|
tortue.net n00b
Joined: 08 Jul 2004 Posts: 62 Location: France
|
Posted: Tue Feb 22, 2005 6:39 am Post subject: |
|
|
Yes my link /usr/src/linux does point to the correct kernel.
I have tried the ~x86 keyword for nvidia (glx and kernel) but without any improvement.
I heard also that the problem was with 2.6.10 kernel.
That is why I installed gentoo-dev-sources-2.6.9, and now nvidia module can be inserted in the kernel without any problem. (at least a modprobe nvidia do not return any error message)
But now I have very poor quality using "nvidia" in xorg instead of "nv" driver, and glx gears return Code: |
$ glxgears
Xlib: extension "GLX" missing on display ":0.0".
glxgears: Error: couldn't get an RGB, Double-buffered visual.
|
Any idea ? |
|
Back to top |
|
|
shakti Guru
Joined: 15 May 2002 Posts: 358 Location: omnipresent
|
Posted: Tue Feb 22, 2005 3:48 pm Post subject: |
|
|
i am using a 2.6.10-morth24 sources and both nvidia 1.0.6629 and 6111 kernels work fine. Are you sure kernel module and glx are the same version? unmerge and clean both and remerge. did you do opengl-update nvidia ? _________________ Using Gentoo since 2002. |
|
Back to top |
|
|
tortue.net n00b
Joined: 08 Jul 2004 Posts: 62 Location: France
|
|
Back to top |
|
|
|