Still having issues with multiple screens on Xorg with 5.25.90 Beta. I have a 3440x1440@144Hz displayport screen oriented above my laptop's built in 1080 screen. Firefox was snapped to the right side of the wide screen. Upon waking from screen powersaving, Firefox is now half off the right side of the screen. Another powersave/wakeup immediately afterwards resulted in my displays being misconfigured. I feel like maybe it has to do with the time required for the external display to initialize after waking? kde now has it configured as a 1920x1080@60Hz display. I have to go into display settings and change it back to 3440x1440@144Hz. When it gets switched to 1080, it also ends up moving all windows to the built-in lower display. Operating System: EndeavourOS KDE Plasma Version: 5.25.90 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.6 Kernel Version: 5.19.9-arch1-g14-1 (64-bit) Graphics Platform: X11 Processors: 20 × 12th Gen Intel® Core™ i9-12900H Memory: 31.0 GiB of RAM Graphics Processor: Mesa Intel® Graphics Manufacturer: ASUSTeK COMPUTER INC. Product Name: ROG Strix G733ZW_G733ZW System Version: 1.0
Is it any better with the Wayland session?
(In reply to Nate Graham from comment #1) > Is it any better with the Wayland session? Afraid not. First try - it lost my screen resolution and refresh rate.
That will be because of another bug (monitor information stored in a different way on Wayland vs X11). If you correct those things, reboot, and then try to reproduce the issue, does it happen again?
(In reply to Nate Graham from comment #3) > That will be because of another bug (monitor information stored in a > different way on Wayland vs X11). If you correct those things, reboot, and > then try to reproduce the issue, does it happen again? Still happens.
After you change the monitor settings back, do the windows move back to their correct places again?
(In reply to Zamundaaa from comment #5) > After you change the monitor settings back, do the windows move back to > their correct places again? No. Not in X anyway.
The reason I get the idea it has something to do with timing/time is because it takes a while of sitting for this to trigger. For testing, I set my screen sleep to 1 minute. If I wake the monitors right after they go to sleep, they wake up fine. If I wait for the monitor to wake back up and tell me there's no signal on DP, then it goes back to sleep. If I wake it up within several seconds of that, it still wakes up fine. I don't know exactly what the "safe" time is, maybe it's less than a couple minutes. But when it bugs out on me is after I've left it for about 5 or more minutes.
When it does come back with the proper screen settings, the windows appear to be in the right spots.
Another observation that (so far) seems true, in case it helps: It only seems to have a problem the first time it sleeps the screens after a reboot. After it does the first time, I reconfigure my screen resolution, position, and refresh rate and then every time it sleeps afterwards it successfully wakes the screens with the right settings and window positions.
If I use my thunderbolt usb 4 docking station, everything works fine. Still displayport.
Update: I switched to OpenSuSE Tumbleweed and no longer have the problems with the resolution being change after waking the screens, but the positions of the windows are not restored. They're shifted to the right, with whatever window was snapped to the right being partially off-screen.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/3063
sorry, that was the wrong bug number
I am on Arch with 5.26.4 using wayland. My Primary monitor (hdmi 1920x1080) is set on the right of my secondary (DP 2560x1440). About one in ten times after waking from display powersaving I get a 'graphic menu' of screen layouts, I need to select the second from the right and then reposition my primary screen. I suspect its a timing issue? The DP monitor wakes much faster than the HDMI monitor. Are there any logs I can collect to see what happens after a good wake vs a bad wake?
It seems that what really makes the Windows come up in the wrong spot is when they're snapped to a screen edge. Where I see it is my 2nd monitor, which is an ultra wide, and I often have windows snapped to one side or the other.
*** This bug has been marked as a duplicate of bug 461886 ***