PocketMatrix forums

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

Pocket Quake II on XScale - The FPS??? Question to Dan East

NikJEHummer · 03 Apr 2003, 18:24 UTC
Hi, everybody, especially Dan East! I'm planing to buy new TOSHIBA e755 with Intel PXA255 400MHz XScale Processor, so, I want to buy it just for Quake II, and I want to ask Dan East and other Owners of PPC with XScale Processor what about the FPS Rate in Quake II? Can it be 25-30 FPS or not? And how convinient is it to play? or The game runs like Battle Field 1942 on P-II 433 MHz :-) ??? Thanx....
No one has successfully been able to get PocketQuake2 to work on a PocketPC2002 device, which is the OS that the new Toshiba e750 runs. And even if you did get it to run it would not be any faster than 5 frames per second, seeing as how PocketQuake I runs at less than 10 frames per second. Don't buy a PocketPC expecting to play Quake II or even Quake I.
10inchAssassin · 04 Aug 2003, 05:17 UTC
1 works fine but 2 =-/ nope... I'm trying to get it to work on my Axim n e one know what is new one the ppc 2003?
James Sonne what do you mean dont expect to run quake I? quake I runs perfectly on my iPaq 3630 with Pocket PC 2002! and quake II runs as well though way slower. but playable sometimes (very few times)
what if some1 was to replace all the textures (or almost all) in quake II to a lower quality, would it make any difference? :?:
No, it would not.

Quake 1 runs under 30 FPS. Thirty FPS is the cut off.
What do you mean by cutoff?
well i just installed it on my HP iPaq 2215H
which has Xscale400 processor and runs on pocket pc 2003

it seem to run fine..

dunno the fps yet, since the kbd are not very accesisble while on the quake2.
How come the FPS sux so much on the Arm. I am familiar with the Arm from it's Acorn computers day, and it was a very well performing formidable processor. I've done the calculations based on what sort of FPS shooters I heard about on the Acorn machines (at 17Mhz), and Quake should be doing way way way more FPS at 400Mhz.

I've heard about slow bus, screen writes, and the like but this is incredible. Maybe it has something to do with the fact that xscale performance per Mhz is worse than Strong Arm, which appears worse than Arm based SAamsung design. Is this all that there is that keeps it back?

Wayne.
Acorn ARM is FAR different than the Intel StrongARM, etc.
Quake2 uses extensive use of floating points. the ARM instruction set is very slow at floating point. I doubt that anyone in the Acorn days used floating points for that very reason.
sponge wrote:
Acorn ARM is FAR different than the Intel StrongARM, etc.


Agreed, still a lot more power in the StrongaRM and they did FPS on 17Mhz machines, and they even do simple FPS on the 17Mhz GBA 2D. The SA did quiet well against the Pentium, and people would have made integer biased 3D routines to compensate. So if Quake was custom programmed right it might get much better results.

Rant about this -----------

I think the trick is to use integer based 3D graphics, or volume rendering, as much as possible in good old custom, OS by passing, machine code, as this is likely to be many times faster than the recompiled Quake code. Have this been done on pocket Quake?

I think some of the top FPS shooter engines used 3D software renders from either Criterion Software or Argonaut, both of which have mobile versions. Any mobile (PocketPC) 3D render should be highly optomised for speed.

Actually there are a number of 3D engines out there, go over to www.handheld2000.org and look up the front page news, and the Software Dev and OS links (Amiga amd Toas OS engines) off the title bar, I think they still are the most current except for:

http://vg.swan.ac.uk/
http://www.swan.ac.uk/compsci/research/graphics/vg.html
http://www-graphics.stanford.edu/software/volpack/

(though, I have not checked these out)
and other 3d Volume rendering techniques.

I heard about an alternate volume rendering engine for Unreal, though it might have been for Quake, that may be faster for Arms.

I have done the calculations for my own volume rendering ideas, and as long as you have enough random access speed to memory (for graphic data) and cache (for the routines) then you should be able to achieve quite good results compared to a full featured software floating piont 3D Polygon gaphics.

Rant off ------

Wayne
Yes, floating routines have been replaced with integer routines in some of the most critical areas. If you want to spent an arduous amount of time converting the entire game to int then the sourcecode is freely available.
Cool, unfortunately I barely have time to finish my own dream. Maybe one day somebody will do a custom kick ass FPS game with plenty of FPS. But still my question was, what's slowing it down (apart from Floating Piont)?

Wayne.
The more apt question would be "What isn't speeding it up?"
Good. What do you have in mind?
The lack of an FPU :D
Just lost the message, restarting:

I have just spend a few hours at the ARM, Intel, Superscape and Krohnos and Java websites, brushing up my knowledge. And I have found some interesting 3d stuff.

There is an FPU for the Arm and Intel, along with the MBX 3D core for the Arm (a major coup) and a Vectore maths unit (very usefull in 3D) for the Arm 11 series. The problem is these are optional customer requested items. Meaning it will cost the PDA manufacturer more. The only standard options are the integer DSP and the SIMD instructions. Intel plans MMX instructions for the pocket xbox arm they are working on with Microsoft. The newer Arm chips have 64 bit busses with the 11 model having a quad 64 bit bus?? The cores can also come with larger caches and lots of embedded memory. This could make good for a low cost 3D machine using 200Mhz processor, large internal full speed embedded psram??, and 3D core etc to out perform a 1 Ghz Xscale in 3D (or a 1 GHZ PC in software rendering).

I have found a paper at Intel on how to optimise 3D graphics for the integer Xscale. The paper includes a very helpfull bibilography of other papers on how to optomise 3D graphics, including a book on optomising for the Arm, and a master xscale graphics document. Arm also has two documents on 3d hardware. The companies probably have other documents hidden somewhere.

I found out that the Superscape did a lot with the design for the Mobile 3D Jsr-184 Api for Java. There swerve 3D product includes support for this and Krohnos's OpenGL ES. Though the games still don't look the most detailed, but it is still eraly days. They offer full author and client software. The author software looks really good and includes 3d editor.

I also found a article on how Smasunf got and Arm9 chip to go to 1.2Ghz, though 1 Ghz looks like the maximun limit for a commercial version of that chip.


Well been up all night I'll leave it at that.

Wayne.
I have just remembered another thing that would help 3D routines on the Pocket PC. Apart from hidden polygon removal (done in PowerVR), there is polygon reduction based on distance. Shiny, that made MDK use so few Polys beatifully, developed a Game called Messiah the 3D engine was designed to automatically and intellegently reduce polygon numbers the further objects were away, and increase Polygons for more powerfull systems. I think that the quoted reduction, might have been, reduced to 1/6th. Their system used mathematical models to store the shape the Polygons are rendered on. But a well designed volume rendering system would do most of this automatically. I'm aiming for 64+ cycles per full featured screen pixel for the 3D renderer of my OS myself, so I think it's worth the look.

I also remotely remember somebody mentioning, years ago, an alternative Quake Renderer that used integer maths to run faster on K6's.

Has anybody with electronic engineering knowledge considered doing a 3D Card for the PocketPC's using storage cards/USB2(when available)? The PowerVR MBX core uses much less bus bandwidth and may (without seeing the figures) be suitable. A complete MBX ARM chip with lots of memory could cut this further and act like a coprocessor accepting graphic commands. This could even help MIP's/SH machines run ARM code games by running off the card while using the Pocket PC for OS/cient services. Just an idea.


Wayne.
Guest · 07 Oct 2003, 21:10 UTC — Quake1/2 on GBA
I have just found some 3D engines that run Quake I & II games on the Nintendo Gameboy advance, plus a voxel engine from the Dukenukem Build editor and Yeti 3D engine for the game boy that looks more Unreal/Quake 3 like in it's visuals (the programmer also wants to do a Quake 2 engine. He has reduced the divide instructions in the rendering pipeline to one. The engine is said to be like a mobile version of the CUBE engine. All this from a machine with a limited 32bit instruction memory, and less than one tenth of the Mhz of a basic Pocket PC cpu. I'll be discussing it over at the developers forum. The engines could be converted to the Pocket PC. This is just above the level of performance that I expected from the Arm GBA. All the links are here:

http://www.theteahouse.com.au/gba/index.html
http://www.theteahouse.com.au/gba/screenshots.html
http://www.theteahouse.com.au/gba/real.html
http://www.theteahouse.com.au/gba/ports.html
http://www.theteahouse.com.au/gba/tech.html
http://www.theteahouse.com.au/gba/profile.html

GBA Quake engines:
http://www.bobbeetec.com/drg.htm
http://www.bobbeetec.com/drg_media_s.htm
http://www.bobbeetec.com/drg_tech.htm
http://www.bobbeetec.com/drg_press.htm

http://www.pocketeers.com/
http://www.theteahouse.com.au/gba/quake.html

Other 3D Engines
http://heliscar.com/greg/ (Arm Engine).
http://www.advsys.net/ken/voxlap.htm
http://wouter.fov120.com/cube/

Thanks

Wayne.