Bug 492176 - Clamshell mode does not wake up monitor
Summary: Clamshell mode does not wake up monitor
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power management & brightness (show other bugs)
Version: 6.2.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2024-08-25 19:32 UTC by Andres Betts
Modified: 2024-12-18 21:40 UTC (History)
2 users (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 Andres Betts 2024-08-25 19:32:33 UTC
SUMMARY
In my laptop when I use clamshell mode with external usb mouse, keyboard and screen my system goes to sleep, when I wake it up by opening the laptop, the apple display will wake up and turn on the external screen. If I, however, set my laptop to not sleep and only leave the turn screen off setting, when I wake up the computer again, my external monitor will not wake up like it did when the laptop came out of sleep. Is there a way to find out if there is some command or parameter that sleep mode sends and we could implement that for the turn screen on part?


STEPS TO REPRODUCE
1. Place laptop in sleep mode after X amount of time
2. Keep laptop in clamshell mode
3. Wake up laptop from sleep by opening laptop
4. External monitor will wake up as well (Apple Display in this case)

Second workflow
1. Place laptop in "Do nothing" mode after X amount of time
2. Keep laptop in clamshell mode
3. Wait until external monitor turns off after a period of inactivity
4. Move the mouse or type on the keyboard to wake up the display

OBSERVED RESULT
Display does not wake up

EXPECTED RESULT
Display should wake up any time the screen has been off due to inactivity


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.11.0-0.rc3.20240814git6b0f8db921ab.32.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 9 6900HS with Radeon Graphics
Memory: 14.8 GiB of RAM
Graphics Processor: AMD Radeon 680M
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ROG Zephyrus G14 GA402RJ_GA402RJ
System Version: 1.0
Comment 1 Nate Graham 2024-08-28 16:58:10 UTC
Assuming I tested this correctly, I can't reproduce the issue with my HP Z24m G3 monitor, which is connected to my laptop via a USB-C 4.0 cable (not Thunderbolt) providing DisplayPort signal, power delivery, and USB.

I tested as follows:
1. Plug in laptop and close lid -> external screen stays on as intended
2. Configure system to sleep after one minute -> wait a minute, let it sleep
3. Open lid -> system wakes and both screens become active

1. Plug in laptop and close lid -> external screen stays on as intended
2. Configure system to never sleep, but turn off screens after 30 seconds -> wait 30 seconds, let screen turn off
3. Wiggle the mouse -> screen turns back on

Could be an issue with your monitor.
Comment 2 Andres Betts 2024-08-28 17:42:51 UTC
(In reply to Nate Graham from comment #1)
> Assuming I tested this correctly, I can't reproduce the issue with my HP
> Z24m G3 monitor, which is connected to my laptop via a USB-C 4.0 cable (not
> Thunderbolt) providing DisplayPort signal, power delivery, and USB.
> 
> I tested as follows:
> 1. Plug in laptop and close lid -> external screen stays on as intended
> 2. Configure system to sleep after one minute -> wait a minute, let it sleep
> 3. Open lid -> system wakes and both screens become active
> 
> 1. Plug in laptop and close lid -> external screen stays on as intended
> 2. Configure system to never sleep, but turn off screens after 30 seconds ->
> wait 30 seconds, let screen turn off
> 3. Wiggle the mouse -> screen turns back on
> 
> Could be an issue with your monitor.

It is likely that something is off. I should mention that Windows 11 has no problems turning on the screen. Whether the laptop is in sleep mode, or in active mode with the screen off, any USB mouse or keyboard will wake up the display.

I also have this graphics setup

Device: 0
  Name:        Advanced Micro Devices, Inc. [AMD®/ATI] Rembrandt [Radeon 680M]
  Default:     yes
  Environment: DRI_PRIME=pci-0000_07_00_0


Device: 1
  Name:        Advanced Micro Devices, Inc. [AMD®/ATI] Navi 23 [Radeon RX 6650 XT / 6700S / 6800S]
  Default:     no
  Environment: DRI_PRIME=pci-0000_03_00_0