[手动选题][news]: 20221130.3 ️ Wayland Protocols 1.31 Release Adds Fractional Scaling Support.md

This commit is contained in:
六开箱 2022-12-01 01:59:07 +08:00
parent c64dd35b55
commit a8a2e5d89e

View File

@ -0,0 +1,70 @@
[#]: subject: "Wayland Protocols 1.31 Release Adds Fractional Scaling Support"
[#]: via: "https://news.itsfoss.com/wayland-protocols-fractional-scaling/"
[#]: author: "Sourav Rudra https://news.itsfoss.com/author/sourav/"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Wayland Protocols 1.31 Release Adds Fractional Scaling Support
======
Wayland Protocols 1.31 releases with fractional scaling support.
![Wayland Protocols 1.31 Release Adds Fractional Scaling Support][1]
If you are using a high-resolution display, then you may have noticed issues like blurriness, jaggedness, and lag when using a program.
This issue is caused by the fact that many programs use a default screen resolution (usually 1920×1080) to display their contents. This makes for a bad user interface experience on HiDPI devices.
But you might be wondering, is there a solution to this? Yes, there is, in fact, a solution.
It's called 'Fractional Scaling'. This method uses fractional values to scale a program's interface according to your display's resolution, resulting in a consistent look and feel.
So, it would ensure that you had the same experience on any HiDPI device, regardless of the program you were using.
Moving on.
With Wayland slowly replacing X11 with its advancements, adding Fractional Scaling support via Wayland Protocols 1.31 makes the transition more obvious.
> 💡 [Wayland protocols][2] add functionality that is usually not found with Wayland core.
Let's take a look at what's in store for Wayland.
### Fractional Scaling Support for Wayland Protocols
**How did it come to be?:** This was in the making for many months; code-named 'wp-fractional-scale-v1', it communicates with the compositor to suggest surfaces for rendering at fractional scales.
It is paired with the 'wp-viewport protocol' to provide a fractional scaling implementation rather than an integer-based scaling implementation, as noted by [Phoronix][3].
**How does it affect you?:** The implementation of this allows you to run higher resolutions on your Wayland-enabled Linux systems without compromising visual quality across different programs and displays.
So, what does it mean for KDE and GTK apps?
Technically, **PointiestStick** (_KDE Dev_) responded to a [Reddit thread][4] that gives you a better insight:
> For KDE, it simply means that once Qt and KWin implement support for this protocol, then native Wayland Qt apps will be able to use Qt's pre-existing support for fractional scaling, just like how it already works on X11.The result should be slightly better performance, visual sharpness, and power efficiency when using a non-integer scale factor like 125%.Nothing will change soon for GTK apps, because GTK has no existing fractional scaling support and thus cannot implement this Wayland protocol to do something it couldn't already do.
In conclusion, this seems like a reasonable addition to Wayland, which should enhance the overall user experience across the board with a minimal performance impact.
You can read more about **Wayland Protocols 1.31** release in its [official mailing list][5].
--------------------------------------------------------------------------------
via: https://news.itsfoss.com/wayland-protocols-fractional-scaling/
作者:[Sourav Rudra][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://news.itsfoss.com/author/sourav/
[b]: https://github.com/lkxed
[1]: https://news.itsfoss.com/content/images/size/w300/2022/11/wayland-protocols-1-31-release.jpg
[2]: https://gitlab.freedesktop.org/wayland/wayland-protocols
[3]: https://www.phoronix.com/news/Wayland-Fractional-Scale-Ready
[4]: https://www.reddit.com/r/linux/comments/z7pc61/comment/iya2uu1/?utm_source=reddit&utm_medium=web2x&context=3
[5]: https://lists.freedesktop.org/archives/wayland-devel/2022-November/042524.html