PocketMatrix forums

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

e740, ATI, XScale, Varium, etc

[ADMIN EDIT]
These posts were removed from the e740 GAPI blit thread in the Developers' forum.[/ADMIN EDIT]

Tha would be interesting, specifically not allowing the e740 will work, and I wouldn't blame you for wanting it. Games are very much art, and some people just don't want their art to be seen at such inferior performance. Ignorant people will blame it on the game, and as such will make it their life that everyone knows about it.

Personally, have the message say something like "due to speed concerns, Varium will not run on the e740. Contact Toshiba, and let them know about the poor performance of your device."

I think if Varium becomes a huge PPC game like it seems to be as of now, enough people will complain. Sure it'll result ina few OMGWTGF GAYYYY NO E740 SUPPORT!!11 reviews on Handango, but this might be the catalyst that gets the e740 fixed. Or convince others to drop support as a statement.

Movements like this need one big leader, and you don't get much bigger than everyone in Varium, with PM behind them too.
I'm both for and against not supporting the e740. I think it would be a great catalystic move to force ATI and Toshiba into the open or lose future market share and the very little they have now. The idea of a game being a work of art is very interesting and I like it.
Leonardo didn't paint his frescos on alley walls just so more people could see it.
This is a very bold move, a calculated move, and very justified and fortified from every direction.

On the other hand, the few but vocal will lambast Varium for not supporting their oh so beloved device because they have chosen to place themselves in ignorance regarding the true speed and functionality of their device.

... screw them, I like my Leonardo metaphor :D
sponge wrote:
Tha would be interesting, specifically not allowing the e740 will work, and I wouldn't blame you for wanting it. Games are very much art, and some people just don't want their art to be seen at such inferior performance. Ignorant people will blame it on the game, and as such will make it their life that everyone knows about it.


When we released 4Pinball we had a problem with people attempting to review the product on an E740 despite being told that it wasn't supported. Instead of running at 40-50fps, the framerate dropped as low as 15fps in places. Despite this we haven't had a backlash from E740 users because I think they are aware of the problems and are simply putting up with bad performance. As a company we do not advise poeple to use our software on these products but I know full well people do, it's their choice at the end of the day.
This reminds me of the old days of DirectX3 and windows 2D games. I would recommend following those developers lead and just display a warning box whenever they try to launch varium on these devices that it's going to perform slow.

I wouldn't completely disallow it to run on it though. That'd be like the first generation of PPC games not running on the HP Jornadas. We knew it was slow, we didn't care, we still wanted to play SOMETHING. An annoyance message that can't be missed by even the most ignorant of users seems adequate.
Varium doesn't run at 15 FPS on the e740. If that was the case, there wouldn't be a problem.

it runs at 7 fps.

Thats far too low, and acts more like a slideshow in this high action game. Aiming is more of an art in tedium, than fun. Certainly, they'll get their asses kicked in multiplayer- and thats unfortunate because the e740 is one of the few devices that has built-in WiFi.

I still stand by my words that we just drop e740 support, unless we can at least double the framerate. The negative backlash that we would get for having a game that is a slideshow is far worse than backlash that their devices are not supported. Mips devices outnumber e740s, and we aren't bothering to support Mips, even though the framerate will be roughly the same. The Varium engine is far too important in future ventures to be hinged on a single device.
If you want MIPS, e740 support, etc, it will force you to code with restrictions, and hacks ahoy, leading to an engine that preforms worse on ALL devices. Not something you have to do on the PC, maybe with video cards, or sometimes sound cards, but not entire systems like here.

Get people pissed enough to complain to Toshiba, though I doubt that will have much of an effect.

I'm all for dropping support for these devices. But I have a 3955 so it wouldn't affect me :P
Actually, Varium performs well on a 166mhz MIPS. At one particular location I get 21+ FPS on my iPaq 3630 at 206 mhz, 11 FPS on the e740, and 14 FPS on a 166mhz MIPS BE-300.

Note that at this time I doubt we would support the BE-300 due to it's small amount of RAM. No MIPS Pocket PCs are still in production, AFAIK. So I don't see us supporting a deadend / niche market (MIPS), at least not until we have pursued other emerging markets first (smartphone).

Dan East
sponge wrote:
If you want MIPS, e740 support, etc, it will force you to code with restrictions, and hacks ahoy, leading to an engine that preforms worse on ALL devices.


Optimizations are device-specific, and would not affect performance on other devices. It is certainly not a lowest-common-denominator type of situation.

However, supporting these devices (specifically modifying the engine for devices with extremely substandard performance, or devices based on different processors) would require a great deal of my time, which would of course delay the release of the game. At this point that it out of the question.

Dan East
How about just putting up disclaimers (on website, product description, setup program, and actual Pocket PC program) saying that "Due to Toshiba and ATI's lack of intelligence in the area of developer support and product integration, the game will be suckily slow on the e740.". That would be a good idea. I mean, the e740 is pretty popular, and I do think that a lot of users might not believe that the e740 is that slow, but would rather see for themselves. Seriously. It's probably more work trying to make it unavailable at all to e740 users than to just say that it will be really slow. Besides, you will have fewer people mad at you. ATI and Toshiba will probably get more response from e740 users if you do that because they'll see that the game is really cool and awesome looking, but really slow, and they'll be mad at Toshiba/ATI even more. That way it puts all of the blame on Toshiba/ATI instead of splitting the difference of blame between you and Toshiba (like Microsoft not "optomizing" PPC2k2 for XScale and instead just saying that it's Intel's fault, when they could have optimized the OS and SHOWN people that it was Intel's fault and not related to the OS.).

Besides that, I want to try out the game, and I have an 3635 ipaq, Casio e115 (131 MHz, baby! I'd overclock it for Varium, if MIPS was supported), and (soon) my e740. My iPAQ is broken, so I would still like to try the game, no matter what the performance. I would try it on my e115, if MIPS were supported. (BTW, I still want my e740 even after knowing all about the crappy ATI chip thingy.)

Please, just release the DEMO for the e740, at least! Come on! Please?

I encourage Dan to keep e740 support in the back of his mind, in case ATI or whatever releases something or someone has a GAPI breakthrough, or whatever. Please?
Annoying Snails Master · 20 Dec 2002, 03:47 UTC
Toshiba e740? ha!

They're nothing compared to the GENIO-E550G's. They work real sweet with all programs, unlike other toshiba X-scales :)
Robotbeats commentary would pack more punch if he wasn't expecting an e740. This reminds me of the pitiful arguments that Mips users insisted on using 6 months ago- and the ONLY reason they persisted is because they owned that device.

I own a Toshiba e740, and its the ONLY ARM/XScale device I own. Don't you think I would want to play the game on my device as well?
His points are still valid, expecting the device or not. However I still think dropping support intentionally will be the best. I'd rant more, but it's almost midnight, I've got school, and a completly killer headache.
I like it when people that may disagree with my view see that my points are valid. Too bad that isn't done more often.
Heck, I still think that you should release it for MIPS, anyway.

I still don't see why you wouldn't release it for the e740, when you are planning on releasing it for other StrongARM platforms and you wouldn't have to recompile or code anything (unless you were really nice).
Im guessing they would just say they dont support e740s, but if you happend to run it on one it would still *work* so to speak.
RobotBeat: They want to do this because they're pissed at ATI, and the fact it runs at such a dismal speed, they're going to drop support to get someone to notice the problems, more or less. If this game becomes huge, people will complain, and maybe they'll complain loud enough.
At the very least I'm going to popup a message the first time Varium is run on each e740 device indicating that performance is sub-par because of the poor hardware design of the e740. We may go so far as stating the device is not supported, and the user runs Varium as-is at their own risk.

It is simply a disclaimer for our protection. That should prevent uninformed users from publicly complaining about our software's performance (and blaming it on the software), or a reviewer trying to base a review on that hardware. Although at this point I would think that only a very poor reviewer would try to review any game on an e740.

Dan East
Ya, I'm for the popup box, or a message on the website before download, but still let it be available for the e740. This way, people would be able to see that Varium is publicly not supporting the Toshiba e740, but they can also try to play it and see exactly why they're not supporting it. Something like "Toshiba e740 not supported due to poor hardware design, use at your own risk." next to the "Supports H39xx, Jornada 56x, Toshiba e310" etc. That would be the best bet, I think.
I'm not sure if a one time message will even be enough to stop some people from complaing (not just reviews, but message board postings too)

You could try this, don't mention any of this on the download page, but have Varium detect for an e740, then display that message, saying you are running on an unsupported device, performance will not be optimal, run as-is and so forth. You should mention this on the buy page, but other than that, don't really say anything about it.
Sponge ... noooo. The point is to publicize that they are NOT supporting the Toshiba e740. They want as many people to know as possible that Toshiba isn't doing their job. I think it should be a message run every startup, too, not just on the first initial startup. If there's only one thing I've learned from school is that people don't learn from being told only once. Redundancy is the key to education.

Kzinti, there is a feature to use GDI blitting or GAPI blitting in PocketDivX or PocketTV, I forget. But I don't know. My initial thought when GAPI blitting wasn't faster was that GDI blitting was accelerated by the ATI chip. This thought grew in my mind through many examples. I'm sure someone smarter and holding more developer skills than I would have tried this before hand, however.
Moose: Don't count on it. You'd be surprised the stupid shit "better" developers will do. We all overlook things ;)
If you yell it at every corner, it'll look like a smear campaign though. Don't overdo it, it'll look unprofessional. But a bit more than on the buy page would be a nice compromise.
Well people should know before they spend the time to download and install it.
This problem is alot more complex on the marketing side than everyone makes it out to be. It is simply NOT worth the headaches that it presents. I will discuss the matter with the team privately simply because this matter can potentially destroy the backend.

We aren't pissed at ATI, nor Toshiba, and this isn't any kind of revenge. We just need to protect our own asses otherwise the game will not survive. The engine is far too important to be hanging like this.
I'd rather have a MIPS E-125 version so that I could loan my old device to someone to play multiplayer with :P

Of course I have had no contact with the e740, so my opinion is probably skewed.
Yeah, one of my friends has an e740, so I would like to play Varium with him, even if I don't get one myself (which I probably will).

I appreciate that you guys are reconsidering this. I feel so... so... loved. ;) (don't puke, I was j/k, of course)
My recommendation: don't buy an e740. Especially if you plan to play games on it for the next 1-2 years. Games are going to be getting more and more complex, and you will be left out if those problems can't be resolved.
Randall, I'm not sure I completely understand that. The Toshiba e740's before the ROM update received 7 FPS in PocketQuake. Now, after the ROM update, they get a very good score of 8.2 FPS. That's a 17% increase in speed, and a 5% increase in speed over my H3955 which gets 7.9FPS. But you're telling me that the Toshiba STILL doesn't run Varium fast enough? I believe you... but the numbers don't add up. Care to shed some light?
This is why I cannot place all the blame on Toshiba/ATI. Blaming someone else does not resolve the problem.

Sure they created a screwed up device, but its our responsibility to create games that run on these devices. If we can't do that, then our only option is to NOT release it for that device.

There will never be hardware that is engineered to run specific software, even if it tends to break with current standards. Developers design software for the hardware. Thats the way it works.

As far as WHY the discrepency between the benchmarks: we have no idea. The entire Quake benchmark is inconsistent with Variums benchmarks... If Varium was the indicator, Quake should be running at about 4.5 FPS on the e740. Obviously it is not.
Emudude · 23 Dec 2002, 05:12 UTC — This sucks
I don't really understand the way a device draws things, or any of this. What is your goal by not supporting the e740? To get Toshiba/ATI to fix the problem or totally discontinue this product. From what I have seen many people have bought this PDA and wants this stuff to work. Is way you could try and speed some of this stuff up?:(
pacomac, I have to lookup into the palette each frame with Pocket Quake, so I can't just memcpy. However it may be faster to convert the whole buffer to RGB 565 and then memcpy that temp buffer to the display. Some day I'll have to play around with it.

Emudude, there is a plethora of reasons to consider for not allowing the game to run on the e740. I think forcing Toshiba to "fix" the device or discontinue it would be extremely low on the list of reasons. In fact, as each day passes, I tend to think more and more that some OEMs don't know that independent developers even exist. So I hardly doubt our actions could possibly force them to do anything. I would be extremely surprised if we would even get so much as an email from them if we blocked our software from running on the e740.

It only takes a little bit of negative publicity to seriously hurt a product. We would be much better off having a group of people email us some complaints about our decision, than having them complaining to everyone else publicly about how poorly our product performs. It would mean more customer support, and more refunds. Basically the idea is to make the e740 issue just that; an e740 issue. The more drastic we react, the more clear it is to everyone that the issue is purely specific to the e740.

We aren't going to be releasing this game in the next week, so we have time to consider this issue. At this time, I think that it is likely that the initial release will not support the e740. We can look more intensely into optimizing specifically for the e740 when the critical issues have been taken care of, like going gold for the other 98% of the Pocket PC community.

As I have said, we will not allow the e740's hardware issues to cause a delay in the release of the game. If anything the e740's issues will cause a delay in the release of the e740 version, which is only fair.

Dan East
Thanks for clearing this up a little. I bought a e740 yesterday :( . I was afraid that you were going to drop it completely. I think what you are doing is right, don't let us unfortunate e740 owners slow you down. Hopfully there will be some catastrophic breakthrough and will clear up this mess Toshiba has brought apon us.
I think that a delayed release of Varium would be a good idea for the e740 (as long as something can be available... a demo? it's not THAT important, I guess). If you think you can optimize Varium for the e740, it would be more worth your time (in my opinion) to do that instead of releasing a Varium 1.1 version with a few minor updates. I mean, more extra people would buy it if you released it for the e740 than if you just released a revised version of Varium. Anyways, I hope that you release the game (for the other devices) soon and that you will be prosperous. Good luck!

BTW, gaming is not the only reason to buy a PPC. There's also connectivity and a bunch of other stuff.
I just got my e740! (and I'm glad I choose it)

Now, you have a REAL reason to release Varium for the e740... I got it. ~~~~~ :wink: :wink: :lol:

Anyways, I hope that you release the game for the e740, but I'll get by without it, I guess.

I am willing to help you, if you need the help. (although I don't think that you do because of randall's e740 or whosever it is) I will be busy having fun and stuff and encoding movies for my e740...

Merry Christmas, everyone! And, if I don't get another chance, a Happy New Years, as well!
That article doesn't provide any information of value. We already know what the OEMs, Microsoft and Intel "should" have done. We are concerned with the devices that have already shipped and continue to ship with these flaws.

The e740 certainly won't be the last device to ship with such severe performance issues.

So even if Microsoft, Intel and OEMs buck up and do what they should have done all along, we still have to deal with the devices that are already on the streets. Its too late for those devices, and now its become our responsibility to get our games to run on them.
OK, I've been developing a new game (counter sheep), anyhow my testing device is an e740, and my game runs sweet, I'm using a slightly modified version of easyce 2.0.

Now easyce was written well before the e740 was avaliable, and uses 565 based graphics, and is really not developed for 100% speed, i.e 16bit rather than 32bit, so I cant take advantage of moving/calcing two pixels at a time etc (32 bit bus), I could be wrong here but!

Anyhow can I thus assume that my code will run faster on other devices such as the ipaq etc?

And since I didn't implement any extra code to "support" the e740 within easyce, whats the issue?, it seems obvious that what I was doing before still works on a e740?

From what I can see, this is only an issue for developers "pushing" the limits on the device(s)?

-B
Well the e740 redlines at 4 thousand, where as everything else revs up to 6. You're shifting at 2 thousand, whereas Varium is working with much more power and has to shift late.
Sergey Chaban · 27 Dec 2002, 18:08 UTC
Also that article at cewindows.net (and many other articles I've seen on the net) is quite misleading at some places.
Supporting Thumb doesn't require a whole rewrite of the OS or apps. That's really strange statement.
Besides, there are particular tradeoffs when using Thumbs, only half of the regs available for most instrs, there are no predicates, and in many cases one ARM instr is equivalent to several Thumbs, so savings from reading 16-bit for each instr instead of 32-bit could be imaginary.
Thumb compiler is included with eVT and it's possible with some hacks to use Thumb code in your apps.
Also for XScale machines it's really about XScale-optimizations not about ARM V5 optimizations. WRT pipelines, instruction set etc.
Perhaps the only V5 instruction that is useful for general apps is CLZ that could be used to speed-up integer divisions. This instr is also very useful for fixed-point maths and could be used to significantly speed-up sqrt, inversion, division etc.
XScale also supports 5E DSP extensions and Intel's DSP coprocessor via MIA*, MRA, MAR instrs. These instructions are special purpose, so they are hard to apply in general cases - i.e. it's up to apps to use this stuff to optimize gfx, sound etc.
XScale double load/store instructions are also quite useful in gfx apps (e.g. to efficiently load elements of a fixed-point vector), but they have special alignment requirements that makes it hard for an optimizing compiler to use them.
There is also cache preload instruction that is already used by many OS images in XScale devices (e.g. to speed-up memcpy).
Bus size is of course the real issue.
Also IMO Epson's video controllers are much better for game-oriented devices than over-hyped Imageon or MediaQ. At least they support mem->vmem transfers.

SC
I don't know anything about CounterSheeps development, but I've seen the screenshots and news blurbs. Voxel and sprite-based cartoons. Looks like a hell of alot of fun.

Variums basic foundation has been "complete" for quite some time. We knew performance issues were going to occur at key points in the development cycle- adding AI, Sound/Music, Network, special FX. All those cause the game to slow down to a measurable extent. So we had those elements running within a month of develoment- and have been accounting for them every since.

We still have a ways to go before the game is actually finished, though. But this is why these problems popped up so early for us. I know there are alot of other developers out there that add in Sound/Netcode/SpecialFX at the last minute because they feel those are unimportant to performance. For certain engines, that is true. That is NEVER the case when working with polygons.

When AI was finally implemented in Snails (about a week before the first demo last December)- the framerate dropped below 10 FPS. And it was VERY noticeable. I think I popped a cork on that one (I usually do)

Once the engine has been optimised, it is my responsibility to be sure that the content is optimised as well. Dan brings Variums framerate up, I knock it back down with more content. As long as we can stay within the 17-20 FPS range, we'll be okay.

The Singleplayer game has a much higher threshold content-wise. We don't have to account for the drop in framerate that occurs with the netcode/multiplayer. Singleplayer isn't nearly as heavy with the gunfire, and the positioning of units can be spaced a little farther apart.

In Multiplayer, there is far less control, so EVERYTHING must be optimised. In Singleplayer, we only optimise the areas that need it (speaking strictly from the content side of things).
Is there really a need to insult other developers because they don't have the top of the line engine like the Varium team's? I don't think so.
Did I insult another developer? I didn't think so. Our engine works for what we need it to do, just because it is 3D doesn't make it better.
I don't know anything about CounterSheeps development, but I've seen the screenshots and news blurbs. Voxel and sprite-based cartoons. Looks like a hell of alot of fun.


Sounded like you were trying to insult the game sarcastically based on it's abilities, or according to you, lack of.
Ok, everyone just calm down, I didn't read it as an insult.... "horses for courses"...

Mind you no-one has answered my questions yet!

-B
Insulting the abilities of a gaming engine? Coming from one of the Snails developers? Snails is ALL cartoons and no voxels or 3d or anything, so that wouldn't seem likely. That is one of the downsides of communicating using text... sarcasm is often less easily detected, and people are more readily misunderstood and often unintentionally offended.
Randall is also helping Dan East with Varium.
I know. I wasn't a n00b yester-hour... :roll: :lol:

So... How about releasing an e740 version?
Re:

http://www.cewindows.net/commentary/xscale_speed.htm

The more that I read that this guy has written, the more I think he's a clueless idiot.
Heh.. I was too ashamed to read anything else by him :P
So what is your beef with my articles?

If you've got proof of a problem - bring it on!

refractor wrote:
Re:

http://www.cewindows.net/commentary/xscale_speed.htm

The more that I read that this guy has written, the more I think he's a clueless idiot.
Interesting... So checking all the code that was written in Assembler by hand for critical functions does not qualify as a rewite? Further there are major issues with performance if the word boundaries are not aligned as well.

So I still stand by my comment - a rewrite, review, redesign and full testing IS required to switch the OS to Thumb.

Sergey Chaban wrote:
Also that article at cewindows.net (and many other articles I've seen on the net) is quite misleading at some places.
Supporting Thumb doesn't require a whole rewrite of the OS or apps. That's really strange statement.
Besides, there are particular tradeoffs when using Thumbs, only half of the regs available for most instrs, there are no predicates, and in many cases one ARM instr is equivalent to several Thumbs, so savings from reading 16-bit for each instr instead of 32-bit could be imaginary.
Thumb compiler is included with eVT and it's possible with some hacks to use Thumb code in your apps.
Also for XScale machines it's really about XScale-optimizations not about ARM V5 optimizations. WRT pipelines, instruction set etc.
Perhaps the only V5 instruction that is useful for general apps is CLZ that could be used to speed-up integer divisions. This instr is also very useful for fixed-point maths and could be used to significantly speed-up sqrt, inversion, division etc.
XScale also supports 5E DSP extensions and Intel's DSP coprocessor via MIA*, MRA, MAR instrs. These instructions are special purpose, so they are hard to apply in general cases - i.e. it's up to apps to use this stuff to optimize gfx, sound etc.
XScale double load/store instructions are also quite useful in gfx apps (e.g. to efficiently load elements of a fixed-point vector), but they have special alignment requirements that makes it hard for an optimizing compiler to use them.
There is also cache preload instruction that is already used by many OS images in XScale devices (e.g. to speed-up memcpy).
Bus size is of course the real issue.
Also IMO Epson's video controllers are much better for game-oriented devices than over-hyped Imageon or MediaQ. At least they support mem->vmem transfers.

SC
Ashamed of what?

I broke the performance story on the XScale BEFORE anyone else did. I did it by reading the documentation on the XSCale processor and understanding how it works relative to the rest of the hardware. I'm proud of my work.

sponge wrote:
Heh.. I was too ashamed to read anything else by him :P
I'm glad you got the jump on it. :roll:
ChrisD,

Wasn't it you that said the memory bus in the current XScale PocketPCs is not 32 bits wide? Where did you get that idea?
Hi Chris. Thanks for stopping by PM. I think the biggest issue is that optimizing the OS would only make the OS faster. Specifically it would speed up things like File I/O, Windows GDI drawing, etc. Hoever the apps that suffer the most from the XScale performance issues are those that would gain the least from the OS optimizations you speak of. Games and other processor intensive apps already take over the whole system, so the OS is basically taken completely out of the equation when discussing that all-important FPS. Typical games are not even multithreaded, so they wouldn't stand to gain even from XScale specific improvements to the kernel
itself.

You certainly were correct in that XScale wasn't all it was cracked up to be, and neither MS nor the OEMs gave the slightest hint that XScale would, at best, perform at fast as the existing ARM devices.

Dan East
Maybe it isn't a good idea to be so easy to insult people. Maybe you think they're wrong. So? Don't insult them by making rude comments. Dan East did, of course, what others should have done in response to Chris D and his article(s), instead of "you're a retard because I think that you're wrong".
Where's the beef?
Uhhh... I like the e740. Develop Varium for it ;).
Sergey Chaban · 04 Jan 2003, 08:27 UTC
Interesting... So checking all the code that was written in Assembler by hand for critical functions does not qualify as a rewite? Further there are major issues with performance if the word boundaries are not aligned as well.


Chris, WinCE already supports Thumb, percentage of assembly code in the kernel is relatively small (BTW, WinCE kernel sources available from Microsoft under shared source license). Most of this code is a system-level code like interrupt handlers, and often it needs to be ARM code even in a Thumb OS image.
Critical functions are supposed to be written in assembly and optimized (by OEMs) for a particular device or a range of devices. For instance, this is stuff like string functions (strcmp, memcpy) and arithmetic functions (like __rt_* etc.) And more often than note it's more effective to write this stuff in ARM assembly (e.g. PLD instruction is not available to Thumb code).
My point is that using Thumb code wouldn't magically speed all the things up. Thumb code is often less efficient than corresponding ARM code.


A note to Dan: your point about OS optimizations not important for games (and similar apps) is mostly correct if you don't consider things like division routine to be a part of the OS. I.e. you use __rt_sdiv64by64 from COREDLL every time you do fixed-point division (unless you have your own optimized routine). So optimizing this routine in the OS would be quite useful. OTOH, you'll gain a lot more by writting your own division routine ;)

SC
Sergey Chaban wrote:A note to Dan: your point about OS optimizations not important for games (and similar apps) is mostly correct if you don't consider things like division routine to be a part of the OS. I.e. you use __rt_sdiv64by64 from COREDLL every time you do fixed-point division (unless you have your own optimized routine). So optimizing this routine in the OS would be quite useful. OTOH, you'll gain a lot more by writting your own division routine ;)


That's also true for floating point math.

Dan East
Do people somehow hate the e740? I know that I'm exaggerating this, but it seems that every time someone thinks of a way to fix the slow framerate on e740 issue, someone will just dismiss it. It's like you guys HATE the e740 and refuse to even try to support it. This just seems to be the impression I'm getting from some of you guys. Do you intend to NOT support the e740, then? No matter what? Ever? I would like to know. You guys are skirting around the issue and some of you are supporting the idea of e740 support(kinda) while others think that such a thing is just a simple waste of time. REally. What's going on? Even though a large percentage of people have e740s, you guys still haven't even said, "Yes, e740 support is a good idea. We'll work on it as soon as we release the regular version." What's up?
Another guests wonders · 10 Jan 2003, 12:34 UTC
I don't see what the problem is with the SDK. If any developer is really convinced about getting e740 performance up to par, they can just ask ATI for it. The video people have gotten it with no problem, and so have some people who aren't even developers. In fact I know the FTP site/pass combination where to get it.

Putting up a popup that says: "It's gonna run slow on your e740 because there is nothing we can do about it" is okay, but is it really true? Sergey posted about some of his experiments and I haven't seen any other developers reply/discuss it with him. Why is that? Has anyone else tried using the ATI API to improve the video performance?

And if you're thinking of saying "sure it might be possible but we don't want to waste our time and effort on it" then that's fine. But don't close your eyes and pretend it's impossible to bring the e740 up to speed.
That may work fine for the video people, but what about the rest of us? There's probably a reason why we don't have any e740 optimized games.
Well, as I said I've got an e740 as my base test unit, so if my games work on it then I know they should be fine on other devices.

-B
Another guest... · 11 Jan 2003, 18:29 UTC
I guest nobody's interested in the SDK huh?
I'm sure Dan and Randall have asked ATI for the SDK. The point is that ATI refused to distribute the SDK to them, which is their mistake. They obviously made it clear that they don't want what is sure to be a very popular PocketPC game to run well on their device.
At this point I haven't. Currently we do not have time to devote to pursuing relatively extreme measures for the sole purpose of making one device model by one manufacturer perform up to par with its peers. This is further amplified by the lack of evidence that there exists any solution to make this device perform substantially better blitting RGB 565 bitmaps.

So from our perspective it is a gamble. We gamble the cost and time of obtaining the SDK, plus the time involved in trying implement code to utilize it, when we don't know if there will even be worthwhile performance gain.

We will release the game with no respect for the e740. I can almost guarantee that we will include a run-time disclaimer built into the program stating that most intensive games of this type perform substantially worse on this device than on any other Pocket PC model with the same processor. If time and demand warrants, then we can look into optimizing specifically for that device.

Dan East
Another guest proposes · 12 Jan 2003, 22:14 UTC
All it takes is ONE experienced games developer to give the SDK a try, not all of you. That developer can then share the results of his experiments.

I'm willing to post instructions on how to get it, as long as I'm assured that my anonimity is safe.
Don't. They probably wouldn't try to obtain it shadily, anyway.
Ok, first I should apologise for the note I put here before - I was in a beligerent mood and it wasn't particularly nice ; I'm sorry.

Here goes:

Things to do by Microsoft?

1. Thumb instructions are less powerful than 32-bit ARM ones. Once the code is in the cache, it's the same speed as ARM but does less per cycle, hence it's actually slower then ARM for a lot of things. As loading goes through the cache (and pipeline), at least 16-bytes are loaded into the cache from memory (and tie up the bus) whether you use the instructions loaded in or not. So "smaller" doesn't necessarily help speed.

2. Saying that all applications and the OS need reviewing for performance and "rewriting" is kind of specious. Re-compiling, maybe, re-writing, I don't think so. I doubt there's much code knocking around in the OS that's hugely optimisable towards the XScale versus ARM.

3. What additional instructions?

Hardware?

1. The iPAQs are already 32-bit bussed. The CPU doesn't need 32-bits of code and 32-bits of data before it can do anything; instructions are all 32-bit and may not need extra data (you say in the other article "We need to read in 8 bytes of data before executing the instruction.", why?). Note pipeline and cache affect loading as stated above.

Intel?

1. Why do you think that increasing the length of the pipeline would help here? The ARM's bus is 32-bits wide. Increasing the length of the pipeline increases the penalty for a branch mis-prediction stall and the cost of a branch at every stage (pipeline fill)... I'd really rather they left it as it is.

2. Increasing the cache size increases the cost and lowers the battery performance (most of the chip's transistors are the cache). Both are bad for Pocket devices. Naturally larger caches mean faster performance, but I'm sure Intel knew better than you or I the trade-offs involved.

Further there are major issues with performance if the word boundaries are not aligned as well.

If the 32-bit code isn't 4-byte aligned there are more than performance issues.

That should do for now.

Cheers,

Ref.
Another guest... · 13 Jan 2003, 12:52 UTC
I just gained some extra respect for Marc of PocketMVP who optimized for the ATI/e740 only a few months after the unit's release.

I guess that's the difference between Open Source and commercial applications.
The main coder made an optimization to a program, so that makes open source better than closed? Right.
Another guests guesses · 13 Jan 2003, 16:02 UTC
Right, that's exactly what I said. Excellent reading comprehension.
Another guest... wrote:
I guess that's the difference between Open Source and commercial applications.


Hmm. Maybe I should consult the guy who donated all that time porting Quake and Quake II, which are of course Open Source, to the Pocket PC. Since he does Open Source he can magically optimize for the e740 with trivial effort.

Dan East
Another guest elaborates · 13 Jan 2003, 16:18 UTC
Right... Since some of you are having a hard time understanding what that statement meant, let me elaborate.

I guess that's the difference between Open Source and commercial applications.


The difference between Open Source and commercial applications is that the former are not restricted by monetary concerns. Therefore the former can in some cases explore new, technically interesting (yet economically unfeasable) paths that a commercial enterprise can not.

And that's why in this case PocketDivX/PocketMVP has ATI optimizations, while the developers here won't even bother looking at the SDK.
let me elaborate.

I don't have an obligation to ANYONE here (except Dan East). I am not obligated to push my software to any or all devices. If we want to make our software available ONLY to the Zayo, then we have that right.

Nobody is obligated to buy our software. We want people to demo the software, and if they find enjoyment and entertainment, THEN buy it. We offer something up front.

The opposing argument provides us with NOTHING up front.

Its not my responsibility to correct issues that Toshiba and ATI impose on themselves. Its not my responsibility to "rescue" the device. Toshiba/ATI have made no public efforts to remedy the situation, in fact they make no public announcement of the issue whatsoever. Yet they continue to sell these devices in-store. This is a policy that I do not agree with, nor condone.

This isn't simply a matter of obtaining an SDK. Our engine pushes the technology to the limits. We don't have the resources, nor schedule to explore this area right now. We can't delay the game for this one device.

We aren't trying to punish Toshiba. We don't have the leverage. We aren't trying to make a statement, we don't have the clout.

Our sole responsibility in regard to the individual devices is to ensure the game performs to a specific standard. Content is optimised- polycount for the models is about 1/4 to 1/3 of Quakes models. Anyone who is a modeller knows that you can only reduce the polycount so far until the joints cease to work properly and you get weird distortions. The viewport "sees" about 1/6th the polys that Quake does. The engine can render in 9-bit, 12-bit and 24-bit modes. Perspective correction can be toggled. Alpha is not used even though it is available. However, that may become a toggle as well.

Let me remind you that Dan East was the one that provided most of the optimisations for Quake.

Let me remind you that I was one (of many) that provided optimisations to the Quakes content by providing 4 custom maps. We are no strangers to optimisation.

Let me remind you that while Linux is open source, I can buy all the latest and greatest software for Wintel the day that it is released. Linux doesn't have that luxury and never will.

And we can see how far open source projects get in regard to games. PocketQuake has been available for 2 years- and so far Dan is the only one that made substantial progress.

So don't bring psuedo-knowledge of development into the picture. I am not fooled, and I won't allow the community to be fooled either. I am a fairly consistent contributor to the PocketPC community, and have no reservations about using my real name.

We are not restricted by monetary concerns. We are independent developers.
Also, if I am not mistaken, the ATI chip has built-in MPEG acceleration. So video performance for PocketDIVX will certainly see major improvement.

We cannot benefit from MPEG acceleration.
Another guest elaborates wrote:
The difference between Open Source and commercial applications is that the former are not restricted by monetary concerns.


Really? Then why are all these OS projects always begging for donations? They're restricted for time AND money.

randall: That is correct from everything I know, they got their speedups from the MPEG related functions. While I'm sure it's possible to speed up normal applications on the e740, it won't be nearly to the same degree as PocketDivX and PTV got
Another guest elaborates wrote:
And that's why in this case PocketDivX/PocketMVP has ATI optimizations, while the developers here won't even bother looking at the SDK.


Again, this ATI chip has hardware support for MPEG decoding and YUV conversion. Those are both specific to decoding certain types of encoded video streams.

The converse of your argument is to say that a Pocket PC has been released with 3D acceleration, and so you whine about why Pocket TV and Pocket DivX can't somehow make use of this 3D hardware.

The reason I started this thread one month ago was to seek the slightest hint that optimization
was possible. Many of the most respected and talented Pocket PC developers have read and contributed to this thread, including the Pocket DivX author who has successfully utilized the custom ATI hardware to the fullest extent. The conclusion that everyone involved has reached is that there is no magical fix for the ATI problem. The consensus is that while small optimization may be possible, nothing of a scale large enough to offset the e740's performance deficit appears to be possible.

Dan East
Another guest elaborates wrote:
The difference between Open Source and commercial applications is that the former are not restricted by monetary concerns. Therefore the former can in some cases explore new, technically interesting (yet economically unfeasable) paths that a commercial enterprise can not.


That statement is completely asinine. What benefit does it serve an open source developer that their product runs on additional devices? Nothing, except for perhaps more customer support. We stand to make more money if our software runs properly on the e740. We have a motive to support the e740. Your argument is completely backwards.

And, as Randall said, we are independent developers. There is no one looking over neither Randall’s nor my shoulders (besides the encouragement we give one another). We will do what is reasonable and most logical. Wasting a week or longer, and thus postponing the release of our software, due to a single device with poorly designed hardware is laughable.

Dan East
Another guest replies · 13 Jan 2003, 23:54 UTC
I'm not sure how this degenerated to you having the 'right' to do whatever you want. I don't think I ever suggested taking that right away from you. I don't care if you optimize for the e740 or not, and I don't think you have any duty to do so. Clear?

It's been repeatedly stated by many of you that you don't have the time/resources to try and optimize for the e740. Yet for some reason you get all excited when I say the same thing. An open source project has no such requirements. The developer can wake up one morning and decide to implement a completely useless feature with a clear conscious.

Marc from Pocket MVP did not run a poll on his forum to see what % of the readers had an e740 (and no, I'm not saying anything is wrong with that).

Now putting all those misunderstandings behind us, there are only 2 points worth discussing.

1) Is there any possibility of getting gains on the e740 by using the ATI API.

2) Is it worth you time and money to try and find out.

You believe the answer to #1 is no.

I believe the answer to #2 is yes.
Another guest is shocked · 14 Jan 2003, 00:14 UTC
Dan East wrote:
Many of the most respected and talented Pocket PC developers have read and contributed to this thread, including the Pocket DivX author who has successfully utilized the custom ATI hardware to the fullest extent.


Really? Where is the post from the Pocket DivX author?
Another Guest, I don't think you understand. The devs here have already tried optimizing and doing everything without much success.

Realize that the ATI chip only accelerates video-related functions, nothing more. It's useless to try to use it for games, and stupid to whine about it.
Another guest, if you'd read back in this thread you'd clearly see his post, right near where I said something about him not being able to help, which turned out to be true.

Quite whining. The discussion is closed, the only thing you're doing is stopping the developers from working on Varium even more and possibly delaying the release, simply because you don't know when to quit. Are you a developer? Have you ever looked at C code? Have you ever looked at the specs and features list of ATI? Do you even know the first thing about anything in this discussion, other than your desire to oppose the developers of Varium?
Nay, oppose everyone for the sake of arguing.

He never replied to my OS points.. heh..
Another guest is back · 14 Jan 2003, 11:06 UTC
I wish this wouldn't degrade into some silly "stop whining" or "how many lines of C code have you written" discussion.

There's a reason it's not the serious developers that brought those points up. If you can't value a post by its content alone then I would suggest you take a step back and reassess your objectiveness.

Now that it's out of the way, could someone tell me exactly where this post by the PocketDivX person is? Page and username please, because I went through it all again and I don't see it.

Thanks!
The point was your not a serious developer, and he wanted to know your experience, which is obviously none, so you obviously don't know what your talking about. So when your (dismal) credibility is on the line, you try and blame others, discredit others, and change the topic as fast as you can.
Another guest gives up · 14 Jan 2003, 14:14 UTC
I refuse to play this game sponge. I have discredited no one, but I am not getting the same respect in return so I will give up on this issue.

Love to all, even to those too sensitive on some subjects to have an open discussion.

-Another guest

PS: I would still appreciate it if someone could point out which one of the posts in this thread was from a pocket divx developer.
Another guest gives up wrote:
PS: I would still appreciate it if someone could point out which one of the posts in this thread was from a pocket divx developer.


He is a member here at PM, and has made a couple dozen posts. He and I have discussed this in a private developer's forum here at PM (the reason it is private is exactly because of the behavior of apparent non-developer's such as yourself). He has not posted to this thread, but I'm certain he has read it. If you look at my post I said that prominent developers, including the Pocket DivX developer, have read and posted to this thread. I didn't specifically say he posted to this thread. My exact meaning was that prominent developers have at least read the thread, and if they were aware of a solution then they would have likely posted. The fact that no-one has posted a potential solution to this very active thread over the period of a month, regarding hardware that has been released for a year, leads me to believe that such a fix is likely not possible.

The Pocket DivX developer used an alias here at PM, so I will respect his anonymity and not reveal it.

Later today I will be stripping all posts from this thread that do not directly discuss programming techniques related to the ATI chip / e740. I will split them into threads that will end up in Anything Discussion and / or General Pocket PC Discussion.

Dan East
Another guest.. · 14 Jan 2003, 15:48 UTC
Fair enough, although I do not appreciate the tone of your writing or the pejorative connotation when you use the terms 'non-developer' and 'behavior'.

If I was pretending to be a Pocket PC developer or pretending to offer a technical solution, that kind of attitude might have been warranted.

All that being said, thank you for clearing up that you have indeed talked to someone who has used the SDK. That was after all what I had been suggesting, nothing more. And no, it wasn't mentionned clearly before.
#1 I don't owe you any respect.

#2 You don't use your real name so I can give you respect.

#3 You have not provided a bit of valuable information that deserves respect.

#4 The pitiful arguments and flawed logic are something else entirely- quite amusing.

#5 You yourself have shown a great deal of disrespect.

#6 If you READ these goddam pages, you'll discover WHY we have come to the conclusion that we can't fix the e740.

#7 If you can't UNDERSTAND these pages, then you have no right arguing them. These are not submitted in laymens terms so that you may enjoy them.

#8 it is assumed that you are NOT a developer, otherwise you would have already come up with a solution, or come to the same realisation that all these other prominent developers have.

#9 if you are a developer, what the hell is your excuse? Give us the solution already.

#10 What is it exactly that you WANT? Varium? Its a friggin GAME... get over it. Its not like we are hoarding the Holy Grail or something.

It is true that we have recieved alot of personal emails from very prominent developers. Now you can call us liars, call us lazy and call us incompetent. I really don't care. I have a game to design and you (and the e740) are the very least of my problems.

This is EXACTLY why I do not even want to bother wasting the time to support the e740 in the first place. The game hasn't even launched... WAIT a public DEMO has not even been made available and already this crap is starting. I can't imagine 1000 people acting like this.

Varium doesn't support the Mips devices. Those people can't complain, because we blatantly DON'T support the device. We have not established an obligation to do so.

We have much better things to be doing, rather than wasting the time to troubleshoot crap like this- while both Toshiba and ATI turn their backs and pretend the problems don't exist.
Another guest... · 14 Jan 2003, 20:18 UTC
Actually, I'd like to think that you do owe me respect. Just like I respect you.

I'm sorry if it seemed like I was disrespecting any of you, because it wasn't my intention. Maybe you read more than was actually said.

PS: This has nothing do with Varium, I'm not even sure what Varium is (a game I assume).
That was your cue to get up an go, not to disrespect the developers more by disagreeing with their observations.
I'd just like to add that you shouldn't blindly assume that people here don't have the ATI SDK or information regarding this issue from Toshiba.

It is common practice when you obtain this sort of information legally, to sign a non-disclosure agreement (NDA) promising not to reveal this proprietary intellectual property to anyone not covered by the same NDA (and with some agreements even that isn't allowed).

That's all I'm going to say about it.
warmi · 15 Jan 2003, 00:33 UTC — Interesting
Randall wrote:
5 You yourself have shown a great deal of disrespect.

Regardless of merits of the discussion, if anyone lacked any sort of politeness in this discussion it was you.
I don't know who you are but you definitely need to cool down and stop behaving like a some sort of star (or a prick - pick your term.)


And I thought my coworkers were bad ...
*me* gets bags of chips, and sits down in me fav chair to watch the fireworks....

P.S (I use my real name)
I'll try to defend "Another guest", not because I agree with him, but because you guys are all against him.

1) PocketMVP doesn't use MPEG ATI optimizations, at least yet (as of .8m).

2) Randall hasn't seemed to have attempted to be polite to this person, but that is understandable since this argument is long-winded and can be frustrating for someone who is just trying to get something finished.

3) Open-source for PocketMVP does mean greater device support. For instance, the e10x and mono-iPAQ support was done by people not part of the central core of PocketMVP developers.

4) Toshiba/ATI haven't been totally silent about the issue. Toshiba released a ROM-patch that did help performance somewhat. Granted, a simple patch won't solve the performance problems completely, but yeah.

5) Open-source is more inviting for developers to offer help for. I mean, why would I give my time for something that someone else is going to make money on? If I had suddenly found a solution to the e740 issue, you guys would get around a 10% increase in sales. That's a lot of money. (Well, not a heap of money, but a considerable amount.)

Keep in mind that these are just simple counter-points, not attacks. Read each point of mine for what it's worth, and not more. I personally think that "Another guest" was pretty rude (at very least in the beginning).
Another guest is always rude. He's a stupid little troll.

Robotbeat: I don't think those fixes were made on the Imageon chip - they were just general speedups.
Another guest is rude · 15 Jan 2003, 17:00 UTC
sponge wrote:
Another guest is always rude. He's a stupid little troll.


Why, how kind of you sir...
Robotbeat

2) Well duh, no one has been polite to Another Guest because he hasn't been polite to anyone else. He has only been controversial and obnoxious from his initial post. His arguments are fallacious, and his usefulness nill. Read his posts.

3) So you've got one example, that makes a pattern? Your argument is erroneous. Open-source usually means the developer doesn't want to spend all his time working on it so he drops and makes it open source, or that he doesn't have the means to continue the project alone, or that the original program was open source and thus a port must be open source as well. It does not mean that a project will instantly become better simply because some 12 year old is able to download the source and add his name to the credits.

4) The patch was MONTHS late, and they never official announced there was a problem to begin with. The patch should have been a part of the initial release of the product. When something is that buggy and poor quality you usually don't release it until you've got it fixed. Toshiba/ATI are lazy and never admitted anything ever being wrong.

5) Open source does not mean that it will advance faster and have more features. By your logic no one is going to concede information to a competing product anyway, open source or not.

Open source does not necessitate quality or innovation. Quality and innovation are tied to the intelligence of the developer and have nothing to do with the format a software is released in.
Robobeat:

I don't understand your point #5 in your previous post.

If you end up doing the same amount of work for an open source project or for a commercial dev team, isn't it the same from your perspective? I mean, you ended up dedicating the same amount of your free time to write code in either case. Why would it make any difference whether the end result was open source or commerical? Just because someone takes the work and makes a profit on it, doesn't mean you worked any harder or easier on your portion, does it?

I can't speak for all commercial developers but I think most would compensate you in some manner for your contribution (early betas, free copy of the finished product, name in the credits, maybe some swag...). This is something you could negotiate before you agreed to help them.
Another guest observes · 16 Jan 2003, 02:28 UTC
Stop disagreeing with each other people. Don't you know that disagreeing is disrespectful? ;)
It's your attitude, Another Guest [Verb], not what you say.
Well, for more examples of open source having more support:

-Linux (runs on practically any hardware, AFAIK the most supported operating system)
-Emacs (runs on practically any platform)
-Mozilla (ditto)

I can't understand your argument, moose. Not all open source consists of 12-year-olds attaching their names to credits. Granted, open source isn't good for many things (such as games, which basically makes this discussion useless) but it does have its advantages. Support is usually one of them.
I never said it had disadvantages, or discredited its advantages. But it's pointless for what we're discussing, a commercial game.
Yes, except you implicitly asked for more examples of where open source is the reason for greater support.
I am aware, thank you.
Yeah. You're right. As I said, I don't care about Another Guest. He's pretty immature. And, it's usually useless to have a commercial game being open-source. I never would have wanted it to be, because I know you guys have put a lot of work into this project and you wouldn't get much money at all from just "donations". Yeah. My "argument" wasn't really sincere.

Uhhh... All points that I could make have been by either me or someone else. Still, try to make Varium work playably on the e740, when you get the chance, if you get the time. See ya.
Another guest... · 17 Jan 2003, 09:13 UTC
Robotbeat wrote:
Yeah. My "argument" wasn't really sincere.


Peer pressure does wonders, huh? You should stand by what you believe in robotbeat.
which wasn't you, so why are you arguing for him?
Perhaps it was out of pity, and when he saw all your other arguments, saw you had no point at all, and gave up?

Peer pressure my ass. If we threatened Robotbeat along with you, THEN you might have had a point.

And does anyone remember why another guest started posting? Because some moron guest was badmouthed, and he accused everyone of us of showing malice towards low posters.

More BS straight from another guest again..
another guest... · 21 Jan 2003, 01:32 UTC
calm down sponge
It's been 3 days since that post. I'm pretty sure he's calm by now, but thanks for your concern.
Probably took him that long to think of something :P
Whatever, sponge. It didn't take me three days to respond, right now!



~~~~~
that means extreme sarcasm
Mike Bannick · 22 Jan 2003, 09:10 UTC
spam :F
What are you guys saying? After the ROM update, my games feel MUCH smoother. DO NOT BLAME ATI that the game will not work, if someone had to be blamed its Toshiba. ATI released its noted to Toshiba and its there fault. I am pretty sure this game will run as fast as it will in the iPaq 39xx series
How can you be so sure, if ALL of the main developers said it barely runs on the e740?
The ROM update did increase the speed of the device, and that's the problem. It's STILL THAT PATHETICALLY SLOW that it won't work, even after all the tweaks that ATI and Toshiba could muster.
WTF? In Quake its benchmarks for Xscale is damn high after the Rom Update! It is about speed, MM, your saying the faster it goes the slower it will run? Are you on drugs?
Sigh... Quake isn't the only way to gauge a device's performance. If you bothered to read randall's first posts, you'll see that the e740 gets about 7fps in Varium, compared to 20-something on all other PPCs. That's a fact, and it can't be changed by high Quake scores.
Anonymous: READ WHAT THE DEVELOPERS SAID. I couldn't give a crap what Quake gets, this isn't Quake!
Xscale isn't the problem, it's ATI's Imageon graphics chip. If you'd bother to read this thread all the information is there, including input from the developers of Varium, and many other developers which have experience with the ATI and it's problems. Also, Quake runs slower on the Toshiba e740 than any other XScale, even after the ROM update.

And I don't smoke.