New issue
Advanced search Search tips

Issue 822727 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jul 31
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Poor v-sync quality in Android Webview

Reported by a...@scirra.com, Mar 16 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36

Steps to reproduce the problem:
1. Visit https://www.scirra.com/labs/endless-runner/ in Chrome for Android
2. Observe smoothness of scrolling
3. Load the same URL in an Android Webview

What is the expected behavior?
Smooth animation just like in Chrome for Android.

What went wrong?
Janky animation dropping lots of frames, even though the FPS measurement is still close to 60.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 65.0.3325.162  Channel: stable
OS Version: 10.0
Flash Version: 

This can make HTML5 games wrapped in Cordova look bad.

Here's a debug APK that also contains the test: https://www.dropbox.com/s/lmrbdbx84e0e60n/Endless%20runner.android.debug.apk?dl=0
 

Comment 1 by a...@scirra.com, Mar 16 2018

Note: tested on a HTC 10 with Android 8.0 and Chrome 65
Labels: Needs-Triage-M65
Labels: -OS-Windows Triaged-ET OS-Android
As per comment#1 from the reporter, seems the issue is related to Android OS, adding appropriate OS label for further triaging.
Labels: Needs-triage-Mobile
Components: Blink>Canvas
Labels: Triaged-Mobile Needs-Feedback
ash@ -- Thanks for reporting this issue. Tested on latest Chrome #65.0.3325.109 on HTC 10 Android 8.0.0 and couldn't observe any laggy while using the URL provided - https://www.scirra.com/labs/endless-runner/

And observed 57-58 FPS without any jankiness. Attached screen cast for reference.

Could you please let us know what is the expected value and screen cast of the behavior observed and let us know if any prerequisites are to be followed.

Thanks!
822727.mp4
4.4 MB View Download

Comment 6 by a...@scirra.com, Mar 21 2018

Did you test the URL in the Android webview? The problem does not occur in Chrome itself, only the webview.
Project Member

Comment 7 by sheriffbot@chromium.org, Mar 21 2018

Cc: pnangunoori@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 8 by junov@chromium.org, Mar 21 2018

Owner: junov@chromium.org
Status: Assigned (was: Unconfirmed)

Comment 9 by boliu@chromium.org, Mar 21 2018

worth checking build again after https://chromium.googlesource.com/chromium/src.git/+/989dd34c86ee3a462c467d0c4200faa9046fa496

67.0.3367.0 or later

Comment 10 by a...@scirra.com, Mar 21 2018

I tried swapping the webview to use Chrome Canary 67.0.3376.0 on the device, and it does indeed look much more smooth!

Comment 11 by torne@chromium.org, Mar 22 2018

Components: Mobile>WebView

Comment 12 by boliu@chromium.org, Mar 22 2018

Cc: jamwalla@chromium.org
cool, +jamwalla, your CL helped with webgl performance
Cc: -jamwalla@chromium.org
Owner: ----
Status: Available (was: Assigned)
Cc: ntfschr@chromium.org boliu@chromium.org
Labels: -Arch-x86_64
Status: Fixed (was: Available)
> I tried swapping the webview to use Chrome Canary 67.0.3376.0 on the device, and it does indeed look much more smooth!

ash@ Does this mean the issue is resolved? Tentatively marking this as fixed, but we can reopen if this is insufficient.

boliu@ any obvious work WebView needs to do here, or did jamwalla@ handle everything?
Owner: boliu@chromium.org

Sign in to add a comment