Implementations/Firefox: Difference between revisions

From WebGL Public Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Availability ==
== Availability ==


* Installation instructions:
* Just [http://www.mozilla.com/products/download.html install Firefox]. WebGL is enabled by default in Firefox 4 and newer versions.
# Download a [http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ Firefox nightly build]
* If you do not get WebGL, the most likely reason is that [https://wiki.mozilla.org/Blocklisting/Blocked_Graphics_Drivers your graphics driver is blocked]. Updating it will typically solve the problem. That page also explains how to force-enable WebGL if necessary. If that still doesn't work, that probably means that your hardware or driver is not OpenGL 2.1/Direct3D 9/OpenGL ES 2.0 capable.
# Open about:config and search for "webgl"
* Troubleshooting information can be found on the about:support page in Firefox.  
# Double-click the "enabled_for_all_sites" preference to change it to "true"
* Software rendering can be used through OSMesa (off-screen Mesa), by setting the "webgl.osmesalib" variable to point to the OSMesa shared library. That is typically libOSMesa.so.6 on Linux, OSMESA32.DLL on Windows, etc.
 
* Requires an OpenGL 2.0-capable GPU and drivers. In particular, most flavours of Intel's integrated GPUs will not work (such as the GMA900/GMA950 often found in laptops).
* If OpenGL is not available, or for testing/debugging purposes, software rendering can be used through OSMesa (off-screen Mesa), by setting the "webgl.osmesalib" variable to point to the OSMesa shared library (typically /usr/lib/libOSMesa.so). Note that the OSMesa library is required to use "gl" prefixes, not "mgl".


== Status ==
== Status ==

Latest revision as of 01:44, 10 April 2011

Availability

  • Just install Firefox. WebGL is enabled by default in Firefox 4 and newer versions.
  • If you do not get WebGL, the most likely reason is that your graphics driver is blocked. Updating it will typically solve the problem. That page also explains how to force-enable WebGL if necessary. If that still doesn't work, that probably means that your hardware or driver is not OpenGL 2.1/Direct3D 9/OpenGL ES 2.0 capable.
  • Troubleshooting information can be found on the about:support page in Firefox.
  • Software rendering can be used through OSMesa (off-screen Mesa), by setting the "webgl.osmesalib" variable to point to the OSMesa shared library. That is typically libOSMesa.so.6 on Linux, OSMESA32.DLL on Windows, etc.

Status

  • Context name: experimental-webgl
  • See bug list for known open issues

Reporting Bugs

Please use Mozilla's Bugzilla for reporting bugs in the Firefox WebGL implementation.