Using software video decoders (include VP9) ramps up computer fans on Macbook.
Categories
(Core :: Audio/Video: Playback, enhancement, P3)
Tracking
()
Performance Impact | medium |
People
(Reporter: kaku, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: perf:resource-use, Whiteboard: [media-performance])
Reporter | ||
Comment 1•7 years ago
|
||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Updated•7 years ago
|
Reporter | ||
Comment 7•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 10•7 years ago
|
||
Updated•7 years ago
|
Comment 11•7 years ago
|
||
Updated•7 years ago
|
Reporter | ||
Updated•7 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
Comment 13•7 years ago
|
||
Updated•7 years ago
|
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
Comment 16•7 years ago
|
||
Comment 17•7 years ago
|
||
Comment 18•7 years ago
|
||
Comment 19•7 years ago
|
||
Comment 20•7 years ago
|
||
Comment 21•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 22•6 years ago
|
||
Comment 23•6 years ago
|
||
Comment 24•6 years ago
|
||
Comment 26•6 years ago
|
||
Comment 27•6 years ago
|
||
Updated•6 years ago
|
Comment 28•6 years ago
|
||
I tried again the same scenario: same machine, same video, but this time comparing with Web Render enabled and without Web Render enabled. I'm also now measuring the total consumption of the laptop instead of just the CPU/GPU packages.
Windowed, Intel:
Web Render On: 35W average (however looking at the graph, the stddev is larger)
Web Render Off: 35W average
Full screen, Intel:
Web Render On: 33W average (stddev a bit tighter)
Web Render off: 20W average
Windowed, AMD:
Web Render On: 34W average (however looking at the graph, the stddev is larger)
Web Render Off: 33W average
Full screen, AMD:
Web Render On: 27W average (stddev a bit tighter)
Web Render off: 19W average
Chrome is roughly half or two third of this, depending on the scenario.
Comment 29•6 years ago
|
||
Current WebRender doesn't have the texture upload improvements from bug 1478704 so it's expected to be worse than non-webrender.
Comment 31•6 years ago
|
||
Paul, when you get a chance I'd be curious to see how much difference the --disable-mac-overlays flag makes in Chrome's battery usage.
Comment 32•5 years ago
|
||
There is currently a bug in Intel Power Gadget on OSX that makes it not work (the kernel module isn't signed). I'll try again when I get a chance.
Comment 33•5 years ago
|
||
(In reply to Paul Adenot (:padenot) from comment #32)
There is currently a bug in Intel Power Gadget on OSX that makes it not work (the kernel module isn't signed). I'll try again when I get a chance.
This now works again. NI to myself to get more recent numbers. Bug 1576107 is related.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 34•5 years ago
|
||
Paul, given that Core Animation is enabled by default now for Nightly and Beta builds, would you mind doing another check? It would be interesting how the numbers have changed for video streaming in non-fullscreen mode and WebRender turned off.
Comment 35•5 years ago
|
||
New numbers, with Firefox Nightly 71.0a1 (2019-09-08) (64-bit) and Google Chrome 76.0.3809.132 on OSX 10.14.5 (18F203), Macbook pro 15" 2018 (not the same machine as the previous measurements!), only with the integrated Intel GPU:
Video [0] (60fps)
Full screen:
Intel GPU:
Current Firefox Nightly: 6.5W
Chrome: 5W
Non full screen:
Intel GPU:
Current Firefox Nightly: 7.3W
Chrome: 4.7W
For a point of reference, which is not comparable since it's not the same codec, Safari is below 3W in windowed, and it's too hard to measure in full screen because it's in the noise compared to idle state.
In short, superb improvements, but there is still a lot of room for improvements on this metric.
On another note, 4K video can now play without frame drops as well.
[0]: https://www.youtube.com/watch?v=KaCQ8SQ6ZHQ (same video as before, always locked to 1080p60).
Updated•5 years ago
|
Updated•3 years ago
|
Updated•2 years ago
|
Description
•