From Fedora Project Wiki

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

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

  1. 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
  2. Ensure the file /etc/X11/xorg.conf does not exist, or is a valid file that uses the nouveau 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: http://www.doesmybrowsersupportwebgl.com/ to get informations about your WebGL setup.
  2. Open: http://www.izigoo.com/izigoo/start.php
    1. Run all demos, one by one.
    2. 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.
  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.