Announcement

Collapse
No announcement yet.

Mozilla Firefox 85.0 Now Available As First 2021 Release

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

  • #21
    Originally posted by [email protected] View Post

    Similar setup of mine. But here's a thing: Top/HTop measures CPU utilization differently than any other system monitor in Linux, be it on KDE, Gnome, XFCE or LXDE. For example, If you look at KDE's KSysguard, you will get a much lower value.
    Then it will get a much lower value for mpv as well.

    Comment


    • #22
      Originally posted by cl333r View Post

      For me it halves the CPU usage but it still horrendously ineffective. mpv uses 10% CPU to play the same video, while Firefox went down from 120% to like 60%.
      MPV and firefox are not doing exactly the same thing.
      MPV is rendering to an exclusive "plane" of the screen, the HUD is another plane on top of the rendered video. Probably the video frames are not even getting outside the videocard RAM and CPU is just marginally involved in this.
      Firefox is rendering the video inside a web page and has to honor all the z-indexing of the objects of the web page. Most probably there are also some html+css controls that have to be rendered over the video, so the task for firefox is much much more complex than mpv.
      Offloading the video decoding is just a part of the whole, there is also presentation of the video frames. If decoding and presentation are not done on the same device and there is not a way to effectively share buffers, performance drops a lot due to buffers being moved to correctly render the whole page.
      That's not as easy as a click.

      Comment


      • #23
        Originally posted by monty11ez View Post

        Adding MOZ_X11_EGL=1 in the command string did not work for me on XFCE.
        Add "env MOZ_X11_EGL=1 " to the beginning of the existing command line, with an extra word "env".

        Adding just "VARIABLE=value" in front of commands only works at the bash prompt, but the command lines in desktop menu entries are not started through bash. For desktop menu entries you need the "env" command if you want to set a variable.

        Comment


        • #24
          Originally posted by [email protected] View Post

          Type "about:config" on the search bar. Search for "media.ffmpeg.vaapi.enabled" and "gfx.webrender.all", then set them both to "True". Close Firefox, then start it using the command "MOZ_X11_EGL=1 firefox". To make that permanent you can edit the launching command of the icon or menu entries in the desktop environment you use (Gnome, KDE, XFCE, etc). If your GPU does not have acceleration for the VP9 codec, install the "h264fy" extension.

          All this will reduce CPU usage, but will not turn it to zero. Here it dropped from ~30% to ~10% on a i7 3770k. And that is in both Firefox and Chrome with acceleration enabled.
          5600x (12 thread)
          before: one thread always stay up 15-17% never less than 10%
          after: almost all thread stay betwen 0-4% stable (after page loading finish, while video on).
          Last edited by kripteks; 26 January 2021, 08:57 PM.

          Comment


          • #25
            Did you guys enable esni?
            https://blog.mozilla.org/security/20...ni-in-firefox/
            In the article above there's mentioned some privacy benefits

            Comment


            • #26
              So, are there any significant updates to the (webrender?) engine under the hood?

              Comment


              • #27
                Originally posted by monty11ez View Post

                Adding MOZ_X11_EGL=1 in the command string did not work for me on XFCE.
                You could try to start Firefox in the command line with:

                MOZ_X11_EGL=1 MOZ_LOG="PlatformDecoderModule:5" firefox 2>&1 | grep 'VA-API'
                And see if you are actually using the GPU.

                Comment


                • #28
                  Originally posted by cl333r View Post

                  KDE Plasma on X11 that comes with Ubuntu 20.10,
                  Mesa 20.3.x,
                  Radeon RX 570,
                  Core i5 (6 cores, coffe lake),
                  32 GB RAM,

                  Used the terminal top command, for Firefox also included the "Web content" process that is spawnned by Firefox.
                  Debian testing MATE
                  NVidia driver 460.32
                  GTX 1070
                  AMD Ryzen 5 3600
                  16GB ram

                  Firefox stable release tarball (I don't use the one supplied by Debian) stock.
                  Youtube 1080p around 5%
                  Youtube 1440p around 7%
                  Youtube 2160p around 10%

                  CPU usage from conky's cpugraph.

                  Comment


                  • #29
                    Originally posted by Ropid View Post

                    Add "env MOZ_X11_EGL=1 " to the beginning of the existing command line, with an extra word "env".

                    Adding just "VARIABLE=value" in front of commands only works at the bash prompt, but the command lines in desktop menu entries are not started through bash. For desktop menu entries you need the "env" command if you want to set a variable.
                    Or, one can simply add the variable to .bashrc (or equivalent).

                    Comment


                    • #30
                      Originally posted by evasb View Post

                      Mozilla fires Servo's and Wasmtime team:
                      https://twitter.com/tschneidereit/st...68141953667074
                      Kills entire threat management team:
                      https://nitter.net/MichalPurzynski/s...20570885062657
                      Even LibreWolf project is not certain to continue after this:
                      https://gitlab.com/librewolf-communi...x/-/issues/124

                      They don't care about their core business and now Baker is talking about changing the internet do do "more" than deplatforming, dirtying Mozilla's name with political shit.
                      https://blog.mozilla.org/blog/2021/0...deplatforming/

                      Mozilla lost its way after Brendan Eich was forced to resign as a CEO, all technologies that made Firefox better (Rust, Servo, e10s) were under Eich's direction. Now we have a lawyer leech destroying what's left of Mozilla.
                      I didn't know about this "deplatforming". With this they are basically advocating for internet censorship.

                      Comment

                      Working...
                      X