Slashdot Mirror


IE9 Team Says "Our GPU Acceleration Is Better Than Yours"

An anonymous reader writes "Over on the IE blog Microsoft's Ted Johnson writes, 'With IE9, developers have a fully-hardware accelerated display pipeline that runs from their markup to the screen. Based on their blog posts, the hardware-accelerated implementations of other browsers generally accelerate one phase or the other, but not yet both. Delivering full hardware acceleration, on by default, is an architectural undertaking. When there is a desire to run across multiple platforms, developers introduce abstraction layers and inevitably make tradeoffs which ultimately impact performance and reduce the ability of a browser to achieve 'native' performance. Getting the full value of the GPU is extremely challenging and writing to intermediate layers and libraries instead of an operating system's native support makes it even harder. Windows' DirectX long legacy of powering of the most intensive 3D games has made DirectX the highest performance GPU-based rendering system available.' Some Mozillians hit back in the comments to the IE Blog post and others have written blog posts of their own. PC Mag's Michael Muchmore seems to conclude that IE9 and Firefox 4 are more or less the same (despite the title of his article) while Chrome currently lags behind."

41 of 360 comments (clear)

  1. Re:So? by symbolset · · Score: 5, Funny

    It can't run on XP either, nor phones, nor tablets. Fringe browser for the platform of yesteryear.

    --
    Help stamp out iliturcy.
  2. What good is... by Darkness404 · · Score: 5, Insightful

    What good is having GPU acceleration that only works on one platform? The -entire- point of the trend of doing things in-browser is to make cross-platform compatibility a reality. If I wanted a game to work just on Windows, why wouldn't I just make an application that did that?

    --
    Taxation is legalized theft, no more, no less.
    1. Re:What good is... by l0ungeb0y · · Score: 3, Insightful

      This is Microsoft we're talking about, they still believe they are the *only* platform.

    2. Re:What good is... by dnaumov · · Score: 5, Funny

      "Cross-platform" means its usable on both Windows 7 and Windows Vista.

    3. Re:What good is... by CarpetShark · · Score: 4, Informative

      Adobe Shockwave is pretty much Winhoze specific and games written in it are very much alive and kicking.

      That's fine, but realise that the web is about hypertext. Shockwave and flash are supposed to be on the web in the same way that movies and sounds are: as embedded elements of media. Building an entire site or app in shockwave or flash is NOT building for the web, it's only running a non-web app over http.

    4. Re:What good is... by dracvl · · Score: 4, Informative

      I tried to submit something through the feedback thing, but as far as I can tell, things written there go nowhere, so who knows.

      No, we read pretty much all the feedback (through filtered and clustered searches) -- the volume is very high, and so we can't respond to individual comments, though.

      We are aware of the issue with hardware acceleration on certain setups. Try updating your graphics card drivers and try again?

      -- Alexander Limi, Firefox User Experience Team

    5. Re:What good is... by Anonymous Coward · · Score: 5, Insightful

      Yeah, nobody ever browses the web on anything other than Microsoft Windows.

      There is no such thing as an iPhone. Where did you get the idea that "iPhones" existed? There is no such thing. There is only Microsoft Windows.

      And "Android" means someone like that robot guy in Star Trek. It is not the name of a popular operating system that millions of people use to read websites. It is just a kind of robot.

      Also: nobody in the entire world owns a Mac, unless you are talking about Big Macs, in which case many people own them but only very briefly. And I am definitely not typing this comment on a Linux box, because Linux is not ready for the desktop, so it is quite impossible that I might be using anything other than Microsoft Windows, which is the only relevant platform in the world.

      Mmm, this kool-aid is tasty. Must drink more.

    6. Re:What good is... by Sir_Lewk · · Score: 4, Funny

      Internet Explorer will run on NONE of the "platforms" you speak of.

      You catch on quick don't you?

      --
      "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
  3. The best part about in-browser GPU acceleration... by Lost+Found · · Score: 5, Interesting

    ...is that thanks to the lack of an IOMMU on consumer x86 computers, JavaScript exploits in the browser can now give you access to all the computer's memory, and along with it, ring 0. I can't wait to see the first whitepaper on the subject :)

  4. Re:Great by jabelli · · Score: 3, Informative

    If any program makes your GPU drivers crash, then take it up with the GPU manufacturer. If the drivers are crashing, then they're defective.

  5. Re:How do we change the debate to important stuff? by Superken7 · · Score: 4, Funny

    wow, GPL acceleration!

    Of course! If its free software it must run faster! ;)
    How fast is Apache, then?

    (very funny typo ;)

  6. Pointless battles by mariushm · · Score: 5, Insightful

    I find it ridiculous how browsers battle over something like this when they can't fix very old and stupid bugs, and fully support some older standards such as CSS 1 and CSS 2.

    For example, Firefox crashes when a user loads a 2-3 MB GIF file, because each frame is kept decoded in memory and the browser goes over the 2 GB memory barrier (for 32 bit applications). https://bugzilla.mozilla.org/show_bug.cgi?id=523950
    Or, another example, the file input box ignores any css color rules simply because the html specs doesn't specify any rule so for several years nobody is able to decide something. It's actually since 2000 ffs: https://bugzilla.mozilla.org/show_bug.cgi?id=52500
    Or, for several years now, when uploading a file using a form, the progress is stuck somewhere around 50% and it's discussed over and over but nobody can actually do even a temporary simple fix. Since 2004: https://bugzilla.mozilla.org/show_bug.cgi?id=249338

    It's actually surprising they're able to code something as complex as gpu acceleration when they can't fix small bugs and at the same time it's unfortunate that basic things are forever and ever skipped in the hunt to get the latest "features" (sometimes just to check something on a feature list) instead of actually getting some things working properly.

    1. Re:Pointless battles by RebelWebmaster · · Score: 4, Insightful

      You're assuming that the developers who implemented the hardware acceleration support were doing so instead of fixing those bugs, which is a big and likely incorrect assumption. It's a tired straw man argument.

    2. Re:Pointless battles by mariushm · · Score: 4, Interesting

      A 728x90 GIF banner would use 250 KB per frame and at about 30-100 frames per banner, you're looking at 10-30 MB per banner. How many GIF's are in an average page? Lots. How many GIFs are in lots of tabs? Lots. How many bug reports and complaints are on the 'net about Firefox using a lot of memory? Lots.

      It *is* a bug that affects very few people *critically* (crashes) but it is one that makes the browser generally look bad in reviews and other tests, due to the memory usage.

      The problem that's brought up every time is that it's impossible to know how big a GIF file is until it's fully downloaded, so they say they have to decode each frame and keep it cached in memory. However, a simple solution would be to keep both the compressed and uncompressed frames in memory and when a memory threshold is reached, dump the uncompressed frames and switch to real time decoding.
      This way, for example, with a 32 MB threshold, small GIFs like banners would be fully decoded and kept in memory but with larger gifs, once the 32 MB limit is reached, the decompressed frames are dropped and only the compressed frames would be kept in memory, so Firefox would not crash.

      Would have done it myself but I'm not good at the language used by Firefox developers.

    3. Re:Pointless battles by bertok · · Score: 5, Informative

      You think that's bad? There was a critical bug in there for years that would completely overwrite your profile with a blank one, including your history, and bookmarks. Back when email was still integrated into the Mozilla browsers, your emails would get wiped too! The bug was caused by writing out the configuration files one line at a time, so that if the browser crashed during a configuration update, you'd be left with a partial configuration file. On the next startup, the browser would detect the error, and cheerfully overwrite your entire profile with the default profile to 'fix' it. The file contents were overwritten in-place, making disaster recovery practically impossible for most users. I won't even mention the performance hit of writing a 100KB file with 10,000 individual IO operations every time Firefox is closed, because compared to the data loss that's insignificant.

      The Bugzilla forum had about 4 dupes of the bug, each with over a thousand panicked posts by users. Some of the reports when back years.

      When it happened to me, it took me about an hour with Sysinternal's Filemon tools to figure out what was going on. The fix is trivial: simply write the new config file out-of-place, and then replace the original with it once it has been fully written. This is programming 101, standard practice for most Linux/Unix apps. Even Microsoft Office apps do this!

      The bug went unfixed for at least 3 years after I first noticed it, despite at least a dozen posts by professional programmers who had even highlighted the source files and line numbers where the change needs to be made.

      Bugzilla seems to be totally ignored by the Firefox programmers. I suspect that just like many open source programmers, they only care about the "shiny new stuff". Mundane work like fixing bugs is boring, so nobody does it unless forced to.

    4. Re:Pointless battles by pyrrhonist · · Score: 4, Interesting

      neither you nor I fixed those bugs, either.

      Have you tried fixing any Mozilla bugs? I have and it's a royal pain in the ass. You first post your patch to the bug itself, which is simple enough. Then the main cabal of developers critique your patch, and if it doesn't exactly conform in every possible way to what they would have coded themselves, they will reject it with little, if any, explanation. After you finally get an explanation out of someone, you can continue to submit changes to see if any will appease them. Of course, you will have accidentally violated a minor style guideline, but this won't be pointed out to you until you've submitted changes for their other critiques six times. After you've fixed that issue, they'll think of some other hoop that you'll have to jump through even though the patch fixes all aspects of the defect at this point. After another 16 edits of the three line patch that doesn't have any security implications and doesn't change any portion of the API, they'll ask you for a unit test that wouldn't test anything but the API for which they already have unit tests.

      I'm all for being careful and making a stable, secure product, but I expect people to not be completely retarded about the process of writing software. Not even the system that delivers EAMs has a process this annoying for fixing trivial defects.

      And *that* is why Mozilla defects don't get fixed for years.

      --
      Show me on the doll where his noodly appendage touched you.
  7. Re:So? by mwvdlee · · Score: 5, Funny

    But thanks to GPU accelleration, IE9 fails the Acid3 test much faster.

    --
    Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
  8. Re:So? by dotwhynot · · Score: 5, Informative

    If IE8 is any indication, Firefox comes a damn sight closer to passing.

    Not perfectly in compliance, granted, but really rather close when compared to what it looked like in IE for me.

    Firefox does 97, IE9 does 95 on Acid3.

  9. Re:Misleading. by Anonymous Coward · · Score: 3, Informative

    Which, incidentally, rounds to 12/100. ;P

  10. Re:The best part about in-browser GPU acceleration by sitharus · · Score: 4, Informative

    The GPU, as it's normally on PCIe these days, has DMA capabilities. On most (all?) x86 systems DMA isn't restricted through an MMU, unlike CPU memory access. This means that by sending the correct commands to the GPU you can access any part of the system memory.

    If this is possible in reality I have no idea, but that's the concept.

    --
    --sitharus
  11. Re:So? by hedwards · · Score: 3, Informative

    Acid3 isn't a particularly useful test for real world performance and the folks doing the coding and development were right to push it down the list. It uses deliberately broken code to see how the browser handles it. Handling broken code is a bad idea, just make sure it fails without causing a vulnerability and let the web dev fix it. Most decent web devs would rather have a consistent properly functioning target than a browser that handles other browsers broken code.

  12. Re:So? by arose · · Score: 4, Insightful

    Ignorance at it's finest. Acid3 is not a standard, it doesn't measure standard compliance. Implementing just enough to pass Opera/Webkit style is absurd, go bark up their tree.

    --
    Analogies don't equal equalities, they are merely somewhat analogous.
  13. Re:The best part about in-browser GPU acceleration by don.g · · Score: 4, Informative

    AMD x86_64 processors have an IOMMU. Intel's first x86_64 processors didn't but I don't know if this is still the case. IOMMUs are also important if you are running virtual machine software that allows some VMs access to physical hardware -- Xen lets you do this, for instance.

    --
    Pretend that something especially witty is here. Thanks.
  14. Re:Misleading. by arose · · Score: 3, Informative

    Acid3 doesn't measure standard compliance. The only thing that you that has a 4/100 chance to break is if you are developing an Acid3 test.

    --
    Analogies don't equal equalities, they are merely somewhat analogous.
  15. Which websites? by judeancodersfront · · Score: 3, Informative

    I haven't seen a website require IE in years.

    1. Re:Which websites? by darthdavid · · Score: 4, Funny

      Thanks for the seizure, but it works fine in Firefox...

  16. Re:So? by FooBarWidget · · Score: 4, Insightful

    What, 97% ACID3 compliance ain't good enough for you?

    100% ACID3 compliance doesn't mean it's fully standards compliant. Chrome is 100% compliant but one check at quirksmode.org and you'll see that it doesn't support some CSS 3 features properly, like 'content', while Firefox supports those same features properly.

    Seeing that Chrome still doesn't support basic features like saving tab state after a restart - features that Firefox has had for a long time - I'd say the Firefox team is doing a hell good of a job. Your "needs to swallow its pride" statement is uncalled for.

  17. Re:So? by Anonymous Coward · · Score: 5, Funny

    Wow! MS has really outdone themselves this time... IE9 doesn't go public beta until the 15th and they've already gotten 60% market share? I'm amazed...

  18. Wrong chart by symbolset · · Score: 3, Insightful

    You're looking for This one. W7 and Vista have together less than 30%, and that's the only operating systems IE9 will run on. So if they get 100% of those, which seems unlikely, their max upside today is 30% of the total browser market. Since as you note they only get 60% share even though Windows is over 90%, it's a 20% upside potential for IE9 today - probably less since early adopters are also the people most likely to choose a different browser. Fringe. Not enough to dominate the developers.

    XP has a very long tail. It's still selling in the market and will be installed through downgrade rights for the entire life of W7. XP will likely still be over 50% three years from now. IE9 doesn't run on XP.

    --
    Help stamp out iliturcy.
  19. Re:So? by Anonymous Coward · · Score: 5, Informative

    "Chrome still doesn't support basic features like saving tab state after a restart"

    Factually incorrect.

  20. Re:Great by chudnall · · Score: 4, Funny

    Only bad operating systems, bad driver programmers and alcohol can make your drivers crash.

    If your Kernel panics, it's probably General Protection's fault. But the General will most likely blame it all on a crash caused by Major Device's driver, Private Page.

    --
    Disclaimer: Evolution comes with NO WARRANTY, except for the IMPLIED WARRANTY of FITNESS FOR A PARTICULAR PURPOSE.
  21. Re:staaaaaandards? by Anonymous Coward · · Score: 3, Insightful

    Your post proves you have no idea about web development. Try and get an even moderately complex site to display the same in ie 6, 7 & 8; even ignoring all the other browsers you'll be sinking at least an extra 20% time/effort. Yet I can make something that works in firefox 1.x and it'll work exactly the same in chrome 7

  22. Re:Misleading. by zuperduperman · · Score: 3, Insightful

    pay you to build an app for my API, which is documented to 96% accuracy?

    Please, please, give me a contract where the documentation is 96% accurate. That would be a dream. The typical state for most contracts is some wishy washy thoughts about what would be nice that then turn out to have been a hallucination one of the managers had the previous night after too much LSD.

  23. In other news... by Ant+P. · · Score: 4, Informative

    IE9 cheats on popular benchmarks (scroll to the bottom). And they still come second-to-last.

  24. Re:So? by RobertM1968 · · Score: 4, Informative

    Fringe? It's still 60% of the browser usage:

    http://www.netmarketshare.com/browser-market-share.aspx?qprid=0

    Re-read OP's post. They are discussing IE9, which does not run on those things (unlike various other versions of IE). So... the 60% marketshare stat you provide is irrelevant to their premise.

    In addition, read MSDN's post. It says...

    (translated)"HEY!!!! We're FINALLY first with SOMETHING!!!! Let's rub it in everyone else's faces!!!!!!! Maybe they wont notice the fact that once again we wont be compliant with web standards!!!"

    (in MS Marketing Speak) "We’re excited that other browsers have started to use hardware to accelerate graphics performance. With different implementations starting to become available, now’s a good time to blog about the difference between full and partial hardware acceleration."

  25. Oh God by symbolset · · Score: 3, Interesting

    I wish I could introduce you to the hell that is HP's partner portal, their Learning Center, the portal for support. It's a carnival of the obscene. As someone who understands web design I have to hope there's a special level of hell devoted to eternally tormenting these web developers.

    Not only do these sites require specific versions of IE, but then you come to a certain point where they don't even work with those, so you have to migrate the session to other browsers through trial and error until you find the one that works with it. It's sick. It's like an online skill test that requires four nines of web proficiency in order to download a freaking driver update or read the product alerts.

    In a perfect world some auditor would have these web developers separated from their skin slowly, under a saltwater and lemon juice shower while rats ate their organs, with a blaring Phil Collins soundtrack.

    --
    Help stamp out iliturcy.
    1. Re:Oh God by Archangel+Michael · · Score: 5, Funny

      while rats ate their organs, with a blaring Phil Collins soundtrack.

      Careful now, you might get PETA involved with you torturing the poor rats with Phil Collins "music'

      --
      Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
  26. AMD 890FX IOMMU supported boards by KonoWatakushi · · Score: 3, Informative

    See here for a handful of AMD boards which do support the IOMMU present in the 890FX chipset. In addition, the ASUS M4A89TD Pro/USB3 supports ECC as well, which is nice. Sadly, outside of the server chipsets, the others in the 800 series do not support the IOMMU.

  27. Re:Who cares if most people use IE9 by BZ · · Score: 5, Informative

    > I don't see Flash going anywhere for at least a decade

    No one cares that Flash exists. What's important is that it be possible to develop tomorrow's web sites without having to use Flash, and that it be possible to browse the web at least somewhat reasonably without having Flash (e.g. not all sites need to work, but there should be sites in a given category that work without Flash). That's a somewhat realistic goal right now; for example very few banks require Flash (though some do).

    > Silverlight won't have the install base of HTML5

    The goal is to keep it that way, yes.

    > Apple doesn't have enough influence to change the direction of the web.

    You apparently haven't had to deal with the "if it's on a cell phone it must be Webkit" mindset of developers of "mobile" sites. See the part dealing with -webkit-text-size-adjust at http://blogs.msdn.com/b/iemobile/archive/2010/05/10/javascript-and-css-changes-in-ie-mobile-for-windows-phone-7.aspx which Microsoft was forced to take out later. Note that there have been calls for Gecko to similarly add support on mobile for some of the -webkit-* stuff Apple has been pushing people to use. Those calls have been resisted so far, but as for the future.... who knows.

  28. Re:So? by exomondo · · Score: 4, Informative

    Seeing that Chrome still doesn't support basic features like saving tab state after a restart

    How is that different from:

    Options->Basics->On Startup: Reopen the pages that were open last

    Or are you making these claims without having actually used Chrome?

  29. Re:So? by gaspyy · · Score: 4, Informative

    People should get over Acid3.
    Some of the features Acid3 tests for are already obsolete (SVG fonts superseded by WOFF) while other crucial features are still buggy.