Thursday, January 13, 2011

Attempting to Enable WebGL on Ubuntu

I wanted to preview Google's new body browser on my Ubuntu workstation.  I am using Ubuntu meerkat with an ATI x1300 graphics card using the open source driver (I believe -- glxinfo | grep render shows direct rendering using Mesa DRI).

First I installed the Chrome beta channel.  When I ran /opt/google/chrome/chrome --enable-webgl and went to the body browser website above and found this error in the command window. cannot open shared object file: No such file or directory
So I installed libegl1-mesa to make sure that I had the driver installed.  I still had the same problem and when I ran 'locate libEGL' it found /usr/lib/ and /usr/lib/ but no  All I did was create a symbolic link 'ln -s  /usr/lib/ /usr/lib/

When I restarted chrome with the --enable-webgl parameter and went to the website I got a different error.
libEGL warning: unable to load
On the page it looked like Chrome froze waiting to load the textures and content.

Let me know if anyone gets this to work further.