PocketMatrix forums

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

Request for test

Hello all!

My little company currently has two games in the pipeline, both of which are being built on top of a library which is built on top of GAPI that is being developed along with the games called GXLib.

I'm hoping I can get some of you developers to run a quick test program of the graphics library and give me some specific feedback.

First, the links (these are zip files, just unzip and copy to your device, as long as you have gx.dll already there you should be all set):

<a href="http://www.omnytex.com/GXLibTestARM.zip">ARM Version</a>
<a href="http://www.omnytex.com/GXLibTestMIPS.zip">MIPS Version</a>
<a href="http://www.omnytex.com/GXLibTestSH3.zip">SH3 Version</a>

All of these are for PocketPC only (2000 or 2002).

Most importantly I'm looking for (a) does it work at all on ARM and SH3 devices, since I don't have devices to test on yet, and (b) on the Max FPS Test, what is the frame rate (the number in the upper left-hand corner)?

It should be running as close to 50 as possible since that's what it's throttled to run at (I get 49 steady on the emulator and 32 steady on my stock E-125). I think there is some inaccuracy in my FPS counter code, so within 1 or 2 is fine. I'd expect the ARM devices to be close to 40.

If anyone is curious, that particular test is doing full screen redraws each frame, and it amounts to right around 188,000 pixels being drawn each frame. That includes background, sprites, text, etc. You can click on the red letters to disable various parts to see the effect on the frame rate (*S*prites, *W*alls, *B*ackground, *T*ext)

The other tests aren't nearly as dramatic, so as long as they generally work and you see an FPS of around 48 or so, I'm happy (except for the Region functions test which will be considerably slower, as low as 23 even - still have plenty of optimizing to do!).

I thank anyone that tries this for me in advance! If you would, please eMail any results to me at fzammetti@omnytex.com. Take care all!
iPaq 3670 (Pocket PC 2000)

Lines: 47
Circles: 47
Polygons (non-filled): 47
Polygons (filled): 47
Flood fill: 47
Region functions: 31
Palette manipulations: 47

The last 3 tests have some serious tearing artifacts.
Conan · 12 Jun 2002, 05:49 UTC — Tested on iPaq H3600 PPC2002
The tests all return 47 FPS other than the region test which gives 31.

Note: There are no red letters as mentioned in your post
You can click on the red letters to disable various parts to see the effect on the frame rate (*S*prites, *W*alls, *B*ackground, *T*ext)


ps: The region test has a distorted band where the sip keyboard would go

Tested on iPaq H3600 PPC2002

Hope this helps
fzammetti · 12 Jun 2002, 05:53 UTC — To Digby...
How about the Max FPS Test score? That's the one I'm really most interested in. All the others sound exactly like what I expect. Thanks very much!
fzammetti · 12 Jun 2002, 05:55 UTC — To Conan
Conan, the distortion band, you mean a dim area? That is supposed to be there, it's a region dim function that's being tested. The heart should also be dimmed when it goes down there.

No red letters, we're talking about on the Max FPS Test screen, right? That worries me a great deal if that's indeed the case. Looks like I'm going to have to invest in a real iPaq soon. Argh.

Thanks very much!
fzammetti · 12 Jun 2002, 06:00 UTC — Another for Digby
Digby, you say the last three show serious tearing. You are referring to the Flood fill, Region functions and Palette manipulations screens? I am aware of tearing on the Flood file and Palette manipulations screens, they are OK at this point, but could you describe the tearing on the Region functions screen because I don't see them on my device at all.

But if you meant the Max FPS Test screen showing tearing, is it on anything other than the background? On my Casio I see some very slight tearing on the background, everything else looks fine.

None of this is double-buffered yet anyway, so I expect some tearing in general, I'm just curious as to what exactly you are seeing.

Thanks again!
In the MAX FPS screen the text flickers so bad I can't really read it. I think I'm seeing 45 - 47

With no screenshot to send here's a description of what I see:-
4 sprites, a sparkly ball, a red heart a globe with light effects and a shape. There's a pacman style border & inner square plus 4 sets of white readout numbers at the bottom

There may be a hint of red top right on the screen?
OK, I just ran the Max FPS Test. The text is hard to read but it seems to vary from 42..45.

The red letters are really hard to see but they are near the top right of the Max FPS Test screen. You have to hold the stylus on a letter for a while, then lift it up. If you click on it quickly it will exit the test.

On my iPaq all the tests run at a solid 47, until I add the background then it drops to ~45 or so.
Toshiba e570:

Lines: 47 FPS
Circles: 47 FPS
Poly non filled: 47 FPS
Poly filled: 47
Flood Fill: 47 FPS
Region Functions: 32 FPS
Palette: 47 FPS
Max Test: 42-45 FPS (heavy flickering)

cryo
Hi,

Test machine: iPaq 3660, 64Mb, PPC2000

Lines: 47
Circles: 47
Polygons <non-filled>: 47
Polygons: <filled>: 45 to 47
Flood Fill: 47
Region functions: 31
Palette manipulations: 47
Max FPS Test: 43 to 45

1) Region functions test has a dim strobing band in the bottom 1/4 of disply.

2) Palette manipulation test has tearing, but as you say it's not double buffered yet.

3) Max FPS test flickers a lot, text hard to read but there with four red letters (S,W,B,T) in top right corner that is almost impossible to see. Pressing stylus on 'B' for few seconds causes background to stop scrolling and the flickering stops. Other letters toggle sprites, walls?, and text on/off.

Hope this helps
SmokingFish · 12 Jun 2002, 14:28 UTC
=(
Ipaq 3850 .. ~ 45 meg free ram

LINES : 47
CIRCLES : 33
POLYGONS(1) : 33
POLYGONS(2) : 46
FLOOD FILL : 26 - 33
REGION : 17
PALETTE : 28
MAX FPS : 21

much slower as on 36** ... =(
fzammetti · 12 Jun 2002, 14:40 UTC — Time to start pulling out hair...
This is very dismaying... I didn't expect to hear any problems on iPaq's. I know how this runs on my Casio, which is pretty well, even without real optimizing or double-buffering, but now I guess I'm going to have to go buy an iPaq and figure out what's up there. Thanks to everyone that has tried it, I appreciate it greatly!
Jasper · 13 Jun 2002, 00:15 UTC — Time to start pulling out hair...
fzammetti wrote:
This is very dismaying... I didn't expect to hear any problems on iPaq's. I know how this runs on my Casio, which is pretty well, even without real optimizing or double-buffering, but now I guess I'm going to have to go buy an iPaq and figure out what's up there. Thanks to everyone that has tried it, I appreciate it greatly!


fzammetti,

The only problems I see on the test are due to the flickering, which is probably because its not double buffered.

The frame rate tests seem fairly consistent on all the above posts, with the exception of the iPaq 3850, which is dramatically lower. Is this due to the crazy extra buffer copy that Compaq used in their implementation of GAPI for the 38xx series, or is that no longer an issue ?

I read somewhere on this forum that one needed to implement a direct draw to the physical frame buffer to bypass the performance hit of the 38xx GAPI implementation. I might be wrong but worth checking it out...
Thanks for that reply Jasper, it lifted my spirits a bit! I have a 3650 coming shortly so I can get a first-hand look at what's going on. I kind of thought it just might be because of not double-buffering. Actually though, I'm going to update the test tonight and throttle it to about 30FPS. I'm wondering if maybe the iPaq's are TOO fast! In any case, it doesn't sound like anything that can't be fixed.

I will research that 38xx problem though, that most definitely is cause for concern. Hopefully a simple PM search will turn up the answer.

Thanks again, it is most definitely appreciated!
No problem, handy for us to all to be able to test amongst other fellow devs :D

Stuff I'm working on here runs at 45 to 50 in iPaq 3660 with no flicker with double buffering used, so I think it best to implement that before coming to any other conclusions.

Pretty sure there was a reported screw up in the 38xx series GAPI though, check PM...
Send me your extra PDA when you're done, okay? :wink: :D
Yep, I found reference to the issue with the 38xx series. I'm going to have to research it more because it doesn't make a lot of sense the first read-through, I'm sure I'm missing a bunch at this point.

Well, it's off to add double-buffering I go... (I agree by the way, that's probably the most logical place to start).
Nice try Moose :) That's the benefit of having partners... I told THEM to go buy one! My wife would absolutely KILL me if I bought a new model now. I have her prepared for the cost of my Babylon 5 DVDs in a few months and she's also just starting to not go bonkers at the mere mention of a PocketLOOX or Toshiba. Gotta ease spouses into this stuff you know...
Dunno if it you've grasped the prob now, but you can find a concise explaination (along with other PPC bugs) at: http://www.cewindows.net/bugs/pocketpc2002-developer.htm
T1, I will name my next child after you! T1 Zammetti has a nice ring to it!

Seriously, thank you so much for that, I was completely unaware of that page and that info there is so clear and concise! It's nice to know I did actually get what the problem was and how to get around it, but that just dumps all the details in my lap, I certianly like not being able to think on occassion!

Thanks again, that was unbelievably helpful!
(you can stop posting that message any day now) :)
Geez guys, I apologize for that. I'm having some sort of network issue (or PocketMatrix is, not sure which, although this is the only site I'm having trouble with, so...). I got DNS errors every time Ihit Submit, so I assumed it wasn't posting. Sorry! (Anyone tell me where the delete button is? I clicked the edit/delete button, but I don't see an option to delete).
Lots of people have been having that problem recently, so it's not just you. As for the delete thing, I think you can only delete a post under specific conditions, and I'm not quite sure what they are.
You can only delete if nobody has replied to your post, IIRC (and if the admin has left "delete" enabled)..

Babylon 5 DVDs? Really? When? I thought they'd never do it. :)
(Sorry to post that here, but I wasn't sure if fzammetti read the other forums :))
HP Jornada 548 (SH3) (GXLibTest)

Lines: 47 (no flickering)
Circles: 20 (no flickering)
Polygons <non-filled>: 19 (no flickering)
Polygons <filled>: 47 (no flickering)
Flood fill: 19 small 10 big (circle flickers)
Region functions: 9 (heart flickers, bottom half of screen flickers)
Paletee manipulations: 18 (no flickering)

Max FPS Test: 13-14 (whole screen flickers)
Refractor: Good idea posting here, I generally only look at the developer's forum regularly. They are coming out "this fall", no more specific date has been said (JMS did himself confirm they are finally being released though, so it's just a matter of exactly when).

Thanks for the SH3 test TechMage. I suspected SH3 was going to have pretty crappy numbers. I'm tempted to just say no SH3 support, but I won't go to that extreme just yet.

I'm just about ready to put out an updated test program that implements buffering and that should, I think, deal with the 38xx series properly as well. I'll start a new thread once it's ready, hopefully I can get all the same people to try it out, that would be a big help. I'm also going to put up on my site screenshots of what it's supposed to look like, that should make it easier to tell when there are problems.

Thanks all, I've learned quite a bit over the past 24 hours, I couldn't have done it without you all!

(It's amazing, it didn't occur to me until a few minutes ago... I've been programming in some form for over 20 years, but it wasn't until last year that I touched C for the first time, believe it or not! Writing this library has been one hell of a learning experience, which was one of my reasons for doing it rather than picking one of the great libraries available already, and you guys have all been a big help in that!)