Linux Desktops and User Land Infrastructure
Resolving Fractional Scaling Blurs on Wayland Across Mixed-DPI Monitor Arrays
Fractional scaling on Wayland renders applications at a non-integer scale, which often produces blurry output on mixed-DPI monitor arrays. The blur comes from rendering at one scale and downscaling, or from applications that do not support fractional scales. This guide fixes it per compositor and per application.
핵심 내용
- Enable fractional scaling in the compositor. Most compositors support it but require explicit configuration.
- Set per-monitor scale. Apply different scales to each monitor based on its DPI rather than a global value.
- Force integer scaling for legacy apps. Some applications blur at fractional scales; force them to integer scales and accept the size mismatch.
- Use the correct rendering path. Ensure the compositor renders at the fractional scale and downscales, not the reverse.
- Configure GTK and Qt. Set GDK_SCALE and QT_SCALE_FACTOR, or use the compositor's scale hints.
- Test with mixed content. Place windows across monitors and check sharpness on each.
- Check for blur in screenshots. Screenshots reveal blur that is hard to see on screen.
- Update drivers. GPU driver bugs cause scaling artifacts; keep them current.
Architecture
The compositor renders each surface at the monitor's scale factor, then composites. Fractional scales require rendering at the fractional resolution and downscaling, which can blur if the pipeline rounds incorrectly. Per-monitor configuration and application-level hints control the final sharpness.
Production configuration
Edge cases from production
- Mixed-DPI arrays cause windows to blur when dragged between monitors; compositor must rescale on move.
- Some apps render at 1x and scale up, producing blur; force them to render at the target scale.
- Nested compositors (Xwayland) add another scaling layer; disable Xwayland scaling if possible.
- OLED panels show fractional scaling artifacts more visibly than LCDs.
자주 묻는 질문
Why does fractional scaling blur?
Rendering at a non-integer scale and downscaling introduces interpolation artifacts.
Which compositor handles it best?
GNOME/Mutter and KDE/KWin have mature fractional scaling; wlroots compositors are catching up.
Can I avoid blur entirely?
Use integer scales only, or accept the size change from 1x to 2x.
Does it affect performance?
Fractional scaling increases GPU load slightly; usually negligible on modern hardware.
How do I test?
Take screenshots and compare sharpness; subjective judgment is unreliable.
linux desktops and user land infrastructure에 대한 Kinetikatech의 지원
linux desktops and user land infrastructure 전문가가 될 필요는 없습니다: Hardening compositors, sandboxing desktop apps, and tuning the user land that developers and operators actually touch. 그것이 바로 서버 관리 및 웹사이트 유지보수 서비스가 존재하는 이유입니다. 설정, 강화, 모니터링, 그리고 밤낮을 가리지 않고 출동하는 사람.