[SDL] render performance
Kostas Kostiadis
kos at climaxgroup.com
Mon Nov 20 01:34:04 PST 2006
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: sdl-bounces+kos=climaxgroup.com at libsdl.org
[mailto: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
http://www.libsdl.org/mailman/listinfo/sdl
More information about the SDL
mailing list