Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome may not have WebGL enabled by default on some machines #12

Open
carmichaelong opened this issue Sep 21, 2016 · 1 comment
Open

Comments

@carmichaelong
Copy link
Member

WebGL was not enabled on one of my machines in Chrome (while it was enabled in Firefox). This caused my visualizer to use high resources on one of my core's and fail to render anything in the window at startup (which could be difficult for a user to diagnose). There are a few steps you can take to check this and change this (tested with Chrome 53):

Checking if WebGL is enabled for Chrome
Go to "chrome://gpu/" and look under "Graphics Feature Status" for "WebGL".

If WebGL is not enabled, steps to take to enable it

  1. Go to Chrome's settings menu. Hit "Show advanced settings..." . Under the "System" header, ensure that "Use hardware acceleration when available" is checked.
  2. If Step 1 does not fix your problem, your hardware may be under Chrome's "blacklist" (some kind of list they have for unsupported system configurations). You can override this list by going to "chrome://flags" and enabling "Override software rendering list".

Suggestions for catching this problem
We should throw some warnings at users since it may be difficult to know what is going on from a user's perspective. Some of the three.js examples had some way of checking that WebGL was not turned on, although its warning message was ambiguous (i.e. "WebGL is not supported by your hardware", which is technically false since it was a problem with the settings in Chrome).

@aymanhab
Copy link
Member

Thanks @carmichaelong for the detailed description. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants