Ubuntu – Problem with running WebGL with Chrome

11.10google-chromeinstallationnvidiawebgl

I just setup ubuntu 11.10 on Dell XPS 15z by following the instruction from here:

Current status/known issues for DELL XPS 15z?

Everything seems ok until the point I failed to run openGL on chrome: http://get.webgl.org

This is the step I follow to setup the machine:

1) Add bumblebee ppa

2) install nvida-current from restricted drivers

3) install bumblebee (remember to "sudo usermod -a -G bumblebee YOURUSERNAME" as said by the bumblebee readme)

4) install mesa-utils

5) reboot

6) try intel card with terminal command "glxspheres"

7) try nvidia card with terminal command "optirun glxspheres"

While the step 7 is success, but step 6 was failed with following error message:

Xlib: extension "GLX" missing on display ":0".

When I run "glxinfo|grep OpenGL", it prompts

"Xlib: extension "GLX" missing on display ":0"."

This is my /etc/X11/xorg.conf

Section "Device"

    Identifier      "Default Device"

    Option  "NoLogo"        "True"

EndSection

I have turned on webgl support for chrome as well.

Fairly new to this, how could I fixed this?

Best Answer

As the title does not mention NVidia, (and for those who can run WebGL on Firefox but can't on Chrome) another option is to try enable Override rendering software list in

chrome://flags

Hope it helps