Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel 2.6.9, xorg-x11, nvidia and missing GL libraries?!?!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
deepwave
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2004
Posts: 122
Location: ONS Insomniac

PostPosted: Sun Oct 31, 2004 1:23 pm    Post subject: Kernel 2.6.9, xorg-x11, nvidia and missing GL libraries?!?! Reply with quote

So I have been sort of stuck on this problem recently of getting my NVidia graphics cards working with xorg-x11 under the new gentoo-dev-sources-2.6.9-r1...

First it did not load the kernel module, giving an undefined __VM_ALLOC_RESERVE symbol

That was fixed with adding "EXPORT_SYMBOL(__VMALLOC_RESERVE);" into /usr/src/linux/arch/i386/mm/init.c

So now it worked fine, but now I cannot compile any new GL programs...
When it does configure:
Checking for GL Libraries... no

I currently have the following:
-nvidia-kernel/nvidia-glx 1.0.5336
-xorg-x11 6.8.0-r1

This is what I have tried to fix the problem, but the problem persists:
- reemerging xorg-x11, nvidia-kernel until I go blue in the face...
- adding NPTL support into glibc (i.e. USE="nptl" emerge glibc)

I am going to try the newest version of nvidia-kernel-1.0.6111-r2 and see how that turns out.

Any help would be appreciated...
_________________
Current open source project: justCheckers, a cross-platform checkers suite.
Back to top
View user's profile Send private message
Offler
n00b
n00b


Joined: 12 Jun 2004
Posts: 58

PostPosted: Sun Oct 31, 2004 1:32 pm    Post subject: Reply with quote

I am also having this problem and it's very annoying. I can't figure out what is going wrong, do I have to move to an older kernel to get everything working? If anyone has a clue how to fix this please help :cry:
Back to top
View user's profile Send private message
teutzz
Guru
Guru


Joined: 22 Apr 2004
Posts: 333
Location: .ro

PostPosted: Sun Oct 31, 2004 1:54 pm    Post subject: Reply with quote

upgrade to the latest testing nvidia-kernel (arch=~x86) or use 2.6.9 ck sources
_________________
Cand nu stii ce sa raspunzi sau ce sa spui un simplu BLA ajunge... lolz
Back to top
View user's profile Send private message
Offler
n00b
n00b


Joined: 12 Jun 2004
Posts: 58

PostPosted: Sun Oct 31, 2004 2:01 pm    Post subject: Reply with quote

Yep I've just found that out, I've been away from Gentoo too long :D
Back to top
View user's profile Send private message
rj686
Apprentice
Apprentice


Joined: 12 Oct 2004
Posts: 199
Location: In my room playing my guitar or Sitting at my damn computer trying to get my fuckin gentoo to work:)

PostPosted: Sun Oct 31, 2004 2:34 pm    Post subject: Reply with quote

im havin same problem as the guy who started this..........whats the newest version of kernel out? ive got 2.6.9-gentoo-r1
_________________
Athalon XP 3000+ (e-machines)
OS's:
Windows due to my idiot brother, I'll go full linux once i get my laptop :)
Back to top
View user's profile Send private message
deepwave
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2004
Posts: 122
Location: ONS Insomniac

PostPosted: Sun Oct 31, 2004 3:07 pm    Post subject: The saga continues... Reply with quote

Well I tried the latest ~x86 version of the nvidia-kernel and nvidia-glx...

The good news the EXPORT hack is no longer required but...
Now ALL my GL applications seg. fault on me, and attempts to recompile yield, columns of theses:

libGL.so: undefined symbol __nv(random 4 digit number)gl

Well, it will keep away from gaming for a while... Oh well, I'll take another look through the forums and see what I come up with.
_________________
Current open source project: justCheckers, a cross-platform checkers suite.
Back to top
View user's profile Send private message
rj686
Apprentice
Apprentice


Joined: 12 Oct 2004
Posts: 199
Location: In my room playing my guitar or Sitting at my damn computer trying to get my fuckin gentoo to work:)

PostPosted: Sun Oct 31, 2004 3:08 pm    Post subject: Reply with quote

i still cant load my modules.........i put the export command in the directory that u did.......and i still get the same error.......does it matter that i put it before the unknown symbol?
_________________
Athalon XP 3000+ (e-machines)
OS's:
Windows due to my idiot brother, I'll go full linux once i get my laptop :)
Back to top
View user's profile Send private message
deepwave
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2004
Posts: 122
Location: ONS Insomniac

PostPosted: Sun Oct 31, 2004 3:15 pm    Post subject: Reply with quote

Try using the ~x86 version of nvidia-kernel and nvidia-glx...

Code:
ACCEPT_KEYWORDS="~x86" nvidia-kernel nvidia-glx
see if that helps. Note that the kernel module depends on the version you are running right NOW. So if you do recompile the kernel then you should reboot and start up in that kernel.[/code]
_________________
Current open source project: justCheckers, a cross-platform checkers suite.
Back to top
View user's profile Send private message
rj686
Apprentice
Apprentice


Joined: 12 Oct 2004
Posts: 199
Location: In my room playing my guitar or Sitting at my damn computer trying to get my fuckin gentoo to work:)

PostPosted: Sun Oct 31, 2004 3:26 pm    Post subject: Reply with quote

u did mean to put an emerge in there right lol


now when i modprobe it i get this
Code:
Error inserting nvidia <directory> invalid module format



before i did at that EXPORT command in the init.c but it didnt seem to help
_________________
Athalon XP 3000+ (e-machines)
OS's:
Windows due to my idiot brother, I'll go full linux once i get my laptop :)
Back to top
View user's profile Send private message
Offler
n00b
n00b


Joined: 12 Jun 2004
Posts: 58

PostPosted: Sun Oct 31, 2004 4:12 pm    Post subject: Reply with quote

rj I think you should start from scratch. I've read your other thread and it helped me ( at least I think so; I'm emerging kde as I write ) I'd say your set-up may be in a total mess :? I've restarted myself because of problems before and it takes a lot less time then you might imagine to get back up to scratch. The hints given in your thread fixed my problem ( xstart brings up the fwm with the nvidia logo ) so I'd say your set-up may just be totally beyond help. unmerge everything and if that still fails then re-bootstrap 8O
Back to top
View user's profile Send private message
rj686
Apprentice
Apprentice


Joined: 12 Oct 2004
Posts: 199
Location: In my room playing my guitar or Sitting at my damn computer trying to get my fuckin gentoo to work:)

PostPosted: Sun Oct 31, 2004 4:38 pm    Post subject: Reply with quote

well right now im goin to work then im gonna come and redo the whole mother fuckin thing :) which isnt that bad cuz i did a stage 3.....the longest thing to wait for was xorg but thats cuz my internet was being stupid that day
_________________
Athalon XP 3000+ (e-machines)
OS's:
Windows due to my idiot brother, I'll go full linux once i get my laptop :)
Back to top
View user's profile Send private message
deepwave
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2004
Posts: 122
Location: ONS Insomniac

PostPosted: Sun Oct 31, 2004 6:43 pm    Post subject: Reply with quote

Sorry, that I couldn't help...

Apparently my problem happens more or less randomly, if the opengl doesn't work I just opengl-update nvidia...

Weird... and I really don't have time to figure out why it was happening.
_________________
Current open source project: justCheckers, a cross-platform checkers suite.
Back to top
View user's profile Send private message
rj686
Apprentice
Apprentice


Joined: 12 Oct 2004
Posts: 199
Location: In my room playing my guitar or Sitting at my damn computer trying to get my fuckin gentoo to work:)

PostPosted: Sun Oct 31, 2004 10:45 pm    Post subject: Reply with quote

which is the opposite of me cuz everything i do screws it up more
_________________
Athalon XP 3000+ (e-machines)
OS's:
Windows due to my idiot brother, I'll go full linux once i get my laptop :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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