Skip navigation

poor performance after wake from sleep in Lion

14269 Views 78 Replies Latest reply: Mar 25, 2013 8:49 AM by joevt RSS
  • gtrmanla Level 1 Level 1 (0 points)

    Same issue here... after battery being totally depleted graphics are distorted and it takes my MacBook Pro 2.3 GHz Core i7, 4 GB 13333 MHz DDR3 well over 1 minute to recover. Has anyone taken their computer to Apple? Any word on a fix?

    I'm taking mine in if no fix here, I'll let you all know what the outcome was.

  • blacksteak Calculating status...
    Currently Being Moderated
    Oct 21, 2011 12:58 PM (in response to gtrmanla)

    Hey everybody !

     

    There is a solution : here : https://discussions.apple.com/thread/3198002?start=45&tstart=0

     

    Simply use drivers from Snow Leopard into Lion.

     

    And it really seems to work !

  • georgefromtemp Level 1 Level 1 (0 points)
    Currently Being Moderated
    Oct 23, 2011 4:58 AM (in response to blacksteak)

    Didn't work for me. Just crashed my install and I had to reinstall Lion. yay.

  • raulcab Calculating status...
    Currently Being Moderated
    Oct 24, 2011 5:56 AM (in response to blacksteak)

    It WORKS for me!!!!! thanks god!

  • WEBconsultant Calculating status...
    Currently Being Moderated
    Nov 17, 2011 7:49 AM (in response to macreal)

    1080p video playback in VLC media player

     

    after reboot

    /___sbsstatic___/migration-images/167/16759729-1.jpg

     

    after wake from sleep

    /___sbsstatic___/migration-images/167/16759729-2.jpg

     

    iMac 21.5-inch, Mid 2011 

    2,5  GHz Intel Core i5

    12 Gb 1333 MHz DDR3 

    AMD Radeon HD 6750M 512 MB 

    Mac OS X Lion 10.7.2 (11C74) 

    Kernel: Darwin 11.2.0

    iMac, Mac OS X (10.7.2)
  • WEBconsultant Level 1 Level 1 (0 points)
    Currently Being Moderated
    Nov 18, 2011 12:47 AM (in response to WEBconsultant)

    Delete all files from /Library/Preferences/SystemConfiguration and the problem is solved

    Nice performance after wake from sleep

  • ViktorCode Level 1 Level 1 (10 points)
    Currently Being Moderated
    Nov 18, 2011 10:00 AM (in response to WEBconsultant)

    Didn't work for me. Also, some people on this thread mentioned that complete Lion re-install didn't help either.

     

    I guess performance issue could be caused by some compatibility issue with older software / settings. And if you have NVIDIA graphocs most likely it can be fixed by cleaning your system or installing fresh copy of Lion.

     

    However, there are also us, ATI owners. And the only discovered "fix" for us is to roll back to old Snow Leopard kexts, which isn't an option for me. I'm still waiting for the real fix from ATI / Apple.

  • josephchew02 Calculating status...
    Currently Being Moderated
    Apr 13, 2012 1:42 AM (in response to raulcab)

    Yea, I uninstalled the Air Display and the performance of graphic (in term of scrolling up and down in safari and preview) on my macbook pro 13 early 2011 is back to normal. I do not know why is it so but I hope this issue can be addressed.

     

    However I have another issue, which is when connect to an external monitor via thunderbolt port, the system will show two screens even though the main display has been closed down by closing down the lid. I shall try it later to see whether it is related to the Air display as well.

  • scuac Calculating status...
    Currently Being Moderated
    Jun 19, 2012 7:35 AM (in response to macreal)

    A year later, 10.7.4, and this is still an issue. Seriously Apple?

  • Glenn Gutierrez Calculating status...
    Currently Being Moderated
    Jul 31, 2012 9:14 PM (in response to macreal)

    It appears that Mountain Lion has not fixed this issue. I upgraded, put my Mac Pro 3,1 (with ATI Radeon 5770) to sleep for a minute, woke it up, and launched Diablo III. Even in the menus, with the character loop, you can see that frame rates are decimated. Restart fresh, no problems.

     

    The good news is that Diablo III and WoW seem to run fine in Mountain Lion otherwise.

  • Mac Admin1 Level 1 Level 1 (0 points)

    From what I've read here and there, and based on my own experience, OS X has this issue of low OpenGL performance after 'wake from sleep' (at least since) 10.6.x up till 10.8.1 (that I'm running now).

     

    You can easily prove it like this:

     

    - restart your mac / or start from cold and run a Cinebench "OpenGL" test

       you can DL from here: http://www.maxon.net/products/cinebench/overview.html

    - put your Mac to sleep

    - wake from sleep

    - run the "OpenGL" test again

     

    most probably you'll see a serious degradation in performance. In my case 15fps down from the 55fps

     

    Here's how managed to live with this issue since 10.6.x

     

    I've created an AppleScript that I run each morning when I wake my mac.

    What it does is, that it switches the resolution of monitor to some other resolution, then switches back to my desired native resolution - you will have to adopt the script depending on your monitor/video card.

     

    After running this script your OpenGL performance will return to it's normal.

     

    There was a change in System Preferences/Display since Mountain Lion, so you need different script depending on your OS version.

     

    The lines responsible for resolution are those that start with:

     

    select row 2 of table 1 ...

     

    the number after 'row' is the number of resolution within your list

     

     

    - - - - - - - - - - - - - - - - - - - - - - 

    Script for 10.6.x/10.7.x users:

    - - - - - - - - - - - - - - - - - - - - - -

     

    tell application "System Preferences"

      activate

              set current pane to pane "com.apple.preference.displays"

    end tell

     

    tell application "System Events"

     

              click radio button "Display" of tab group 1 of window 1 of process "System Preferences"

     

              select row 2 of table 1 of scroll area 1 of group 1 of tab group 1 of window 1 of process "System Preferences"

              select row 5 of table 1 of scroll area 1 of group 1 of tab group 1 of window 1 of process "System Preferences"

    end tell

     

    tell application "System Preferences"

      quit

    end tell

     

     

     

    - - - - - - - - - - - - - - - - - - - - - - 

    Script for 10.8.x users:

    - - - - - - - - - - - - - - - - - - - - - -

     

    tell application "System Preferences"

      activate

              set current pane to pane "com.apple.preference.displays"

    end tell

     

    tell application "System Events"

     

              click tab group 1 of window 1 of process "System Preferences"

              click radio button "Scaled" of tab group 1 of window 1 of process "System Preferences"

     

              select row 2 of table 1 of scroll area 1 of tab group 1 of window 1 of process "System Preferences"

              select row 5 of table 1 of scroll area 1 of tab group 1 of window 1 of process "System Preferences"

    end tell

     

    tell application "System Preferences"

      quit

    end tell

  • Glenn Gutierrez Level 1 Level 1 (30 points)
    Currently Being Moderated
    Sep 17, 2012 3:46 PM (in response to Mac Admin1)

    Indeed, my Cinebench OpenGL score goes from 30 down to 17 post-sleep, then right back to 30 after running your 10.8.x script. For my 1920x1200 display, I have it going to row 3 (1600x1200) and back to row 1 (1920x1200). Very convenient. Well, less so than Apple fixing this old, easily-reproduced issue, but still rocking.

     

    Thank you!

  • Mac Admin1 Level 1 Level 1 (0 points)

    Running this script after wake can be automated by invoking other helper apps like SleepWatcher.

     

    A quick quide on how to setup a 'wake' script with SleepWatcher:

     

    http://theglenbot.com/sleep-and-wake-scripting-osx/

     

    Let me note, to run an AppeScript from terminal or bash script we have to use the command osascript

     

    so for example type in Terminal

     

    osascript /path/to/your/applescript.scpt

     


  • ColonelSmith Calculating status...
    Currently Being Moderated
    Oct 1, 2012 10:14 AM (in response to Mac Admin1)

    Or you can just use the status bar app I threw together when I started noticing this issue over the weekend on my MP.

     

    It's available here: https://github.com/winterton/wakeRes/downloads

     

    It's not signed, so gatekeeper may complain, but I'm primarily an iOS developer so I never got around to spending the extra $99 for a Mac dev program account. Also, I haven't tested it on any other machine than my own, so any input would be appreciated.

  • Glenn Gutierrez Level 1 Level 1 (30 points)
    Currently Being Moderated
    Oct 5, 2012 12:43 PM (in response to ColonelSmith)

    Very nice! I've used wakeRes for a few days now, with no problems. It's also quicker than the AppleScript, so it's a keeper. One minor thing: Even if set otherwise, the delay setting goes right back to 15 seconds after a reboot.

     

    Curious: My Mac Pro requires a password on wake. The delay countdown seems to start from 'wake' time, and not after password entry. If the refresh happens to occur before entering the password, I'm assuming it's all the same to the OS? (Seems ok so far.)

     

    Thanks!

Actions

More Like This

  • Retrieving data ...

Bookmarked By (7)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.