Closed
Bug 1372409
Opened 7 years ago
Closed 7 years ago
Webrender can get stuck in a compositing loop
Categories
(Core :: Graphics: WebRender, defect)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox54 | --- | unaffected |
firefox55 | --- | unaffected |
firefox56 | --- | fixed |
People
(Reporter: mstange, Assigned: sotaro)
References
Details
Steps to reproduce:
1. Enable webrender, webrendest and the webrender profiler.
2. Go to https://bugzilla.mozilla.org/show_bug.cgi?id=1372299
3. In one swift motion, move your mouse over the link to the first attachment and click it.
Expected results:
As soon as the new page has loaded, we should stop compositing and the profiler overlay should come to a rest.
Actual results:
We keep compositing at 60fps, forever.
This does not happen if I rest my mouse on the link for a bit before I click the link.
I think this somehow has to do with the link target overlay in the bottom left corner of the window. It animates in and out as your mouse moves over links. If you click a link, maybe the animation is aborted before it's completed, and that causes us to think that there is still an animation running?
Comment 2•7 years ago
|
||
Looks like this is related to OMTA. The high cpu usage was gone after change gfx.webrender.omta.enabled as 0.
Assignee | ||
Comment 3•7 years ago
|
||
There were 2 causes of this bug.
[1] There is a case that no new transaction from WebRenderLayerManager.
DiscardCompositorAnimations() is called in the beginning of WebRenderLayerManager::EndTransactionInternal()
[2] At WebRenderBridgeParent, TOpAddCompositorAnimations was received after the animation removal.
The TOpAddCompositorAnimations was added during EmptyTransaction.
But the transaction was aborted by TransactionIncomplete. After that, the animation was removed.
Then WebRenderLayerManager did a new EndTransaction(), it triggered to send the TOpAddCompositorAnimations.
Assignee | ||
Comment 4•7 years ago
|
||
Bug 1372816 handles [2].
Assignee | ||
Comment 5•7 years ago
|
||
I did not see [1], since Bug 1372816 was addressed.
Assignee | ||
Comment 6•7 years ago
|
||
:mstange, can you confirm if this bug is fixed?
Flags: needinfo?(mstange)
Reporter | ||
Comment 7•7 years ago
|
||
I can no longer reproduce this bug. Looks like it's fixed, thanks!
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox54:
--- → unaffected
status-firefox55:
--- → unaffected
status-firefox56:
--- → fixed
Flags: needinfo?(mstange)
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in
before you can comment on or make changes to this bug.
Description
•