How to Enable Webgl in Google Chrome on Ubuntu 12.10

By | May 20, 2023

By default google chrome would keep webgl features disabled if your gpu driver does not support 3d acceleration. However there are options to force enable it. To enable webgl in Google Chrome launch it with the following flags

--enable-webgl --ignore-gpu-blacklist

Here is the command:

$ google-chrome --enable-webgl --ignore-gpu-blacklist

Now test webgl by opening the following url

http://get.webgl.org/

It should show a spinning cube if webgl is working correctly.

Open the following url in chrome

about:chrome

OR

chrome://gpu/

It should show the following data

Graphics Feature Status

Canvas: Hardware accelerated
Compositing: Hardware accelerated
3D CSS: Hardware accelerated
CSS Animation: Accelerated
WebGL: Hardware accelerated
WebGL multisampling: Hardware accelerated
Flash 3D: Hardware accelerated
Flash Stage3D: Hardware accelerated
Texture Sharing: Hardware accelerated
undefined: Hardware accelerated

Note that even if webgl appears to be running, it might not be really hardware accelerated. It might still be relying on software based graphics acceleration use open source libraries like mesa.

About Silver Moon

A Tech Enthusiast, Blogger, Linux Fan and a Software Developer. Writes about Computer hardware, Linux and Open Source software and coding in Python, Php and Javascript. He can be reached at [email protected].

Leave a Reply

Your email address will not be published. Required fields are marked *