XWayland activities are blurry on HiDPI displays #45

Closed
opened 2026-05-17 14:55:48 +00:00 by albert · 0 comments
Owner

While the fix for #7 works fine for shepherd-launcher itself and Wayland applications, XWayland applications are rendered at the regular 1x DPI and then scaled up to the native resolution. For example, on a 1080p screen with 1.5x scale, an XWayland application will render at 720p.

The root cause is that Sway doesn't pass down the scaling to XWayland

This doesn't impact usability, but it does mean that games in particular are capped in resolution on these devices.

Possible fixes include:

  • Reconfiguring Sway at runtime via swaymsg (which may cause the HUD to also re-scale...)
  • Using something like gamescope (which may have implications for Steam activities in particular, since we currently launch Steam on boot)
While the fix for #7 works fine for shepherd-launcher itself and Wayland applications, XWayland applications are rendered at the regular 1x DPI and then scaled up to the native resolution. For example, on a 1080p screen with 1.5x scale, an XWayland application will render at 720p. The root cause is that [Sway doesn't pass down the scaling to XWayland](https://wiki.archlinux.org/title/Sway#HiDPI) This doesn't impact usability, but it does mean that games in particular are capped in resolution on these devices. Possible fixes include: * Reconfiguring Sway at runtime via swaymsg (which may cause the HUD to also re-scale...) * Using something like [gamescope](https://github.com/ValveSoftware/gamescope) (which may have implications for Steam activities in particular, since we currently launch Steam on boot)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
albert/shepherd-launcher#45
No description provided.