5 ms·
I've switched to Firefox on most of my devices. And there is only one thing which I don't like — high CPU usage compared to chrome. It makes my old MacBook air
by f311a 8y ago
I've switched to Firefox on most of my devices.
And there is only one thing which I don't like — high CPU usage compared to chrome. It makes my old MacBook air very noisy because of the fan spinning. When I use chrome it's completely silent.
- creddit 8y agoEspecially on YouTube where I believe there’s an issue with Firefox not using the most efficient encoding on the videos.
- blt 8y agoDo you have details? I noticed that Youtube on Firefox makes the fan spin up on my 2013 rMBP a lot. I currently use Firefox but as a heavy Youtube watcher this is a pretty big negative.
- creddit 8y agoYeah I’ll dig up he bugzilla link and add to this comment.
- uglycoyote 8y agoSame here. I have been a longtime Firefox user and don't recall having performance issues with YouTube on macbook before Quantum. But now if I'm watching anything more than a short clip on YouTube, the MBP's fans start to annoy me and it feels like it is going to burn a hole in my lap. YouTube in Chrome is totally fine. YouTube on Firefox on my Windows Intel NUC desktop is also totally fine. It seems to be a mac only Firefox issue. Would really love a solution!
- cpeterso 8y agoFirefox uses H.264 for YouTube on macOS, so it can use the system's H.264 hardware decoder, which should be faster and use less power than a software decoder. Chrome uses a VP9 software decoder on YouTube. You can try VP9 in Firefox by setting the about:config pref "media.mediasource.webm.enabled" = true, but it is disabled by default for good reasons. :) This YouTube page will show which codecs are currently enabled in your browser: https://www.youtube.com/html5 https://www.youtube.com/html5
- bobthedino 8y agoSame here, if I'm watching YouTube on my 2015 rMBP I have to use Safari rather than Firefox if I don't want the fans to spin up.
- inapis 8y agoThis is because Youtube pushes VP8/VP9-encoded video by default to save on bandwidth. Unfortunately, absence of a hardware decoder consumes a ton of battery. Both Firefox and Chrome receive VP9 encoded video. Safari doesn't understand VP9. So Youtube pushes H.264 video which can be hardware accelerated. To force youtube to send H264 in firefox/chrome you need something like https://addons.mozilla.org/en-US/firefox/addon/h264ify/ https://addons.mozilla.org/en-US/firefox/addon/h264ify/
- cpeterso 8y agoFirefox uses H.264 for YouTube on macOS, so it can use the system's H.264 hardware decoder. This YouTube page will show which codecs are currently enabled in your browser: https://www.youtube.com/html5 https://www.youtube.com/html5
- aeontech 8y agoInterestingly, for me Chrome is the browser that causes my machine to sound like a helicopter on take off (though maybe my usage is atypical). Safari still has the best power efficiency on the macOS, but between Firefox and Chrome anecdotally it seems like a toss up. Would be curious to see some actual benchmarks comparing the latest browsers, does anyone do those on a regular basis? A quick google search didn't turn up anything more recent than last december: http://themainframe.ca/comparing-firefox-chrome-and-safari-battery-life/ http://themainframe.ca/comparing-firefox-chrome-and-safari-b...
- noobermin 8y agoOff chance, do you use html5 video?
- f311a 8y agoI do. For me, it looks like Firefox is struggling with rendering when it comes to any kind of animation/effects, e.g videos, images, as well as js powered animations using SVG/canvas. Even simple things make my laptop boil. Maybe I'm wrong about CPU and it's all about integrated Intel GPU.
- bufferoverflow 8y agoI'm having similar issues on a fairly modern laptop with i7-7700hq and GTX1050. After a few minutes of watching YouTube, it gets all jerky and not smooth. I'm guessing something is throttling, though video playback isn't taking a high percentage of either the CPU or the GPU. I tried forcing the builtin Intel GPU on firefox.exe, that didn't change anything.
- voltagex_ 8y agoSee if the video codec is shown in "Stats for Nerds". Perhaps hardware decoding for either webm or h264 isn't enabled.
- cpeterso 8y agoYouTube prefers VP9, when available. You can try disabling VP9 in Firefox by setting the about:config pref "media.mediasource.webm.enabled" = false. Depending on your GPU, Firefox may be able to decode H.264 using a hardware decoder. This YouTube page will show which codecs are currently enabled in your browser: https://www.youtube.com/html5 https://www.youtube.com/html5
- sp332 8y agoDo you have a blacklisted GPU driver? https://wiki.mozilla.org/Blocklisting/Blocked_Graphics_Drivers https://wiki.mozilla.org/Blocklisting/Blocked_Graphics_Drive... You can check in about:support whether it is disabled. There's a section at the bottom of the article about how to force-enable various features if you want to see how glitchy it really is on your machine.
- z6 8y agoSame experience here on a MBP. Tried to switch a couple months ago and the fans run in overdrive.
- spiderfarmer 8y agoIt’s a known issue that pops up in every FF thread. But it’s hopeless. Everytime it pops up some people subscribe to the issue and thats it. https://bugzilla.mozilla.org/show_bug.cgi?id=1407536 https://bugzilla.mozilla.org/show_bug.cgi?id=1407536 Honestly, I’ve given up on Firefox.