Paused VM Preventing Sleep

Discussion in 'General Questions' started by NSAbject, Nov 13, 2023.

  1. NSAbject

    NSAbject Junior Member

    Messages:
    11
    My Windows 11 ARM guest is preventing my MacBook Pro from sleeping, despite the guest OS being paused. I noticed the issue a few days ago after adjusting the VM's configuration with the goal of keeping it running in Coherence at all times with minimal impact. The following steps produce the behavior:

    1. Allow VM to Pause after reaching threshold.
    2. Close laptop screen.
    3. Wait 30 seconds.
    4. Open laptop screen and unlock.
    5. Check Activity Monitor and Console.

    In the Energy tab of Activity Monitor, the Preventing Sleep column of the Windows 11 VM is set to Yes, as seen in the following image.
    Screenshot 2023-11-13 at 4.09.00 PM.png

    In Analytics Data section of Console, I can see when the laptop screen is closed and attempts to enter sleep, and then is woken up a few milliseconds later. You can see the three events triggered in rapid succession beginning at 16:07:07.847342
    Screenshot 2023-11-13 at 4.09.54 PM.png

    I checked Console's main message stream for logged messages beginning at that time, and could see messages related to powerd attempting to enter sleep but being prevented. I could also see several (perhaps dozens) of messages from prl_vm_app and prl_disp_service indicating that the VM was attempting to somehow reconfigure or connect to sound, video, and camera devices. I suspect that this is the cause of the issue, but I'm not sure.

    Notes about my setup:
    Hardware: MacBook Pro 2023, 16-inch, M2 Max, 64 GB RAM
    Parallels 19.1.1 Pro Edition
    Host OS: MacOS Sonoma 14.0
    Guest OS: Windows 11 Pro, ARM edition

    Are there any known causes of this problem that I can fix? If not, this appears to be a bug that should be addressed in an update.
     
    MatthewR20 likes this.
  2. Pramesh Boodadoo

    Pramesh Boodadoo Staff Member

    Messages:
    549
    Hello,
    We have created a case to assist you further on this issue, and we have requested additional information via your email for further investigation.
    Thank you.
     
  3. ChrisM54

    ChrisM54 Bit poster

    Messages:
    2
    Hi. I have the same issue with a brand new install of Parallels ARM and a fresh install of Windows. Was this ever resolved?
     
  4. NSAbject

    NSAbject Junior Member

    Messages:
    11
    I've been monitoring this issue, and while I don't think it has been resolved, I've noticed that it doesn't seem to be as bad as I initially thought. I noticed that it is intermittent, and I think it only happens the first time my Mac sleeps after starting the VM. After the VM has been unpaused, used, and paused again a few times, it no longer seems to prevent the Mac from sleeping.

    Maybe the issue is related to some Windows service that runs for a while when Windows is booted.

    I've been monitoring it by leaving the Mac Activity Monitor open to the Energy tab before leaving my computer idle. I keep the Parallels Desktop row fully expanded so I can see all of the processes, and when I return to my computer and turn back on the screen and unlock it, I can immediately see if anything has been preventing sleep. I still hope Parallels fixes this issue, but since I've seen that the issue is intermittent and a long-running VM usually does not prevent sleep, I'm less concerned than I was before.

    I'd be interested in hearing what you discover if you try monitoring it with Activity Monitor trick.
     
    SHISHIRS1 likes this.

Share This Page