Forcing a refresh rate

Hi guys,

We’re adapting one of our games to run in touchscreen machines for the
skill-with-prizes market.

The testers at one of the networks complain that the touchscreens are
"miscalibrated" with the game. After a bit of investigation, the problem
appears to be that the game sets the 800x600 video mode at 85Hz, and
they request that we alter it to 60Hz.

The game uses SDL without doing anything weird (ie pretty standard init
code). Also, because they use ancient machines with Windows NT and
DirectX 3.0 I’m not sure if the game is running with the directx or the
windib driver (and for several reasons I’d rather not ask them to look
at the log file)

In either case, is there any way to force a specific refresh rate?

Thanks in advance,

--Gabriel________________________________________________________________________

Gabriel Gambetta
Mystery Studio

Hello Gabriel,

Sunday, September 10, 2006, 6:51:09 PM, you wrote:

Hi guys,

We’re adapting one of our games to run in touchscreen machines for the
skill-with-prizes market.

The testers at one of the networks complain that the touchscreens are
"miscalibrated" with the game. After a bit of investigation, the problem
appears to be that the game sets the 800x600 video mode at 85Hz, and
they request that we alter it to 60Hz.

The game uses SDL without doing anything weird (ie pretty standard init
code). Also, because they use ancient machines with Windows NT and
DirectX 3.0 I’m not sure if the game is running with the directx or the
windib driver (and for several reasons I’d rather not ask them to look
at the log file)

In either case, is there any way to force a specific refresh rate?

It will be using WinDIB.

From a quick read of SDL_dibvideo.c, the refresh rate is cloned from
the desktop refresh rate. So, if you set the desktop to 60Hz, the new
screen should be 60Hz too.–
Best regards,
Peter mailto:@Peter_Mulholland

Gabriel,

You’re not talking about the ITBox or GamesNet are you? Email me.

Ed

Gabriel Gambetta wrote: Hi guys,

We’re adapting one of our games to run in touchscreen machines for the
skill-with-prizes market.

The testers at one of the networks complain that the touchscreens are
"miscalibrated" with the game. After a bit of investigation, the problem
appears to be that the game sets the 800x600 video mode at 85Hz, and
they request that we alter it to 60Hz.

The game uses SDL without doing anything weird (ie pretty standard init
code). Also, because they use ancient machines with Windows NT and
DirectX 3.0 I’m not sure if the game is running with the directx or the
windib driver (and for several reasons I’d rather not ask them to look
at the log file)

In either case, is there any way to force a specific refresh rate?

Thanks in advance,

–Gabriel________________________________________________________________________
Gabriel Gambetta
Mystery Studio


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


All New Yahoo! Mail ? Tired of Vi at gr@! come-ons? Let our SpamGuard protect you.