Sway & wl-roots Land Support For Wayland Fractional Scaling

Written by Michael Larabel in Wayland on 13 February 2023 at 05:07 PM EST. 31 Comments
WAYLAND
Back in November Wayland Protocols 1.31 released and was headlined by a new extension to handle fractional scaling. The latest Wayland compositor adding support for fractional scaling is now the popular i3-inspired Sway compositor as well as the wl-roots library used by it and other compositors.

The wp-fractional-scale-v1 protocol allows for clients to communicate fractional scaling of surfaces with the compositor. Paired with the wp_viewport protocol can be used for providing a nice fractional scaling implementation with more precision compared to existing integer-based scaling.

Wayland fractional scaling protocol extension


KDE KWin landed support shortly after the v1.31 spec launch along with other compositors seeing the support. There had been experimental Sway patches early on while in the past few days the support was finally merged.

Merged to the wl-roots code was wp-fractional-scale-v1 support after all of its TODO items were addressed. This code originates from ten months ago back when the Wayland protocol extension was being drafted.

Following the wl-roots code landing, the Sway compositor merged its fractional scaling support.


So for Sway's next release the fractional scaling support is ready to shine!
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