Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenGL Question?
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
Knight
n00b
n00b


Joined: 14 Aug 2002
Posts: 26

PostPosted: Wed Aug 14, 2002 9:17 pm    Post subject: OpenGL Question? Reply with quote

I was wondering if it makes any much of a performance difference if any software I compiled with opengl support needs to be recompiled if I've changed my opengl interface from xfree to nvidia after putting in a new nvidia card from an SiS one.
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Wed Aug 14, 2002 9:21 pm    Post subject: Reply with quote

good question, I never quite thought of it!

I have an nvidia myself... anyone know?
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Aug 14, 2002 9:28 pm    Post subject: Reply with quote

Since most of the heavy lifting in OpenGL will happen in the X server and the client libraries for GL are typically dynamically linked, there should be no need to recompile to take advantage of speed ups.

Disclaimer: I have not looked into this deeply, so please take this reply with a chunk of salt. YMMV and all that.
Back to top
View user's profile Send private message
line72
Apprentice
Apprentice


Joined: 13 Jun 2002
Posts: 212

PostPosted: Wed Aug 14, 2002 9:34 pm    Post subject: Reply with quote

i was thinking that nvidia had it's own gl.h and glu.h
Back to top
View user's profile Send private message
Knight
n00b
n00b


Joined: 14 Aug 2002
Posts: 26

PostPosted: Wed Aug 14, 2002 9:39 pm    Post subject: Reply with quote

yeah it does as far as I remember that's why I was asking if it makes any much of a performance difference though it really doesn't matter to me it's just a developement box but still I'm just curious is all
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Aug 14, 2002 9:39 pm    Post subject: Reply with quote

The OpenGL API in gl.h should conform to the standard. Extensions, etc., would be vendor specific, of course.

Technically, the client does not even have to be running on Linux to be using OpenGL on a Linux X server (it could be a SGI/HP/Alpha... whatever).

line72 wrote:
i was thinking that nvidia had it's own gl.h and glu.h
Back to top
View user's profile Send private message
Knight
n00b
n00b


Joined: 14 Aug 2002
Posts: 26

PostPosted: Wed Aug 14, 2002 9:41 pm    Post subject: Reply with quote

Naan I looked into that further it looks like you're right so thx for clearing that up for me answered a good serious question :)
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Aug 14, 2002 11:13 pm    Post subject: Reply with quote

Moving to desktop forum since this is X/OpenGL related.
Back to top
View user's profile Send private message
dcstimm
Guru
Guru


Joined: 19 Jun 2002
Posts: 321

PostPosted: Thu Aug 15, 2002 2:33 am    Post subject: Reply with quote

i think opengl-update xfree and opengl-update nvidia switches between the two.
Back to top
View user's profile Send private message
syadnom
Guru
Guru


Joined: 09 May 2002
Posts: 531

PostPosted: Thu Aug 15, 2002 9:37 pm    Post subject: Reply with quote

i agree, just opengl-update nvidia or opengl-update xfree86 should do everything you need, no recompiles necessary.
Back to top
View user's profile Send private message
timbo
Apprentice
Apprentice


Joined: 29 Jul 2002
Posts: 231
Location: New Zealand

PostPosted: Thu Aug 15, 2002 10:11 pm    Post subject: Reply with quote

I have compiled and recompiled xfree and openGL, after comiling my glxgears sped up from around 40fps to 190fps but I still notice that glxinfo tells me dri is not being used. I have load "dri" in xf86config.

My video card is a 3dfx Banshee and a vodoo2 on passthrough, they do what I want so don't really want to get a new card.

Can anyone help with getting dri going? I've read and tried almost all the posts with little luck.

Regards
Tim
8)
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