macOS High Sierra 10.13 slow graphics after battery sleep

2017 MacBook Pro 3.1Ghz

Having upgraded to macOS High Sierra 10.13, the graphics have slowed down significantly after sleep.


Steps to reproduce:

1. Close lid (default power settings)

2. Unplug from mains power

3. Wait 1 hour

4. Open lid and login

5. Try a graphics intensive app or game and notice a slow down?


Is this a known issue?


- Have a tried a clean install of 10.13.

- Have tried reverting to 10.12 (problem does not exist on 10.12.6)


The only option is to reboot.

MacBook Pro TouchBar and Touch ID, macOS High Sierra (10.13)

Posted on Oct 18, 2017 9:46 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 26, 2017 9:47 PM

After another week of testing, I have found that when I change my macbooks sleep mode to "sleep" instead of the default "safe sleep", this problem does not occur anymore...


Use this command to check your current sleep mode...

pmset -g | grep hibernatemode


Default is 3. I set mine to 0.


sudo pmset -a hibernatemode 0 - to set the desired sleep mode.


0 - Old style sleep mode, with RAM powered on while sleeping, safe sleep disabled, and super-fast wake.

1 - Hibernation mode, with RAM contents written to disk, system totally shut down while “sleeping,” and slower wake up, due to reading the contents of RAM off the hard drive.

3 - The default mode on machines introduced since about fall 2005. RAM is powered on while sleeping, but RAM contents are also written to disk before sleeping. In the event of total power loss, the system enters hibernation mode automatically.

5 - This is the same as mode 1, but it’s for those using secure virtual memory (in System Preferences -> Security).

7 - This is the same as mode 3, but it’s for those using secure virtual memory.

211 replies

Nov 30, 2017 12:52 PM in response to spearer

The problem isn't the automatic switching but low performance of the dGPU. For example, I can specifically choose the dGPU in Blender and get bad performance in the aforementioned setting.


I tried disabling the automatic switch though, didn't have any effect :-(


Haven't tried the latest beta yet, unfortunately I don't have the time to do that right now. Anyone else tried it?

Nov 30, 2017 1:47 PM in response to Kikangh

Yeah, it is really frustrating...


Had yet another phone support session yesterday. I literally showed the support guy this thread and others on my screen, but he didn't even bother writing anything down. Instead I am scheduled for yet ANOTHER phone call this weekend.


And before you ask, phone support didn't seem to know about this problem and couldn't fix it either. Just the usual resetting/cache deleting/os reinstalling crap they give you to keep you busy :-/

Dec 3, 2017 6:33 AM in response to Sg1team

I really don't want to go through the trouble of reinstalling the OS and if I am I would surely install Sierra just to be sure it's worth it. Reinstall it's not going to fix it, this is a ****** just like root issue. Either wait with the system like this or roll back to Sierra. I don't see any worth of wasting energy in troubleshooting this anymore. I give up. $2k machine acting like this is unacceptable.

Dec 4, 2017 4:02 AM in response to bartekjonczy

Man that *****... how can we even be sure that Apple knows about this problem? I specifically asked the support guys if this problem is known to Apple and everyone said "absolutely not, heard it for the first time myself". Surely this could be a strategy by Apple, but an official statement would be much apreciated nevertheless.


I think I'm going to collect my hard data in form of benchmarks into a pdf and pitch it to a few tech news sites, maybe they care more about us than Apple does 😁

Dec 5, 2017 1:23 AM in response to Tightlovin

Yes, I've been on the phone with Apple several times now. They always claim that the problem is not known to Apple, the support guys always "never heard of it before". Latest advice was to do a clean reinstall of High Sierra with no user data migrated and check if the problem still exists.

I'm at a point now where I am going to call them again and demand them to check it themselves, I bet you that the problem also occurs on brand new machines... I'm sure as **** not going to risk my data to find a bug for Apple, not after paying ~3200€ for that thing!


By the way, I always point out to them that this thread exists and there are many people having this problem. But this always gets ignored.


@Tightlovin: Best double-check if turning automatic graphics switching really solves the problem, as it didn't do that for me and a few other people in here.

Dec 7, 2017 1:25 AM in response to star-affinity

Steps to reproduce on MacBook:

1. restart your mac

2. open any app/benchmark/game that uses 3D graphics and have a fps counter, take note of the fps value

3. close lid (it doesn't matter if you are on battery or external power)

4. wait 1 hour (the issue will happen after some time of sleep, maybe it's less, but waiting 1 hour will trigger the bug for sure)

5. open lid and login

6. reopen the same app as point 2, take note of the fps value and note that it dropped about 70%

Dec 7, 2017 11:16 AM in response to kungufli

Do you have an external display connected? I just tried to reproduce it now, but wasn't able. I have updated macOS to 10.13.2 and I have a MacBook Pro (15-inch, Late 2013) so it has Nvidia graphics.


I ran some graphics intensive stuff (Starcraft 2 and the OpenGL tests in ”OpenGL Extensions Viewer.app” and it seems just as fast on a second try after at least 1 hour of computer sleep. Will continue testing, but maybe the problem shows itself more easily in AMD graphics?

Dec 9, 2017 4:54 PM in response to star-affinity

The problem still happens for me with 10.13.2. It doesn't matter if an external display is connected, the problem still happens. I have no time to check all possible configurations with that though.


I pretty much can rule out any third party software, as the problem also occurs after a clean install of High Sierra. It also didn't occur under Sierra, and my software stack hasn't changed since, only updates of Photoshop and Wacom Driver software were installed. But again, it also happens under a clean High Sierra with nothing on it than a benchmark.


Oh and by the way: 10.13.2 fixed a security bug somewhere in the graphics stack, so this might explain any updated drivers or kernel extensions that we might see in that area.

Dec 10, 2017 3:05 PM in response to ScrewedDK

I believe Apple is looking at it.


Hopefully they can replicate the issue, some days it happens almost all the time for me yet on other days only 50%.


With any software from any company there's always a lot to do for a new release:- gather information, replicate the issue, schedule it, fix it, re-test, document .... so I am not at all surprised it didn't get into 10.13.2. I am hoping it'll make 10.13.3


Originally the corner stone of graphics rendering was OpenGL, then Metal came in the mix and now Metal 2 - don't look now but the very foundations are being changed under our feet. No surprise there are issues.


Just hoping they'll continue solid support for OpenGL going forward, I don't want to be in the middle of a Vulcan, DX11, Metal 2 war.

Jan 12, 2018 5:31 AM in response to spearer

For what it's worth, I haven't experienced the graphics slow down at all in the past two weeks--I'm using a mid-2015 Retina MacBook Pro 15" Iris Pro only (2.2GHz) and have installed all Apple supported updates the day they've come out.


I can't say that this is what's causing the slowdown, but I have made one change to my workflow that lines up with the timeline of stopped slowdowns..


I no longer use Safari -- I've switched to Firefox (57) full time-- and as a result, I've turned off iCloud sync of safari data --


Again, I'm not attempting to point the finger at Safari or iCloud to blame these slow downs..but in my workflow at least, it's the ONLY change I've made; and since making the switch to Firefox (as in NOT using or even opening safari since the switch at all) I haven't experienced the slowdown at all--and HAVE NOT rebooted once since the switch.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

macOS High Sierra 10.13 slow graphics after battery sleep

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.