New SDL.dll nearly 50% slower ? Linux issue also

Hi,

I’ve been developing a video game with SDL/Windows, using SDL.dll Version
1.2.11.0 I was getting about 25 FPS, which was fine. A few days back I
downloaded 1.2.12.0, and the frame rate dropped to about 15 FPS ! Nothing else
was changed !

Any ideas? It’s a very simple game, most of the time is spent blitting to the
screen (with alpha-blends), plus some music/sound effects. I’ve obviously gone
back to the older dll for now !

The code also compiles under Linux(CentOS/Gnome) on the same hardware, and this
only runs at 10 FPS, tried the latest, and previous libraries, with no effect.

The h/w is an LV-673 microITA board (
http://www.bvm-store.com/ProductDetail.asp?fdProductId=274 ).

Any help or suggestions much appreciated !

Nigel

Hello !

I’ve been developing a video game with SDL/Windows, using SDL.dll Version
1.2.11.0 I was getting about 25 FPS, which was fine. A few days back I
downloaded 1.2.12.0, and the frame rate dropped to about 15 FPS ! Nothing
else
was changed !

Any ideas? It’s a very simple game, most of the time is spent blitting to
the
screen (with alpha-blends), plus some music/sound effects. I’ve obviously
gone
back to the older dll for now !

The code also compiles under Linux(CentOS/Gnome) on the same hardware, and
this
only runs at 10 FPS, tried the latest, and previous libraries, with no
effect.

The h/w is an LV-673 microITA board (
http://www.bvm-store.com/ProductDetail.asp?fdProductId=274 ).

Any help or suggestions much appreciated !

Is it possible to publish the source of that game ?
Have you tried what testsprite for example that comes
with SDL says ?

CU

You’re not using a debug dll are you?

-BryanOn 9/21/07, Torsten Giebl wrote:

Hello !

I’ve been developing a video game with SDL/Windows, using SDL.dllVersion
1.2.11.0 I was getting about 25 FPS, which was fine. A few days back I
downloaded 1.2.12.0, and the frame rate dropped to about 15 FPS !
Nothing
else
was changed !

Any ideas? It’s a very simple game, most of the time is spent blitting
to
the
screen (with alpha-blends), plus some music/sound effects. I’ve
obviously
gone
back to the older dll for now !

The code also compiles under Linux(CentOS/Gnome) on the same hardware,
and
this
only runs at 10 FPS, tried the latest, and previous libraries, with no
effect.

The h/w is an LV-673 microITA board (
http://www.bvm-store.com/ProductDetail.asp?fdProductId=274 ).

Any help or suggestions much appreciated !

Is it possible to publish the source of that game ?
Have you tried what testsprite for example that comes
with SDL says ?

CU


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Bryan P. Arant
[Brin || AfroFire]

Torsten Giebl <wizard syntheticsw.com> writes:

Hello !

I’ve been developing a video game with SDL/Windows, using SDL.dll Version
1.2.11.0 I was getting about 25 FPS, which was fine. A few days back I
downloaded 1.2.12.0, and the frame rate dropped to about 15 FPS ! Nothing
else
was changed !

Any ideas? It’s a very simple game, most of the time is spent blitting to
the
screen (with alpha-blends), plus some music/sound effects. I’ve obviously
gone
back to the older dll for now !

The code also compiles under Linux(CentOS/Gnome) on the same hardware, and
this
only runs at 10 FPS, tried the latest, and previous libraries, with no
effect.

The h/w is an LV-673 microITA board (
http://www.bvm-store.com/ProductDetail.asp?fdProductId=274 ).

Any help or suggestions much appreciated !

Is it possible to publish the source of that game ?
Have you tried what testsprite for example that comes
with SDL says ?

CU

I’ve just been trying TestSprite, it gives the same result, about 930-940 FPS,
for both DLL’s. I’ve not tried it on the target machine in Linux yet. Clearly
this program is only using small sprites, and a small screen, I will have to try
it with larger sprites, with proper alpha-blending, and a larger window.

There is however, something clearly different between the 2 DLL’s.

Sorry, can’t release the source for the game :frowning: It’s huge anyway, cos of all the
other stuff in there.

Regards
Nigel

Bryan Arant <brin309 gmail.com> writes:

You’re not using a debug dll are you?-Bryan

On 9/21/07, Torsten Giebl <wizard syntheticsw.com

wrote:Hello !> I’ve been developing a video game with SDL/Windows, using
SDL.dll Version> 1.2.11.0 I was getting about 25 FPS, which was fine. A few
days back I> downloaded 1.2.12.0, and the frame rate dropped to about 15 FPS !
Nothing

else> was changed !>> Any ideas? It’s a very simple game, most of the time
is spent blitting to> the> screen (with alpha-blends), plus some music/sound
effects. I’ve obviously

gone> back to the older dll for now !>> The code also compiles under
Linux(CentOS/Gnome) on the same hardware, and> this> only runs at 10 FPS, tried
the latest, and previous libraries, with no

effect.>> The h/w is an LV-673 microITA board (>
http://www.bvm-store.com/ProductDetail.asp?fdProductId=274 ).>

Any help or suggestions much appreciated !Is it possible to publish the
source of that game ?Have you tried what testsprite for example that comeswith
SDL says ?CU_______________________________________________
SDL mailing listSDL
lists.libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

– -Bryan P. Arant [Brin || AfroFire]


SDL mailing list
SDL lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

No, it’s the proper (non-debug) version in all cases.
Nigel