[meta] Poor battery life on OSX with scaled resolution
Categories
(Core :: Graphics, defect, P2)
Tracking
()
Performance Impact | low |
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox-esr60 | --- | wontfix |
firefox-esr68 | --- | wontfix |
firefox56 | --- | wontfix |
firefox57 | - | wontfix |
firefox58 | + | wontfix |
firefox59 | + | wontfix |
firefox60 | + | wontfix |
firefox61 | --- | wontfix |
firefox62 | --- | wontfix |
firefox63 | --- | wontfix |
firefox64 | --- | wontfix |
firefox65 | --- | wontfix |
firefox66 | --- | wontfix |
firefox67 | --- | wontfix |
firefox68 | --- | wontfix |
firefox69 | --- | wontfix |
People
(Reporter: sphilp, Unassigned)
References
(Depends on 1 open bug, Blocks 2 open bugs, )
Details
(4 keywords, Whiteboard: [gfx-noted])
Attachments
(4 files)
Reporter | ||
Updated•7 years ago
|
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Reporter | ||
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Comment 8•7 years ago
|
||
Comment 9•7 years ago
|
||
Comment 10•7 years ago
|
||
Comment 11•7 years ago
|
||
Updated•7 years ago
|
Comment 13•7 years ago
|
||
Reporter | ||
Comment 14•7 years ago
|
||
Reporter | ||
Comment 15•7 years ago
|
||
Reporter | ||
Updated•7 years ago
|
Comment 16•7 years ago
|
||
Comment 17•7 years ago
|
||
Comment 18•7 years ago
|
||
Updated•7 years ago
|
Comment 19•7 years ago
|
||
Comment 20•7 years ago
|
||
Comment 21•7 years ago
|
||
Comment 22•7 years ago
|
||
Comment 23•7 years ago
|
||
Comment 24•7 years ago
|
||
Comment 25•7 years ago
|
||
Comment 26•7 years ago
|
||
Comment 27•7 years ago
|
||
Comment 28•7 years ago
|
||
Comment 29•7 years ago
|
||
Updated•7 years ago
|
Comment 30•7 years ago
|
||
Comment 31•7 years ago
|
||
Comment 32•7 years ago
|
||
Updated•7 years ago
|
Comment 33•7 years ago
|
||
Comment 34•7 years ago
|
||
Comment 35•7 years ago
|
||
Updated•7 years ago
|
Comment 36•7 years ago
|
||
Comment 37•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 38•7 years ago
|
||
Comment 39•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 42•7 years ago
|
||
Comment 43•7 years ago
|
||
Comment 44•7 years ago
|
||
Updated•7 years ago
|
Comment 45•7 years ago
|
||
Comment 46•7 years ago
|
||
Comment 47•7 years ago
|
||
Comment 48•7 years ago
|
||
Comment 49•7 years ago
|
||
Comment 50•7 years ago
|
||
Comment 51•7 years ago
|
||
Comment 52•7 years ago
|
||
Comment 53•7 years ago
|
||
Comment 54•7 years ago
|
||
Updated•7 years ago
|
Comment 55•7 years ago
|
||
Comment 56•7 years ago
|
||
Comment 57•7 years ago
|
||
Comment 58•7 years ago
|
||
Updated•7 years ago
|
Comment 59•7 years ago
|
||
Comment 60•7 years ago
|
||
Comment 61•7 years ago
|
||
Comment 62•7 years ago
|
||
Comment 63•7 years ago
|
||
Updated•7 years ago
|
Comment 64•7 years ago
|
||
Comment 65•7 years ago
|
||
Comment 66•7 years ago
|
||
Comment 67•7 years ago
|
||
Comment 68•7 years ago
|
||
Comment 69•7 years ago
|
||
Updated•7 years ago
|
Comment 70•7 years ago
|
||
Comment 71•7 years ago
|
||
Comment 72•7 years ago
|
||
Comment 73•7 years ago
|
||
Comment 74•7 years ago
|
||
Updated•7 years ago
|
Comment 75•7 years ago
|
||
Comment 76•7 years ago
|
||
Comment 77•7 years ago
|
||
Comment 78•7 years ago
|
||
Comment 79•7 years ago
|
||
Comment 81•7 years ago
|
||
Comment 82•7 years ago
|
||
Comment 83•7 years ago
|
||
Comment 84•7 years ago
|
||
Comment 85•7 years ago
|
||
Comment 86•7 years ago
|
||
Comment 87•7 years ago
|
||
Comment 88•7 years ago
|
||
Comment 90•7 years ago
|
||
Comment 91•7 years ago
|
||
Comment 92•7 years ago
|
||
Updated•7 years ago
|
Comment 93•7 years ago
|
||
Comment 94•7 years ago
|
||
Comment 95•7 years ago
|
||
Comment 96•7 years ago
|
||
Comment 97•7 years ago
|
||
Comment 98•7 years ago
|
||
Comment 99•7 years ago
|
||
Comment 100•7 years ago
|
||
Comment 101•7 years ago
|
||
Comment 102•7 years ago
|
||
Comment 103•7 years ago
|
||
Comment 104•7 years ago
|
||
Comment 106•7 years ago
|
||
Comment 107•7 years ago
|
||
Comment 108•7 years ago
|
||
Comment 109•7 years ago
|
||
Comment 110•7 years ago
|
||
Comment 111•7 years ago
|
||
Comment 112•7 years ago
|
||
Comment 113•7 years ago
|
||
Comment 114•7 years ago
|
||
Comment 115•7 years ago
|
||
Comment 116•7 years ago
|
||
Comment 117•7 years ago
|
||
Comment 118•7 years ago
|
||
Comment 119•7 years ago
|
||
Comment 120•7 years ago
|
||
Comment 121•7 years ago
|
||
Comment 122•7 years ago
|
||
Comment 123•7 years ago
|
||
Comment 124•7 years ago
|
||
Comment 125•7 years ago
|
||
Comment 126•7 years ago
|
||
Comment 127•7 years ago
|
||
Comment 129•7 years ago
|
||
Comment 130•7 years ago
|
||
Updated•7 years ago
|
Comment 131•7 years ago
|
||
Comment 132•7 years ago
|
||
Comment 133•7 years ago
|
||
Comment 134•7 years ago
|
||
Comment 135•7 years ago
|
||
Updated•7 years ago
|
Comment 136•7 years ago
|
||
Comment 137•7 years ago
|
||
Updated•7 years ago
|
Comment 139•7 years ago
|
||
Comment 140•7 years ago
|
||
Comment 141•7 years ago
|
||
Comment 142•7 years ago
|
||
Comment 143•7 years ago
|
||
Comment 144•7 years ago
|
||
Comment 145•7 years ago
|
||
Comment 146•7 years ago
|
||
Comment 147•7 years ago
|
||
Comment 148•7 years ago
|
||
Comment 149•7 years ago
|
||
Comment 150•7 years ago
|
||
Comment 151•7 years ago
|
||
Updated•7 years ago
|
Comment 152•7 years ago
|
||
Comment 153•7 years ago
|
||
Comment 154•7 years ago
|
||
Comment 155•6 years ago
|
||
Comment 156•6 years ago
|
||
Comment 157•6 years ago
|
||
Comment 158•6 years ago
|
||
Comment 159•6 years ago
|
||
Comment 160•6 years ago
|
||
Comment 161•6 years ago
|
||
Comment 162•6 years ago
|
||
Comment 163•6 years ago
|
||
Comment 164•6 years ago
|
||
Updated•6 years ago
|
Comment 165•6 years ago
|
||
Comment 166•6 years ago
|
||
Comment 167•6 years ago
|
||
Comment 168•6 years ago
|
||
Comment 169•6 years ago
|
||
Comment 170•6 years ago
|
||
Comment 171•6 years ago
|
||
Comment 172•6 years ago
|
||
Comment 173•6 years ago
|
||
Comment 174•6 years ago
|
||
Comment 175•6 years ago
|
||
Updated•6 years ago
|
Comment 177•6 years ago
|
||
Comment 178•6 years ago
|
||
Comment 179•6 years ago
|
||
Comment 180•6 years ago
|
||
Comment 181•6 years ago
|
||
Comment 182•6 years ago
|
||
Updated•6 years ago
|
Comment 183•6 years ago
|
||
Comment 184•6 years ago
|
||
Comment 185•6 years ago
|
||
Comment 186•6 years ago
|
||
Comment 188•6 years ago
|
||
Comment 189•6 years ago
|
||
Comment 190•6 years ago
|
||
Comment 191•6 years ago
|
||
Comment 192•6 years ago
|
||
Comment 193•6 years ago
|
||
Comment 194•6 years ago
|
||
Comment 195•6 years ago
|
||
Comment 196•6 years ago
|
||
Comment 197•6 years ago
|
||
Comment 198•6 years ago
|
||
Comment 199•6 years ago
|
||
Comment hidden (me-too) |
Comment 201•6 years ago
|
||
the performance impact of this issue is still one of the most common sort of feedback/complaints we see from macos users on various support channels.
Updated•6 years ago
|
Comment hidden (advocacy) |
Comment 203•6 years ago
|
||
(In reply to MB from comment #202)
As a Mac user who is currently evaluating browsers outside of Safari, I was surprised to see how wonderful Firefox has become in its current iteration but also, unfortunately, how much CPU it uses. This makes the laptop very warm and cuts battery life in half.
Simply, Firefox is unusable on a Mac laptop. That this issue has been around for 2 years is even more surprising to me. If not for this, I would switch to Firefox full time on all my devices.
It's quite telling that my wife, who has absolutely no techie blood in her, turned to me after I put FF on her MacBook and said "why is my laptop so hot and noisy now?"
you're comparing apple and oranges. The only browsers on mac with good battery life and CPU usage is Safari. Primary reason is that Safari doesn't support VP9 video codec.
If your browser tests were done on YouTube then Safari will indeed give you great battery life, because all video decoding is hardware accelerated. But you're also limited to 1080p as it uses H264 only
Firefox on the other hand would use VP9, can do 4K and more with YouTube, at the expense of CPU usage.
Don't want to use VP9, then set media.webm.enabled to false.
It will reduce CPU usage greatly. But the video quality will suffer.
Having said that, even when Firefox uses only H264, Safari will provide better battery usage..
Comment 204•6 years ago
|
||
(In reply to Jean-Yves Avenard [:jya] from comment #203)
you're comparing apple and oranges. The only browsers on mac with good battery life and CPU usage is Safari. Primary reason is that Safari doesn't support VP9 video codec.
But the problem is not restricted to video.
Comment hidden (advocacy) |
Comment hidden (advocacy) |
Comment hidden (advocacy) |
Comment hidden (advocacy) |
Comment 209•5 years ago
|
||
Work is still happening in bug 1491442.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 210•5 years ago
|
||
(In reply to Jean-Yves Avenard [:jya] from comment #203)
you're comparing apple and oranges. The only browsers on mac with good battery life and CPU usage is Safari. Primary reason is that Safari doesn't support VP9 video codec.
(In reply to xracoonx from comment #204)
(In reply to Jean-Yves Avenard [:jya] from comment #203)
you're comparing apple and oranges. The only browsers on mac with good battery life and CPU usage is Safari. Primary reason is that Safari doesn't support VP9 video codec.
But the problem is not restricted to video.
A small gif and audio makes my MacBook Pro 2015 fans spin. For example on https://www.tagesschau.de/multimedia/audio/audio-75005.html.
Comment 211•5 years ago
|
||
(In reply to xracoonx from comment #210)
A small gif and audio makes my MacBook Pro 2015 fans spin. For example on https://www.tagesschau.de/multimedia/audio/audio-75005.html.
Just listened to the full 90 secs with no fan spinning;
MacBook Pro (Retina, 15-inch, Mid 2015) | 10.14.6 | FF Nightly 70.0a1 (2019-08-02)
Comment 212•5 years ago
|
||
(In reply to Albert Scheiner [:alberts] from comment #211)
(In reply to xracoonx from comment #210)
A small gif and audio makes my MacBook Pro 2015 fans spin. For example on https://www.tagesschau.de/multimedia/audio/audio-75005.html.
Just listened to the full 90 secs with no fan spinning;
MacBook Pro (Retina, 15-inch, Mid 2015) | 10.14.6 | FF Nightly 70.0a1 (2019-08-02)
Fan going full speed after 55 sec..
MacBook Pro (Retina, 13-inch, Late 2013)
FF Nightly 70.0a1 (2019-07-30) (64-bit)
Comment 213•5 years ago
|
||
(In reply to xracoonx from comment #210)
A small gif and audio makes my MacBook Pro 2015 fans spin. For example on https://www.tagesschau.de/multimedia/audio/audio-75005.html.
Thank you for this excellent test case! While I can't get it to make the fans spin on my machine (MacBook Pro (Retina, 16-inch, Early 2013)), I do see significant power usage in Intel Power Gadget on this page. It's a page where only a small part of the screen is changing, so I'm expecting my planned work (especially bug 1491456 and bug 1491451) to improve this a lot. That work won't help with cases where most of the screen is changing, such as scrolling and full screen video, but it should help with small animations such as this one.
Updated•5 years ago
|
Comment hidden (me-too) |
Comment 215•5 years ago
|
||
I just confirmed that opening https://www.reddit.com/r/StoppedWorking/comments/du45he/deskexe_was_not_found spikes my CPU to 200% (macOS Catalina 10.15.1 on a 13" MBPr 2015).
Now that multitouch zoom is finally supported (yay!) (https://www.reddit.com/r/firefox/comments/bcebze/_/erimc1y), this issue is literally the only thing keeping me on Chrome, so fingers crossed that it gets resolved soon.
Comment 216•4 years ago
|
||
There doesn't seem to be any update on this bug since a year now. Together with this list https://bugzilla.mozilla.org/buglist.cgi?quicksearch=keywords%3Apower%20os%3AmacOS it seems that there is not a lot of activity in general on fixing the power consumption issues under macos since bug 1491456 and bug 1491451 , probably due to resources, priorities or other issues
I'd appreciate therefore if you could communicate your plans on this topic, do you plan to give some prioritization or rough target dates ?
Just for the record, my battery with firefox lasts ~4h, without firefox 7+h (eg. edge, safari)
thanks
Comment 217•4 years ago
|
||
(In reply to George Billios from comment #216)
Just for the record, my battery with firefox lasts ~4h, without firefox 7+h (eg. edge, safari)
Do you have some example pages where that happens? Also what's your hardware configuration, and display settings. Are you using a scaled resolution? Right now I cannot reproduce high CPU usages, but with a testcase we could figure out what's going on. Thanks!
Comment 218•4 years ago
|
||
(In reply to Henrik Skupin (:whimboo) [⌚️UTC+2] from comment #217)
(In reply to George Billios from comment #216)
Just for the record, my battery with firefox lasts ~4h, without firefox 7+h (eg. edge, safari)
Do you have some example pages where that happens? Also what's your hardware configuration, and display settings. Are you using a scaled resolution? Right now I cannot reproduce high CPU usages, but with a testcase we could figure out what's going on. Thanks!
Macbook pro 2018 with scaled resolution
Just having the following pages open, video not playing or buffering, results in a ~6-9% cpu usage, Energy impact on 6-12 and this is only an example
https://www.neowin.net/
https://www.youtube.com/watch?v=lacmtG0V-uk
https://bugzilla.mozilla.org/show_bug.cgi?id=1404042
same pages on Edge (chromium), cpu 0,5 with some spikes to 5%
same pages on Safari <1%
as soon as firefox is in focus, doing nothing the above utilization happens. Typing this comment, shoot cpu utilization to 15%+
Comment 219•4 years ago
|
||
(In reply to George Billios from comment #218)
Macbook pro 2018 with scaled resolution
Which exact resolution have you choosen?
Just having the following pages open, video not playing or buffering, results in a ~6-9% cpu usage, Energy impact on 6-12 and this is only an example
Would you mind to record a profile while these pages are open via https://profiler.firefox.com? The CPU load might still be too low to see something in such a profile but it would be good to have one.
as soon as firefox is in focus, doing nothing the above utilization happens. Typing this comment, shoot cpu utilization to 15%+
The textarea field has a couple of event handlers (keydown, input) registered and as such executes Javascript code. That means that the CPU utilization will indeed be higher. Other browsers should actually show the same, and specifically that behavior isn't related to this bug.
Comment 220•4 years ago
|
||
as soon as firefox is in focus, doing nothing the above utilization happens. Typing this comment, shoot cpu utilization to 15%+
The textarea field has a couple of event handlers (keydown, input) registered and as such executes Javascript code. >That means that the CPU utilization will indeed be higher. Other browsers should actually show the same, and specifically that behavior isn't related to this bug.
Actually with safari using the textarea the utilization only goes to ~4-5% max, firefox is 3times that
Which exact resolution have you choosen?
1680x1050
Would you mind to record a profile while these pages are open via https://profiler.firefox.com? The CPU load might still be too low to see something in such a profile but it would be good to have one.
here you go
https://share.firefox.dev/3l6pHwn
Comment 221•4 years ago
|
||
(In reply to George Billios from comment #220)
here you go
https://share.firefox.dev/3l6pHwn
There's something weird going on in the "DOM Worker" thread. Do you see this on a fresh restart of Firefox?
Comment 222•4 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #221)
(In reply to George Billios from comment #220)
here you go
https://share.firefox.dev/3l6pHwnThere's something weird going on in the "DOM Worker" thread. Do you see this on a fresh restart of Firefox?
I wonder if we should get this better filed / discussed on a new bug. It would also be good to have other processes included in the profile. So maybe only running Firefox with these three tabs open, and uploading / publishing the full profile would be good.
Comment 223•4 years ago
|
||
(In reply to Henrik Skupin (:whimboo) [⌚️UTC+2] from comment #222)
(In reply to Jeff Muizelaar [:jrmuizel] from comment #221)
(In reply to George Billios from comment #220)
here you go
https://share.firefox.dev/3l6pHwnThere's something weird going on in the "DOM Worker" thread.
I explained this in bug 1633318 comment 24.
It would also be good to have other processes included in the profile. So maybe only running Firefox with these three tabs open, and uploading / publishing the full profile would be good.
It seems the profile in comment 220 was captured with the "Web Developer" preset; using the "Firefox Front-End" preset would show us more information.
Another way to get some information about which threads are using CPU time would be to look at about:processes
after setting the toolkit.aboutProcesses.showThreads
preference to true in about:config
. (Click the "CPU" column header to sort by CPU use and see at the top the threads that use the most CPU).
Comment 224•4 years ago
|
||
hi all,
first of all here is the profile with Firefox Front-end profiling set
https://share.firefox.dev/2VecBmg
I'm afraid I can't share the full profile in this machine
after the last time I took my time and disabled a few extensions that seem to have reduced the "idle" cpu usage with these pages open down to 1-5% from 6-9%, still high compared to safari for example
I also attach the processes_with_threads.png while doing nothing
regardless of the changes - even on safe mode or fresh profile - the extra cpu utilization remains. Of course when a youtube video plays, forced to h264, the utilization is much much higher than with safari or edge/chrome
at the end of the day we/I just need to understand if there are possibilities for further optimization in general, thanks
Comment 225•4 years ago
|
||
Updated•4 years ago
|
Hi Jim,
I'm Need Info'ing you since you are the triage owner of Core: Graphics and because the reporter is no longer active.
I haven't been able to reproduce a poor battery usage on a Macbook while using the latest Firefox versions (Release, Beta and Nightly).
Since this bug has many comments and issue seems to be P2, I'd appreciate your input. Is this still being investigated/worked on?
Thanks,
Virginia
Comment 227•3 years ago
|
||
Brad, mind trying to triage this mess of bugs?
Updated•3 years ago
|
Updated•3 years ago
|
Comment 229•3 years ago
|
||
Meta bugs probably don't need owners. I'll look at the dependencies and make sure they have assignees or at least priority.
Comment 230•2 years ago
|
||
In the process of migrating remaining bugs to the new severity system, the severity for this bug cannot be automatically determined. Please retriage this bug using the new severity system.
Updated•2 years ago
|
Description
•