[SDL] Re: Weirdness with SDL_GetVideoInfo and Joystick

Bob Pendleton bob at pendleton.com
Thu Aug 26 11:18:25 PDT 2004


On Thu, 2004-08-26 at 07:29, Tyler Olsen wrote:
>   > Mostly it is just X11. The info you dumped tells you what the SDL
> > graphics routines have to work with. If you use OpenGL, then you get to
> > use all the neat things on your video card. Try running glxinfo to find
> > out what you really have available. If that doesn't show all you video
> > card goodies then you don't have your video card properly configured.
> > 
> > 		Bob Pendleton
> > 
> > 
> 
> Hmm, I see. Well I don't use OpenGL for this program (at least not yet). 
> glxinfo displays a bunch of stuff that I'm not going to copy over unless 
> someones wants me to, but it does say:
> 
> OpenGL vendor string: ATI Technologies Inc.
> OpenGL renderer string: RADEON 9700 Generic
> OpenGL version string: 1.3 (X4.3.0-3.9.0)

If you have an ATI card then this is probably correct. It doesn't tell
you the type of the card, just the name of the render implementation.

Try running glxgears. It it runs fast, your card is correctly
configured. The definition of "fast" depends on a lot of factors. I get
about 900 fps, but, if video synch were enabled I would get about 80.

		Bob Pendleton


-- 
+--------------------------------------+
+ Bob Pendleton: writer and programmer +
+ email: Bob at Pendleton.com             +
+ blog:  www.Stonewolf.net             +
+ web:   www.GameProgrammer.com        +
+--------------------------------------+





More information about the SDL mailing list