| Summary: | XWayland Applications with "Apply Scaling Themselves" do not list display resolutions correctly on multi-monitor mixed-DPI setups | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | indecisiveautomator |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | ahiemstra, an1000kg, hujq, kde, nate, openmindead, postix, xaver.hugl |
| Priority: | NOR | ||
| Version First Reported In: | 5.25.90 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
indecisiveautomator
2022-09-15 20:47:22 UTC
Oops, I forgot to fill out my system info for this one: SOFTWARE/OS VERSIONS Linux/KDE Plasma: 5.18.9-zen1-1-zen (64bit) KDE Plasma Version: 5.25.90 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.6 *** Bug 460925 has been marked as a duplicate of this bug. *** The cause of this is that Xwayland completely ignores the modes we send; it takes the logical output size it gets from xdg output and generates its own fake mode list. In a setup with different scales on different outputs, that logical output size is only correct on the output with the highest scale. I'm not sure this can be fixed I thought about it a bit and there doesn't seem to be any way to fix this in KWin. There is however an existing MR that would fix it in Xwayland: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/861 This MR, from my understanding of reading, would fix my biggest problem with Wayland right now - That fullscreen games cannot render at full resolution. It also sounds like it would fix the incorrect list of resolutions in fullscreen showing up on other displays, since it would only get the resolution for that display I think? I'm not at all familiar with these components but that change or a change like it would be, in my opinion, a game-changer for gaming on Wayland (which on AMD + Plasma Wayland offers noticeable performance gains). Being able to play games on scaled displays on Wayland at that displays full resolution is the main annoyance I have with Wayland currently and the only real caveat I have when recommending Plasma Wayland to people. Thanks for the research on this, I understand and appreciate it can't be fixed on the KWin side but you went out of your way to find out if there has been any progress upstream on this and there is a draft MR, so thank you for bringing more attention to that. It gives me a little bit of hope that in future this will be resolved :D |