I get an “WebGL not supported” error for any Babylon.js page (e.g. https://www.babylonjs-playground.com/). Any other WebGL content (e.g. three.js) works just fine.
Tried different Babylon.js versions, WebGL, WebGL2… same issue.
Here’s the console error:
rendererComponent.tsx:364 Error: WebGL not supported
at t.e (thinEngine.ts:954:23)
at new t (engine.ts:584:9)
at t.createDefaultEngine (rendererComponent.tsx:151:28)
at asyncEngineCreation (<anonymous>:40:32)
at window.initFunction (<anonymous>:44:43)
at R._compileAndRunAsync (rendererComponent.tsx:295:36) 'Retrying if possible. If this error persists please notify the team.'
It used to work for a year now on the same machine. Relevant stuff that recently changed: kernel went from 6.2 to 6.3 and Chrome got its usual updates.
Still, Babylon.js seems to either be more picky or has very specific requirements about the WebGL context because virtually any other WebGL page works with the Vulkan driver enabled.
As said above, we create the context in a straightforward way…
You can try to change the options to see if it works better: alpha, antialias, premultipliedAlpha, preserveDrawingBuffer, stencil.
We enable a number of properties by default in the playground (stencil=true, preserveDrawingBuffer=true, antialias=true), it’s possible that one of them is the problem. I seem to recall that Threejs uses preserveDrawingBuffer=false by default, so you should try first to set it to false and see if that helps.