Closed
Bug 1297537
Opened 8 years ago
Closed 8 years ago
Avoid calling glXWaitGL in GLContextGLX::SwapBuffers
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: acomminos, Assigned: acomminos)
References
Details
Attachments
(1 file)
Some talos profiling has discovered that glXWaitGL is blocking for far longer than it should [1]. According to a KWin bug, glXWaitGL waits until the next VBlank on NVIDIA [2].
Considering that we don't require X and GL rendering synchronization since we no longer use XRender, we should remove this call.
[1] https://treeherder.mozilla.org/perf.html#/compare?originalProject=fx-team&originalRevision=3b7148db9a79&newProject=try&newRevision=0731b6a5d38a&framework=1&showOnlyImportant=0
[2] https://bugs.kde.org/show_bug.cgi?id=303397
Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
mozreview-review |
Comment on attachment 8784159 [details]
Bug 1297537 - Avoid calling glXWaitGL in GLContextGLX::SwapBuffers.
https://reviewboard.mozilla.org/r/73710/#review71576
Attachment #8784159 -
Flags: review?(jgilbert) → review+
Pushed by acomminos@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dfb4628966be
Avoid calling glXWaitGL in GLContextGLX::SwapBuffers. r=jgilbert
Comment 4•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Comment 5•8 years ago
|
||
== Change summary for alert #2690 (as of August 23 2016 23:36 UTC) ==
Summary of tests that regressed:
ts_paint linux64 opt: 1374.62 -> 1545.17 (12.41% worse)
Summary of tests that improved:
tpaint linux64 opt: 331.57 -> 301.63 (9.03% better)
tresize linux64 opt: 41.15 -> 32.88 (20.08% better)
For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=2690
Comment 6•8 years ago
|
||
as a note, tp5o is added to the list.
tpaint and tresize are about halfway fixed, tp5o seems to be fixed completely. odd that ts_paint is worse.
Comment 7•8 years ago
|
||
is there any reason why this would not be showing up on Aurora? As it stands we have improvements on trunk and during the merge of 51 to Aurora we do not see these improvements. I couldn't see any config issues related to the specific line or file that was edited, maybe there is a larger config issue for GL to be on trunk only.
You need to log in
before you can comment on or make changes to this bug.
Description
•