Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I turn on WebGL in Firefox 4 Beta?

  • 21 பதிலளிப்புகள்
  • 2837 இந்த பிரச்னைகள் உள்ளது
  • Last reply by raptorninja

Hi - how do I turn on WebGL in the new Firefox4 Beta? thanks Nic

This happened

Every time Firefox opened

Hi - how do I turn on WebGL in the new Firefox4 Beta? thanks Nic == This happened == Every time Firefox opened

தீர்வு தேர்ந்தெடுக்கப்பட்டது

as can be found in this article:

- Type “about:config” in your browser’s URL bar - Do a search for “webgl” in the Filter field - Double-click the “enabled_for_all_sites” preference to change it to “true”

that should do it...

Read this answer in context 👍 3

All Replies (20)

தீர்வு தேர்ந்தெடுக்கப்பட்டது

as can be found in this article:

- Type “about:config” in your browser’s URL bar - Do a search for “webgl” in the Filter field - Double-click the “enabled_for_all_sites” preference to change it to “true”

that should do it...

I followed the instructions with no different result.

I've had tried theses instructions with no results too. The firefox's demo is writing that "Could not initialise WebGL, sorry :-("

The solution was not applicable. The boolean was already 'true' in my installation. However when I try to use google body browser it behaves like I don't have webGL. When I try and run a demo of webGL it says: "Could not initialise WebGL, sorry :-("

What's the problem here. My graphics car/driver isn't supported?

If you have problems with WebGL then set the pref webgl.verbose to true to see error messages in the "Tools > Error Console"
You may have an unsupported graphics display card.
You may need to enable the "Tools > Error Console" (pref devtools.errorconsole.enabled true)

For me the WebGl doesn´t work until I update the video drivers. Try It.

You can take a look for troubleshooting at:

So i have used the about:config changed all parameters to true however to no success when testing the webgl on google body 3d still no response . So i decided just to be a little bit of a traitor and test the Google Chrome browser, and surprise surprise the webgl in the google body 3d worked !!! so I strongly do not believe the graphics card has much to do with this problem , although maybe just because its a google product working the gb3d . but it also worked with other websites with this webgl , not only the gb3d . Maybe Firefox has not quite yet worked around this problem ?!?!?


For some people, installing the DirectX runtime may help. This allows Firefox to use an alternate rendering path that might be better supported on their system, especially on systems with Intel GPUs. Mozilla are working on removing the need for this separate install in a future build.The DirectX runtime is available from

This info obtained from

I don't see those configs at all. I only see

webgl.disabled webgl.force-enabled webgl.force_osmesa webgl.osmesalib webgl.prefer-native-gl webgl.shader_validator webgl.verbose

I'm using Firefox 4.0b11

Do you see any error messages at the bottom of the Help > Troubleshooting Information page about WebGL?

For WebGL Renderer it just says it is unavailable...

WebGL requires that your system has OpenGL ES 2.0 drivers. For systems who don't have these drivers(I also don't have these drivers.) can try using OpenGL Emulators like OSMESA32.dll. Complete detail is on this article - Scroll down on the article till you find: "For those of you on Windows who don’t have an up to date OpenGL driver, or don’t have the possibility of getting one ......................................................Then, flip webgl.software_rendering to true, and you should be good to go."

Follow the instructions on the article

For me this works. webgl.disabled false webgl.force-enabled true webgl.force_osmesa false webgl.prefer-native-gl false webgl.shader_validator true webgl.verbose true

To Enable WebGL:

1. Type about:config in your browser

2. Mouse Right-Click

3. Choose New - Boolean

4. Type in new appeared window: webgl.enabled_for_all_sites

   Enable = True

5. Restart Firefox.....

6. Goto and give it a try.

For more information, goto:


I have the same problem; I am using KUBUNTU 10.10 as OS

The pref webgl.enabled_for_all_sites is no longer used in Firefox 4.

I see these in the source code referenced:

webgl.disabled (f)(global)
webgl.enabled (t)
webgl.force-enabled (f)
webgl.force_osmesa (f)
webgl.prefer-egl (u)
webgl.prefer-native-gl (f)

You can try to toggle the pref webgl.prefer-native-gl to true.

You can also check the Help > Troubleshooting Information page for error messages (look at the bottom).


I solved this problem in this way:

Firefox 4 RC:

  1. Type about:config
  2. Type in the search box webgl
  3. webgl.force-enabled = true
  4. visit refresh the page and enjoy!

alcasistemi மூலமாக திருத்தப்பட்டது

Fair enough try; what videocard and drivers do you happen to have, Apple ATI X600 (G4 iMac?) You can always try a particular workaround per the (thanks, Geoplace) FAQ (using GreaseMonkey to auto-insert it, for example):

"Old ATI graphics drivers

For certain old ATI graphics drivers, in particular those shipped with HP computers, you may find that textures do not appear when you display WebGL pages unless those pages include this JavaScript code:


The code is actually invalid WebGL, gl.TEXTURE_2D should not be accepted by gl.enable. However, there is a bug in some graphics drivers that makes it necessary to put the code in if you want WebGL to work.

Your best bet is to update your drivers if you can. "

WebGL is turned on by default in Firefox 4.

To check if it's working for you, go to:

If it's not working for you, that means that either you don't have Direct3D 9 / OpenGL 2.1+ / ES2.0+ drivers, or your driver is getting blacklisted.

If you're getting blacklisted, see this wiki page:

It explains how to force-enable WebGL if you want to.

At about:config I set webgl.force-enabled and webgl.prefer-native-gl to true. Also created a webgl.enabled_for_all_sites boolean and set it true (just in case it's needed?). Still it failed to work.

I then updated my graphic drivers (got the new GeForce/ION drivers) - restarted browser. Now it works :)

  1. 1
  2. 2