Howto enable WebGL on Firefox 4

http://www.ubuntugeek.com/

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.

Problem

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

This Browser does not support WebGL

Solution

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/libOSMesa.so.6

Finall restart your firefox

You can check if webgl is working or not go to https://demos.mozilla.org/en-US/ and play 360° Video.

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s