VirtualBox

Opened 11 months ago

Last modified 10 days ago

#21917 new defect

VBox doesn't detect "modern standby" sleep mode on Win11 host

Reported by: danml Owned by:
Component: other Version: VirtualBox-7.0.12
Keywords: sleep Cc:
Guest type: Linux Host type: Windows

Description

It looks like many newer laptops that come win win11 have "modern standby" as the only available sleep option. When such laptop is put to sleep VBox doesn't detect it, leading to a broken VM on wake up (in my case my VM session was killed by a watchdog when laptop briefly woke up to switch from sleep to hibernate).

It looks like VBox needs to call RegisterSuspendResumeNotification in its HostPowerWin implementation to get notification for modern standby, see chromium code: https://chromium.googlesource.com/chromium/src/base/+/master/power_monitor/power_monitor_device_source_win.cc#119

Attachments (1)

vbox.log (123.5 KB ) - added by danml 11 months ago.
vbox log showing that vm wasn't suspended properly (HostSuspend happens after the session was killed by watchdog)

Download all attachments as: .zip

Change History (2)

by danml, 11 months ago

Attachment: vbox.log added

vbox log showing that vm wasn't suspended properly (HostSuspend happens after the session was killed by watchdog)

comment:1 by shahim, 10 days ago

I have the same issues. Windows 11 host and Ubuntu 24.04 on a Dell Inspiron 16 Plus 7630 with Intel graphics. I don't have issues with Ubuntu 22.04 with an X11 session.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette