Bug 471880 - Laptop nearly always completely freezes after removing external display while suspended
Summary: Laptop nearly always completely freezes after removing external display while...
Status: RESOLVED WORKSFORME
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 5.27.6
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-02 17:30 UTC by Niisse
Modified: 2025-02-09 03:47 UTC (History)
1 user (show)

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 Niisse 2023-07-02 17:30:17 UTC
SUMMARY
I have an external HDMI monitor. Whenever I unplug that monitor to take my laptop with me while it is suspended, very often it completely hangs when I wake it from sleep. The screen turns on, and I usually see the unlock screen (but without the login UI), and I can't do anything from here - not even switching to a different TTY. The caps lock light can still be toggled, so I assume it must be the OS and not the complete machine.

STEPS TO REPRODUCE
1. Plug in monitor
2. Have various apps open on both displays
3. Suspend laptop
4. Wake laptop from sleep

OBSERVED RESULT
After about a second, the laptop completely freezes and I'm locked out

EXPECTED RESULT
The laptop does not freeze and allows me to use it as normal

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230629
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10
Kernel Version: 6.3.9-1-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5500U with Radeon Graphics
Memory: 15,0 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: VivoBook_ASUSLaptop X515UA_M515UA
System Version: 1.0

ADDITIONAL INFORMATION
Currently on SDDM version 0.20.0-1.1, although it happened on 0.19 too.
Comment 1 Niisse 2023-07-02 17:32:42 UTC
'kscreen-doctor -o' output without external monitor plugged in:

Output: 1 eDP-1 enabled connected priority 1 Panel Modes: 0:1920x1080@60*! 1:1280x1024@60 2:1024x768@60 3:1280x800@60 4:1920x1080@60 5:1600x900@60 6:1368x768@60 7:1280x720@60 Geometry: 3440,0 1920x1080 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown

'kscreen-console' output
START: Requesting Config
Received config. Took 13 milliseconds
Screen:
        maxSize: QSize(64000, 64000)
        minSize: QSize(0, 0)
        currentSize: QSize(1920, 1080)

-----------------------------------------------------

Id:  1
Name:  "eDP-1"
Type:  "Panel (Laptop)"
Connected:  true
Enabled:  true
Priority:  1
Rotation:  KScreen::Output::None
Pos:  QPoint(3440,0)
MMSize:  QSize(340, 190)
FollowPreferredMode:  false
Size:  QSize(1920, 1080)
Scale:  1
Clones:  None
Mode:  "0"
Preferred Mode:  "0"
Preferred modes:  ("0")
Modes: 
         "0"    "1920x1080@60"   QSize(1920, 1080)   60.001
         "1"    "1280x1024@60"   QSize(1280, 1024)   59.895
         "2"    "1024x768@60"   QSize(1024, 768)   59.92
         "3"    "1280x800@60"   QSize(1280, 800)   59.81
         "4"    "1920x1080@60"   QSize(1920, 1080)   59.963
         "5"    "1600x900@60"   QSize(1600, 900)   59.946
         "6"    "1368x768@60"   QSize(1368, 768)   59.882
         "7"    "1280x720@60"   QSize(1280, 720)   59.855
EDID Info: 
        Device ID:  "xrandr-BOE"
        Name:  ""
        Vendor:  "BOE"
        Serial:  ""
        EISA ID:  "NT156FHM-N62"
        Hash:  "8921c93a2501651b81567b62c19edfac"
        Width:  34
        Height:  19
        Gamma:  2.2
        Red:  QQuaternion(scalar:1, vector:(0.572266, 0.355469, 0))
        Green:  QQuaternion(scalar:1, vector:(0.350586, 0.579102, 0))
        Blue:  QQuaternion(scalar:1, vector:(0.166992, 0.125977, 0))
        White:  QQuaternion(scalar:1, vector:(0.313477, 0.329102, 0))
Comment 2 Zamundaaa 2025-01-10 17:28:26 UTC
Is this still happening for you on Plasma 6.2? If so, does it also happen if you disable "lock after waking from sleep" in the screen locking settings?
Comment 3 Bug Janitor Service 2025-01-25 03:47:09 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2025-02-09 03:47:13 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.