[Mesa-dev] WebGL test suite, and whitelisting drivers / OpenGL implementations in Firefox

Alex Buell alex.buell at munted.org.uk
Mon Jan 17 06:13:40 PST 2011

On Mon, 2011-01-17 at 08:57 -0500, Benoit Jacob wrote:
> On 01/17/2011 08:28 AM, Alex Buell wrote:

> There are two possible reasons for this.
>   * first, can you please go to about:config and check that 
> webgl.enabled_for_all_sites is true.
>   * otherwise, that means that WebGL contexts fail to initialize. We 
> require OpenGL 2.1, and once we get a OpenGL context, we perform a few 
> basic tests for e.g. the number of texture image units.
> Do you see any error message in the terminal, or in Firefox's error 
> consosle (Ctrl+Shift+J) ?
> > I guess Gentoo needs to add OSMesa to their list of packages to
> > test.
> If you want to use OSMesa for WebGL rendering, you need to let Firefox 
> know about the library filename by going to about:config and setting 
> webgl.osmesalib (for example libOSMesa.so.6)

Following advice from Gentoo, I used the following:


WebGL is definitely enabled, now when I load the URL FF4 crashes with
the following error:

"failed to create drawable"

I'm definitely running Gallium 0.4 on llvmpipe, and Mesa 7.10 (OpenGL
Tactical Nuclear Kittens

More information about the mesa-dev mailing list