High cpu usage

When I play a video from odysee.com on LibreWolf it uses 2-3x the cpu that Brave does to play the same video. It also turns on the fans in my laptop which signals overburden. My laptop has plenty of power so I"m wondering what the problem is. Have I missed a setting or is this just how LibreWolf works?

Kidplayer_666,

Maybe it’s an engine derived problem? (Firefox uses gecko, while chrome is based on Blink)

carryonrtw,

@Kidplayer_666 @opt9 What platform are you on? Chromium supports hardware accelerated video on Raspberry Pi's, so less CPU load, while #Firefox (and derivatives like #LibreWolf) is about to with the upcoming 116 release. Currently I use LibreWolf on my Pi4 except for video watching and then I go back to Chromium. Once version 116 comes out I won't need to switch.

https://9to5linux.com/looks-like-firefox-116-will-add-hw-accelerated-video-playback-for-raspberry-pi-4

Kidplayer_666,

Well, but how bout hardware acceleration for everyone else? Windows (which I’m on rn) doesn’t seem to have it

carryonrtw,

@Kidplayer_666 On Firefox/LibreWolf look at page: about:support -> Graphics -> Compositing. If it says "WebRender (Software)" it is not using HW accel. If it is using HW accel it will just say "WebRender".
on Chromium/Chrome/Vivaldi etc. look at page: chrome://gpu/. You want to see "Hardware accelerated" and not "Software only. Hardware acceleration disabled".

opt9,

Yes, I’m on Linux and LibreWolf compositing says: WebRender (Software), my Firefox however says WebRender without the “(Software)” and Brave says “Hardware accelerated.” Firefox and Brave consume similar normal amounts of cpu. LibreWolf does not.

So if my Firefox has acceleration, then shouldn’t LibreWolf also? Do I have to add it or enable it somewhere? Thanx

carryonrtw,

@opt9 Looks like you found the issue. Did changing those settings fix the problem?

https://feddit.ch/post/235544

opt9,

Yes, setting these 2 to True fixed the problem. I am curious if there was a security reason for this, or if it was just oversight.

carryonrtw,

@opt9 I'd bet that they just missed it. Glad it's working for you. 👍

opt9,

Now I went and checked Firefox and those same 2 settings are also set to False by default, BUT Firefox does not have the same cpu overuse problem when playing video that librewolf had before I changed these 2 settings. I am trying to figure out what’s going on so I can make a helpful recommendation.

carryonrtw,

HW accel should be automatic on targets that support it (x86, AMD, Apple). I run on a #RaspberryPi4 target which is #Arm64 and doesn't support it "yet". The fix has been checked into git so next release will fix it on Firefox and LibreWolf. In your case though, if Firefox is working then LibreWolf also should.

I'd ask @librewolf if they have any ideas why it wouldn't work. The Google turned up this: https://www.reddit.com/r/LibreWolf/comments/11isnra/how_to_enable_hardware_acceleration/

opt9,

The post you linked to recommends disabling hardware acceleration. This does not seem to be my issue. Also you told me to ask @librewolf but that leads back to this forum. Is there someone with that name or did you mean to make another post?

carryonrtw,

@opt9 I knew how to check if HW accel was enabled. Beyond that I'm just spitballing. 🙂 You could raise an issue on their gitlab.

https://gitlab.com/groups/librewolf-community/-/issues

opt9,

👍

  • All
  • Subscribed
  • Moderated
  • Favorites
  • librewolf@lemmy.ml
  • DreamBathrooms
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • GTA5RPClips
  • Durango
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • ngwrru68w68
  • tacticalgear
  • JUstTest
  • osvaldo12
  • tester
  • cubers
  • cisconetworking
  • mdbf
  • ethstaker
  • modclub
  • Leos
  • anitta
  • normalnudes
  • megavids
  • provamag3
  • lostlight
  • All magazines