From Fedora Project Wiki

Revision as of 01:19, 23 April 2013 by Martix (talk | contribs) (Created page with "{{Testcase_video_3D_WebGL|driver=radeon|module=radeon}} Category:Package_xorg-x11-drv-ati_extended_test_cases")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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 radeon video driver.


  1. Ensure the nomodeset and radeon.modeset=0 kernel parameters are not set in your bootloader configuration
    • You can see your current kernel options by running cat /proc/cmdline
  2. Ensure the file /etc/X11/xorg.conf does not exist, or is a valid file that uses the radeon driver
  3. Shut your system down entirely, then start it up again
  4. If using a live image to test, ignore the above steps and simply boot the system from the live image with default options
  5. 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

  1. Visit: to get informations about your WebGL setup.
  2. Open:
    1. Run all demos, one by one.
    2. If you can't run any demo, allow Javascript from in noScript and you have trouble with playing video, add to whitelist in Flashblock.
  3. You can test randomly more demos on following pages:

Expected Results

  1. 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.
  2. There should be no obvious misrendering (flickering, transparent walls, polygons instead of surfaces...).
  3. 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.
  4. FPS should be usable and stable on any modern GPU.