Bug 400173 - Upon wake from sleep external monitors are no longer detected.
Summary: Upon wake from sleep external monitors are no longer detected.
Status: RESOLVED WORKSFORME
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 5.14.1
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-22 23:17 UTC by James
Modified: 2024-09-17 23:10 UTC (History)
5 users (show)

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


Attachments
Output of dmesg -w (4.98 KB, text/plain)
2024-09-14 17:38 UTC, Sollace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James 2018-10-22 23:17:19 UTC
SUMMARY

When waking from sleep external monitor is not recognized.
Using thunderbolt to display port connector.  Must reboot machine for monitor to become available.  External display is not recognized at any time if not plugged in before boot.


STEPS TO REPRODUCE
1. Let computer go to sleep.
2. 
3. 

OBSERVED RESULT
Computer wakes only laptop screen.  External monitor is not recognized until reboot.

EXPECTED RESULT
Wake computer and all screens become available.

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.14
KDE Frameworks Version: 5.51.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION
Laptop: MacBook Pro 11,5 (Mid 2015) 
Monitor make and model: HP 27" Z27X 
Connection: Thunderbolt to Display Port  (Laptop <-> Monitor)
Comment 1 Kitsuna 2018-10-26 22:08:38 UTC
Hey there James, try running "dmesg -w" and watching the output when trying to plug in the monitor after sleep. Does anything come up? This will at least let us know if the system even sees that you have plugged something in.
Comment 2 FiNeX 2018-12-26 14:53:49 UTC
I've a similar problem: 2x monitor connected using DVI (never ran into problems), now I've added a new monitor using Display Port and I'm having some problems: the monitor take some seconds to power up, until then the plasma desktop are messed up: the panels, widget and background are in the wrong place (and wrongly rotated...). When the Display Port monitor is started the situation is a bit better but anyway the screens are mixed.

Is this report similar to
https://bugs.kde.org/show_bug.cgi?id=399590 
and
https://bugs.kde.org/show_bug.cgi?id=398816
?

Maybe it is related even to https://bugs.launchpad.net/ubuntu/+source/kscreen/+bug/1573345
Comment 3 Nate Graham 2021-08-16 21:54:37 UTC
Is this still happening in Plasma 5.22, by any chance?
Comment 4 Bug Janitor Service 2021-08-31 04:36:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2021-09-15 04:36:17 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 6 Sollace 2024-09-14 17:34:04 UTC
I've started encountering behaviour very similar to this after receiving an update recently. Monitors will work fine, then when I unplug and the laptop is allowed to go to sleep, when waking again it will no longer detect any external monitors plugged into either USB-C port.

The problem persists across normal reboots and the only way I've been able to get them working is to force a power off by holding the power button.

Relevant system information:

Operating System: Manjaro Linux 
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.11.0-rc4-7-MANJARO (64-bit)
Graphics Platform: Wayland
Comment 7 Sollace 2024-09-14 17:38:01 UTC
Created attachment 173664 [details]
Output of dmesg -w

Added my dmesg -w output.
Comment 8 Nate Graham 2024-09-16 15:52:38 UTC
Can you open a new bug report for it? Multi-monitor issues are very often hardware-dependent and subtly different, so that even if the outer symptoms look the same, the root cause is often different. Thanks a lot!
Comment 9 Sollace 2024-09-17 23:10:38 UTC
(In reply to Nate Graham from comment #8)
> Can you open a new bug report for it? Multi-monitor issues are very often
> hardware-dependent and subtly different, so that even if the outer symptoms
> look the same, the root cause is often different. Thanks a lot!

Alrighty, new issue has been created. https://bugs.kde.org/show_bug.cgi?id=493299