Package: xwayland Version: 2:1.20.11-1 Severity: important Forwarded: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1209 Tags: fixed-upstream Control: found -1 2:1.20.13-1
When setting display modes with Xrandr, the recommended pattern seems to be to disable the CRTC with XRRSetCrtcConfig(), change the screen size with XRRSetScreenSize(), and then re-enable the CRTC with another call to XRRSetCrtcConfig(). SDL 2.0.16 switched to using this pattern, but this caused a regression on older versions of Xwayland like the one in Debian 11: after disabling the CRTC, it does not seem to be possible to re-enable it, leaving Xwayland in a broken state. Version 2:1.20.13-1 in experimental is also affected. Please see the upstream bug for a minimal reproducer. I've confirmed that this is fixed in the standalone Xwayland (ITP: #981841), most likely as part of the Xrandr emulation feature, so this will be fixed when the standalone Xwayland takes over the xwayland binary package name. I tested with 21.1.1 built from <https://salsa.debian.org/xorg-team/wayland/xwayland>. I think it would be good to get that version into the NEW queue, so that it can be in bookworm soon after the release opens. It seems to be already used in recent Ubuntu "short-term" releases. Thanks, smcv