Bug 513150

Summary: External HDMI monitor doesn't automatically wake up from sleep
Product: [Plasma] plasmashell Reporter: Jinu <jinujohnjoseph>
Component: Power management & brightnessAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: bshah, frederick888, nate, postix, xaver.hugl
Priority: NOR Keywords: regression
Version First Reported In: 6.5.4   
Target Milestone: 1.0   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Output of "journalctl -b --user -u plasma-powerdevil.service"
Output of "journalctl -b --user -u plasma-powerdevil.service" - December 13, 2025
Log - December 13, 2025
KDebugsettings
Log - December 14, 2025
Black screens after resuming from sleep/suspend until hitting keyboard

Description Jinu 2025-12-10 00:39:23 UTC
***
When resuming from sleep, external HDMI monitor doesn't wake up. Instead, I have to wake it up by mouse movements or keyboard presses.
***

SUMMARY


STEPS TO REPRODUCE
1. Put system to sleep
2. Resume system from sleep after monitor goes blank

OBSERVED RESULT
Monitor fails to power on

EXPECTED RESULT
Monitor should power on automatically when resumed from sleep/suspend

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro Linux KDE
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION
This bug was not present in KDE Plasma 6.3.
Bug seems to be present after upgrading to 6.5
Bug was present on 6.5.3 and 6.5.4

For context I have an Nvidia GeForce RTX 5090 laptop, and it is not an Nvidia driver issue as the driver remained the same but only KDE Plasma was updated. I tried upgrading the Nvidia driver just to see if the issue was fixed but it still persists. I can confidently say that this is definitely a KDE bug and not an Nvidia bug.

HARDWARE INFORMATION
Kernel Version: 6.12.48-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 24 × Intel® Core™ Ultra 9 275HX
Memory: 64 GiB of RAM (62.2 GiB usable)
Graphics Processor 1: Mesa Intel® Graphics
Graphics Processor 2: NVIDIA GeForce RTX 5090 Laptop GPU/PCIe/SSE2
Manufacturer: LENOVO
Product Name: 83F5
System Version: Legion Pro 7 16IAX10H
Comment 1 Zamundaaa 2025-12-10 19:26:32 UTC
When you say the external monitor doesn't wake up automatically, do you also mean that the internal one does wake up without any additional interaction?
Comment 2 Jinu 2025-12-11 01:46:07 UTC
(In reply to Zamundaaa from comment #1)
> When you say the external monitor doesn't wake up automatically, do you also
> mean that the internal one does wake up without any additional interaction?

I have KDE switch only to the external monitor with the internal monitor turned off.
However I switched KDE to the internal screen and the same thing happens.
The internal screen also fails to turn on automatically unless I move my mouse.
Comment 3 Bhushan Shah 2025-12-11 04:38:44 UTC
Can you please reproduce this bug, and then provide "journalctl -b --user -u plasma-powerdevil.service"?
Comment 4 Bhushan Shah 2025-12-11 04:39:15 UTC
Also can you clarify how do you resume from sleep? Is it through power button? or lid wakeup or?
Comment 5 Jinu 2025-12-11 08:47:32 UTC
(In reply to Bhushan Shah from comment #4)
> Also can you clarify how do you resume from sleep? Is it through power
> button? or lid wakeup or?

The lid is open. I press the power button to resume from sleep
Comment 6 Bhushan Shah 2025-12-11 14:09:13 UTC
Please provide logs mentioned in comment #3.
Comment 7 Jinu 2025-12-12 01:36:19 UTC
(In reply to Bhushan Shah from comment #3)
> Can you please reproduce this bug, and then provide "journalctl -b --user -u
> plasma-powerdevil.service"?

How do I post the output here?
I tried, but it's being marked as spam automatically
Comment 8 Nate Graham 2025-12-12 01:51:10 UTC
You can put it in the file and attach the file.
Comment 9 Jinu 2025-12-12 23:09:34 UTC
Created attachment 187564 [details]
Output of "journalctl -b --user -u plasma-powerdevil.service"
Comment 10 Jinu 2025-12-12 23:10:28 UTC
(In reply to Bhushan Shah from comment #6)
> Please provide logs mentioned in comment #3.

Hi, I have provided the requested log as a text file attachement
Comment 11 Bhushan Shah 2025-12-13 11:23:40 UTC
Hi Jinu, unfortunately in log you provided it seems there is no instance of sleep/suspend being performed?
Comment 12 Jinu 2025-12-13 17:38:35 UTC
Created attachment 187591 [details]
Output of "journalctl -b --user -u plasma-powerdevil.service" - December 13, 2025
Comment 13 Jinu 2025-12-13 17:39:43 UTC
(In reply to Bhushan Shah from comment #11)
> Hi Jinu, unfortunately in log you provided it seems there is no instance of
> sleep/suspend being performed?

Hi Bhushan, I have attached another log taken today. Please see it.
It show several instances of sleep events.
Comment 14 Jinu 2025-12-13 17:47:37 UTC
(In reply to Jinu from comment #13)
> (In reply to Bhushan Shah from comment #11)
> > Hi Jinu, unfortunately in log you provided it seems there is no instance of
> > sleep/suspend being performed?
> 
> Hi Bhushan, I have attached another log taken today. Please see it.
> It show several instances of sleep events.

See attachment Output of "journalctl -b --user -u plasma-powerdevil.service" - December 13, 2025
Comment 15 Jinu 2025-12-13 18:22:29 UTC
Created attachment 187595 [details]
Log - December 13, 2025
Comment 16 Jinu 2025-12-13 18:24:07 UTC
(In reply to Jinu from comment #14)
> (In reply to Jinu from comment #13)
> > (In reply to Bhushan Shah from comment #11)
> > > Hi Jinu, unfortunately in log you provided it seems there is no instance of
> > > sleep/suspend being performed?
> > 
> > Hi Bhushan, I have attached another log taken today. Please see it.
> > It show several instances of sleep events.
> 
> See attachment Output of "journalctl -b --user -u plasma-powerdevil.service"
> - December 13, 2025

Hi disregard "Output of "journalctl -b --user -u plasma-powerdevil.service", as the same log was uploaded twice, see Log - December 13, 2025 for latest log
Comment 17 Bhushan Shah 2025-12-14 14:33:37 UTC
Ah, extremely sorry!

I completely missed that messages I am looking for are marked as debug messages so they would not be enabled by default.

Can you,

1) enable all debug messages for Powerdevil from kdebugsettings (See attached screenshots)
2) Restart powerdevil with "systemctl --user restart plasma-powerdevil"
3) Reproduce bug and upload log?
Comment 18 Bhushan Shah 2025-12-14 14:34:44 UTC
Created attachment 187636 [details]
KDebugsettings
Comment 19 Jinu 2025-12-14 18:55:56 UTC
Created attachment 187641 [details]
Log - December 14, 2025
Comment 20 Jinu 2025-12-14 18:56:36 UTC
(In reply to Bhushan Shah from comment #17)
> Ah, extremely sorry!
> 
> I completely missed that messages I am looking for are marked as debug
> messages so they would not be enabled by default.
> 
> Can you,
> 
> 1) enable all debug messages for Powerdevil from kdebugsettings (See
> attached screenshots)
> 2) Restart powerdevil with "systemctl --user restart plasma-powerdevil"
> 3) Reproduce bug and upload log?

I have attached output as requested. See "Log - December 14, 2025"
Comment 21 Jinu 2025-12-15 23:44:38 UTC
(In reply to Bhushan Shah from comment #17)
> Ah, extremely sorry!
> 
> I completely missed that messages I am looking for are marked as debug
> messages so they would not be enabled by default.
> 
> Can you,
> 
> 1) enable all debug messages for Powerdevil from kdebugsettings (See
> attached screenshots)
> 2) Restart powerdevil with "systemctl --user restart plasma-powerdevil"
> 3) Reproduce bug and upload log?

Hello, were you able to check the logs?
Comment 22 Jinu 2025-12-22 13:36:09 UTC
(In reply to Bhushan Shah from comment #17)
> Ah, extremely sorry!
> 
> I completely missed that messages I am looking for are marked as debug
> messages so they would not be enabled by default.
> 
> Can you,
> 
> 1) enable all debug messages for Powerdevil from kdebugsettings (See
> attached screenshots)
> 2) Restart powerdevil with "systemctl --user restart plasma-powerdevil"
> 3) Reproduce bug and upload log?

Hi Bhushaan/Nate, just following up on this, were you able to find anything in the log?
Comment 23 Nate Graham 2025-12-22 21:58:19 UTC
This isn't my area of expertise; the logs don't mean anything to me, I'm afraid. It'll have to be Bhushan or someone else.
Comment 24 Jinu 2026-01-10 21:51:56 UTC
(In reply to Nate Graham from comment #23)
> This isn't my area of expertise; the logs don't mean anything to me, I'm
> afraid. It'll have to be Bhushan or someone else.

Hi is there any development for this bug? Any possible fixes in the upcoming 6.6 release?
Comment 25 Zamundaaa 2026-01-13 23:03:44 UTC
The log just shows
> Wakeup source of type QFlags<SuspendController::WakeupSource>(UnknownSource) resumed from sleep
Which means powerdevil should be enabling the screen on its own. I can't think of any explanation of why it wouldn't work.

https://invent.kde.org/plasma/kwin/-/merge_requests/8282 *could* help, if the cause is some race condition, but I wouldn't count on it.
Comment 26 Frederick Zhang 2026-01-29 11:11:23 UTC
Created attachment 189025 [details]
Black screens after resuming from sleep/suspend until hitting keyboard

I'm facing exactly the same issue after migrating from X11 to Wayland a few days ago.

I usually leave my laptop's lid closed and use external displays only at my desk (i.e. clamshell mode). The steps to reproduce this issue from me are very similar:

1. Sleep (suspend to RAM)
2. Wake up the laptop using either keyboard or Wake-on-LAN
3. All displays, including the laptop's internal one, stay black
4. Hit any key on the keyboard, external displays will lit up

My environment:
Operating System: Arch Linux 
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1
Kernel Version: 6.18.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 20 × 12th Gen Intel® Core™ i9-12900H
Memory: 64 GiB of RAM (62.5 GiB usable)
Graphics Processor 1: Intel® Iris® Xe Graphics
Graphics Processor 2: NVIDIA GeForce RTX 3080 Ti Laptop GPU
Manufacturer: LENOVO
Product Name: 21DECTO1WW
System Version: ThinkPad X1 Extreme Gen 5

Drivers:
iGPU: i915
NVIDIA: nvidia-open-dkms 590.48.01-2
Two displays connected via HDMI and USB-C (DP Alt) each.

Here's my `journalctl -b` output with irrelevant lines removed. I also enabled Full Debug logs & restarted Powerdevil beforehand. I opened my laptop's lid to reach the internal keyboard this time, so that the 'Lid opened / closed' logs could serve as dividers.

One thing I noticed was that kwin spammed a lot of "Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!" when the screens were black, and stopped after the screens are back.

BTW Bug 511811 might be the same?
Comment 27 Zamundaaa 2026-02-04 22:47:20 UTC
(In reply to Frederick Zhang from comment #26)
> NVIDIA: nvidia-open-dkms 590.48.01-2
That's your problem:
> Detected GPU reset on secondary GPU /dev/dri/card0
Which is to say, your Nvidia driver is not set up correctly, though I don't see why KWin wouldn't still recover from that. Either way, the bug you're describing is very different from what this bug report is about, please open a new one about your problem for KWin.
Comment 28 Jinu 2026-02-05 01:02:04 UTC
(In reply to Zamundaaa from comment #27)
> (In reply to Frederick Zhang from comment #26)
> > NVIDIA: nvidia-open-dkms 590.48.01-2
> That's your problem:
> > Detected GPU reset on secondary GPU /dev/dri/card0
> Which is to say, your Nvidia driver is not set up correctly, though I don't
> see why KWin wouldn't still recover from that. Either way, the bug you're
> describing is very different from what this bug report is about, please open
> a new one about your problem for KWin.

Hi Zamundaa,

Is there anything I can do to help with this bug? Any other logs that I can provide that might help?
Comment 29 Zamundaaa 2026-02-06 12:15:02 UTC
You can test Plasma 6.6, but like I already wrote, I can't think of any reason it would happen.