Does webgl work on chrome on a mac?

45,961

Solution 1

Enable "Use hardware acceleration when available" in the Chrome settings.

I had the same problem on a mid-2012 Macbook Air. Here's how I fixed it.

  • Go to chrome://settings/
  • "Show advanced settings" (link at the bottom)
  • System (second-to-last at the bottom)
  • Enabled the checkbox for "Use hardware acceleration when available."
  • Restart Chrome (required for me)

Solution 2

Having the same issue today on a MB with OSX 1.7.5. I guess that there are many reasons why Webgl could be unsupported. Having your OS/browser updated does not mean your system (i.e. your graphic card) does support webgl. Try opening chrome://gpu/ in Chrome and read through the problems detected.

More on this here.

Solution 3

Time has passed and Chrome got to version 54 so I thought I could add an update (and group some of the answers around here):

  1. First of all, make sure that hardware acceleration is enabled in the advanced settings (as Paul mentioned).
  2. Check chrome://gpu to get an idea what the problem might be. Under Problems detected, you get quite some information that can point you in the right direction.
  3. Do not panic if you can't find the #Disable-WebGL flag anymore, because they got rid of it.
  4. If you find something like

    GPU process was unable to boot: All GPU features are blacklisted.
    Disabled Features: all

    under Problems detected and you are sure it used to work in earlier versions of chrome, you might consider to enable #ignore-gpu-blacklist under chrome://flags with extreme caution!

Solution 4

Maybe just enable the "Override software rendering list" (#ignore-gpu-blacklist) :

https://apple.stackexchange.com/questions/150212/hardware-acceleration-for-flash-videos-in-google-chrome

It fixed this bug for me on OS X 10.9.5, Chrome v38.0.2125.101

Solution 5

Chrome definitely supports WebGL on OSX, and I can confirm that your Mac should work just fine. (I use one to develop WebGL in Chrome!)

It sounds as if you may have accidentally disabled it somehow? Check in chrome://flags and see if "Disable WebGL" flag has been set. Also, take a peek at chrome://gpu and see if it's showing any messages indicating why WebGL may be disabled.

Share:
45,961
chadn
Author by

chadn

Updated on July 15, 2022

Comments

  • chadn
    chadn almost 2 years

    I got webgl to work on safari, but can't get it to work on chrome. I use this to test

    http://get.webgl.org/

    On safari, it works only after enabling webgl, see http://support.apple.com/kb/PH11926

    On chrome, it says "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"

    I was hoping there might be a way to enable webgl in chrome the way it's enabled in safari.

    I am on Mac OS X 10.8.2, using Macbook pro retina (NVIDIA GeForce GT 650M), Chrome version 24.0.1312.57. My video card is not on a blacklist (but not on any whitelist, either) www.khronos.org/webgl/wiki/BlacklistsAndWhitelists