I just bought a new Dell Axim with a 300 Mhz XScale CPU. I like it and I think it was a sweet deal at $200 (from Dell's website). From what I've read places online, though, the XScale processors don't play well with the PPC2002 platform and performance suffers. I'm able to get around 40 FPS on the blit sample, which has been enough power to write a nice game. Do the 200Mhz StrongARM devices do better than this? (Posts of games running at 50 or 70 fps indicates they might) How about the older 150Mhz versions? My real interest is to get a feel for which devices are going to be able to play my game well. If FPS scales linearly with processor speed (pretty sure it has more to do with memory latency and bandwidth) a game running at 40 fps on my device will be close to unplayable on an older 150Mhz machine.
Also, I noticed in the PocketFrog code that the display initialization code is model dependant in places. Could PF performance be improved by adding some specific initialization for XScale devices? As I understand it, there is potential performance gain that can be achieved by matching certain graphics operations with the internal orientation of the PPC's video buffer. Or maybe I'm completely wrong there. I was just wondering.
The Blit sample that you tried was with or without sound?
I can tell you that on my Casio E-125 running at stock 150MHz speed, the blit sample comes in around 50 FPS as I recall (that's with sound... Gersen's sound code doesn't seem to effect frame rate to any degree that anyone would likely care about).
Maybe more telling is my own game... I have a couple of cut scenes that each frame is: redrawing a full-screen image, then blitting on top of that a 200x168 sprite, another 100x300 sprite and six 90x85 sprites, with three WAV files playing at the same time (sounds like a mess, I know, but it's actually not!)...
Again using my E-125 for reference, those scenes run at a solid 30FPS (which is what my game is designed to run at). If I let it go freely I believe it would be around 50.
My belief based on comparisons I've read is that the E-125 can safely be used as a baseline for performance. If you can get 30FPS on it in anything you write, which is I think the sweet spot for frame rate, generally speaking, than you should be OK on any modern device.
However, FPS will NOT scale linearly unfortunately... all indications are that 200MHz StrongARMs will generally achieve nearly the same FPS as a 400MHz XScale without special compilation options, within say 5-10FPS.
Again, it's just an opinion on my part, but it seems to me that if you can get a solid 30FPS on an E-125, your probably OK.
There's a version of Blit with sound? Is this the sample in pocket frog plus? I just got it today, but haven't looked in it very much. Wouldn't it be much better for the sound routines in PFP to be in their own library? It would make it much easier to keep PF and the sound lib in PFP both up to date as developement continues separately on each package. Any, I'm digressing a little bit.
I get 40 fps on the Blit sample without sound. What, if anything, can I do about it without writing XScale-specific code? Might it be that PF is using the wrong internal video buffer alignment? (I somewhere got the impression that it tries to match its video buffers with that of the hardware its running on) If so, that would be an easy fix. Maybe it's just wishful thinking...
Which begs the next question. Why does XScale suck and what the hell was Intel thinking? It's not an improvement at all. It's worse than the older processors.
Xscales dont "suck". They extend battery life. The whole big thing is everyone thinks MHZ's are the end all of performance. This is not true all.
PDA's are not designed for gaming performance. While I wish they were, they are geared more towards buisness apps.
telamon wrote:
Might it be that PF is using the wrong internal video buffer alignment? (I somewhere got the impression that it tries to match its video buffers with that of the hardware its running on) If so, that would be an easy fix. Maybe it's just wishful thinking...
PocketFrog always use the native (best) alignment on each device, providing that GAPI is installed properly. AFAIK, PPC2002 comes with GAPI pre-installed.
On my Cassiopeia EM-500 the blit sample without sound runs at 54 fps while the sound one runs at 42 fps... for me thats something to care about, specially when using it to report some kind of benchmark