Announcement

Collapse
No announcement yet.

Mozilla Firefox 27 Is Coming Today With New Features

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #21
    Originally posted by shmerl View Post
    Just tested, changing that to skia in about:config makes this demo much faster: http://js1k.com/2013-spring/demo/1555
    Really noticeable difference. Why isn't that the default then?
    This is answered in the bug report that you quoted one post above this...

    The issue is that skia draws in process whereas cairo draws predominantly in the X server. The issue is that the gtk2 widgets live in the X server. If we use skia for content then we need to read back the gtk2 widgets from the X server to composite them with skia. This adds a big overhead to every composite cycle.

    The net result is that regular browsing is slower with skia but benchmarks may show a faster result.

    Comment


    • #22
      Originally posted by OneTimeShot View Post
      Sadly this is my experience too. For me, performance took a major hit ages ago when they (or at last at the same time as) introduced MySql to store browser history and bookmarks.
      Firefox doesn't, and never has, used MySQL - the very idea would be absurd. I suspect you're thinking of SQLite, which is a simple embedded SQL database.

      Originally posted by OneTimeShot View Post
      Maybe I should download Firefox 3.5, and re-live what things were like in the good ol' days. I remember Mozilla being pretty fast when a 233Mhz PII was mid-range...
      Nostalgia is a wonderful thing, but often misguided. Firefox 3 might have faster startup times, but in terms of page rendering performance, it's notably slower. It's also lacking in support for a lot of new CSS and Javascript operations...

      Comment


      • #23
        Originally posted by plonoma View Post
        @finalzone
        Could you give a link to the bug in the issue tracker?
        I don't have the bug #. I currently use GTK3 build Nightly release Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0
        for Fedora 20 and noticed no issue with scrollbar using default setting.

        Comment


        • #24
          I just need to know how to disable the anti-social API completely.

          Comment


          • #25
            Originally posted by Kivada View Post
            I just need to know how to disable the anti-social API completely.
            I don't know if that's an option, but to disable REALLY completely an API, the obvious choice would be make it in build time.

            Anyway, my guess is that setting social.enabled to false in about:config. It's false by default in my nightly install, so I'm not sure.

            Comment


            • #26
              I really don't like Chrome at all and last but not least for privacy concerns.

              If you like Firefox but it's sluggish on your system, then I'm here to help. To be positive Firefox (26) runs blazingly fast on my rather old system (AMD San Diego, Single Core 2.2GHz, ondemand, 2GB RAM, Nvidia GT 520 with nouveau driver). Running on ubuntu 13.10 saucy 64bit.

              But you need to tweak it a little bit in about:config

              gfx.canvas.azure.backends = skia,cairo
              gfx.content.azure.backends = skia,cairo
              gfx.content.azure.enabled = true
              gfx.canvas.azure.enabled = true (<== you don't need this one explicitly, because it's automatically set)
              gfx.work-around-driver-bugs = false
              gfx.xrender.enabled = false (important!)

              webgl.prefer-native-gl = true

              layers.acceleration.force-enabled = true
              layers.async-video.enabled = true
              layers.offmainthreadcomposition.async-animations = true
              layers.offmainthreadcomposition.enabled = true
              layers.offmainthreadcomposition.testing.enabled = true (optional, try on/off)
              layers.use-deprecated-textures = false (important!)

              and
              browser.sessionstore.interval = 900000 (something very high. I have my setting at 900000)


              environmental variables
              (put them in your ~/.bashrc or in /etc/environment)
              Important!
              MOZ_GLX_IGNORE_BLACKLIST=1
              MOZ_USE_OMTC=1
              MOZILLA_X11_XINITTHREADS=1
              MOX_X_THREADSAFE=1 ("MOX" is not a typo)
              MOZ_ACCELERATED=1 (needed in Debian, not necessarily in ubuntu, but it can do no harm)
              MOZ_DISABLE_CRASHREPORTER=1 (this does make a difference for me, but maybe it's just subjective)
              MOZ_DISABLE_PANGO=1 (optional, not so sure if it still gives some benefit)


              The output in the Graphics section in about:support should be something like the following now:
              Graphics
              Adapter Description: nouveau -- Gallium 0.4 on NVD9
              Device ID: Gallium 0.4 on NVD9
              Driver Version: 3.0 Mesa 10.1.0-devel
              GPU Accelerated: Windows 1/1 OpenGL (OMTC)
              Vendor ID: nouveau
              WebGL Renderer: nouveau -- Gallium 0.4 on NVD9
              windowLayerManagerRemote: true
              AzureCanvasBackend: skia
              AzureContentBackend: none
              AzureFallbackCanvasBackend: cairo
              AzureSkiaAccelerated: 0

              My xorg.conf for nouveau driver (Firefox still is fast if you enable Compositing and AIGLX, but I just use openbox)
              Section "ServerFlags"
              Option "DRI2" "1"
              Option "AIGLX" "0"
              EndSection

              Section "Device"
              Identifier "NVD9"
              Driver "nouveau"
              Option "GLXVBlank" "1"
              Option "SwapLimit" "2"
              Option "PageFlip" "1"
              EndSection

              Section "Extensions"
              Option "Composite" "0"
              EndSection
              -------

              my glxinfo:
              direct rendering: Yes
              [...]
              OpenGL vendor string: nouveau
              OpenGL renderer string: Gallium 0.4 on NVD9
              OpenGL version string: 3.0 Mesa 10.1.0-devel
              OpenGL shading language version string: 1.30
              OpenGL context flags: (none)


              Resources
              :
              man nouveau http://linux.die.net/man/4/nouveau
              http://www.bsdforen.de/threads/firef...eunigen.30645/ (most of the env variables)
              http://blogs.fsfe.org/the_unconventi...ring-problems/ (very nice!)

              This post is only interesting for advanced Firefox users on Linux who manually activated OpenGL compositing. On more and more platforms we perform compositing in a separate thread from content rend…

              I have been asked several times on irc and Bugzilla about how to help getting off-main-thread compositing (OMTC) ready to be turned on by default (especially by Linux users). It is awesome to hear …




              Hope that helps! And it can happen that you're driver is making problems. Or Firefox crashes. But I have no problems.
              If so:
              instead of
              gfx.canvas.azure.backends = skia,cairo
              gfx.content.azure.backends = skia,cairo
              do:
              gfx.canvas.azure.backends = skia,cairo
              gfx.content.azure.backends = cairo

              PS: This is all yet on Firefox *26*!

              Comment


              • #27
                Originally posted by Vash63 View Post
                This is answered in the bug report that you quoted one post above this...
                Yep, they answered when I asked the same question there

                Comment


                • #28
                  Originally posted by stqn View Post
                  Firefox needs 8-10 s to start here, and can stop responding during 1-2 s repeatedly while loading heavy pages (with many pictures IIRC), which is really annoying. I have a 3.2*GHz Core i3 with plenty of free RAM, swap is unused, firefox cache is disabled, so there is no obvious reason for Firefox to be so slow. Do I have plenty of extensions? Sure! But I need them?

                  I recently tried Chromium again but it stinks of Google marketing and is not usable as far as I?m concerned.
                  Yeah that bothered me quite a bit (responsiveness of new tabs while loading) but I found a tweak that works beautifully. Just go to about:config and create 'content.switch.threshold' and give it a value of '1000000'.

                  Comment


                  • #29
                    With this, it means that the Holly Nightly builds are no longer supported and I'm forced to use Australis. Shame.

                    Comment


                    • #30
                      Originally posted by kringel View Post
                      ....
                      Great post sir, Thank you!

                      My personal observations:
                      CanvasMark - HTML5 Canvas 2D Rendering and JavaScript Benchmark by Kevin Roast


                      1. 285 354
                      2. 459 511
                      3. 223 281
                      4. 574 730
                      5. 224 306
                      6. 464 349 (!)
                      7. 228 263
                      8. 542 1175-985

                      cairo, skia
                      skia is slower 30% only in 6 test, but twice fast in 8.

                      legend:
                      1. asteroids bitmaps
                      2. asteroids vectors
                      3. asteroids bitmaps shapes text
                      4. asteroids shapes shadows blending
                      5. arena5 vectos shadows bitmaps
                      6. plasma math canvas shapes
                      7. 3d render math polygons image transforms
                      8. pixel blur get/put imagedata

                      ----
                      Cairo:
                      Benchmark Score: 382
                      Average FPS: 8

                      Skia:
                      Benchmark Score: 501
                      Average FPS: 11
                      ----
                      Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.

                      with Cairo backend freezes, taking over 6 seconds till "script hangs".

                      with Skia
                      test1: 0.007s
                      test2: 0.015s
                      test3: 0.02s

                      However:


                      Cairo: 920-835 points
                      Skia: 85 points
                      -----

                      Cairo is crap, Skia beats it 2x-10x times in browsing experience and absence of lags.
                      Only place where Skia looses is MS Psychodelic.

                      Comment

                      Working...
                      X