P6 - Host OS do not AutoSleep

Discussion in 'General Questions' started by nikeitan, Oct 7, 2010.

  1. nikeitan

    nikeitan Member

    Messages:
    28
    BUG? Parallels 6 prevent Mac OSX to sleep/standby while running VMs

    Parallels 6 ( but also with 5 afaik with trial key) with active VMs Mac OSX do not sleep when reach idle time set in energy preferences. No messages appear in console. This is a BIG problem for portable Macs running on batteries.
    Any workaround? or when this will be corrected? ( if it is a confirmed bug )
    Thank you.
     
    Last edited: Oct 9, 2010
  2. Graefe

    Graefe Bit poster

    Messages:
    6
    Old issue. I hoped this bug would be solved with v.6. But no...
     
  3. Elric

    Elric Parallels Team

    Messages:
    1,712
    Unfortunately we have no local reproduction - on all our machines in our testlab all works success. But we are monitoring the issue and regullary inserting to the code some steps that can help solve the problem. No results so far.

    As a workaround I can suggest http://www.dragonone.com/products/macosx/pleasesleep/
     
  4. nikeitan

    nikeitan Member

    Messages:
    28
    so any others here are able to sleep computer scheduled at idle time while running a virtual machine? (other then parallels lab, of course)

    let's help the lab!
     
  5. Elric

    Elric Parallels Team

    Messages:
    1,712
    Recent look on the issue revealed one more thing with sleep:

    Mac OS could be not sleeping because VM does some disk-activity. It seems that the most perspective way to workaround is to configure Windows in VM to go to standby in the same time as Mac OS does:

    Start -> Control Panel -> Hardware and Sound -> Change when computer sleeps

    and make the value "Put the computer to sleep" be the same as in Mac!

    So, first VM will go to sleep, then, since there is no more Disk activity from VM, Mac will sleep also (in double-time of the timeout)
     
  6. nikeitan

    nikeitan Member

    Messages:
    28
    Elric,

    first of all thank you for the support.

    But your suggestion not solve the problem. With the Guest OS in stand by (windows), and so without any Guest OS activity, the mac still not sleep at idle. I made some tests on different type of VMs and seems the problem have some relation only with Windows as Guests (both XP and 7).
    With Linux as a Guest OS Parallels work correctly.
    Sorry for that but i used vmware in the past and I've never had this type of problem.

    Hope this help you to investigate more in deep to correct what i consider a significant glitch in your technology.

    Fabio Scognamiglio.

    p.s.
    i made the tests on different macbook (also to an iMac) with same osx version 10.6.4 and the results are the same. This to exclude a specific problem of my mac.
     
  7. Graefe

    Graefe Bit poster

    Messages:
    6
    This is to second Fabio: There is not only a problem with auto sleep and active VMs. (In such cases your workaround may help.)
    If a VM was in Coherence mode before stand by, auto sleep fails, too (with no VM running).

    We definitely need a fix!
     
  8. molson

    molson Bit poster

    Messages:
    1
    PleaseSleep works

    Another discussion thread suggested PleaseSleep and it works for me. Not a clean answer, but it works.

    Mike
     
  9. NikkiN

    NikkiN Bit poster

    Messages:
    3
    I believe that com.parallels.desktop.launchdaemon is causing constant change in the System Preferences, which prevents the system from sleeping.

    If com.parallels.desktop.launchdaemon is successful in configuring en2 and en3, it does not attempt to change System Preferences, therefore it allows MacOSX to go to rest and sleep.

    But if com.parallels.desktop.launchdaemon is unsuccessful in configuring en2 and en3, it attempts to change System Preferences.plist. This causes MacOSX to wake up immediately.

    During the instant wakeup process, I catch that SystemPreferences.plist kept changing right before sleep. Now I figured out why it is doing so. It is caused by Parallels daemon.

    Here are the crash logs that I traced the difference between the restart that causes system not to sleep and restart that allows the system to sleep, i.e., whether VM net is turned off or turned on at boot time.

    There are additional crashes caused by Parallels desktop client at startup. I am not using Parallels nor starting it, so they shouldn't be launched unless I start using it.

    This crash log is the restart that won't let system go to sleep:

    4/3/11 2:31:12 AM [0x0-0x205205].com.parallels.desktop.console[11689] objc[11689]: Class QMacSoundDelegate is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/local/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
    4/3/11 2:31:12 AM [0x0-0x205205].com.parallels.desktop.console[11689] objc[11689]: Class QNSMenu is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/local/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
    4/3/11 2:31:12 AM [0x0-0x205205].com.parallels.desktop.console[11689] objc[11689]: Class QNSStatusItem is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/local/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
    4/3/11 2:31:12 AM [0x0-0x205205].com.parallels.desktop.console[11689] objc[11689]: Class QNSImageView is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/local/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
    4/3/11 2:37:44 AM [0x0-0x208208].com.parallels.server.transporter[11699] objc[11699]: Class QMacSoundDelegate is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /Library/Parallels/Parallels Service.app/Contents/Resources/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
    4/3/11 2:37:44 AM [0x0-0x208208].com.parallels.server.transporter[11699] objc[11699]: Class QNSMenu is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /Library/Parallels/Parallels Service.app/Contents/Resources/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
    4/3/11 2:37:44 AM [0x0-0x208208].com.parallels.server.transporter[11699] objc[11699]: Class QNSStatusItem is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /Library/Parallels/Parallels Service.app/Contents/Resources/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
    4/3/11 2:37:44 AM [0x0-0x208208].com.parallels.server.transporter[11699] objc[11699]: Class QNSImageView is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /Library/Parallels/Parallels Service.app/Contents/Resources/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
    4/3/11 2:37:54 AM [0x0-0x208208].com.parallels.server.transporter[11699] Parallels SDK loaded from path: /Library/Parallels/Parallels Service.app/Contents/Resources/libprl_sdk.dylib
    4/3/11 2:37:57 AM [0x0-0x209209].com.parallels.server.explorer[11702] objc[11702]: Class QMacSoundDelegate is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /Library/Parallels/Parallels Service.app/Contents/Resources/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
    4/3/11 2:37:57 AM [0x0-0x209209].com.parallels.server.explorer[11702] objc[11702]: Class QNSMenu is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /Library/Parallels/Parallels Service.app/Contents/Resources/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
    4/3/11 2:37:57 AM [0x0-0x209209].com.parallels.server.explorer[11702] objc[11702]: Class QNSStatusItem is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /Library/Parallels/Parallels Service.app/Contents/Resources/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
    4/3/11 2:37:57 AM [0x0-0x209209].com.parallels.server.explorer[11702] objc[11702]: Class QNSImageView is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /Library/Parallels/Parallels Service.app/Contents/Resources/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
    4/3/11 2:38:03 AM [0x0-0x209209].com.parallels.server.explorer[11702] Parallels SDK loaded from path: /Library/Parallels/Parallels Service.app/Contents/Resources/libprl_sdk.dylib
    4/3/11 2:38:05 AM [0x0-0x20a20a].com.parallels.desktop.console[11704] objc[11704]: Class QMacSoundDelegate is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/local/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
    4/3/11 2:38:05 AM [0x0-0x20a20a].com.parallels.desktop.console[11704] objc[11704]: Class QNSMenu is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/local/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
    4/3/11 2:38:05 AM [0x0-0x20a20a].com.parallels.desktop.console[11704] objc[11704]: Class QNSStatusItem is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/local/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
    4/3/11 2:38:05 AM [0x0-0x20a20a].com.parallels.desktop.console[11704] objc[11704]: Class QNSImageView is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/local/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.


    This crash log is the restart that allows system go to sleep:

    4/3/11 5:38:48 PM com.vmware.launchd.vmware[43] Internet Software Consortium DHCP Server 2.0
    4/3/11 5:38:48 PM com.vmware.launchd.vmware[43] Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
    4/3/11 5:38:48 PM com.vmware.launchd.vmware[43] All rights reserved.
    4/3/11 5:38:48 PM com.vmware.launchd.vmware[43] Please contribute if you find this software useful.
    4/3/11 5:38:48 PM com.vmware.launchd.vmware[43] For info, please visit http://www.isc.org/dhcp-contrib.html
    4/3/11 5:38:50 PM com.vmware.launchd.vmware[43] Configured subnet: 172.16.116.0
    4/3/11 5:38:50 PM com.vmware.launchd.vmware[43] Setting vmnet-dhcp IP address: 172.16.116.254
    4/3/11 5:38:50 PM com.vmware.launchd.vmware[43] Opened:
    4/3/11 5:38:50 PM com.vmware.launchd.vmware[43] Recving on VNet/vmnet8/172.16.116.0
    4/3/11 5:38:50 PM com.vmware.launchd.vmware[43] Sending on VNet/vmnet8/172.16.116.0
    4/3/11 5:38:50 PM com.vmware.launchd.vmware[43] Internet Software Consortium DHCP Server 2.0
    4/3/11 5:38:50 PM com.vmware.launchd.vmware[43] Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
    4/3/11 5:38:50 PM com.vmware.launchd.vmware[43] All rights reserved.
    4/3/11 5:38:50 PM com.vmware.launchd.vmware[43] Please contribute if you find this software useful.
    4/3/11 5:38:50 PM com.vmware.launchd.vmware[43] For info, please visit http://www.isc.org/dhcp-contrib.html
    4/3/11 5:38:51 PM com.vmware.launchd.vmware[43] Configured subnet: 172.16.222.0
    4/3/11 5:38:51 PM com.vmware.launchd.vmware[43] Setting vmnet-dhcp IP address: 172.16.222.254
    4/3/11 5:38:51 PM com.vmware.launchd.vmware[43] Opened:
    4/3/11 5:38:51 PM com.vmware.launchd.vmware[43] Recving on VNet/vmnet1/172.16.222.0
    4/3/11 5:38:51 PM com.vmware.launchd.vmware[43] Sending on VNet/vmnet1/172.16.222.0
    4/3/11 5:38:51 PM com.apple.launchd[1] (com.parallels.vm.prl_naptd) Unknown key for boolean: SuccessfulExit
    4/3/11 5:38:53 PM com.parallels.desktop.launchdaemon[45] Configuring en2...
    4/3/11 5:38:53 PM com.parallels.desktop.launchdaemon[45] No System Preferences changes required.
    4/3/11 5:38:53 PM com.parallels.desktop.launchdaemon[45] Configuring en3...
    4/3/11 5:38:53 PM com.parallels.desktop.launchdaemon[45] No System Preferences changes required.
    4/3/11 5:39:14 PM com.parallels.desktop.client.launch[288] objc[288]: Class QMacSoundDelegate is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/local/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
    4/3/11 5:39:14 PM com.parallels.desktop.client.launch[288] objc[288]: Class QNSMenu is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/local/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
    4/3/11 5:39:14 PM com.parallels.desktop.client.launch[288] objc[288]: Class QNSStatusItem is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/local/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
    4/3/11 5:39:14 PM com.parallels.desktop.client.launch[288] objc[288]: Class QNSImageView is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/local/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
     

Share This Page