Ruben,
To my knowledge nVidia stuff doesn’t do DRI.
Also, I don’t want to use MESA since this is the software version of the
API.
glxinfo reports “direct rendering: yes”, so I should be able to use the
hardware accelerated stuff.
Cheers,
Kos_____
From: sdl-bounces+kos=climaxgroup.com@libsdl.org
[mailto:sdl-bounces+kos=climaxgroup.com at libsdl.org] On Behalf Of R?ben L?cio
Sent: 21 November 2006 12:37
To: A list for developers using the SDL library. (includes SDL-announce)
Subject: Re: [SDL] render performance
Kos,
How distro do you use?
You have to install mesa drivers. Mesa is the OpenGL for linux.
That is too important for 3D aceleration.
You can try it too http://dri.freedesktop.org/wiki/
http://dri.freedesktop.org/wiki/
That active the direct hardware acess in linux.
R?ben
On 11/21/06, Kostas Kostiadis <@Kostas_Kostiadis mailto:Kostas_Kostiadis > wrote:
Ruben,
Thank you for your reply…
I think my problem is related to that “undefined symbol:
glXSwapIntervalMESA”, but I haven’t managed to track down what’s causing it
and nobody else seems to know unfortunately
Cheers,
Kos
From: sdl-bounces+kos=climaxgroup.com@libsdl.org
<mailto:climaxgroup.com at libsdl.org>
[mailto:sdl-bounces+kos=climaxgroup.com at libsdl.org
<mailto:sdl-bounces+kos=climaxgroup.com at libsdl.org> ] On Behalf Of R?ben
L?cio
Sent: 21 November 2006 11:46
To: A list for developers using the SDL library. (includes SDL-announce)
Subject: Re: [SDL] render performance
Check glxinfo
if you have direct render active, probaly you have a good performance.
with ATI driver 32bits i get 250fps in glxgears test, but now i’m trying to
install 64bits and it dont work…
i was try some time ago to install nvidia drivers, but without success.
On 11/20/06, Phantom Lord <thephantomlord at gmail.com <mailto:thephantomlord at gmail.com> > wrote:
Hi Kostas,
I had a similar problem. When I was developin’ my library, I’d had trouble
with fps when rendering in OpenGL. No more than 80fps bursted on a "classic"
triangle (a rotating one)…640x480x32; thats all, no more FPS (even in
fullscreen mode).
I have the same videocard as you.
Anyway, I didn’t find out how to fix it =S…
C ya
2006/11/20, Kostas Kostiadis <@Kostas_Kostiadis
mailto:Kostas_Kostiadis >:
Andreas,
Thank you for your response…
glGetString for vendor, renderer, and version, return the following:
OpenGL Vendor : NVIDIA Corporation
OpenGL Renderer : GeForce FX 5500/AGP/SSE2
OpenGL Version : 2.1.0 NVIDIA 96.29
I’m at a loss with this one…For some reason, SDL causes openGL to fall
back to software rendering but I’ve no idea why.
I’m guessing that’s why I’m getting the “undefined symbol:
glXGetSwapIntervalMESA” stuff as well…
The nVidia OGL stuff don’t contain anything MESA related, which is correct.
I just don’t know why SDL_GetError returns this at runtime…
Glxgears uses hardware acceleration, and glxinfo returns “direct rendering:
YES”, so I’m not sure why SDL causes OGL to fall back to software
rendering…Any ideas are always welcome!
Cheers,
Kos
----- Original Message -----
From: mailto:climaxgroup.com@libsdl.org (sdl-bounces+kos= )
climaxgroup.com at libsdl.org
[mailto: <mailto:sdl-bounces+kos=climaxgroup.com at libsdl.org>
sdl-bounces+kos=climaxgroup.com at libsdl.org] On Behalf Of andreas
Sent: 17 November 2006 19:29
To: A list for developers using the SDL library. (includes SDL-announce)
Subject: Re: [SDL] render performance
I think that glGetString(GL_RENDERER) will return a string containing "Mesa"
if your application is currently using Mesa instead if the nVidia driver.
Other calls to help you identify the current driver may be;
glGetString( GL_VENDOR )
glGetString( GL_VERSION )
glGetString( GL_EXTENSIONS )
HTH
Kostas Kostiadis wrote:
Hi Matthias,
Thank you for your response…I think althought
glxinfo|grep render
returns
direct rendering: Yes
OpenGL renderer string: GeForce FX 5500/AGP/SSE2
there’s something going on with the version of gl that my system is using.
It seems to be looking in /usr/lib/nvidia/ for all the libGL stuff (which
I’m guessing is where my livna rpm nvidia driver stuff goes) rather than
/usr/lib.
If I look for glXGetSwapIntervalMESA in /usr/lib, the symbol is
there…but
if I look in /usr/lib/nvidia it’s missing.
I think my performance is very bad because nothing is hardware
accelerated…
Any ideas on how I can tell whether things use hardware acceleration or
not?
Cheers,
Kos
SDL mailing list
SDL at libsdl.org <mailto:SDL at libsdl.org>
http://www.libsdl.org/mailman/listinfo/sdl
http://www.libsdl.org/mailman/listinfo/sdl
SDL mailing list
SDL at libsdl.org <mailto:SDL at libsdl.org>
http://www.libsdl.org/mailman/listinfo/sdl
http://www.libsdl.org/mailman/listinfo/sdl
–
Phantom Lord
Caelis Studios —> From Gods Hands To Yours
SDL mailing list
SDL at libsdl.org <mailto:SDL at libsdl.org>
http://www.libsdl.org/mailman/listinfo/sdl
http://www.libsdl.org/mailman/listinfo/sdl
–
Linux user #433535
Linux because we are freedon.
SDL mailing list
SDL at libsdl.org <mailto:SDL at libsdl.org>
http://www.libsdl.org/mailman/listinfo/sdl
http://www.libsdl.org/mailman/listinfo/sdl
–
Linux user #433535
Linux because we are freedon.