Open Bug 1891727 Opened 1 year ago Updated 6 months ago

Chrome uses ~20% less energy when playing 720p YouTube video

Categories

(Core :: Audio/Video: Playback, enhancement)

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:

  1. Chrome has no activity in the Hardware 3D Queue and the Flip Queue 0, where Firefox does.
  2. Firefox has RGBA as the destination format for it's VideoProcessorBltParameters where Chrome has NV12.

This is on Intel Iris XE Graphics

Flags: needinfo?(sotaro.ikeda.g)

OverlaySupport NV12=Scaling YUV2=Scaling BGRA8=Software RGB10A2=None

Summary: Chrome uses ~20% more energy when playing 720p YouTube video → Chrome uses ~20% less energy when playing 720p YouTube video
See Also: → 1766383

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.

Flags: needinfo?(sotaro.ikeda.g)
See Also: → 1855573
See Also: → 1849680
See Also: → 1520894
Blocks: ttff
See Also: → hw-ffvpx

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

Duplicate of this bug: 1766383
You need to log in before you can comment on or make changes to this bug.