SDL/OpenGL Linux vs Windows

Help!!!

I am working on an SDL/OpenGL game. I have been developing it on Linux, and
getting about 150 fps. I just ported to Windows, and now I’m getting 59
fps. The SDL sound was messed up too, but I fixed that by changing the
audio sample buffer size back up to 4096 ( I had lowered it down to 1024 in
Linux due to some latency issues).

My question is: has anyone experience a slow-down when moving to windows?
Any ideas on where I should start looking? I have some recent nvidia
drivers on both Linux and windows. I have experienced the slowdown on a
Geforce2 Go chip on a laptop, and a Geforce2 MX on a desktop.

I am using SDL for input, audio, and graphic initialization and OpenGL for
3d. I am using SDLGetTicks for the timing measurement to calculate my fps.

Thanks in advance for any help or suggestions!!!

Hi,

59 is close to 60.
The windows OpenGL nvidia drivers syncs with vertical refresh by default,
so if your display is at 60Hz, you cannot have more that 60 fps.
NVidia linux driver doesn’t sync to V-refresh by default that’s why you
can have 150 fps.

You can check the “advanced Display properties” on windows to disable the
V-sync.

Clement.–
Clement “phneutre” Bourdarias
phneutre at mangoquest.org
www.mangoquest.org

On Sun, 23 Sep 2001 21:33:45 -0700 “Bob Cober” wrote:

Help!!!

I am working on an SDL/OpenGL game. I have been developing it on Linux,
and
getting about 150 fps. I just ported to Windows, and now I’m getting 59
fps.