Bug 2417768 - systemd-259~rc2 completely breaks XWayland client scaling (both integer and fractional)
Summary: systemd-259~rc2 completely breaks XWayland client scaling (both integer and f...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-28 22:47 UTC by Mikhail
Modified: 2025-12-05 13:54 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-12-05 13:54:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
systemd 258.2-1.fc44 - Steam (4.78 MB, image/png)
2025-11-28 22:49 UTC, Mikhail
no flags Details
systemd 259~rc2-2.fc44 - Steam (2.95 MB, image/png)
2025-11-28 22:49 UTC, Mikhail
no flags Details
systemd 258.2-1.fc44 - Bambu Studio (2.51 MB, image/png)
2025-11-28 22:51 UTC, Mikhail
no flags Details
systemd 259~rc2-2.fc44 - Bambu Studio (1.12 MB, image/png)
2025-11-28 22:51 UTC, Mikhail
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github systemd systemd issues 39949 0 None closed sd_pid_get_user_unit started returning incorrect values in systemd v259-rc2 2025-12-05 13:54:11 UTC

Description Mikhail 2025-11-28 22:47:41 UTC
After upgrading systemd from 258.x to 259~rc2-2.fc44 (rawhide), all XWayland applications (Steam, Bambu Studio, etc.) are forced to render at 100 % scale on HiDPI displays, regardless of the scaling factor set in GNOME Settings → Displays and regardless of whether experimental Mutter features are enabled or disabled.

Native Wayland applications continue to scale correctly in all configurations.
The regression is 100 % reproducible and is instantly fixed by downgrading any single systemd sub-package back to version 258 (even just systemd-udev is sufficient).

Steps to Reproduce:
- Run Fedora Rawhide with GNOME on Wayland (default session) on a HiDPI display.
- In Settings → Displays set scaling to 200 % (integer) or any fractional value if fractional scaling is enabled.
- Upgrade systemd: dnf upgrade systemd
- Re-logon to GNOME Wayland session
- Launch Steam or Bambu Studio.

Actual results:
XWayland windows are rendered at exactly 100 % scale → tiny, unreadable UI on 4K/3K displays.

Expected results:
XWayland clients are rendered using the configured display scale (200 % → clearly readable 2× enlarged UI), exactly as they were with systemd ≤ 258.

Reproducible: Always

systemd 258.2-1.fc44:
> xrdb -query
Xcursor.size:	48
Xcursor.theme:	Adwaita
Xft.antialias:	1
Xft.dpi:	192
Xft.hinting:	1
Xft.hintstyle:	hintslight
Xft.rgba:	none

systemd 259~rc2-2.fc44:
> xrdb -query
<no output at all — Xft.dpi resource is completely missing>

Comment 1 Mikhail 2025-11-28 22:49:00 UTC
Created attachment 2116585 [details]
systemd 258.2-1.fc44 - Steam

Comment 2 Mikhail 2025-11-28 22:49:55 UTC
Created attachment 2116588 [details]
systemd 259~rc2-2.fc44 - Steam

Comment 3 Mikhail 2025-11-28 22:51:17 UTC
Created attachment 2116589 [details]
systemd 258.2-1.fc44 - Bambu Studio

Comment 4 Mikhail 2025-11-28 22:51:56 UTC
Created attachment 2116590 [details]
systemd 259~rc2-2.fc44 - Bambu Studio


Note You need to log in before you can comment on or make changes to this bug.