https://bugs.kde.org/show_bug.cgi?id=528916
Bug ID: 528916
Summary: Monitor swapped on the same connector during suspend
keeps the previous monitor's identity and output
config after resume
Classification: Plasma
Product: kwin
Version First 6.8.2
Reported In:
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: multi-screen
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 198521
--> https://bugs.kde.org/attachment.cgi?id=198521&action=edit
Wrong screen on window manager while hardware recognized new screen already
Product: kwin · Component: wayland-generic (or platform-drm) · Version: 6.8.2
Summary: Monitor swapped on the same connector during suspend keeps the
previous monitor's identity and output config after resume
STEPS TO REPRODUCE
1. Laptop docked at location A, external monitor Lenovo R27q-30 on DP-2 (USB-C
dock, DP alt mode).
2. Close lid, laptop suspends.
3. Undock, dock at location B: external monitor Dell P3223QE, same connector
DP-2.
4. Open lid, resume.
OBSERVED RESULT
- System Settings > Display shows "Lenovo Group Limited R27q-30" for DP-2.
- KWin applies the R27q-30's saved config (scale 1.3) to the Dell.
- The kernel has already read the new EDID:
/sys/class/drm/card1-DP-2/edid -> DEL, product 17057 (P3223QE), manufactured
2023 wk 12
- kwinoutputconfig.json has a separate saved entry for this exact Dell EDID
(scale 1.45) that is not applied.
EXPECTED RESULT
After resume KWin re-reads the connector's EDID, identifies the Dell, and
applies the Dell's saved output config.
ADDITIONAL INFORMATION
- Journal at resume: "PM: suspend exit" and one hotplug event in the same
second; no separate disconnect/connect.
- No reboot between the two docks.
- Started after the update to 6.8.2. Not yet confirmed against the previous
kwin build.
- Physically replugging the dock after resume fixes it.
- Not bug 495223: that one was limited to powerdevil's brightness labels
(System Settings was correct there) and was fixed in 6.5.6. Here System
Settings shows the wrong monitor and KWin applies the wrong scale. Same trigger
(dock swap during suspend), so the cause may be similar: an output object
reused for the same connector ID.
- Possibly related: MR !5830 (EDID reset on the same connector).
SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 44
KDE Plasma Version: 6.8.2
KWin: kwin-6.8.2-3.fc44.x86_64
Kernel Version: 7.3.3-200.fc44.x86_64
Graphics Platform: Wayland
Hardware: Lenovo ThinkPad P14s Gen 6 AMD, amdgpu
--
You are receiving this mail because:
You are watching all bug changes.