Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does the "glGenSyncTokenCHROMIUM" error mean?

I'm debugging a WebGL application, and the following error message pops up in my console, right after a call to compileShader() and getShaderInfoLog():

GL_INVALID_OPERATION : glGenSyncTokenCHROMIUM: fence sync must be flushed before generating sync token

I've searched teh interwebs for glGenSyncTokenCHROMIUM, with no avail.

(This error seems to be hardware-specific, as I can only reproduce it on a GT-I9505 when running Chrome)

What does this error mean, and/or how can I get more detailed information of what's going on?

like image 254
IvanSanchez Avatar asked Jun 21 '16 09:06

IvanSanchez


1 Answers

It seems to be indeed device/GPU/driver problem. There's bug in Chromium bug tracker (by the way, you can provide your case to it).

There're several ways to get information and help on WebGL bugs. Besides StackOverflow, there is WebGL google group (browser developers also active in it). Bugtrackers may be helpful (you always can and should report bugs to developers). And, if you feel like it, Chrome and Firefox have excellent code search engines (ff, cr), more than once I've found answers to my questions there.

like image 73
Kirill Dmitrenko Avatar answered Oct 28 '22 20:10

Kirill Dmitrenko