[SDL] request

Gabriele Greco gabrielegreco at tin.it
Thu Jun 6 07:36:01 PDT 2002


At 03:39 PM 6/6/02 +0200, you wrote:
>Average update time: 14.2ms
>Do you really think it should be faster ? If so, what's wrong ?
>PIII 933
>nVidia GeForce256 SDR
>Linux kernel 2.4.18
>nVidia drivers 1.0-2880
>XFree86 4,1
>1280x1024 24bpp

I've made some tests and on my system here at work and I've also worst 
results:

Average update time: 25ms

My system is anyway older than yours:

K6-3 450
Matrox G400 (AGP 1x for MB limitations)
Linux 2.4.10
XFree86 4.2
1280x1024 24bpp (32 real)

Anyway with some counts the amount of time is not that strange...

800x600x4 = 1920000

1920000 x 50 = 96000000

So you need 96MB/sec of bandwidth to have a frame each 20ms (50fps), that's 
a lot of datas, since you have also to read them from memory and cache 
don't help in this kind of operations...

I suggest you to try to make the game run in 16bit, so you could have 
almost double framerates and the quality will be almost equal.


Bye,
  Gabry (gabrielegreco at tin.it)






More information about the SDL mailing list