Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NVidia OpenGL library switch.
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
jtza7
n00b
n00b


Joined: 23 Jan 2003
Posts: 7

PostPosted: Sun Dec 14, 2003 12:17 pm    Post subject: NVidia OpenGL library switch. Reply with quote

Every time I boot, need to switch to the nvidia opengl libraries (opengl-update nvidia), or else all OpenGL apps have an error simmilar to "Could not initialize GL context.", what could be tampering with my default?
Back to top
View user's profile Send private message
moby dick
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2002
Posts: 78
Location: Germnany / Frankfurt a. Main

PostPosted: Sun Dec 14, 2003 6:09 pm    Post subject: Reply with quote

I have the same effect after every 'emerge ...'. :oops:
_________________
Athlon 64X2 4200+, MSI K8N SLI (nForce4 chipset), 2x512MB DIMM, MSI GeForce 6800 GT
Back to top
View user's profile Send private message
mike4148
l33t
l33t


Joined: 09 Sep 2003
Posts: 641

PostPosted: Sun Dec 14, 2003 9:49 pm    Post subject: Reply with quote

Both of you: try doing this at a prompt as root, while OpenGL is working.
Code:
ldconfig

If OpenGL suddenly breaks, requiring you to do an opengl-update nvidia, then you probably have some other GL libraries hanging around. Here are a few questions for you:

1. Have you ever installed the nvidia drivers without using the ebuild? Their libraries might confuse opengl-update.

2. Have you ever installed any GL libraries other than xfree's and nvidia's (e.g., Mesa)?

3. Do you have any stale versions of nvidia-glx hanging around (look at emerge -pC nvidia-glx)?

I've had a problem before (with another distro), where ldconfig would keep replacing symlinks to GL libraries every time it was run. The solution was to track down any rogue libraries (in my case, they were Mesa 3 compatibility libraries) and remove them from the system.
Back to top
View user's profile Send private message
moby dick
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2002
Posts: 78
Location: Germnany / Frankfurt a. Main

PostPosted: Mon Dec 15, 2003 8:58 am    Post subject: Reply with quote

mike4148 wrote:
Both of you: try doing this at a prompt as root, while OpenGL is working.
Code:
ldconfig

If OpenGL suddenly breaks, requiring you to do an opengl-update nvidia, then you probably have some other GL libraries hanging around. Here are a few questions for you:

Yes, OpenGL suddenly breakes!

mike4148 wrote:

1. Have you ever installed the nvidia drivers without using the ebuild? Their libraries might confuse opengl-update.

I must confess that I tried to install the drivers with nvidias own tools. In the first days of my Gentoo-experience I did that 'cause I didn't knew any better.

mike4148 wrote:

2. Have you ever installed any GL libraries other than xfree's and nvidia's (e.g., Mesa)?

Nope. No Mesa or comparable installed.

mike4148 wrote:

3. Do you have any stale versions of nvidia-glx hanging around (look at emerge -pC nvidia-glx)?

Not that I knew. I'm using the 1.0.4966 version.

mike4148 wrote:

I've had a problem before (with another distro), where ldconfig would keep replacing symlinks to GL libraries every time it was run. The solution was to track down any rogue libraries (in my case, they were Mesa 3 compatibility libraries) and remove them from the system.

So I will try. Thanx Mike for your advise. :P

Bye
M.
_________________
Athlon 64X2 4200+, MSI K8N SLI (nForce4 chipset), 2x512MB DIMM, MSI GeForce 6800 GT
Back to top
View user's profile Send private message
moby dick
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2002
Posts: 78
Location: Germnany / Frankfurt a. Main

PostPosted: Wed Dec 17, 2003 5:26 pm    Post subject: Reply with quote

It was the nvidia-installer that caused all the trouble.
After an
Code:
nvidia-installer --uninstall
emerge nvidia-kernel
emerge nvidia-glx

everything works. I did't expect that to be the source of trouble cause it's been a long time since i spoiled my sytsem with that.
:P NOW IT'S CLEAN AGAIN!!! Thanx :P
_________________
Athlon 64X2 4200+, MSI K8N SLI (nForce4 chipset), 2x512MB DIMM, MSI GeForce 6800 GT
Back to top
View user's profile Send private message
Brandy
Bodhisattva
Bodhisattva


Joined: 08 Jun 2003
Posts: 820
Location: New Zealand

PostPosted: Wed Dec 17, 2003 7:56 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Desktop Environments.
_________________
Faber est suae quisque fortunae.
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