utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
27.06k stars 1.34k forks source link

Windows 11 VM locks up when entering sleep mode #6181

Open zeve-zz opened 8 months ago

zeve-zz commented 8 months ago

BEFORE SUBMITTING YOUR ISSUE, PLEASE LOOK AT THE PINNED ISSUES AND USE THE SEARCH FUNCTION TO MAKE SURE IT IS NOT ALREADY REPORTED. ALWAYS COMMENT ON AN EXISTING ISSUE INSTEAD OF MAKING A NEW ONE.

Describe the issue
I want to have the VM in the background (but still visible) of my MacOS desktop. However, I notice where if I don't switch over to that VM every 10 minutes or so, it will eventually lock up and 'freeze'. Once I switch over to the VM, it plays catch up and all my missed notifications during that time will start rolling in. I'd like it to stay awake in the background.

Configuration

osy commented 8 months ago

Next time this happens, please open activity monitor and look for QEMULauncher and there should be two processes (or more). For each one get a spin dump and post it here.

zeve-zz commented 8 months ago

@osy here you go

Spindump1.txt Spindump2.txt

zeve-zz commented 8 months ago

@osy was that what you needed?

osy commented 8 months ago

I don't see anything strange. Have you disabled sleep from Windows?

zeve-zz commented 8 months ago

closing this issue with shame. disable sleep fixed it. windows was not doing any kind of visual indication that it was 'sleeping' - maybe there's a way to recognize that.

osy commented 8 months ago

I think it's still worth investigating at some point why UTM can't wake windows up from sleep. I'm going to re-open it but no promises this will be resolved in the next release.