Actually, thinking about this.. we could include a context creation flag that would indicate to the UA that the page wants the user to be told if and why context creation failed. The browser would do it itself, so no information leakage, and the content has to opt-in, so content that has silent fallback can still work.
It's something we've talked about in the past. Sometimes, we decide a user's drivers aren't reliable enough to run on, and that they should update. However, there's not currently a way to surface this to the app, so the app can recommend updating drivers to the user.It would also be fantastic from a statistics point of view, being able to get stats on why WebGL is failing to load for a more general audience.On Thu, Sep 17, 2015 at 4:03 PM, Kenneth Russell <email@example.com> wrote:In Chrome, the about:gpu page usually contains useful information about why WebGL would have failed to start.We'd like to hear about situations where this happens, where it appears the user's graphics drivers are correctly installed.-KenOn Thu, Sep 17, 2015 at 2:35 PM, andre v <firstname.lastname@example.org> wrote:I am working on a webGL game, sometimes when I demo it on a user's computer the webGL does not work (fails to create context). It would be nice to know why. Is it incompatible graphics card? Black listed OS, drivers, bios? Is it disabled in the settings? Is it some sort of underlaying openGL error?I realize that exposing this to me as a programming might be a bad idea, leaking information it shouldn't have... although I disagree... I understand the fear. But can't we display that to a user? So that they can trouble shoot their own issue? So that they don't blame me saying: "Shouldn't have used webGL, Unity is better", "Write a real game in C++", "Browser will never be a medium for real games"... Instead oh, my drivers are not up to date, oh my WaterFox has it disabled, webGL driver caused an error restart computer... At least some sort of debug flag that can help trouble shooting it during demos.Automated way would be nice, but there is also no real manual way to trouble shoot it either. My checklist is:1. WebGL failed to create context.2. Restart computer. (clear any bad graphics hardware state)3. Check for browser updates.4. Check for graphics chard drivers updates.5. Disable extensions like Adblock, try incognito mode.Thats it? Where would I check if the graphics card/os combo is black listed? Is there any debug flag that can tell me why webGL is failing?- Andre von Houck