Open Bug 1639640 Opened 4 years ago Updated 4 years ago

AV1+VP9 YouTube on X11/Linux: Chrome achieves smooth 2160p, Nightly only 1440p.

Categories

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

x86_64
Linux
defect

Tracking

()

People

(Reporter: jan, Unassigned)

References

Details

(Keywords: nightly-community, perf)

KDE (compositor is disabled for performance), X11, Debian Testing, Macbook Pro
Chrome Dev plays 2160p VP9 and AV1 without problem, but with 4320p it barely shows a new video frame.
Nightly plays 1440p smoothly, but with 2160p it barely shows a new frame.
Where lies the pressure? Could preventing a copy help? (bug 1629788)

mozregression --launch 2020-05-20
"Always prefer AV1" on https://youtube.com/testtube
https://www.youtube.com/embed/m1jY2VLCRmY at 2160p

https://www.youtube.com/embed/1La4QzGeaaQ at 2160p

It looks like the decode isn't happening fast enough, we have lots of markers on the MediaDecoderStateMachine chart for discarding video and a lack of markers for pushing video. If Chrome is able to render smoothly at 2160p, we should be able to at least decode at that rate since we both use ffmpeg, but it looks like we're not hitting that here. It's not clear to me where the performance loss is (or if there is a single cause), but it does appear to be in the decoding part of the pipeline.

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