|
|
Subscribe / Log in / New account

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

PCWorld looks at the lack of hardware acceleration in the Linux version of the latest Firefox beta. ""We tried enabling OpenGL on Linux, and discovered that most Linux drivers are so disastrously buggy (think 'crash the X server at the drop of a hat, and paint incorrectly the rest of the time' buggy) that we had to disable it for now," wrote Mozilla developer Boris Zbarsky Friday in a comment on the Mozilla Hacks developer blog. "Heck, we're even disabling WebGL for most Linux drivers, last I checked.""

to post comments

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 18, 2011 18:37 UTC (Tue) by rahulsundaram (subscriber, #21946) [Link] (24 responses)

The content is reasonable but the title is nonsense. Firefox is doing the best possible approach here. They are doing what many others like GNOME Shell or KWin developers do. Work with Xorg folks on fixing the problems and helping themselves in the process.

http://lists.freedesktop.org/archives/mesa-dev/2011-Janua...

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 18, 2011 18:57 UTC (Tue) by ernstp (guest, #13694) [Link] (23 responses)

They could have started working with Xorg developers on this before the original news was published though...
But as long as it leads to improvements for Linux in the end it's nice of course!
Running with WebGL enabled on Firefox nightly here, seems to work fine. Drivers from xorg-edgers ppa, kindof like installing (beta) drivers in Windows right?

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 18, 2011 19:13 UTC (Tue) by rahulsundaram (subscriber, #21946) [Link] (22 responses)

They were certainly doing that, filing bug reports and such. OSNews jumped the gun and other news sites picked up the story after that.

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 18, 2011 20:14 UTC (Tue) by arekm (guest, #4846) [Link] (19 responses)

Does anyone have a list of what these bugs actually are? (bugzilla links would be nice)

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 18, 2011 20:33 UTC (Tue) by svena (guest, #20177) [Link] (18 responses)

Most of the issues found are already mentioned in the thread on the mailing list.

Oh, and a quick skim through bugzilla does confirm that Firefox devs are forwarding bug reports (and these bugs are being fixed).

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 18, 2011 21:40 UTC (Tue) by drag (guest, #31333) [Link] (17 responses)

Seems like everything is working the way it should be working.

Application developers develops OpenGL application, finds bug, reports bug, driver developers fix bug.

That's progress.

I am sure that it's dissapointing to everybody involved that the drivers are not better, but this is just the reality. As time goes on it gets better.

The key is really to:

1) Get application developers to stop using proprietary drivers
2) Get open source developers up to the point were application developers can reliably use them.

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 18, 2011 21:59 UTC (Tue) by lmb (subscriber, #39048) [Link] (16 responses)

If only it was so easy. At least one of my X crashes has been reported for months, and reconfirmed on every X server or Intel driver update, without hope. And these are the open drivers, on fairly standard hardware (Lenovo X200s).

The state of X drivers is really a mess, and it seems to be understaffed everywhere, and the proliferation of different hardware and generations and minor variations does not help at all.

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 18, 2011 22:55 UTC (Tue) by tao (subscriber, #17563) [Link] (3 responses)

Seeing as I have an X200s too, I'm curious as to what crash you're seeing? I haven't experienced any crashes so far. Do you have a link to your bug report?

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 19, 2011 1:33 UTC (Wed) by jeroen (guest, #12372) [Link] (2 responses)

I've also got an X200s and sometimes X crashes on resume from suspend-to-ram. It happens about 5-10 percent of the time. A friend of mine also has an X200s and uses the same distro (Ubuntu 10.10) and doesn't have this problem, so at least not everyone has it. I've never reported it because I don't have more information than "it doesn't work after resume"...

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 19, 2011 10:11 UTC (Wed) by tao (subscriber, #17563) [Link] (1 responses)

BIOS issue?

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 19, 2011 12:54 UTC (Wed) by jeroen (guest, #12372) [Link]

I upgraded the bios to the latest version a month ago and it didn't help.

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 19, 2011 5:45 UTC (Wed) by jiu (guest, #57673) [Link] (9 responses)

I agree with this, buggy graphics drivers were the reason I switched to Mac a year ago (hoping it would be temporary). The improvements seem to always come too late, when the graphics card and/or the laptop itself are close to being 'obsolete'. The only maker which stands out for the quality of their linux driver is nvidia, and they're closed source - how come intel and AMD don't just put more people on it?

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 19, 2011 10:39 UTC (Wed) by drag (guest, #31333) [Link] (8 responses)

Nvidia is hardly quality. It's fast and provides a better API then open source drivers do, but it's not something that is quality.

The trouble we have is that the X Windows Server has a batshit insane driver model. You have 3 or 4 different drivers programmed by different groups that all try to do similar things with the same single piece of hardware.

Get rid of X Windows Server and switch to a driver model were you have one driver that supports many different APIs then you will start to see major improvement. There is only so much you can do to band-aid over broken design.

Also the other major issue with Linux and open source drivers is that despite all the rhetoric and grandstanding when it comes to software the average Linux user does not mind shoveling massive amounts of Windows driver code into their kernel in order to get acceptable graphics performance.

Not only does this remove any motivation for actually fixing anything (since it now works well enough) it also prevents the very thing that would be the first real step to fixing Linux drivers. Any changes to or modifications to X or Linux graphics in a attempt to fix anything will break the Nvidia driver and cause users to cry out bloody murder.

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 19, 2011 10:53 UTC (Wed) by mjthayer (guest, #39183) [Link] (5 responses)

> Get rid of X Windows Server and switch to a driver model were you have one driver that supports many different APIs then you will start to see major improvement. There is only so much you can do to band-aid over broken design.
What was that metal again? Palladium? Titanium? Platinum?

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 19, 2011 11:29 UTC (Wed) by drag (guest, #31333) [Link] (4 responses)

Are you thinking of 'Gallium'?

Yeah something like that. I mispoke a bit, we don't need to get rid of 'X Windows' so much as getting rid of X windows having anything to do with graphics drivers.

There should only be one DDX for X on Linux and it should be 'DDX Linux' (or whatever). The same X driver code running on all the different video cards.

Then lower down there should only be one driver for one piece of hardware. Do it's job and do it well with proper layered design of *kernel* <--> *graphics driver* <---> *applications* and all that happy Unixy design stuff.

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 19, 2011 17:48 UTC (Wed) by mslusarz (guest, #58587) [Link] (3 responses)

This "one DDX for X on Linux" is called Gallium Xorg state tracker.

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 20, 2011 8:38 UTC (Thu) by mjthayer (guest, #39183) [Link] (2 responses)

> This "one DDX for X on Linux" is called Gallium Xorg state tracker.

Is that in a usable state? Are any DDX drivers actually using it?

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 20, 2011 9:32 UTC (Thu) by ernstp (guest, #13694) [Link] (1 responses)

> Is that in a usable state?

Not really I think, but I read that someone had tried it and sounded like it runs and works partially at least.

> Are any DDX drivers actually using it?

AFAIK it _is_ a DDX driver.

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 20, 2011 9:46 UTC (Thu) by mjthayer (guest, #39183) [Link]

> > Are any DDX drivers actually using it?

> AFAIK it _is_ a DDX driver.

Ah, I had assumed from my limited knowledge of Gallium3D that it would only become a DDX driver once it (the state tracker) was combined with a given Gallium3D driver.

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 20, 2011 15:56 UTC (Thu) by zlynx (guest, #2285) [Link] (1 responses)

It's fast.

It implements the OpenGL standards correctly and is one of the only drivers to do so.

Nvidia has actual teams of people who test their driver quality using well-designed test suites that cover all the possibilities. Not two developers and a few beta users that only test Tuxracer, glxgears and Compiz.

In my personal experiences the Nvidia driver is very stable. Just don't run it with 4K kernel stacks.

All in all, Nvidia and its Linux driver is the *very best* advanced graphics support available for Linux.

I'm not seeing the lack of quality here.

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 23, 2011 2:37 UTC (Sun) by SteveAdept (guest, #5061) [Link]

Agreed. I've gone out of my way to buy a particular laptop because it has an Nvidia video chipset. Their Linux driver may not be perfect, but for my money, it's better than all the alternatives.

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 19, 2011 10:32 UTC (Wed) by drag (guest, #31333) [Link]

> If only it was so easy. At least one of my X crashes has been reported for months, and reconfirmed on every X server or Intel driver update, without hope. And these are the open drivers, on fairly standard hardware (Lenovo X200s).

It's not easy. It's relatively simple. I never said it was easy. People easily confuse simple with easy and they are completely separate things. I know it's extremely difficult and that why it's not been fixed yet.

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 19, 2011 12:18 UTC (Wed) by chris.wilson (guest, #42619) [Link]

Remind me. Which bug are you referring to?

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 19, 2011 5:45 UTC (Wed) by ernstp (guest, #13694) [Link] (1 responses)

Ok, but this: http://lists.freedesktop.org/archives/mesa-dev/2011-Janua...
was posted after the OSNews article and doesn't contain any links to any freedesktop.org bugs, only to internal bugzilla.mozilla.org bugs. But I haven't digged any deeper into it...

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 19, 2011 13:40 UTC (Wed) by bjacob (guest, #58566) [Link]

It does have at least one freedesktop bug link in the first email. I could have posted a couple more, but the mozilla.bugzilla.org bugs just had more information on them because that's where our users tend to post.

Linux 3D drivers

Posted Jan 18, 2011 18:42 UTC (Tue) by rfunk (subscriber, #4054) [Link] (2 responses)

Sounds like they're running into what KDE4 developers ran into.

Linux 3D drivers

Posted Jan 19, 2011 0:09 UTC (Wed) by kripkenstein (guest, #43281) [Link]

> Sounds like they're running into what KDE4 developers ran into.

And those trying to run 3D games on Linux.

Linux 3D drivers

Posted Jan 19, 2011 14:08 UTC (Wed) by Adi (guest, #52678) [Link]

Yet, at that time it was KWin and KDE that got bashed, despite clearly explaining where the true problem is.

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 18, 2011 19:04 UTC (Tue) by spot (guest, #15640) [Link]

If you want to work around this and enable it anyway, set this environment variable when you launch Firefox 4:

MOZ_GLX_IGNORE_BLACKLIST=true

(MOZ_WEBGL_FORCE_OPENGL=true may also be needed)

This "works for me" with Fedora 14 x86_64 on both Intel and ATI chipsets.

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 18, 2011 23:25 UTC (Tue) by pr1268 (guest, #24648) [Link] (2 responses)

Call me ignorant, but why is HW accelerated video necessary in a Web browser? Embedded videos?

(I do use the proprietary Adobe Flash plugin with Firefox 3.6.x, and I've compiled MPlayer and MPlayerplug-in from source, but I thought they used the underlying X video driver[s]. I could certainly stand to be enlightened about how the Web browser renders video.)

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 19, 2011 0:01 UTC (Wed) by dtlin (subscriber, #36537) [Link]

WebGL / HTML5 canvas's 3D drawing context rather obviously benefit from 3D acceleration. Google Body Browser is one such demonstration.

CSS3 transforms and the canvas's 2D drawing context can benefit from hardware acceleration too, especially since they can be applied to video playback.

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 19, 2011 11:47 UTC (Wed) by rbrito (guest, #66188) [Link]

> Call me ignorant, but why is HW accelerated video necessary in a Web browser? Embedded videos?

Call me ignorant too, but it is my vague understanding that the GPU acts as a co-processor to handle some operations.

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 19, 2011 0:36 UTC (Wed) by xorbe (guest, #3165) [Link]

Basically 3D mode is becoming the norm, and 2D mode is going the way of the dodo, correct?

(Remember when the nVidia GF8 was significantly slower than the 7-series in 2D due to removed functionality? [w/x.org, not windows])

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 19, 2011 7:03 UTC (Wed) by ssmith32 (subscriber, #72404) [Link] (1 responses)

I just enabled software rendering for WebGL. No buggy drivers to deal with, and I'm still getting 50-60 fps on several WebGL demos. This is on a 5 year-old MacBook running Ubuntu. It's a little annoying that it doesn't just default to software rendering on linux, but, once configured, it works fine. Nothing is really "broken" here.

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 19, 2011 7:50 UTC (Wed) by Los__D (guest, #15263) [Link]

without the video's resolution, any figures are pretty useless...

Also, my netbook (Samsung N210) plays videos fine in the browser, unless you fullsreen them, so the amount of scaling is probably also useful.

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 19, 2011 9:28 UTC (Wed) by pabs (subscriber, #43278) [Link] (1 responses)

I hope there will be a knob to disable WebGL altogether, this is an attack surface expansion that I definitely do *not* want. HTML5 seems to contain a lot of those.

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 19, 2011 13:43 UTC (Wed) by bjacob (guest, #58566) [Link]

Of course there will always be. Go to about:config and set webgl.enabled_for_all_sites = false. This preference name may change once before the 4.0 final release (to "disabled" and "force-enabled" prefs).

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 19, 2011 13:45 UTC (Wed) by bjacob (guest, #58566) [Link]

I just wanted to let you know that lots of stuff is happening at the moment. Xorg devs have reproduced and confirmed the crashes, but they have also noted that aside from these, the free drivers pass the test suite very well, so really it seems that we're only a couple of crashes away from whitelisting drivers. Moreover, it also seems that there's stuff we could try to do in Firefox to avoid triggering these driver crashes, potentially allowing us to remove the blacklist altogether.

Firefox 4 Beta 9 Gives Short Shrift to Linux Users (PCWorld)

Posted Jan 20, 2011 15:21 UTC (Thu) by ssam (guest, #46587) [Link]

there is also the Grafx Bot plug-in that does a bunch of rendering tests. see:
http://jagriffin.wordpress.com/2010/08/30/introducting-gr...
https://addons.mozilla.org/en-US/firefox/addon/grafx-bot/


Copyright © 2011, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds