[SDL] XFree86 4.3.0, SDL 1.2.5 refresh rates ...
stephena at roadrunner.nf.net
Tue Apr 8 03:53:04 PDT 2003
On April 8, 2003 02:09 am, Sam Lantinga wrote:
> > On Monday 07 April 2003 02:26, Stephen Anthony wrote:
> > > As anyone figured out what's going on with this combination yet?
> > > Specifically, when mode switches are done in SDL apps, SDL seems to
> > > be using the VESA standard refresh rates, and not the ones
> > > specified in the XF86Config file.
> > >
> > > It's really annoying having a monitor that can do 100 Hz refreshes,
> > > and most games are going to 72, or even 60! It's especially
> > > annoying since the problem wasn't there in X 4.2.1.
> > >
> > > Based on quite a bit of experimentation, I've determined that SDL
> > > is the cause. Games that don't use SDL, and other apps (VMWare,
> > > mplayer, etc) work fine.
> > This is actually because X have changed some of it's code, and SDL
> > isn't yet made to support that. I think somebody in the list have
> > patched SDL
> Does anybody have any more information on this?
> See ya,
> -Sam Lantinga, Software Engineer, Blizzard Entertainment
After scouring the mailing list, I found someone who said they had hacked
SDL to use a refresh rate that they specified. I could do that, but I
was wondering what would be a more general, and correct solution.
As per my previous email, I think the change in X is that it now sees many
more modes than it did before, probably because it gets them from the
monitor directly and not through the XF86Config file (though modelines
listed there are used as well).
More information about the SDL