Firefox 4 released
The latest version of Firefox introduces a sleek new look that lets Web content take center stage. With features like App Tabs and Panorama, Firefox makes it easier and more efficient to navigate the Web. Firefox delivers industry-leading privacy and security features like Do Not Track and Content Security Policy to give users control over their personal data and protect them online."
Posted Mar 22, 2011 15:26 UTC (Tue)
by erwbgy (subscriber, #4104)
[Link]
Posted Mar 22, 2011 15:28 UTC (Tue)
by xav (guest, #18536)
[Link] (7 responses)
Posted Mar 22, 2011 15:35 UTC (Tue)
by bjacob (guest, #58566)
[Link]
Mozilla-built Firefox 4 binaries do no longer support GCC 4.1-based distros.
However, if you used a package provided by CentOS itself, then you should definitely report a bug to them (not to Mozilla).
Posted Mar 22, 2011 15:43 UTC (Tue)
by dowdle (subscriber, #659)
[Link] (3 responses)
Posted Mar 22, 2011 19:35 UTC (Tue)
by armijn (subscriber, #3653)
[Link] (2 responses)
Posted Mar 23, 2011 4:41 UTC (Wed)
by yhager (guest, #50165)
[Link] (1 responses)
Posted Mar 23, 2011 10:50 UTC (Wed)
by ebirdie (guest, #512)
[Link]
My take on the cause of the problem are: plugins (FF4 invaliated many plugins, which was reason for my jumping between FF3 and FF4), graphics toolbox.
Posted Mar 22, 2011 15:44 UTC (Tue)
by lkundrak (subscriber, #43452)
[Link] (1 responses)
Posted Mar 22, 2011 15:54 UTC (Tue)
by xav (guest, #18536)
[Link]
Xav
Posted Mar 22, 2011 16:12 UTC (Tue)
by marduk (subscriber, #3831)
[Link] (18 responses)
Posted Mar 22, 2011 16:24 UTC (Tue)
by angdraug (subscriber, #7487)
[Link] (10 responses)
Posted Mar 22, 2011 16:27 UTC (Tue)
by lkundrak (subscriber, #43452)
[Link] (9 responses)
Posted Mar 22, 2011 16:38 UTC (Tue)
by bjacob (guest, #58566)
[Link] (8 responses)
WebGL is on by default everywhere, but it obviously depends on your OpenGL driver, see below (*).
Compositing acceleration using OpenGL is implemented, but not yet enabled by default on X11, mostly because a bit of code was still missing: using texture-from-pixmap to avoid a round-trip to the X client and avoid losing the benefit of XRender (see below). This is now being worked on, see https://bugzilla.mozilla.org/show_bug.cgi?id=640082 . Should be in Firefox 5 in a few months. There also is a crash bug when using the Flash plugin. If you still want to use compositing acceleration today, just go to about:config and set layers.acceleration.force-enabled. This of course also depends on your OpenGL driver (*).
Content acceleration is currently using XRender, like in Firefox 3.6. There are plans to move to something based on OpenGL, but that hasn't happened yet (very big project). The Windows version is already using Direct2D to great effect.
(*) OpenGL drivers on X11: In Firefox 4, unfortunately, only the NVIDIA driver is whitelisted. This is mostly because of difficulty in safely getting driver version info. See https://bugzilla.mozilla.org/show_bug.cgi?id=639842 : that will be in Firefox 5 (just a few months away) and will allow to whitelist many recent drivers (for example, recent Intel i965, probably some recent radeon and fglrx, etc). Meanwhile, if you want to try, you can un-block your driver by running with the MOZ_GLX_IGNORE_BLACKLIST environment variable.
Posted Mar 22, 2011 17:10 UTC (Tue)
by lkundrak (subscriber, #43452)
[Link] (7 responses)
[1] http://blogs.gnome.org/otte/2010/06/26/fun-with-benchmarks/
Posted Mar 22, 2011 17:36 UTC (Tue)
by bjacob (guest, #58566)
[Link] (6 responses)
What Firefox 4 does on Windows, is that it implements a Direct2D back-end for Cairo. Direct2D is a relatively efficient 2D graphics library that uses Direct3D 10 to talk to the GPU. Since it's already a 2D library, layering Cairo on top of it is much simpler.
To answer your main question: yes, given good hardware and drivers, that is already a very large performance boost over what can be done in software. See all the canvas/2D benchmarks currently floating around the web.
However there is still room for improvement: the Cairo API is inherently not very well suited to hardware acceleration. The (long term) plan is to eventually get rid of it by implementing our own 2D graphics library, that would use OpenGL or Direct3D 10/9 depending on your platform.
Posted Mar 22, 2011 19:01 UTC (Tue)
by amaranth (subscriber, #57456)
[Link] (2 responses)
Posted Mar 23, 2011 1:08 UTC (Wed)
by joedrew (guest, #828)
[Link]
XRender is not a very good API to hardware accelerate. Our new content acceleration layer will be much more like Direct2D, which is a good 2D API, and more amenable to hardware acceleration.
Posted Mar 23, 2011 6:59 UTC (Wed)
by elanthis (guest, #6227)
[Link]
RENDER was designed as the "new rendering API" about 11 years ago. 11 years. Over a decade ago. The first programmable GPU didn't arrive on the consumer market until 2001, a year later.
RENDER is no longer a particularly relevant API, and is just as in need of retiring as the old X core protocol. It can do only a teeny little fraction of what Cairo (and its client applications) need out of a low-level rendering API.
Hence all the interest in Wayland lately, which basically does away with all rendering APIs in the windowing system so that we stop putting ourselves in this endless cycle of deprecation. We have the low-level rendering API support and the client-level rendering API support, and it's dumb that we keep having to invent entirely different middle-layers like X, RENDER, GLX, and so on to connect applications to the hardware, especially when those middle layers keep becoming obsolete every six months.
Posted Mar 22, 2011 21:40 UTC (Tue)
by endecotp (guest, #36428)
[Link]
Presumably OpenVG could be applied here, when it's available.
Posted Mar 23, 2011 6:44 UTC (Wed)
by elanthis (guest, #6227)
[Link] (1 responses)
(Apologies if it is or soon will be; I just haven't seen anything in Cairo's git repos the last I looked, which admittedly was not recently.)
Posted Mar 23, 2011 11:27 UTC (Wed)
by bjacob (guest, #58566)
[Link]
http://hg.mozilla.org/mozilla-central/file/tip/gfx/cairo/...
(see e.g. cairo-win32.h)
Posted Mar 22, 2011 16:28 UTC (Tue)
by bjacob (guest, #58566)
[Link] (6 responses)
Posted Mar 22, 2011 16:42 UTC (Tue)
by marduk (subscriber, #3831)
[Link] (3 responses)
Posted Mar 22, 2011 16:55 UTC (Tue)
by bjacob (guest, #58566)
[Link] (2 responses)
Not sure why the official download link points to the 32bit version. For sure, all the continuous testing is enabled on Linux 64bit: Posted Mar 23, 2011 1:09 UTC (Wed)
by joedrew (guest, #828)
[Link] (1 responses)
Posted Mar 23, 2011 11:31 UTC (Wed)
by bjacob (guest, #58566)
[Link]
Posted Mar 22, 2011 16:12 UTC (Tue)
by xxiao (guest, #9631)
[Link] (3 responses)
many FF4 features seemed similar to what chrome already had though.
Posted Mar 22, 2011 16:44 UTC (Tue)
by bjacob (guest, #58566)
[Link] (1 responses)
If final, then please at least go to about:crashes and paste here your crash report links, so we can have a look. https://crash-stats.mozilla.com/products/Firefox is suggesting that Firefox 4 is a rather non-crashy release, but YMMV.
Posted Mar 22, 2011 18:02 UTC (Tue)
by xxiao (guest, #9631)
[Link]
Posted Mar 23, 2011 18:04 UTC (Wed)
by MortenSickel (subscriber, #3238)
[Link]
It definitely feels faster, much more like using Chrome or Konqueror than previous versions.
Firefox 4 released
Firefox 4 released
How do I get back ?
Firefox 4 released
http://distrowatch.com/table.php?distribution=centos
Firefox 4 released
Firefox 4 released
Firefox 4 released
Firefox 4 released
Firefox 4 released
Firefox 4 released
Thanks, that greatly helped.
64-bit
64-bit
64-bit
Hardware acceleration on Linux
Hardware acceleration on Linux
Hardware acceleration on Linux
Hardware acceleration on Linux
Hardware acceleration on Linux
Hardware acceleration on Linux
Hardware acceleration on Linux
> acceleration. The (long term) plan is to eventually get rid
> of it by implementing our own 2D graphics library, that would
> use OpenGL or Direct3D 10/9 depending on your platform.
Hardware acceleration on Linux
Hardware acceleration on Linux
64-bit
64-bit
64-bit
ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/4.0/
http://tbpl.mozilla.org/
64-bit
64-bit
Firefox 4 released
Firefox 4 released
Firefox 4 released
yes i submitted a crash report already.
Firefox 4 released