Manual output resizing rapidly alternates between sizes in X11 backend
Notes
- This does not appear to be reproducible on the Wayland backend.
- This issue was NOT present in the 0.16.x series.
Description
Resizing a wlroots-0.17.0-based compositor nested within an X11 compositor (in this case, magpie v0, based on mutter 43) causes the wlroots compositor to rapidly alternate between window sizes and expand to cover the full screen while doing so. I've seen this behavior with my own wlroots compositor, and easily reproduced the behavior with tinywl. With tinywl specifically, I've bisected the issue to commit 825f1b2d, though this only indicates that the problem lies somewhere within the new output state management. This issue makes testing my in-development wlroots-based compositor extremely difficult.
Here's tinywl's output when reproducing this issue: tinywl.log
And a recording of this issue manifesting with tinywl:
Environment
- Distro: Arch Linux
- DE: Budgie X11 (magpie 0.9.3 based on mutter 43)
- GPU: (AMD Rembrandt [Radeon 680M]) AND (AMD Radeon RX 6600 XT)
- Drivers: Mesa 23.2.2 (amdgpu, RadeonSI, RADV)
Edited by Campbell Jones