Closed Bug 1296733 Opened 8 years ago Closed 6 years ago

Investigate potential Mesa races with GL layers and WebGL tests

Categories

(Core :: Graphics, defect)

50 Branch
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: acomminos, Assigned: acomminos)

References

Details

Attachments

(1 file)

There are a few new intermittents for non-e10s WebGL mochitests after bug 594876 enabled GL layers by default on TaskCluster instances. As these issues only seem to surface in non-e10s tests, I suspect that we're running into some raciness in LLVMPipe with the compositor and content both using a GL context.

Here are some ones I've seen so far;

> TEST-UNEXPECTED-FAIL | dom/canvas/test/webgl-conf/generated/test_conformance__textures__video__tex-2d-rgba-rgba-unsigned_byte.html | application terminated with exit code 11

> TEST-UNEXPECTED-FAIL | dom/canvas/test/webgl-conf/generated/test_conformance__textures__video__tex-2d-rgb-rgb-unsigned_byte.html | application terminated with exit code 11

> TEST-UNEXPECTED-FAIL | dom/canvas/test/webgl-conf/generated/test_conformance__ogles__GL__functions__functions_025_to_032.html | application terminated with exit code 11 

> SUMMARY: AddressSanitizer: 288 byte(s) leaked in 4 allocation(s).

The good news is that we won't permit acceleration with LLVMPipe in nightlies, only on the test infrastructure. It might be worth disabling layers acceleration for WebGL mochitests on non-e10s builds for now.
It appears that LLVMPipe is known to lack thread safety, at least with the version we're using. There's a commit included in Mesa 10.4 that claims to fix it up;

https://lists.freedesktop.org/archives/mesa-dev/2014-July/063248.html

Let's turn off these tests for now, and investigate an upgrade path to Mesa 10.4.
Comment on attachment 8783040 [details]
Bug 1296733 - Disable layers acceleration for WebGL mochitests on Linux.

https://reviewboard.mozilla.org/r/73012/#review70802
Attachment #8783040 - Flags: review?(jmuizelaar) → review+
Pushed by acomminos@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b394fa844080
Disable layers acceleration for WebGL mochitests on Linux. r=jrmuizel
The leave-open keyword is there and there is no activity for 6 months.
:davidb, maybe it's time to close this bug?
Flags: needinfo?(dbolter)
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Flags: needinfo?(dbolter)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: