On 01/17/2011 09:13 AM, Alex Buell wrote:
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:

LIBGL_ALWAYS_SOFTWARE=1 MOZ_GLX_IGNORE_BLACKLIST=1 ./firefox -P
-no-remote

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
2.1)

This is reminiscent of
https://bugzilla.mozilla.org/show_bug.cgi?id=616416

which seems to be a 3-fold problem, with 2 problems on the Xorg side and 1 bug on Mozilla siden

bug 1, Xorg side: the "failed to create drawable" error itself
bug 2, Mozilla side: we fail to properly catch this error, working on this, we shouldn't try to continue with such an error
bug 3, Xorg side: shouldn't crash

Benoit
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to