2

i was working on a website with FF4 and while resizing an element with Firebug, FF4 just crashed my nVidia Display Driver. Fortunately Windows 7 was able to help me by recovering from this serious error and i was able to completely recover my work again.

So my question is, should those browser developers get into low level hardware intricacies, something that was reserved only for game developers and complex graphic software?

mahen23
  • 1,110

3 Answers3

4

First of all, when a driver crashes, that's a security risk, and so drivers should never, ever, crash. Others have pointed this out. It's an OS or driver bug you ran across, not a firefox one.

Now, to the other question: why does only firefox trigger this bug? There's a multipast answer to that:

  • Most apps use the old 2d graphics api's, which have been tested thoroughly during the driver development. This includes gimp and photoshop, which don't actually use accelerated graphics, but are normal windows apps no different from e.g. microsoft office.
  • Most games share one of a handful of separately developed game engines, because writing a game directly on top of the low-level driver is too much work. Game engines are tested endlessly to ensure they don't trigger any bug in the graphics hardware. Ghost recon's engine was actually developed in close cooperation with nvidia.
  • Firefox 4, like IE9, uses the Microsoft Direct2D api to support accelerated graphics. This api is new and uses the existing graphics drivers in ways they didn't foresee. That's why you trigger driver bugs with firefox 4 and not with any of your other software.

Finally, is it a good thing these browsers are using accelerated graphics? Sure, it's a very good thing. It means we're all getting faster web browsing. Once the driver bugs get shaken out by these new api's, we'll all have a better experience for it.

1

I think that more and more, browsers are becoming first-class citizens in today's systems. Chrome OS is the promise of a future where the browser will replace the OS as the user's primary interface. Among software standards, HTML seems to be the most widely implemented as well as one of the most flexible and powerful. So, with an eye toward the future, I would say that the changes in the rendering engines of the browsers are very useful and required.

Of course, one might argue that Chrome OS does not represent the future after all. Or even if it does, on traditional OSes like Windows and Linux, using these new technologies is a significant effort and introduces complications. But I think that given the amount of use the browser sees these days, such arguments are not very valid in terms of cost-value.

apoorv020
  • 656
  • 5
  • 11
0

First of all, you working with Firefox at the moment of the crash does not mean that Firefox was the reason for the crash.

You might have run into some delicate Aero issue which just happened to be triggered at that time. A typical example is that something else a while back caused some data structure to be corrupted - then later that structure is needed, the data is incorrect and cause an illegal memory access, which then brings things down.

A car analogy might be that the engine breaking down when you turned on the left blinking light, does not necessarily mean that the blinking light is to blame. The oil might have gone too low...