Closed
Bug 1137905
Opened 8 years ago
Closed 8 years ago
Enable vsync compositor on OS X
Categories
(Core :: Graphics, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: mchang, Assigned: mchang)
References
()
Details
Attachments
(1 file)
1.17 KB,
patch
|
kats
:
review+
|
Details | Diff | Splinter Review |
Turn on the vsync compositor on OS X.
Assignee | ||
Comment 1•8 years ago
|
||
Landing the vsync compositor on os x. Waiting for bug 1128690 to land first, then will land this.
Attachment #8570710 -
Flags: review?(bugmail.mozilla)
Assignee | ||
Comment 2•8 years ago
|
||
Try result - https://treeherder.mozilla.org/#/jobs?repo=try&revision=55d3493940ba
Updated•8 years ago
|
Attachment #8570710 -
Flags: review?(bugmail.mozilla) → review+
Assignee | ||
Comment 3•8 years ago
|
||
From http://compare-talos.mattn.ca/dev/?oldBranch=Try&oldRevs=742011f28b13&newBranch=Try&newRev=55d3493940ba&submit=true Two talos regressions. 1 on tresize, and another on tscrollx. The tscrollx regression goes away once we enable the refresh driver from https://bugzilla.mozilla.org/show_bug.cgi?id=1128690#c7.
Assignee | ||
Comment 4•8 years ago
|
||
Also looks like CanvasMark is "higher is better". So we improve CanvasMark a bit in this case, and I can't reproduce the 1ms regression on tresize. Waiting on try to hopefully get a profile.
Assignee | ||
Comment 5•8 years ago
|
||
Two profiles scrolling engadget: silk: http://people.mozilla.org/~bgirard/cleopatra/#report=d6f32f5cdfd38a068ff2de45637f30b77aebb55b off http://people.mozilla.org/~bgirard/cleopatra/#report=e43e4b5c6ae6995202bd24be8d7f9883fc1e5432 Silk w/ compositor only sometimes misses a composite and janks because the refresh driver finishes late and we wait until the next vsync. This is the same problem we have on b2g [1], but is fixed by the vsync refresh driver. Otherwise, the composite uniformity is a lot better. [1] https://dxr.mozilla.org/mozilla-central/source/gfx/layers/ipc/CompositorParent.cpp?from=CompositorParent.cpp#270
Assignee | ||
Comment 6•8 years ago
|
||
A final check before landing this, based on parent 43fb1f92e8d4 https://treeherder.mozilla.org/#/jobs?repo=try&revision=fdc0cdab1b58
Assignee | ||
Comment 7•8 years ago
|
||
From https://bugzilla.mozilla.org/show_bug.cgi?id=1123762#c31 Asking for QA check before landing.
Flags: needinfo?(nhirata.bugzilla)
Assignee | ||
Comment 8•8 years ago
|
||
From irc, ask Marcia Knous for a QA check. @Marcia - You can test this on OS X by going into about:config and setting these two prefs to true: gfx.vsync.compositor gfx.vsync.hw-vsync.enabled Can you please test this to make sure everything looks ok to you? It's a high risk patch, thanks!
Flags: needinfo?(nhirata.bugzilla) → needinfo?(mozillamarcia.knous)
Comment 9•8 years ago
|
||
Sorry Mason - I don't handle testing the graphics area of QA at the moment. If you post a link to the tryserver build, I can try to get some community eyes on it if that will help.
Flags: needinfo?(mozillamarcia.knous)
The change has very little to do with graphics specifically -- it will affect literally all aspects of the browser. Flipping the pref and going through any QA work would be valuable for this change.
Assignee | ||
Comment 11•8 years ago
|
||
I've had a few people test this daily for the past couple of days. I've been running it for about three weeks on nightly and dev-edition. So far it has been pretty stable, but yes if QA can test that would be great. https://hg.mozilla.org/integration/mozilla-inbound/rev/4f5c077c2831
Comment 12•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4f5c077c2831
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
Comment 13•8 years ago
|
||
after uplifting to aurora, we see a 5.6% osx 10.6 regression for the tresize test. I am not sure if that is related to this. How could we determine this is[not] the cause? here is a graph highlighting the regression: http://graphs.mozilla.org/graph.html#tests=[[254,52,21],[254,63,21]]&sel=1425949157752.5168,1427158615295.798,15.245901639344261,26.557377049180328&displayrange=30&datatype=geo odd we didn't see any alerts generated for this.
Flags: needinfo?(mchang)
Assignee | ||
Comment 14•8 years ago
|
||
(In reply to Joel Maher (:jmaher) from comment #13) > after uplifting to aurora, we see a 5.6% osx 10.6 regression for the tresize > test. I am not sure if that is related to this. How could we determine > this is[not] the cause? > > here is a graph highlighting the regression: > http://graphs.mozilla.org/graph.html#tests=[[254,52,21],[254,63, > 21]]&sel=1425949157752.5168,1427158615295.798,15.245901639344261,26. > 557377049180328&displayrange=30&datatype=geo > > odd we didn't see any alerts generated for this. Hmm, I'm confused. Why was this uplifted to aurora? It shouldn't have been. This should only be enabled on 39. Are those charts on aurora on Gecko 38? It looks like it has also merged back to equal as of two days ago? In terms of actually causing a regression, this could be the cause. You can check by setting these preferences to false: gfx.vsync.hw-vsync.enabled gfx.vsync.compositor gfx.vsync.refreshdriver A lot of the discussion for tresize is in bug 1138502, which should've fixed most of it. Just to make sure though, why was this uplifted to aurora? Aurora should be 39 now, so there shouldn't have been any uplifts..
Flags: needinfo?(mchang)
Comment 15•8 years ago
|
||
I don't think this patch was specifically landed on aurora, we uplifted v.39 from trunk -> aurora on Monday March 30th, so as this is on 39 it is on aurora. On Aurora our values have changed since the uplift: http://graphs.mozilla.org/graph.html#tests=[[254,52,21]]&sel=1425493731300,1428085731300&displayrange=30&datatype=geo should I push to try with those preferences set to false to see if that fixes the issue on aurora?
Assignee | ||
Comment 16•8 years ago
|
||
(In reply to Joel Maher (:jmaher) from comment #15) > I don't think this patch was specifically landed on aurora, we uplifted v.39 > from trunk -> aurora on Monday March 30th, so as this is on 39 it is on > aurora. On Aurora our values have changed since the uplift: > http://graphs.mozilla.org/graph.html#tests=[[254,52,21]]&sel=1425493731300, > 1428085731300&displayrange=30&datatype=geo > > should I push to try with those preferences set to false to see if that > fixes the issue on aurora? Sure, we can see if this is the issue. So what I think this means is that 39 regressed versus 38 then? We're comparing aurora 38 vs aurora 39 right?
Comment 17•8 years ago
|
||
yes, this would be aurora 38 (last week) to aurora 39 (this week).
Assignee | ||
Comment 18•8 years ago
|
||
Hmm, I wonder why the emails didn't get sent. We should have a known 3% due to this, that we really can't do much about. When I investigated it, the 3% regression wasn't "real" in the sense that the compositor just had lucky timing before versus now we wait for vsync. See http://compare-talos.mattn.ca/dev/?oldBranch=Try&oldRevs=b77ed0031ed6&newBranch=Try&newRev=c2ee333a0503&submit=true The other 3%, not really where it came from.
Comment 19•8 years ago
|
||
ok, sounds like this is known and accepted! thanks for the info.
Assignee | ||
Comment 20•8 years ago
|
||
(In reply to Joel Maher (:jmaher) from comment #19) > ok, sounds like this is known and accepted! thanks for the info. Yeah 3% should be known, the other 3% I don't really know. You can try disabling it and see if it actually covers all 6%, versus the other 3% went somewhere else.
You need to log in
before you can comment on or make changes to this bug.
Description
•