Page 1 of 1

WebView WebGL Disabled

Posted: Fri Jan 10, 2020 2:07 pm
by george.arnall
I'm trying to run WebGL content from a WebView on 3.17. Despite running chromium 69, WebGL seems to have been disabled?

I get the following error:
Hmm. While your browser seems to support WebGL, it is disabled or unavailable. If possible, please ensure that you are running the latest drivers for your video card.

For more help, please click this link.

Re: WebView WebGL Disabled

Posted: Wed Jan 15, 2020 2:52 pm
by gschijndel
Did you try to enable it with 'setAttribute' function of the EWO?

Re: WebView WebGL Disabled

Posted: Fri Jan 17, 2020 4:34 pm
by george.arnall
Thanks for your suggestion, I just tried this using the following script:

Code: Select all

main()
{
  this.setAttribute("WebGLEnabled", TRUE);
  this.url("https://get.webgl.org/");
}
It doesn't seem to work, perhaps someone else can try?

Re: WebView WebGL Disabled

Posted: Sat Jan 18, 2020 5:43 pm
by kilianvp
maybe your GPU is maybe blacklisted..

you can check:
C:\Siemens\Automation\WinCC_OA\3.17\config\openGL_blacklist.json