Macbook Pro freezes after sleep
The above mentioned Macbook Pro Retina (Mid 2015) with SSD, running Sierra seems to be freezing most of the times, after attempting to "wake" it up from sleep. The situation has the following observed characteristics:
- Seems to "wake up" (you can see the backlight of the screen activating) but the screen remains black
- Sometimes the mouse pointer may appear but the screen remains black
- Some times it wakes up, gives the login screen but freezes (spinning ball) after logging in
- Happens only after some time has passed (perhaps 15') after initiating the sleep.
- It has higher possibility to happen when connected to power
- Thought there may be a conflict with the Energy Saver Display-off settings but keeps the same behaviour in all possible different settings including when choosing not to allow the display to switch off.
In all the above cases the system has to be hard rebooted by pressing the power button.
I would welcome any ideas on what may be wrong but also advice on where to look (log files?) to debug the situation.
The first things I'd try are to reset both the NVRAM and SMC in that order. Before following the steps below, ensure you have no external hardware connected (so, unplug your external display) and make sure you use the built-in keyboard.
Reset the NVRAM
Older Macs had what's called Parameter RAM (PRAM), newer Macs use Non-Volatile Random-Access Memory (NVRAM). Here’s how to reset the NVRAM on your particular MBP:
- Shut down your machine. Yes, a full shut down, not just logging out.
- Press the power button and then press the commandoptionpr keys. You have to make sure you press these keys before the gray screen appears or it won’t work.
- Hold those keys down until your Mac reboots again and you here the startup chime.
- Let go of the keys and let your Mac reboot normally.
Note: When you log back in you may need to readjust some of your system preferences (e.g. speaker volume, screen resolution, startup disk selection, time zone information, etc).
Reset the SMC
To reset the SMC on your particular MBP, follow these steps:
- Shut down your computer
- Keep the power cable plugged in.
- Press at the same time:
- optioncontrol (on the left side of the keyboard)
- shift (on the right side of the keyboard for computers with the T2 security chip; on the left side otherwise)
- power button
- Keep holding for 10 seconds and then let go
- Turn your computer back on with the power button.
After resetting both the NVRAM and SMC, use your computer to determine if the issue still persists.
My mac kept freezing after upgrading the SSD, which forced me to upgrade to Mojave.
Resetting NVRAM and SMC didn't help for me, but I saw other threads that mentioned the hibernatefile, which is in /var/vm/sleepimage, and advised to delete it.
On Mojave, you can't delete it without de-activating SIP, but another hint said you could Eject the /var/vm/sleepimage like a DMG through the Finder.
I did that, and on reboot, a new swapfile0 showed up and I haven't had any problem since so far, so my guess is that the swapfile was missing and causing issues on wake up from sleep.
I had this problem too after updating to 10.13.4 on a MBP Late 2013. I did a clean install and the problem still occurred. What helped for me is to switch off FileVault or disk encryption. After this, everything ran smooth again and no freezes occurred anymore. Apparently FileVault and the newer APFS don't get along quite well yet, and freezes like these are one of the symptons.
Ive been struggling with this for two days and I found the resolution for 10.13.6
You will find this problem ONLY happens when your MacBook Pro is plugged in and it relates to log out after x amount of time.
My Fix: Go to System Preferences / Security & Privacy / Advanced... then turn OFF Log out after x minutes of inactivity.
Fixed.