———how to get over this kind of error on windows XP: “sorry, graphic card does not support WebGL”
Windows XP has a graphic card blacklist to prevent crash caused by webGL, so we should set browser to ignore the blacklist.
Premises: windows XP; Browser version high enough to support WebGL.
1.Firefox’s way:
Firefox about:config
force-enable blocked graphics features
If you would like to forcibly enable a graphics feature that is blocked on your system, follow these instructions.Warning: do this at your own risk. There usually are good reasons why features are blocked.
To force-enable WebGL, go to about:config and set webgl.force-enabled=true.
To force-enable Layers Acceleration, go to about:config and set layers.acceleration.force-enabled=true.
On Windows Vista and Windows 7, to force-enable Direct2D Content Acceleration, go to about:config and setgfx.direct2d.force-enabled=true.
In Firefox 4 and 5 (not in Firefox 6 and newer), on X11 platforms (like Linux), the driver blacklist is implemented differently and bypassing it requires you to also define theMOZ_GLX_IGNORE_BLACKLIST environment variable. You can run Firefox using this command line:
MOZ_GLX_IGNORE_BLACKLIST=1 firefox
https://wiki.mozilla.org/Blocklisting/Blocked_Graphics_Drivers
2.chrome’s way
(1) about:flags
try going to ‘about:flags’ url and enabling “GPU accelerated compositing” , works for me now. I remember it enabled by default when installing chrome on my old macbook pro but for some reason it is disabled by default using chrome and 2011 mbp.
http://code.google.com/p/webgl-globe/issues/detail?id=1#c6
(2)set start up command:
http://code.google.com/p/chromium/issues/detail?id=72975
You can check whether WebGL now works at: http://doesmybrowsersupportwebgl.com