aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway-output.5.scd
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2020-03-02 15:30:50 +0100
committerLibravatar Drew DeVault <sir@cmpwn.com>2020-03-07 00:32:04 +0100
commit5d692b05811f939024fbf92c2e6eb7e66e0790dc (patch)
treeadc2973635c6a189e10d444da6d42337131afcf9 /sway/sway-output.5.scd
parentUse wlr_client_buffer (diff)
downloadsway-5d692b05811f939024fbf92c2e6eb7e66e0790dc.tar.gz
sway-5d692b05811f939024fbf92c2e6eb7e66e0790dc.tar.zst
sway-5d692b05811f939024fbf92c2e6eb7e66e0790dc.zip
Add an adaptive_sync output command
This enables/disables adaptive synchronization on the output. For now, the default is disabled because it might cause flickering on some hardware if clients don't submit frames at regular enough intervals. In the future an "auto" option will only enable adaptive sync if a fullscreen client opts-in via a Wayland protocol.
Diffstat (limited to 'sway/sway-output.5.scd')
-rw-r--r--sway/sway-output.5.scd9
1 files changed, 9 insertions, 0 deletions
diff --git a/sway/sway-output.5.scd b/sway/sway-output.5.scd
index 0f9fe208..b71e5744 100644
--- a/sway/sway-output.5.scd
+++ b/sway/sway-output.5.scd
@@ -148,6 +148,15 @@ must be separated by one space. For example:
148 optimal max_render_time value may vary based on the parent compositor 148 optimal max_render_time value may vary based on the parent compositor
149 rendering timings. 149 rendering timings.
150 150
151*output* <name> adaptive_sync on|off
152 Enables or disables adaptive synchronization (often referred to as Variable
153 Refresh Rate, or by the vendor-specific names FreeSync/G-Sync).
154
155 Adaptive sync allows clients to submit frames a little to late without
156 having to wait a whole refresh period to display it on screen. Enabling
157 adaptive sync can improve latency, but can cause flickering on some
158 hardware.
159
151# SEE ALSO 160# SEE ALSO
152 161
153*sway*(5) *sway-input*(5) 162*sway*(5) *sway-input*(5)