disabling vsync (was Re: [SDL] sluggish SDL_Flip)

Latimerius pvl at uh.cz
Thu Oct 17 04:21:00 PDT 2002


On Thu, Oct 17, 2002 at 11:27:11AM +0200, David Olofson wrote:

> On Thursday 17 October 2002 09:09, Paulo V W Radtke wrote:
> > >I tested it out, the fps is 85 (like my vertical refresh rate).
> > > Thanks! However, how can I disable video sync - while keeping double
> > > buffering - for benchmark purposes?
> >
> >          I don't think you can do it, and anyway,
> 
> You can with many drivers, but this is entirely driver dependent. On 
> Win32, you'll usually find a checkbox on one of the pages in the advance 
> video settings dialog. On XFree86 and other Un*x driver archs, it may be 
> possible to control it through the config file and/or through an 
> environment variable.

Do you have any pointers where exactly one should look on XFree86?  I've
been able to include various driver settings in "Device" section of
XF86Config in the past but I can't find any docs on options accepted by
the lastest radeon driver in 4.2.0.

I'm asking because I'm having an opposite problem to what's being
discussed here - vsync is disabled (even though DGA claims it *can* wait
for retrace) and I would really like to enable it since I'm not very
interested in the horrible flicker I'm getting now.

	latimerius





More information about the SDL mailing list