How to install WebCL and WebGL in Firefox on Ubuntu Linux 10.04

These are my notes on how to install WebCL and WebGL in Firefox 6.0 on Ubuntu Linux 10.04.

  1. Install Firefox 6 from http://firefox.com/
  2. Go to http://webcl.nokiaresearch.com/ and install the WebCL plugin
  3. Install libosmesa6 via synaptic or run sudo apt-get install libosmesa6
  4. Start firefox and go to the url “about:config”.
  5. Set webgl.force-enabled=true
    webgl.osmesalib=/usr/lib/libOSMesa.so.6
    webgl.prefer-native-gl=true
  6. Restart firefox
  7. Go to http://webcl.nokiaresearch.com/ again and run steps 3-5 to see if everything works.

If it doesn’t work, starting firefox from a terminal may help you. Runtime error messages from Firefox are displayed there.

Good luck!

2 thoughts on “How to install WebCL and WebGL in Firefox on Ubuntu Linux 10.04”

  1. @Steffe: Thanks so much! You saved my day
    @Aurium: In my case, webgl.force_osmesa=true causes some problems (FF13).

    Reply

Leave a Reply