Closed Bug 1149391 Opened 9 years ago Closed 9 years ago

Enable software vsync compositor on Linux

Categories

(Firefox OS Graveyard :: Performance, defect, P2)

ARM
All
defect

Tracking

(firefox40 fixed)

RESOLVED FIXED
2.2 S9 (3apr)
Tracking Status
firefox40 --- fixed

People

(Reporter: mchang, Assigned: mchang)

References

()

Details

Attachments

(1 file)

Enable the software vsync compositor on linux. Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=0be1a982c7fa
Onto enabling silk everywhere but with software fallbacks on Linux and Fennec. Then we can delete all the old scheduling mechanisms everywhere!
Attachment #8585884 - Flags: review?(bugmail.mozilla)
Comment on attachment 8585884 [details] [diff] [review]
Enable software vsync compositor on linux

Review of attachment 8585884 [details] [diff] [review]:
-----------------------------------------------------------------

::: modules/libpref/init/all.js
@@ +4653,5 @@
> +#if defined(XP_LINUX)
> +pref("gfx.vsync.hw-vsync.enabled", true);
> +pref("gfx.vsync.compositor", true);
> +#endif
> +

I know I could merge this with the ifdef for the compositor above, but the refresh driver preferences will merge in that block once we turn on the vsync refresh driver on windows.
Doesn't this need OMTC enabled first?
Comment on attachment 8585884 [details] [diff] [review]
Enable software vsync compositor on linux

Clearing for now
Attachment #8585884 - Flags: review?(bugmail.mozilla)
Linux nightly on e10s will use OMTC. Linux non-e10s will use the basic layer manager and composite on the main thread. So when we do enable OMTC, it will also use the software vsync compositor. On non-e10s, this should basically be a no-op.
Attachment #8585884 - Flags: review?(bugmail.mozilla)
Attachment #8585884 - Flags: review?(bugmail.mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/806abeb59e8f
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S9 (3apr)
Depends on: 1165462
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: