I was trying to use a website in Chrome which used WebGL through an RDP session to a Virtual Server 2016 (VMware) but was hitting an error about WebGL disabled.
There are various posts on the Google product forums but I couldn’t find the definitive fix there, although they pointed me in the right direction, in Chrome:
chrome://settings
- Make sure use Hardware Acceleration is enabled
chrome://flags
- Override software rendering list Mac, Windows, Linux, Chrome OS, Android
Overrides the built-in software rendering list and enables GPU-acceleration on unsupported system configurations. #ignore-gpu-blacklist – set to ENABLED
-
Accelerated 2D canvas Mac, Windows, Linux, Chrome OS, AndroidEnables the use of the GPU to perform 2d canvas rendering instead of using software rendering. #disable-accelerated-2d-canvas – set to ENABLED
- WebGL Draft Extensions Mac, Windows, Linux, Chrome OS, Android
Enabling this option allows web applications to access the WebGL Extensions that are still in draft status. #enable-webgl-draft-extensions
- WebGL Draft Extensions Mac, Windows, Linux, Chrome OS, Android
Enabling this option allows web applications to access the WebGL Extensions that are still in draft status. #enable-webgl-draft-extensions – set to ENABLED (if required)
- WebGL 2.0 Mac, Windows, Linux, Chrome OS, Android
Allow web applications to access WebGL 2.0. #enable-es3-apis – set to ENABLED
Restart Chrome and…bingo – it seems nobody enabled the top option, to override the GPU blacklist