New issue
Advanced search Search tips

Issue 917799 link

Starred by 2 users

Issue metadata

Status: Available
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug-Regression



Sign in to add a comment

[CrOS, ARM-only?]: SW video playback performance downgrades for 60fps video

Project Member Reported by hiroh@chromium.org, Dec 26

Issue description

The rate of dropped frames increase from 11425.0.0.
Chrome is uprev to 73.0.3644.0.
https://chromeperf.appspot.com/report?sid=ce934c6d8f2b65c0ccbd538e78f6ac066224744e907e1f372e0ce4fc39f60a5b&start_rev=36360001138400000&end_rev=36440001146900000

It was hard to bisect because the rate of dropped video frames is really flaky. I may reach the CL [1].
Before the CL, the rate of dropped frames was less than 1, as I tested 10 times.
From the CL, the rate of dropped frames was more than 10, as I tested 10 times. 
I am not 100% sure yet the CL actually causes this regression.
It was hard to detect 10% frame drop on 60fps video by eye. So I don't know this really drops frames or corrupts frame drop count.

sadrul@, would you tell me your opinion? Is it possible the CL causes this regression?

[1] https://chromium-review.googlesource.com/c/chromium/src/+/1375641



 
Labels: -Pri-2 Pri-1
Owner: ----
Status: Available (was: Assigned)
That CL is unlikely to cause the issue, since as mentioned in the CL description, its side-effect is one extra ipc at the end of visual updates (so once the client is done posting all the frames).
Cc: -hiroh@chromium.org
Owner: hiroh@chromium.org
I see. Let me look into again.

Comment 4 by kcwu@chromium.org, Jan 18 (4 days ago)

Comment 5 by hiroh@chromium.org, Jan 18 (4 days ago)

Cc: hiroh@chromium.org kcwu@chromium.org
Owner: sadrul@chromium.org
Thanks kcwu@ a lot.
sarul@, could you take a look again?

Comment 6 by afakhry@chromium.org, Jan 18 (4 days ago)

Components: Internals>GPU>Video OS>Kernel>Video

Comment 7 by sadrul@chromium.org, Jan 18 (4 days ago)

What is a good way to repro the failure? Does it happen when running a chromeos build on a linux workstation, for example?

Comment 8 by hiroh@chromium.org, Jan 20 (3 days ago)

You can install Chrome OS latest canary image.
https://www.chromium.org/chromium-os/build/cros-flash

You can actually run this performance test by the following autotest command.
[chrome os chroot] $ test_that ${DUT_IP} video_PlaybackPerf.h264.1080.60fps
But you need to build packages for this.
I suggest to use the following tast test, which you need to only build a few packages that the command will show.
[chrome os chroot]$ tast run -buildlocalrunner ${DUT_IP} video.PlaybackPerfH2641080P60FPS
The performance values are recorded in /tmp/tast/results/latest/tests/video.PlaybackPerfH2641080P30FPS/results-chart.json.
You may want to see tast_sw_video_dropped_frames_h264_1080p_30fps there.
You can try with your customize chrome by building and deploying it (go/simplechrome).

Sign in to add a comment