Howto enable WebGL on Firefox 4

WebGL is a Web-based Graphics Library. It extends the capability of the JavaScript programming language to allow it to generate interactive 3D graphics within any compatible web browser.

WebGL is a context of the canvas HTML element that provides a 3D computer graphics API without the use of plug-ins.


After recent installation of firefox 4 i am getting the following error message

This Browser does not support WebGL


First you need to install the following package

sudo apt-get install libosmesa6

After installing above package open your browser and type about:config address bar and search for webgl.osmesalib now you need to add string type as /usr/lib/

Finall restart your firefox

You can check if webgl is working or not go to and play 360° Video.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s