OpenGL+SDL in Windows too slow - wierd :-/

Hello!

For some reason, when I use OpenGL with SDL, without drawing anything -
it gets max fps of ~60 in Windows, while 1000+ in Linux.
My drivers are just fine, and other OpenGL programs run well.

What can be causing it?
a. Windows sucks (maybe, but this has nothing to do with it…)
b. SDL compiled with WinDX5 and not WinDIB (but no DX code handles
OpenGL stuff, right? anyway, how to compile SDL without DX just to test
this?)
c. Using JEDI-SDL (any1 else with those also having this problem?)
d. Other (please help me find it! plzzzzz…)

RK.

maybe you force you card to vsync in your driver-setup. on a 60hz monitor
you are not going to get more than 60 frames in that case.

P.S.: Still, Windows sucks :wink:

Romi Kuntsman wrote:> Hello!

For some reason, when I use OpenGL with SDL, without drawing anything -
it gets max fps of ~60 in Windows, while 1000+ in Linux.
My drivers are just fine, and other OpenGL programs run well.

What can be causing it?
a. Windows sucks (maybe, but this has nothing to do with it…)
b. SDL compiled with WinDX5 and not WinDIB (but no DX code handles
OpenGL stuff, right? anyway, how to compile SDL without DX just to test
this?)
c. Using JEDI-SDL (any1 else with those also having this problem?)
d. Other (please help me find it! plzzzzz…)

RK.


Matthias Bach

Marix eMonkey 2002

personal webpage:
http://www.marix.madsite.de

As I said, other programs in Windows work just fine, so it’s not
something with the driver.

RK.

Matthias Bach wrote:>maybe you force you card to vsync in your driver-setup. on a 60hz monitor

you are not going to get more than 60 frames in that case.

P.S.: Still, Windows sucks :wink:

Romi Kuntsman wrote:

As I said, other programs in Windows work just fine, so it’s not
something with the driver.

RK.

I think programs can deactivate the vsync… but i don’t know if it’s
the case…>

Matthias Bach wrote:

maybe you force you card to vsync in your driver-setup. on a 60hz
monitor you are not going to get more than 60 frames in that case.

P.S.: Still, Windows sucks :wink:


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

zinaps wrote:

Romi Kuntsman wrote:

As I said, other programs in Windows work just fine, so it’s not
something with the driver.
RK.

I think programs can deactivate the vsync… but i don’t know if it’s
the case…

That is not the case.

RK.

it could be the driver…

perhaps those programs disable your driver’s vsync option when they run?> ----- Original Message -----

From: romik12345@lycos.co.uk (Romi Kuntsman)
To:
Sent: Monday, September 02, 2002 2:05 PM
Subject: Re: [SDL] OpenGL+SDL in Windows too slow - wierd :-/

As I said, other programs in Windows work just fine, so it’s not
something with the driver.

RK.

Matthias Bach wrote:

maybe you force you card to vsync in your driver-setup. on a 60hz monitor
you are not going to get more than 60 frames in that case.

P.S.: Still, Windows sucks :wink:


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