How To Enable WebGL In Chrome On Ubuntu?

For WebGL to work in Google Chrome (and Chromium), Here are the steps to enable WebGL in Google Chrome.

Step 1: Open Google Chrome

Step 2: Type chrome://flags in the address bar

Step 3: Press Ctrl + f and type ” Rendering list “, “Override software rendering list” should come up, Now click on Enable and restart the browser.

Step 4: Completely kill Chrome: Type killall chrome into a console.

Step 5: Go to chrome://settings and enable Use hardware acceleration when available. By default it is off since version 43.

Step 6: Start Chrome

enter image description here

Now check chrome://gpu/

enter image description here

http://webglreport.com/

enter image description here

Source


If you still don't get any results, check if hardware-acceleration is enabled in Chromium settings, Google tends to disable this setting by default since version 43. In this case that was the problem for me after I updated GPU drivers, overrode the GPU blacklist, and so and so.


Maybe too old your video driver or not installed properly.

I had same problem too, but this solution fixed my problem without overrides!

  1. To add PPA for Ubuntu 14.04 / 13.10 / 13.04 / 12.10

    Ubuntu 14.04 / 13.10 / 13.04 / 12.10 users, Run the following command in the terminal and type the password for the user when prompted. Others use the Ubuntu-X PPA.

    sudo apt-add-repository ppa:xorg-edgers/ppa
  2. To add PPA for Ubuntu 12.04 / 11.10 / 11.04 / 10.04

    sudo apt-add-repository ppa:ubuntu-x-swat/x-updates

    After adding the PPA, update your system repository.

  3. To Update

    sudo apt-get update

    Now install the NVIDIA GeForce graphics driver 304.108 in your system, as you install other packages by using apt-get.

  4. To Install

    sudo apt-get install nvidia-current nvidia-settings

    Above command will install the driver.


Source: http://www.howopensource.com/2012/10/install-nvidia-geforce-driver-in-ubuntu-12-10-12-04-using-ppa/