Originally posted by M@GOid
View Post
Announcement
Collapse
No announcement yet.
Mozilla Firefox 85.0 Now Available As First 2021 Release
Collapse
X
-
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 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
-
Originally posted by monty11ez View Post
Adding MOZ_X11_EGL=1 in the command string did not work for me on XFCE.
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.
- Likes 1
Comment
-
Originally posted by M@GOid 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.
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.
- Likes 2
Comment
-
Did you guys enable esni?
Background Two years ago, we announced experimental support for the privacy-protecting Encrypted Server Name Indication (ESNI) extension in Firefox Nightly. The Server Name Indication (SNI) TLS extension enables server and ...
In the article above there's mentioned some privacy benefits
- Likes 1
Comment
-
Originally posted by monty11ez View Post
Adding MOZ_X11_EGL=1 in the command string did not work for me on XFCE.
MOZ_X11_EGL=1 MOZ_LOG="PlatformDecoderModule:5" firefox 2>&1 | grep 'VA-API'
Comment
-
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.
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
-
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.
Comment
-
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.
- Likes 1
Comment
Comment