Yuck not what I was expecting..... only 7.2 FPS....
7.2 FPS Pocket Quake on new Xscale
that's lower than my e200. What mode (portrait right?) Also, are you using a blank autexec.cfg file (aside from the timedemo demo1 command)? And, are you running demo1?
yes i have a feeling that there made need to be some changes.....but have no idea the VOBenchmark showed it was almost twice as fast across the board than all other PPC's so this is very very odd
does the Xscale offer a FPU yet, or are we still limited to interger?
If you go by the VObenchmarks then my E200 and the E310 is faster than the other non-xscale PocketPCs but from experience they are not any faster than the HP56x or iPAQs. At least not with GAPI related applications. Proof is in execution and from what you are seeing the xscale isn't seeing any real gains whatsoever. I am sure if you test it with other games or emulators you will see the same results. Still no better than the current generation of PocketPCs.
not neccesarily true argentum is noticebly faster load times and selecting units is much faster and responsive.
Well, 5.9 fps on my E-125.
If nobody is able to find a solution for the XScale problem (I call it "problem" 'cause I expect more from a 400MHz device!), I can save my 600$ for something different.
If nobody is able to find a solution for the XScale problem (I call it "problem" 'cause I expect more from a 400MHz device!), I can save my 600$ for something different.
I don't know what can be causing such poor performance. It has been said that the XScale doesn't have a floating point processor. When you build a Pocket PC app the floating point emulation code is included directly in the application. I am only guessing, but perhaps the floating point emulation library designed for ARM behaves poorly on XScale. Even if XScale (or any other Pocket PC) did have a processor supporting floating point, PQ would not make use of it, since the compiler integrated the floating point emulation into PQ when I built it. Further, perhaps ARM compiler optimizations actually hurt performance on XScale devices.
Dan East
Dan East
... its probally his GAPI, its compiled for the SA1110 suport chip LCD controller, but the XScales use new ones with 256kb Vram
Lol makes me happy I didn't just go out and buy one :-)
A very, very small percentage of the CPU is used for blitting the frame out to the display. If I omit the display blit entirely PQ doesn't even pick up 1 additional FPS.
Dan East
Dan East
How fast does pocketsnes run? Also, if you have pocketgb, does the GBA emulator run faster? And have you tried Quake 2?
It's really no biggie recompiling. I compiled Pocket Quake just fine, even with a few tiny little tweaks (not any better performance, I was just messing around). Perhaps a blind recompile for XScale once it has a compiler with special XScale stuff would be enough to get the 2:1 XScale to StrongARM performance ratio that we're all thinking about in the back of our minds...
In fact, maybe I should try looking to see if Microsoft has its compiler optimized for XScale...
I'd be glad to recompile PocketQuake for you!
I'd be glad to recompile PocketQuake for you!
Does anyone know ANYTHING about any sort of anything related to compilers for XScale and/or compiling for it?

I'm sure that there is/will be a Xscale compiler at one point as the cpu does include extra instructions on top of the standard SA subset.
Still, those fps results are damn surprising and kinda inexplicable. My random guess: The Xscale cpu has some kind of automatic clockspeed reduction, similar to Speedstep on intel mobile cpus. Could it be that PQ is not being determined as a cpu-hungry app (i.e only 'needs' 206mhz, etc) and so the clockspeed is being dropped accordingly? 7.2fps is remarkably similar to the fps acheived in fullscreen on an Ipaq...
Hey, anybody with an Xscale... can i send you an app to check something...?
Still, those fps results are damn surprising and kinda inexplicable. My random guess: The Xscale cpu has some kind of automatic clockspeed reduction, similar to Speedstep on intel mobile cpus. Could it be that PQ is not being determined as a cpu-hungry app (i.e only 'needs' 206mhz, etc) and so the clockspeed is being dropped accordingly? 7.2fps is remarkably similar to the fps acheived in fullscreen on an Ipaq...
Hey, anybody with an Xscale... can i send you an app to check something...?
I actually just found some sort of Windows CE 3.0 XScale library/SDK thingy. I don't know if it will even run, but I resolved all of the compile/link errors, and PocketQuake normally compiles directly from the source for the iPAQ, so maybe you'll get lucky and this will work.
http://ian_andrew_troi.tripod.com/pocketquake.exe
If that doesn't work, go to my index page ( http://ian_andrew_troi.tripod.com ) and then enter the above address into the address bar and try downloading it.
Anyone with an XScale device, please tell me if this works or not! If it does work, I want a detailed report! j/k, of course, but it would be nice in order to fulfill my curiousity!
http://ian_andrew_troi.tripod.com/pocketquake.exe
If that doesn't work, go to my index page ( http://ian_andrew_troi.tripod.com ) and then enter the above address into the address bar and try downloading it.
Anyone with an XScale device, please tell me if this works or not! If it does work, I want a detailed report! j/k, of course, but it would be nice in order to fulfill my curiousity!
Seriously, someone with an XScale should try this, since it is done with a library that has XScale in mind, it is quite likely that this will get better performance, if only because it lets the CPU know that it is doing hard work.
My compiled version works with my iPAQ, at least (so I don't think it's using any real big bad XScale ASM, but it still is probably a better library than Microsoft has
).
My compiled version works with my iPAQ, at least (so I don't think it's using any real big bad XScale ASM, but it still is probably a better library than Microsoft has
Any thoughts?
I might be actually able to figure out (and resolve) some of the simple differences between StrongARM and XScale chipsets, if you guys tell me the difference between the way each handles emulating floating point math, like whether or not the XScale handles it different that the iPAQ, as you guys suggested...
Please, input is needed.
Please, input is needed.
Give me whatever you got I am willing to be Guienea Pig.....I have the Toshiba e740.....I have the next week off let's figure this out! Oh btw seriously crappy numbers from PocketTV as well.... running the same file on my ipaq 3835 and e740 yield 10 fps faster on the Ipaq.... there is defintely something not right! However on VOBenchmark the numbers a double every other StrongArm PPC so something weird is definitely going on!
I just realized that PocketQuake hasn't been updated in one year as of yesterday...
Ya, that's not right ... I get 8.3 FPS on my 180MHz E-125
. Slightly optimized config, too, but not much.
Oh, and the processor does have an auto-speed sensing mode, just like intel P4's speedstep stuff. I seriously doubt it's something that has to be programmed for. If a large percentage of the CPU is being used for a duration of time it will simply increase the CPU speed, atleast that's what I thought.
I'm eager to hear how this problem is resolved.
Oh, and the processor does have an auto-speed sensing mode, just like intel P4's speedstep stuff. I seriously doubt it's something that has to be programmed for. If a large percentage of the CPU is being used for a duration of time it will simply increase the CPU speed, atleast that's what I thought.
I'm eager to hear how this problem is resolved.
Moose, what optimizations exactly?
I got my 5.9 fps with an autoexec.cfg that contained the "timedemo demo1" line only.
I got my 5.9 fps with an autoexec.cfg that contained the "timedemo demo1" line only.
you can adjust the quality of it, the size of explosions ect. Check the pq forum for more info.
r_maxparticles is a custom Pocket Quake var that limits the maximum particles. This can help prevent action from slowing down when there are lots of explosions, rocket trails, etc. You can set it all the way to 0 for no particle effects, but I prefer a value of 100 so I can at least see some effects.
Dan East
Dan East
I don't have PQ on my Casio anymore but the main value I played with was the mipping mapping values, something like r_maxmip or something, set it to 3 or 2 or 1 or 0, I think 0 is highest quality textures and 3 is lowest. That setting really speeds things up. Check around the web for a list of Quake I command vars
Thanks. 
How's XScale PocketQuake coming along? Any changes in the status?
Nope still crap.... Toshiba will have support up next week to take complaints on performance hopefully then we will get somelight shed on it at this point I think we are leaning towards the OS not being optimized and this also being the reason for delays on others shipping units....in that hey are waiting for Microsot to fix it Toshiba has a workaround in place but apparently it is affecting performance.
While you're waiting, could you test PocketSNES and PocketGB? I'm curious to see how fast the GameBoy Advance module runs on PocketGB and how fast PocketSNES runs. You don't have to give benchmarks on them, just tell me if they run fast with sound.
By the end of today I should have an XScale-optimized PQ available.
I really should get a bigger HD installed... EVC4 is really big, plus all the SDKs and crap...
I really should get a bigger HD installed... EVC4 is really big, plus all the SDKs and crap...
By the end of today (okay, maybe not for sure today, but for sure by tomorrow... I think) I should have an XScale-optimized PQ available.
I really should get a bigger HD installed... EVC4 is really big, plus all the SDKs and crap...
I really should get a bigger HD installed... EVC4 is really big, plus all the SDKs and crap...
Robotbeat, what have you done to optimize it for XScale? I'm just confused because I thought it was just an ARM instruction set, it should all be identical...
Well, you need to recompile it to get any real performance increase from the XScale. All you need is the /QRxscale flag in EVC 4.0 and the compiler will optimize for the XScale's pipelines and whatnot. That's a good thing since I know only a little about C, as I said before.
I thought that EVC4.0 was only for .NET platforms? Isn't the Toshiba running PPC 2002?
Robot I will test it on my e740 send it to me when you get it done I will post results.
webmaster@sprinklerhead.com
webmaster@sprinklerhead.com
Kzinti, you are correct. However, that's only because there are only SDKs for .NET in EVC4.
Now, when I was trying out another (CE.NET) library that I thought might be optimized for XScale (it wasn't) for EVC3, I was able to have it compile and it worked fine on my iPAQ after I found the right include files from an older PPC SDK that the CE.NET SDK that I was currently trying didn't have. EVC4 has compiler optimizations for XScale. The documentation for EVC4 says that all I have to do to enable them is to add the /QRxscale flag, and the compiler will do the rest. Because of this, I have plenty reason to think that this will work.
Now, when I was trying out another (CE.NET) library that I thought might be optimized for XScale (it wasn't) for EVC3, I was able to have it compile and it worked fine on my iPAQ after I found the right include files from an older PPC SDK that the CE.NET SDK that I was currently trying didn't have. EVC4 has compiler optimizations for XScale. The documentation for EVC4 says that all I have to do to enable them is to add the /QRxscale flag, and the compiler will do the rest. Because of this, I have plenty reason to think that this will work.
It sure is worth a try!
Robobeat: that's really interesting. So that means the binaries compiled with EVC4.0 will run on PPC devices?
If I use EVC4.0 and target MIPS, I will be able to run the program on my Casio E-125? I simple have to work around the includes/libraries issues?
I guess I will start experimenting with this... I don't care much for the Platform SDK aside from basic Win32 stuff like file IO and GUI.
In the end, if I can get C++ exception handling working on PPC I will be one happy guy!
If I use EVC4.0 and target MIPS, I will be able to run the program on my Casio E-125? I simple have to work around the includes/libraries issues?
I guess I will start experimenting with this... I don't care much for the Platform SDK aside from basic Win32 stuff like file IO and GUI.
In the end, if I can get C++ exception handling working on PPC I will be one happy guy!
I'm not completely sure, but I don't know why you wouldn't be able to get EVC4 to spit out something that Pocket PCs can handle...
I am guilty of the following sin: assuming.
I was *assuming* the resulting binary format would be incompatible or would need some .NET specific libraries (DLL).
Since you got something working on your iPAQ, I was wrong in my assumptions...
Thanks a bunch!
I was *assuming* the resulting binary format would be incompatible or would need some .NET specific libraries (DLL).
Since you got something working on your iPAQ, I was wrong in my assumptions...
Thanks a bunch!
I didn't get it working on my iPAQ, yet. I plan on doing that, though. I haven't gotten the chance to really do that, because of HD space. I had to delete some SDKs that I needed to have for it to work in order for me to install EVC4, and now I need to reinstall them. It shouldn't be too hard.
I know that you CAN use EVC4 for PPCs. It is possible and I am completely sure that Microsoft will eventually release official PPC and PPC2k2 SDKs for it when they get off their butts and do something.
I know that you CAN use EVC4 for PPCs. It is possible and I am completely sure that Microsoft will eventually release official PPC and PPC2k2 SDKs for it when they get off their butts and do something.
OK limited programming knowledge here what leads you to believe they will make a difference in performance despite the OS not being optimized? Just an honest question.... 
Robotbeat wrote:
(...), I was able to have it compile and it worked fine on my iPAQ after I found the right include files from an older PPC SDK that the CE.NET SDK that I was currently trying didn't have.
Robotbeat wrote:
I didn't get it working on my iPAQ, yet. I plan on doing that, though.
???
I would be really surprised if MS was to release PPC SDKs for EVC4.0. If they had wanted to do that, they would have been released with EVC4.0.
It is clear that EVC4.0 is an update to EVC3.0 for .NET platforms... Might still be possible to do something, but MS won't help.
Well, they allowed WinCE 2.11 support in EVC3, so...
Fair question, Anonymous.
I would like to point out that the OS isn't a factor in GAPI-based games. You aren't using the OS for anything. According to Dan's Dexplor, less than 1% of system resources go to the OS in GAPI-based games, the rest goes to the game.
I may not have a lot of programming experience, but I'm smart enough to find out ways to get that experience!
Fair question, Anonymous.
I would like to point out that the OS isn't a factor in GAPI-based games. You aren't using the OS for anything. According to Dan's Dexplor, less than 1% of system resources go to the OS in GAPI-based games, the rest goes to the game.
I may not have a lot of programming experience, but I'm smart enough to find out ways to get that experience!
Great to hear when do you think you will have completed your optimizations? No pressure :wink:
No pressure, but we're all crossing our fingers, lol!
It's not going to do anything. I doubt it will work at all, he's compiling for CE.NET
Moosemaster of optimism...... :D
I'm just a realist and, if you didn't know, the world sucks.
"I'm a realist"
Yeah, and depressing.
On a littler note (albeit not much
What about the Xscale build???"
Ya got me chomping at the bit/byte.
Yeah, and depressing.
On a littler note (albeit not much
What about the Xscale build???"
Ya got me chomping at the bit/byte.
Well, I think I might be able to pull off a compile on EVC4 for Pocket PC, but I'm mostly just cutting non-essential stuff (i.e. internet play) out of the source if it doesn't want to compile or something.
I might actually get around to using the right libraries, though.
I might actually get around to using the right libraries, though.
It's gonna take longer than you originally thought, isn't it? Well, good luck!
I am almost done... Maybe. 
I am backing up my iPAQ so I'll have enough space to put the pak file on it. See, I think I ripped out the CF card compatible part of Quake because the compiler/linker gave me an error. I have PocketQuake compiled into an executable for my iPAQ. I'll test it, see if it works at all, and then compile for the XScale either way. I don't think that it won't work because I am compiling for CE.NET, as Moose said. I don't have really any CE.NET include files anymore! I have all basically PPC 2002 include files in the CE.NET SDK files directory. Actually, it might be that if I used PPC 2000 include files instead of PPC 2k2, I might not have had as many problems... Anyways...
I am backing up my iPAQ so I'll have enough space to put the pak file on it. See, I think I ripped out the CF card compatible part of Quake because the compiler/linker gave me an error. I have PocketQuake compiled into an executable for my iPAQ. I'll test it, see if it works at all, and then compile for the XScale either way. I don't think that it won't work because I am compiling for CE.NET, as Moose said. I don't have really any CE.NET include files anymore! I have all basically PPC 2002 include files in the CE.NET SDK files directory. Actually, it might be that if I used PPC 2000 include files instead of PPC 2k2, I might not have had as many problems... Anyways...
It didn't work on my iPAQ, like Moose said. Does anyone know if PocketQuake compiles with the PPC 2k2 SDK in EVC3? Because if not, I might still be able to get it to work. Oh well. I'm tired. Goodnight.
It might work, but probably won't. If you're bored, give it a shot. See, my iPAQ isn't a 2002 device, so that could be why it doesn't work on my iPAQ. I compiled it for XScale anyways. first, go to this page http://ian_andrew_troi.com and then enter this into your address bar: http://ian_andrew_troi.tripod.com/pocketquake.exe
Again, it probably won't work, but if it does anything besides give you an error message, you could tell me.
Again, it probably won't work, but if it does anything besides give you an error message, you could tell me.
It looks like you stripped some things out to get it to build (SIP, CF Card and Network support).
Your XScale EXE shows:
OS Version 4.0
Subversion 4.0.
A standard Pocket PC StrongARM app is:
OS Version 4.0
Subversion 3.0.
Dan East
[edit] Oops, fixed typo with XScale Subversion[/edit]
Your XScale EXE shows:
OS Version 4.0
Subversion 4.0.
A standard Pocket PC StrongARM app is:
OS Version 4.0
Subversion 3.0.
Dan East
[edit] Oops, fixed typo with XScale Subversion[/edit]
Downloading pak file and your file...
Sorry dude, didn't work. I tried the original executable to make sure I set it up right, and that worked.
You click on it and nothing happens, not even an error message to help you out
You click on it and nothing happens, not even an error message to help you out
LOL! Wanted to see what fps i would get (original build). I start the game, type timerefresh, starts spinning and then crashes!
there must be a way to compile for the xscale PocketPC 2002 instead of ce.net
I would think.
But anyway, good try. I imagine this is a rather large project.
thanks for the effort.
I would think.
But anyway, good try. I imagine this is a rather large project.
thanks for the effort.
I haven't given up, yet. I plan on trying out the Pocket PC 2000 SDK to get it to work. I was kind of hasty this first time. BTW, most of my time was spent downloading and installing the SDKs/EVC4, etc...
It didn't actually take that long to rip out everthing I needed to in order for it to build.
Dan, what kind of errors would you expect if you tried to compile the PocketQuake PPC 2k iPAQ source code with the PPC 2k2 SDK in EVC3?
Dan, what kind of errors would you expect if you tried to compile the PocketQuake PPC 2k iPAQ source code with the PPC 2k2 SDK in EVC3?
UPDATE:
The pocket loox machine also has bad performance as well as the toshiba. I strongly advise everyone NOT to buy an xscale machine until you have seen benchmarks that it is fast. It looks like there is a BIG problem here with all xscale machines. They perform slower than an iPaq 206mhz strongarm.
Simon and Randall in Texas.
The pocket loox machine also has bad performance as well as the toshiba. I strongly advise everyone NOT to buy an xscale machine until you have seen benchmarks that it is fast. It looks like there is a BIG problem here with all xscale machines. They perform slower than an iPaq 206mhz strongarm.
Simon and Randall in Texas.
I don't see a speed prgblem with the xscale except on a few apps (unfortunatly one of them is PocketTV)
I've noticed a definite speed improvement on some other apps.
It's not what everyone was expecting, but is ok and will get better.
Strongarm is history no matter what happens.
I've noticed a definite speed improvement on some other apps.
It's not what everyone was expecting, but is ok and will get better.
Strongarm is history no matter what happens.
Maybe they just use a different screen buffering technique. It seems like all multimedia apps are not functioning up to par. Maybe there's a problem with writing to the screen directly and you have to use the built in double buffer, the opposite problem of the iPaq H38xx. And since everyone uses that exe for ARM PPC2k2 then you're getting bad results. Try an older ARM EXE.
Accourding to a review today on Cnet. The e740 uses the ATI imageon 2D chip.
This may be the culprit.
This may be the culprit.
Here it is
http://www.ati.com/technology/hardware/ ... tures.html
and it says and I quote ATI Imageon uses "384KB of embedded SRAM to support double-buffered 240 x 320 resolutions " so is the double buffering someone was talking about!?
http://www.ati.com/technology/hardware/ ... tures.html
and it says and I quote ATI Imageon uses "384KB of embedded SRAM to support double-buffered 240 x 320 resolutions " so is the double buffering someone was talking about!?
Looks like I might have hit on the problem. Maybe I should learn to program.
Just try using the iPaq H36xx build instead of the PPC2k2 build. Tell us if that even runs. I think there might be a problem with it, though, as people running PPC2k2 were having problems with that ARM build.
Just try using the iPaq H36xx build instead of the PPC2k2 build. Tell us if that even runs. I think there might be a problem with it, though, as people running PPC2k2 were having problems with that ARM build.
Again, I would be very surprised if the display is hurting performance that much.
I have a very simple modification for whoever is trying to build PQ specifically for XScale that will greatly clarify this issue:
In the file cl_demo.c, CL_FinishTimeDemo function, you will find the following code commented out:
Remove the comments to enable that chunk of code. In vid_ppc.c, VID_Update function, add a "return" so the function returns immediately without doing anything.
Create an autoexec.cfg file with only the command "timedemo demo1" and fire up PQ. You should hear the demo, but see no video. When the demo is complete a messagebox will appear reporting the FPS. If the value is still very low, then the display hardware is not to blame.
Dan East
I have a very simple modification for whoever is trying to build PQ specifically for XScale that will greatly clarify this issue:
In the file cl_demo.c, CL_FinishTimeDemo function, you will find the following code commented out:
- Code:
/*
//Dan East:
//The following is used to popup a message box with the timedemo results.
//The purpose of this is to make the results known when screen output is
//disabled (in the case of various benchmark testing).
{
TCHAR s[250];
_stprintf(s, _T("%i frames %5.1f seconds %5.1f fps\n"), frames, time, frames/time);
MessageBox(NULL, s, _T("TimeDemo Results"), MB_OK);
}
*/
Remove the comments to enable that chunk of code. In vid_ppc.c, VID_Update function, add a "return" so the function returns immediately without doing anything.
Create an autoexec.cfg file with only the command "timedemo demo1" and fire up PQ. You should hear the demo, but see no video. When the demo is complete a messagebox will appear reporting the FPS. If the value is still very low, then the display hardware is not to blame.
Dan East
very cool someone do this quick so we can find out..... :D oh yeah and send it to me!
webmaster@sprinklerhead.com
webmaster@sprinklerhead.com
Dan, will that disable ALL screen output, or just the Quake rendering? I suppose the entire screen output would be better to test with, as there's always the small change that's the slowdown.
It only disables the final blit to the display hardware. All the rendering is still performed in the background. So if XScale is as fast as they say, and if the display hardware was the bottleneck, we should see around 14-15 FPS with this test. Otherwise the XScale devices are not what they're cracked up to be.
Dan East
Dan East
Or, it could be that the xscales only run at their full potential once all of their op codes can be taken advantage of. I have not looked at the new XScale instruntion set at all, but it is possible that intel added some "multifuntion" instructions that perform what, at one time, took 3 clocks in 1 clock, or something like that. But, as I have said, the time I spent studying the XScale instruction set is equal to the time that I spend developing for the palm OS (0).
That could be it, but it doesn't explain a *slowdown* unless it's caused by another component. People have said it's snappier usually, so let's hope we won't have to compile another specilized version for all apps/games.
I wish I had an XScale and EVC and some programming experience so I could fix this and get my name in the start up credits. I just KNOW I could fix this.
Well, let's not make the toshiba the "XScale example". I have read in a few places that the Toshiba is expereancing some odd issues (software or hardware) that cause unusual slow downs compared to other XScales, such as the loox. It seems that toshiba rushed their product to the market before it was completely bug free and thorowly tested. This is a shame because they made such a good name for themselves with the e310 (or was theirs the audivox?). So, let's hope THEY can get these issues fixed before the rest of the compitition comes out and blows them away. I personly am looking forword to see what casio has to offer. I, unlike many, love my e200. Also, I think their customer support was great. The lady I talked to actually seemed in a hurry just to get me to say that I will accept a new unit. The best thing is, they paid my shipping, and even after all of that, I realized I never sent in the warenty card. Oops
. Oh well, looks like I took this thing off topic, just wanted to say that I like the unexpected extra that casio has to offer.
I have not seen any slowness in the e740 yet. When I sync it up to my workstation at work this coming monday, I will let you know more about it. So far I am very impressed with this device. I also hear something about Monday and Toshiba. I am not 100% certain what it is, but over in Brighthand and Sprinlerhead there is talk and only talk. Lets see what happens....