Closed
Bug 1322818
Opened 8 years ago
Closed 7 years ago
Reenable the layout/reftests/bugs/1114526-1.html reftest
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla54
Tracking | Status | |
---|---|---|
firefox53 | --- | affected |
People
(Reporter: kats, Assigned: kats)
References
Details
(Whiteboard: [gfx-noted])
Attachments
(2 files)
In the interest of getting some reftest jobs running on TreeHerder sooner rather than later, I disabled the layout/reftests/bugs/1114526-1.html reftest in bug 1319188. This bug is to re-enable it after figuring out why it intermittently fails. In the failure cases it seems to loop indefinitely.
Assignee | ||
Comment 1•7 years ago
|
||
For the record, here's an instance of the failure in question: https://treeherder.mozilla.org/logviewer.html#?job_id=32475943&repo=try#L9079
Assignee | ||
Comment 2•7 years ago
|
||
I was able to reproduce this locally with rr chaos mode, and it looks like there's an invalid region set on a WebRenderPaintedLayer that seems to never get cleared. As a result, the LayerTreeInvalidation code keeps producing an invalid region from [1] and the harness keeps painting, never actually firing the MozReftestInvalidate event. I suspect we need to be clearing the invalid region somewhere inside Render(), or something. [1] http://searchfox.org/mozilla-central/rev/594937fec2e2fc45fa9308ba2fb964816631f017/gfx/layers/LayerTreeInvalidation.cpp#212
Assignee | ||
Comment 3•7 years ago
|
||
Turns out the invalid region is getting set here (attached stack). My line numbers might be off since they local changes, but frame 3 is at http://searchfox.org/mozilla-central/rev/594937fec2e2fc45fa9308ba2fb964816631f017/layout/painting/FrameLayerBuilder.cpp#4625
Assignee | ||
Comment 4•7 years ago
|
||
After chasing this some more I think it might boil down to the fact that in non-WR builds, we don't fire a DidComposite message when we do a snapshot into a DrawTarget. In WR builds we do. The DidComposite message triggers the MozAfterPaint event which interferes with the reftest harness.
Assignee | ||
Comment 5•7 years ago
|
||
Hopefully this fix is solid enough: https://treeherder.mozilla.org/#/jobs?repo=try&revision=28bab9af267b2cba506a687e72da289d7298ef4e
Assignee | ||
Comment 6•7 years ago
|
||
^ That made things worse, not better. I'll have to dig into this more, but not right now.
Assignee: bugmail → nobody
Assignee | ||
Comment 7•7 years ago
|
||
I tried reproducing this again locally but didn't see it. It might have gotten fixed already. Try push to see if it's still happening on tryserver: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e2694239134b258dc51c1353c5a7a90550b03467
Assignee: nobody → bugmail
Comment hidden (mozreview-request) |
Pushed by kgupta@mozilla.com: https://hg.mozilla.org/projects/graphics/rev/6bfcb75c9120 Re-enable skipped reftest that seems to be passing consistently now. r=gfx?
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•7 years ago
|
Target Milestone: --- → mozilla54
Assignee | ||
Comment 10•7 years ago
|
||
mozreview-review |
Comment on attachment 8831298 [details] Bug 1322818 - Re-enable skipped reftest that seems to be passing consistently now. ? https://reviewboard.mozilla.org/r/107854/#review131010
Attachment #8831298 -
Flags: review+
Assignee | ||
Updated•7 years ago
|
Attachment #8831298 -
Flags: review?(graphics-team)
You need to log in
before you can comment on or make changes to this bug.
Description
•