PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Speed of SH3 - Jornada 540

I just got a Jornada 540 (133MHz SH3) to do some testing with. Things were going quite well until I tried playing the game. I get maybe 1 frame per second!! On a 200MHz StrongARM we get about 30pfs. I have heard that the SH3 is slower than an ARM at the same MHz, but surely it can't be this much slower??

Is there something else going on? If the frame buffer really, really slow to update? I am using GAPI and gx.dll for SH. It doesn't seem like the physics and AI for the game are running that much slower...
Yeah the SH3 is very slow. Memory bandwidth being the killer.

I think that on most SH-3 devices, the frame buffer is a DRAM buffer which is copied on calling GXEndDraw(). This means that you can save the cost of a blit by not double buffering, since the frame is only displayed at the end of the scene. (Whereever you call GXEndDraw() )

Try just blitting a few lines of the frame buffer, see how much of an increase you get.

Hope that makes some sense!
I remember the first game I tried to program for the pocket pc. I sent it to Johan to get his go ahead and went about programming it.

What I didn't realize was that even though everything ran just fine on my sh3 jornada, it was so insanely fast that the whole level would fill up almost instantly on an ARM ppc.

I later asked Johan about this and he said yeh thats what it did on his device and he really wasn't sure what I was trying to do :)
Is it worth the bother supporting SH-3 devices anymore? You will be very hard pushed to get a decent frame rate, there aren't many around nowdays and also bear in mind that many of them are 256 Color devices, so if you are using a 2d libary such as GapiDraw or PF, you'll need to do some pretty bad hacks just to get it to work at all.
You don't need to hack anything with PocketFrog. PF will quickly convert the 16-bit backbuffer to the 256 display using dithering.
My main reason for getting the Jornada was to get a PocketPC 2000 device. It was the cheapest available on EBay at the time. With it I was able to verify that we run on PocketPC 2000 without any problems. I wasn't really looking at the SH3 part and I was amazed at how slow the poor thing is. I get 19fps just doing a clear of the frame buffer.

On the other hand... I thought there were a lot of SH3 based devices and if no one else is supporting them... then, well, there is a market. I also snagged a MIPS based PPC that should be here next week. Hopefully it will be a lot faster.
That Jornada you have is more or less the only SH3 device out there.
You don't need to hack anything with PocketFrog. PF will quickly convert the 16-bit backbuffer to the 256 display using dithering.


hmm...I stand corrected, all the same, the 525/545/548 had no dpad. No use for gaming! :cry:

Also, with the terrible memory bandwidth, converting a 240*320 screen to a palette every frame is going to kill performance anyway.

I hope this doesn't sound like im having a go at anyone, its just that i've spent too long programming on my J680. (SH-3, 640x240, 16bit 565)

The SH-3 is no good at all! :cry:
very slow indeed. i tried BetaPlayer (with SH3 "optimized" blitting) on a Jornada540 with 16bit RGB mode. most i got is 160x120 12fps divx video (200% zoomed without dither) and 22khz mono mp3 audio. not much.