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

Issue 660771 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

glGenSyncTokenCHROMIUM: fence sync error and lost context when using gl.clear in requestAnimationFrame loop on Samsung Galaxy S3

Reported by matt.kim...@gmail.com, Oct 31 2016

Issue description

Steps to reproduce the problem:
The user-agent of the failing device:  Mozilla/5.0 (Linux; Android 4.4.2; SAMSUNG-SGH-I747 Build/KOT49H) AppleW
ebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.68 Mobile Safari/537.36

1.  Load crash.html on a Samsung Galaxy S3 (SAMSUNG-SGH-I747)
2.  Wait approximately five seconds
3.  Notice that the GL context has been lost.  The blue canvas disappears.

When attaching to the console over USB, I see there are GL errors in the console log.  Note that there are many (C level) gl API calls reporting errors, where my test case is merely repeatedly clearing the render target, and nothing more.  The following is pasted from the console:

3crash.html:1 [.Offscreen-For-WebGL-0x633e5040]GL ERROR :GL_INVALID_ENUM : glTexImage2D: <- error from previous GL command
4crash.html:1 [.Offscreen-For-WebGL-0x633e5040]GL ERROR :GL_INVALID_ENUM : glFramebufferTexture2DMultisample: <- error from previous GL command
crash.html:1 [.Offscreen-For-WebGL-0x633e5040]GL ERROR :GL_INVALID_ENUM : glTexImage2D: <- error from previous GL command
6crash.html:1 [.Offscreen-For-WebGL-0x633e5040]GL ERROR :GL_INVALID_ENUM : glFramebufferTexture2DMultisample: <- error from previous GL command
crash.html:1 [.Offscreen-For-WebGL-0x633e5040]GL ERROR :GL_INVALID_ENUM : glTexImage2D: <- error from previous GL command
2crash.html:1 [.Offscreen-For-WebGL-0x633e5040]GL ERROR :GL_INVALID_ENUM : glFramebufferTexture2DMultisample: <- error from previous GL command
crash.html:1 GL_INVALID_OPERATION : glGenSyncTokenCHROMIUM: fence sync must be flushed before generating sync token
crash.html:1 WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost

What is the expected behavior?
No lost GL context.  The blue canvas should remain visible indefinitely.

What went wrong?
"Rats!  WebGL hit a snag."  The GL context was lost.  

Attached is the output of "chrome://gpu" on the device.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 54.0.2840.68  Channel: stable
OS Version: Android 4.4.2
Flash Version: 

The attached test case works as expected when loaded in Chrome on my desktop.  It also works as expected when loaded in Firefox on the same Galaxy S3 device where it fails in Chrome.
 
crash.html
419 bytes View Download
s3-gpu.html.gz
18.6 KB Download

Comment 1 by kbr@chromium.org, Nov 1 2016

Cc: ligim...@chromium.org
Labels: Needs-TestConfirmation
Requesting TE to confirm this.

Cc: candr...@chromium.org
Labels: M-54
Christine, could you request someone in the team for a repro.
Cc: aska...@chromium.org
Labels: triage-te

Comment 4 by rbyers@chromium.org, Nov 14 2016

Cc: kbr@chromium.org aelias@chromium.org
aelias@ does someone in MTV have a Galaxy S3 they could loan to kbr@ to try this on?  I doubt the TE team does.
Labels: -Needs-TestConfirmation -triage-te
Tried on following devices but couldn't reproduce the issue (Blue canvas remains visible),
Samsung Galaxy S3 (SGH-I747) / 4.3
Samsung Galaxy S3 (SCH-I535) / 4.1.2
Samsung Galaxy S3 (GT-I9305) / 4.4.4

Comment 6 by dk...@chromium.org, Dec 15 2016

Labels: -Hotlist-Interop
Status: WontFix (was: Unconfirmed)
Closing for now since this couldn't be repro'ed. Feel free to reopen if you can provide more specific repro steps!

Sign in to add a comment