Chrome uses ~20% less energy when playing 720p YouTube video
Categories
(Core :: Audio/Video: Playback, enhancement)
Tracking
()
People
(Reporter: bas.schouten, Unassigned)
References
(Blocks 3 open bugs)
Details
When playing a simple 720p video fullscreen (https://www.youtube.com/watch?v=blAB_JqAJNw), Chrome uses about 20% less energy than Firefox.
When looking in GPU view two differences stand out:
- Chrome has no activity in the Hardware 3D Queue and the Flip Queue 0, where Firefox does.
- Firefox has RGBA as the destination format for it's VideoProcessorBltParameters where Chrome has NV12.
This is on Intel Iris XE Graphics
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Comment 1•1 year ago
|
||
OverlaySupport NV12=Scaling YUV2=Scaling BGRA8=Software RGB10A2=None
Updated•1 year ago
|
Updated•1 year ago
|
Comment 2•1 year ago
•
|
||
In chromium, when windows is covered only with solid color and video overlay, gl rendering(desktop plane) is suppressed.
Since Bug 1849680 fix, video overlay was forced to the bottom of the native layers(work as underlay). If we want to do it, we need to revive overlay again like Bug 1855573. If WebRender allows video overlay with solid color layers, Hardware 3D Queue activity might be suppressed.
From Bug 1520894 comment 39, CODECAPI_AVLowLatencyMode might increase power usage with some PCs.
Bug 1890622 could increase power consumption of Intel Gen12 by disabling zero video copy.
| Reporter | ||
Comment 3•1 year ago
|
||
Latest numbers. Hoping to get this in CI sometime relatively soon.
Pixel 9 Pro:
https://www.youtube.com/watch?v=ZT6dFDymjgM - YouTube, 720p
Non-fullscreen - Firefox Nightly - 10 minutes: 424 mWh
Non-fullscreen - Chrome Release - 10 minutes: 292 mWh
Difference: Firefox 45% more power consumption
Fullscreen - Firefox Nightly - 10 minutes: 341 mWh
Fullscreen - Chrome Release - 10 minutes: 293 mWh
Difference: Firefox 16% more power consumption
Description
•