Bug 462065 - 2nd monitor is not considered separate screen any more (X11)
Summary: 2nd monitor is not considered separate screen any more (X11)
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (show other bugs)
Version: 5.26.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-20 16:13 UTC by Andriy Rysin
Modified: 2023-01-13 14:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andriy Rysin 2022-11-20 16:13:39 UTC
SUMMARY
I started seeing this problem very recently with my 2nd monitor (X11).
Apps work properly initially, e.g. maximizing a window is done withing one screen. But (at least) 2 things are broken:
1) when monitors go to sleep, after wake-up the apps from the 2nd screen move to the first (although widgets stay where they were)
2) when running xfreerdp /multimon the target Windows system treats both monitors are one big screen

STEPS TO REPRODUCE (1)
1. Log in with two screens
2. Put konsole on 2nd screen
3. Wait to displays to go to sleep
4. wake up displays

OBSERVED RESULT
konsole is on the 1st screen

EXPECTED RESULT
konsole stays on the 2nd screen


STEPS TO REPRODUCE (2)
1. Log in with two screens
2. run "xfreerdp /multimon /s:<server>"

OBSERVED RESULT
target windows treating displays as one big screen

EXPECTED RESULT
target windows treating displays as two screens

ADDITIONAL INFO:
* This happened on Fedora 36 and 37
* I've tried a graphics card instead of embedded graphics in the CPU
* I've tried xfreerdp to different Windows systems
None of these helped.

* I've switched to Gnome and xfreerdp works properly again


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.26.3
(available in About System)
KDE Plasma Version: 5.26.3
KDE Frameworks Version:  5.100.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
Comment 1 Andriy Rysin 2022-11-20 18:14:24 UTC
I've tried to roll back kwin to 5.26.0 but that didn't help.
Note: I've recently upgraded my hardware from i7 3770 using HDMI + DVI to i5 13600k using DP + HDMI so not sure if that was a problem (and not the plasma update). The discrete card I've tried and had same problem is also DP + HDMI.
In any case "kill kwin_x11; mutter &" helps to fix both problems but I like kwin much better :)
Comment 2 Andriy Rysin 2022-11-20 20:37:48 UTC
I just tried awesomeWM and iceWM and they work properly.
Also found an old disk with Fedora 35 with kwin 5.25 and it worked properly, so it looks like a regression in 5.26
Unfortunately it's not easy to downgrade whole KDE to 5.25 on Fedora 37 so no easy workaround.
Comment 3 Andriy Rysin 2023-01-13 14:48:40 UTC
With latest updated on Fedora 37 things seem to work ok now. Not sure if it was KDE, kernel, or BIOS update that helped.