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

Issue 812292 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
(currently inactive on Chromium)
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug
Proj-XR
Proj-XR-VR



Sign in to add a comment

VR: WebVR frame timeout not working

Project Member Reported by mthiesse@chromium.org, Feb 14 2018

Issue description

On ToT, navigate to https://webvr.info/samples/test-slow-render.html?noFrames=true and enter VR.

Expected: Timeout spinner shows up and 'X' button appears.
Actual: Black screen forever.

Should be bisectable. Not sure if this is broken in 65.
 
Cc: vollick@chromium.org
Owner: ymalik@chromium.org
confirmed that reverting this fixes the issue https://chromium-review.googlesource.com/c/chromium/src/+/887804

test page: https://webvr.info/samples/test-slow-render.html?noFrames=true
Project Member

Comment 2 by bugdroid1@chromium.org, Feb 16 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/10041aa35c5241ab47db91f89974db6ae9791565

commit 10041aa35c5241ab47db91f89974db6ae9791565
Author: Yash Malik <ymalik@google.com>
Date: Fri Feb 16 23:39:28 2018

VR: Fix WebVR timeout UI

The bug was the VrShellGl::OnVSync is called every frame (by the Android
Choreographer), and we would restart the timer from the beginning. As a result
it would never actually fire.

In this CL, we only schedule the timeout if there's a state change from when
we start sending VSyncs to the WebVR page again. Note that we only ever stop
sending VSync for DLAs so that we can show the splash screen for a minimum
duration, so what this effectively means is not scheduling timers in OnVSync
for non-DLA WebVR presentations.

Bug:  812292 
Change-Id: I06c58b8902704f5d3033ded4ad7839f077e71052
Reviewed-on: https://chromium-review.googlesource.com/923547
Reviewed-by: Ian Vollick <vollick@chromium.org>
Commit-Queue: Yash Malik <ymalik@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537458}
[modify] https://crrev.com/10041aa35c5241ab47db91f89974db6ae9791565/chrome/browser/android/vr_shell/vr_shell_gl.cc
[modify] https://crrev.com/10041aa35c5241ab47db91f89974db6ae9791565/chrome/browser/android/vr_shell/vr_shell_gl.h

Comment 3 by ymalik@chromium.org, Feb 26 2018

Status: Fixed (was: Assigned)
Labels: Test-Manual
Status: Verified (was: Fixed)
Verified this on build 66.0.3357.0 canary.

Labels: -Test-Manual Test-Complete
We have a test case that covers this, recently added. 
Components: Blink>WebXR

Sign in to add a comment