New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 778714 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Nov 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug-Regression
Proj-XR



Sign in to add a comment

Frame-rate and memory regression due to WebVR timeout UI

Project Member Reported by bsheedy@chromium.org, Oct 26 2017

Issue description

A large memory regression appeared in the VR Telemetry tests in this CL range https://chromium.googlesource.com/chromium/src/+log/338a3915eca9f1f62bd0e1dc83d7a689a3ab9fa3%5E..d689d71fbe652122cccad43f759a529befe41214?pretty=fuller&n=1000

This resulted in a 25-35% increase in metrics such as memory:chrome:all_processes:reported_by_os:gpu_memory:proportional_resident_size_avg, and a massive ~280% increase in memory:chrome:all_processes:reported_by_chrome:skia:effective_size_avg

 
Labels: -Pri-1 Pri-2
Owner: vollick@chromium.org
Status: Assigned (was: Untriaged)
FYI, this also seems to have caused an FPS regression which wasn't caught by alerts due to some issues with the perf tests that have since been resolved. On average, it's a ~2 FPS drop, but on some pages, it's as much as ~5 FPS.
Ok, I will revert.
Summary: Frame-rate and memory regression due to WebVR timeout UI (was: Large GPU-related memory regression)
Labels: -Pri-2 Pri-1
I'm going to try and investigate the root cause and fix this before resorting to a full revert. Bumping up the priority because of the performance impact.
Cc: klausw@chromium.org
I believe Klaus took a look at this and it looks like it's WAI. Is that true?
I didn't look at memory usage. As far as performance is concerned, the slowdown happens during the 5 seconds where the WebVR entry toast is displayed (kExclusiveScreenToastViewportAware), and this is a side effect of the extra rendering cost due to the active overlay layer used to display the toast.

Assuming that we want and need the overlay, this would be WAI, but it's a separate question if it's worth the performance cost. It would be unfortunate if it causes a bad first impression for VR experiences that may be tuned for steady-state performance, but I assume it will often show at the same time as a splash screen where it may not matter.
Status: WontFix (was: Assigned)
I'll go ahead and close this since the performance hit is expected, and not including the offending toast isn't an option.
This is related to https://crrev.com/c/701774, right?

Can you be more specific about the impact? Does this regression affect the first 5 seconds of all WebVR presentations or only seconds 3-5 when failing to produce frames for 2+ seconds?

On the test side:
If the sample is not producing frames, how are we determining the FPS regression? Isn't it 0 for the first 5 seconds?
Is this changing the meaning of these tests and/or causing us to test something different than intended?
The sample is producing frames. Nothing has changed in terms of the meaning of the tests. I'm not exactly sure why this change would cause a performance regression due to the WebVR presentation toast, as that seems to have been in before the offending CL, but Klaus can probably give an explanation.
As far as I can tell, the performance regression matches the time that the toast is showing, which I think is based on a 5-second timer that starts when the first frame was produced. So the first 5 seconds of all WebVR presentations would be affected by this.
Labels: Test-Complete
Labels: VR-Perf
Components: Internals>XR

Sign in to add a comment