Description
WebGL (Web Graphics Library) is a JavaScript API for rendering interactive 3D graphics and 2D graphics within any compatible web browser without the use of plug-ins.
This test case tests WelGL in Firefox with your GPU. You must be using a card supported by the nouveau video driver.
Setup
- Ensure the nomodeset and nouveau.modeset=0 kernel parameters are not set in your bootloader configuration
- You can see your current kernel options by running
cat /proc/cmdline
- You can see your current kernel options by running
- Ensure the file
/etc/X11/xorg.conf
does not exist, or is a valid file that uses the nouveau driver - Shut your system down entirely, then start it up again
- If using a live image to test, ignore the above steps and simply boot the system from the live image with default options
- Ensure that
glxinfo | grep 'OpenGL renderer'
does not return OpenGL renderer string: Software Rasterizer or llvmpipe
Firefox has an blacklist of GPUs, you can override it. Open "about:config" and set both "webgl.force-enabled" and "layers.acceleration.force-enabled" to 'true'. If you get any problems during testing, try disabling "layers.acceleration.force-enabled" first.
How to test
- Visit: http://www.doesmybrowsersupportwebgl.com/ to get informations about your WebGL setup.
- Open: http://www.izigoo.com/izigoo/start.php
- Run all demos, one by one.
- If you can't run any demo, allow Javascript from izigoo.com in noScript and you have trouble with playing video, add izigoo.com to whitelist in Flashblock.
- You can test randomly more demos on following pages:
- http://www.chromeexperiments.com/webgl
- http://www.webglearth.com/
- http://www.sketchfab.com/
- http://www.webgl-publisher.com/
Expected Results
- The Firefox running WebGL should not crash at any point. If you encounter any crash, think about reporting it against Firefox component. Remember, if you have 'force-enabled' WebGL on your blacklisted GPU.
- There should be no obvious misrendering (flickering, transparent walls, polygons instead of surfaces...).
- You can see reflections on surfaces and shadows, if available and enabled). If you see distinct polygons instead of smooth surfaces, this is a rendering bug.
- FPS should be usable and stable on any modern GPU.