External monitor resolution incorrect after sleep
Affected version
OS: Debian GNU/Linux 12 (bookworm) x86_64
Host: 20U9006BUK ThinkPad X1 Carbon Gen 8
Kernel: 6.1.0-10-amd64
DE: GNOME 43.4
CPU: Intel i7-10510U (8) @ 4.900GHz
GPU: Intel CometLake-U GT2 [UHD Graphics]
Display Server: Wayland
Bug summary
My laptop screen resolution is 3840x2160 and it's set to scale 200%. My external monitor resolution is 2560x1440 and it's set to scale 100%. This generally works fine connected via HDMI but whenever the laptop goes to sleep and is woken up the monitor resolution gets set to 1920x1080 until the HDMI cable is unplugged and reconnected (at which point the correct resolution is detected again).
Journalctl -r shows:
gnome-shell[2009]: Failed to use stored monitor configuration: Invalid mode 2560x1440 (59.951) for monitor 'DEL DELL P2421DC'
kernel: EDID block 0 (tag 0x00) checksum is invalid, remainder is 177
kernel: i915 0000:00:02.0: [drm] *ERROR* Unexpected DP dual mode adaptor ID 50
kernel: EDID block 0 (tag 0x00) checksum is invalid, remainder is 35
Possible duplicate of #1633 but not sure if it's the same issue.
Edited by baarkerlounger