https://bugs.kde.org/show_bug.cgi?id=427545
Bug ID: 427545 Summary: Dual DisplayPort monitors (e.g. 5k) are not supported Product: kwin Version: 5.19.5 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: and...@podzimek.org Target Milestone: --- Created attachment 132274 --> https://bugs.kde.org/attachment.cgi?id=132274&action=edit Two 5k HP monitors (2 tiles each, quad 2560x2880 altogether) shown in Systemsettings SUMMARY With both Wayland and X11, window maximization on dual DisplayPort monitors doesn't work. While the problem can be hacked around using hax11 on X11 (https://github.com/CyberShadow/hax11), there seems to be no solution for Wayland. STEPS TO REPRODUCE 1. Connect a dual DisplayPort monitor (sometimes called tiled); examples: * HP Z27q (a classical old 5k monitor) * LG 27MD5KL (a Thunderbolt 5k monitor with two virtual DisplayPorts/tiles) 2. Start KDE and maximize a window. OBSERVED RESULT Windows are maximized over a single 2560x2880 tile. (While normal windows can be enlarged over both tiles manually, there is no way to make full-screen video maximize correctly.) EXPECTED RESULT Windows (and full-screen videos) should be maximized over the entire 5120x2880 monitor. SOFTWARE/OS VERSIONS Linux/KDE Plasma: ArchLinux, kernel 5.8.14 KDE Plasma Version: 5.19.5 KDE Frameworks Version: 5.74.0 Qt Version: 5.15.1 ADDITIONAL INFORMATION This problem exists on all major GPUs (tried AMD (Radeon Pro W5700), Nvidia (Quadro P5000) Intel (UHD Graphics 620 in i7-8665U)). X11 is affected in all 3 cases. Wayland is affected on Intel and AMD (and doesn't work on NVidia). For the record, a possible hax11 workaround for X11 is described at the bottom of my comment here: https://gitlab.freedesktop.org/drm/intel/-/issues/27#note_463683 Unfortunately, I haven't been able to find a workaround for kwin_wayland. I tried KWin scripting, but that didn't work for multiple reasons: 1. workspace.clientList() contains a volatile list of 1-2 windows that seem to be the Plasma desktop instances only, guessing from their .geometry.{x,y,width,height}; no other windows are listed. 2. The geometry property appears to be clobbered: * It contains resolutions divided by the scaling factor (2), i.e., 1280x1440 instead of 2560x2880. * On a dual 5k layout (10240x2880 altogether, 5120x1440 when divided by 2, the Wayland style), the 'x' property never exceeds 1280 (which it should exceed, because the Plasma desktop appears on all 4 monitors (2 physical monitors times 2 tiles)). (But there are at most 2 items in clientList() at all times.) 3. This "reference" (well ... a list of identifiers), is very hard to follow: https://techbase.kde.org/Development/Tutorials/KWin/Scripting/API_4.9 So there may be a way to tell KWin how to maximize windows correctly, but I just couldn't find it. A bit of advice would help a lot in this case. -- You are receiving this mail because: You are watching all bug changes.