Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't load nvidia module
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
shruggy1987
n00b
n00b


Joined: 16 Jun 2004
Posts: 50
Location: Stony Brook, NY

PostPosted: Thu Feb 10, 2005 11:57 pm    Post subject: Can't load nvidia module Reply with quote

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
View user's profile Send private message
meinstein
n00b
n00b


Joined: 10 Jan 2005
Posts: 1

PostPosted: Fri Feb 11, 2005 12:12 am    Post subject: Reply with quote

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
View user's profile Send private message
tortue.net
n00b
n00b


Joined: 08 Jul 2004
Posts: 62
Location: France

PostPosted: Mon Feb 21, 2005 9:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
DarkStorm_Inc
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2005
Posts: 105
Location: The Ether

PostPosted: Tue Feb 22, 2005 1:11 am    Post subject: Reply with quote

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
View user's profile Send private message
shakti
Guru
Guru


Joined: 15 May 2002
Posts: 358
Location: omnipresent

PostPosted: Tue Feb 22, 2005 1:27 am    Post subject: Reply with quote

/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
View user's profile Send private message
tortue.net
n00b
n00b


Joined: 08 Jul 2004
Posts: 62
Location: France

PostPosted: Tue Feb 22, 2005 6:39 am    Post subject: Reply with quote

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
View user's profile Send private message
shakti
Guru
Guru


Joined: 15 May 2002
Posts: 358
Location: omnipresent

PostPosted: Tue Feb 22, 2005 3:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
tortue.net
n00b
n00b


Joined: 08 Jul 2004
Posts: 62
Location: France

PostPosted: Wed Feb 23, 2005 7:19 am    Post subject: Reply with quote

Actually the problem was in my xorg.conf (see https://forums.gentoo.org/viewtopic.php?p=2121152#2121152)
Now everything works just fine !!!!



Thanks for your help anyway !
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum