Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
sinisterdomestik
l33t
l33t


Joined: 28 Aug 2003
Posts: 683
Location: Texas

PostPosted: Sun Jun 26, 2005 5:01 am    Post subject: nvidia problems Reply with quote

i ran emerge -uD world and nvidia-glx and nvidia-kernel got updated to 1.0.7664, but when i try to run a game, for example, says things like
Code:
Error: API mismatch: the NVIDIA kernel module is version 1.0.7174, but
this library is version 1.0.7664. Please be sure that your kernel
module and all NVIDIA driver files have the same driver version.
and i dont know why. any help would be GREATLY appreciated
_________________
Thou shalt NEVER speak of removing thine Linux
Back to top
View user's profile Send private message
Dolio
l33t
l33t


Joined: 17 Jun 2002
Posts: 650

PostPosted: Sun Jun 26, 2005 5:04 am    Post subject: Reply with quote

You haven't rebooted since the install, correct?

The loaded kernel module isn't the newest version that goes with the OpenGL libraries. In short, you'll need to do something like:

1) Leave X, and shut down xdm
2) as root, execute 'rmmod nvidia'
3) as root, execute 'modprobe nvidia'
4) Restart xdm, and log back in.

Alternatively you could just reboot to have the new kernel module loaded.
_________________
They don't have a good bathroom to do coke in.
Back to top
View user's profile Send private message
sinisterdomestik
l33t
l33t


Joined: 28 Aug 2003
Posts: 683
Location: Texas

PostPosted: Sun Jun 26, 2005 5:06 am    Post subject: Reply with quote

NOOOOOOOOOOOOOOOO, reboot = bad :D
Code:
root@BlackBeauty:~ uptime 
 00:02:01 up 35 days, 16:46,  3 users,  load average: 0.09, 0.29, 0.18
and i dont have module unloading in this kernel :( any other alternatives
_________________
Thou shalt NEVER speak of removing thine Linux
Back to top
View user's profile Send private message
Dolio
l33t
l33t


Joined: 17 Jun 2002
Posts: 650

PostPosted: Sun Jun 26, 2005 5:10 am    Post subject: Reply with quote

sinisterdomestik wrote:
and i dont have module unloading in this kernel :( any other alternatives

Uh... Don't play 3D games for a while? :)

I hear nethack is quite nice.
_________________
They don't have a good bathroom to do coke in.
Back to top
View user's profile Send private message
sinisterdomestik
l33t
l33t


Joined: 28 Aug 2003
Posts: 683
Location: Texas

PostPosted: Sun Jun 26, 2005 5:16 am    Post subject: Reply with quote

HAHAHAHAHHAHAHAHAHHAHAHAHAHA

ill be building new kernel tomorrow and rebooting then :D
_________________
Thou shalt NEVER speak of removing thine Linux
Back to top
View user's profile Send private message
sinisterdomestik
l33t
l33t


Joined: 28 Aug 2003
Posts: 683
Location: Texas

PostPosted: Sun Jun 26, 2005 6:14 am    Post subject: Reply with quote

ok, new problem, i built new kernel, rebooted and re-emerge nvidia-kernel and nvidia-glx and rebooted again and i got the error taht the nvidia module wasnt loaded, but its in /etc/modules.autoload/kernel-2.6...anyone have any ideas??
_________________
Thou shalt NEVER speak of removing thine Linux
Back to top
View user's profile Send private message
Dolio
l33t
l33t


Joined: 17 Jun 2002
Posts: 650

PostPosted: Sun Jun 26, 2005 6:51 am    Post subject: Reply with quote

Did you update your /usr/src/linux symlink to be the same as your newly compiled kernel?
_________________
They don't have a good bathroom to do coke in.
Back to top
View user's profile Send private message
sinisterdomestik
l33t
l33t


Joined: 28 Aug 2003
Posts: 683
Location: Texas

PostPosted: Sun Jun 26, 2005 4:08 pm    Post subject: Reply with quote

yeah, all the symlinks are fine, i did it just like i always do when i upgrade kernels, doesnt make any sense. ive had this problem before, but cant remember wtf i did to fix it that time
_________________
Thou shalt NEVER speak of removing thine Linux
Back to top
View user's profile Send private message
Dolio
l33t
l33t


Joined: 17 Jun 2002
Posts: 650

PostPosted: Sun Jun 26, 2005 7:11 pm    Post subject: Reply with quote

Hmm. I don't really know.

What does the output of "modprobe nvidia" say?
_________________
They don't have a good bathroom to do coke in.
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Sun Jun 26, 2005 7:24 pm    Post subject: Reply with quote

Check /var/log/Xorg.0.log also.
Back to top
View user's profile Send private message
sinisterdomestik
l33t
l33t


Joined: 28 Aug 2003
Posts: 683
Location: Texas

PostPosted: Mon Jun 27, 2005 2:48 am    Post subject: Reply with quote

when i run startx, i get this...FATAL: Error inserting nvidia (/lib/modules/kernel-2.6.12-gentoo-r1/video/nvidia.ko): Invalid module format. its the same when i run modprobe nvidia
_________________
Thou shalt NEVER speak of removing thine Linux
Back to top
View user's profile Send private message
DrDoverylittle
n00b
n00b


Joined: 15 Oct 2004
Posts: 41

PostPosted: Mon Jun 27, 2005 4:01 am    Post subject: Reply with quote

Have you recompiled your nvidia module?
It should compiled with the new kernel.
Back to top
View user's profile Send private message
sinisterdomestik
l33t
l33t


Joined: 28 Aug 2003
Posts: 683
Location: Texas

PostPosted: Mon Jun 27, 2005 6:48 am    Post subject: Reply with quote

yeah, i ran emerge nvidia-kernel && emerge nvidia-glx after i rebooted into new kernel, even tried glx before kernel to no avail
_________________
Thou shalt NEVER speak of removing thine Linux
Back to top
View user's profile Send private message
sinisterdomestik
l33t
l33t


Joined: 28 Aug 2003
Posts: 683
Location: Texas

PostPosted: Mon Jun 27, 2005 6:09 pm    Post subject: Reply with quote

anyone have any ideas on how to fix this?? im at a dead end...works fine with old kernel, but i keep getting that FATAL: failed to load blah blah blah nvidia.ko msg when i try the new kernel
_________________
Thou shalt NEVER speak of removing thine Linux
Back to top
View user's profile Send private message
hank scorpio
n00b
n00b


Joined: 06 Jul 2003
Posts: 56

PostPosted: Wed Jun 29, 2005 3:07 am    Post subject: Reply with quote

sinisterdomestik wrote:
anyone have any ideas on how to fix this?? im at a dead end...works fine with old kernel, but i keep getting that FATAL: failed to load blah blah blah nvidia.ko msg when i try the new kernel


Usually this means the version of GCC you built the kernel with is different than the version you built the module with... Usually, I always explicitly emerge -C nvidia-glx nvidia-kernel, then boot new kernel, then emerge nvidia-kernel nvidia-glx. Good luck.
Back to top
View user's profile Send private message
opentaka
l33t
l33t


Joined: 18 Feb 2005
Posts: 840
Location: Japan

PostPosted: Fri Jul 22, 2005 1:44 pm    Post subject: Reply with quote

Dolio wrote:
You haven't rebooted since the install, correct?

The loaded kernel module isn't the newest version that goes with the OpenGL libraries. In short, you'll need to do something like:

1) Leave X, and shut down xdm
2) as root, execute 'rmmod nvidia'
3) as root, execute 'modprobe nvidia'
4) Restart xdm, and log back in.

Alternatively you could just reboot to have the new kernel module loaded.


hehe thanks.
rmmod nvidia helped me.
was trying to modprobe without unloading it :)
_________________
"Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Tue Sep 20, 2005 5:13 pm    Post subject: Reply with quote

Moved from Desktop Environments to Duplicate Threads in favour of 'modprobe nvidia' fails.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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