Sway Compositor Lands Wayland Tearing Control Support

Written by Michael Larabel in Wayland on 5 August 2024 at 11:05 AM EDT. 50 Comments
WAYLAND
A one year old merge request to support Wayland's Tearing Control protocol (tearing-control-v1) has finally been merged into the Sway compositor codebase.

This new ability for Sway allows for optionally enabling tearing on a per-output basis. There is also the ability with Sway to force enable/disable tearing for a specific application(s) based on window rules. This tearing support only works for full-screen applications.

While Wayland started out with the emphasis that every frame is rendered perfect, the tearing control protocol ultimately came about for those not caring about every frame being rendered perfectly but wanting to achieve maximum performance. XWayland and other compositors have already added tearing control protocol support. Since last year wlroots has supported it too for that Wayland library used by Sway and others.

Sway tearing control


More details on Sway's tearing control support can be found via this merge request that has finally worked its way into the Sway compositor codebase.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week