MacOS – Icons and other graphics have strange colored strips after waking Macbook

macossleep-wake

I am running OS X Lion on a late 2008 model Macbook (not pro). From time to time, usually when left on and unattended, the battery gets low and it goes into sleep mode. I kick myself for letting it happen again, plug it in, and power back on. My session is restored as expected, but with some additional interesting graphic effects:

Cool but annoying graphics

All of the application icons when Mission Control is activated have the same green and pink striped pattern background you can see just below the menu bar, and all over the UI of Activity Monitor. This never happens after a normal sleep/wake cycle- only after the battery dies.

I haven't been able to find anybody else experiencing this, let alone somebody who has come up with a solution other than just rebooting.

I have done a few hardware upgrades to this machine- I replaced the original memory with 8GB, and I installed a 128GB OCZ SSD a few months ago. My best guess so far is that maybe it's some sort of disk cache problem, but to be honest I have no idea. So here I am.

What causes this, and how can I fix it?

Best Answer

I have the exact same Problem! I have a MBP 2011 model with OSX 10.75.

I have also done a few hardware upgrades to this machine: I replaced the original memory with 8GB, and I installed a second 128GB OCZ SSD disc a few months ago. The SSD is the OS disc and the original disc is now my second disk.

I have the exact problem after the deep sleep, when the machine runs out of power.

From Mark’s tip, I replaced the new 8 GB RAM back to the original 4 GB RAM, but the problem remains! I assume it is a problem of the OCZ disc. I tried to update the used firmware but I failed as I need a Windows OS to do so.

So I made a workaround: I entered in the Terminal:

$ sudo pmset -a hibernatemode 0

This means that the laptop will never enter DeepSleep (or hibernation, that is the RAM is always powered and in the event of a power loss the state is lost), and in this case the sleepimage /var/vm/sleepimage can also be removed.

Orginial Article: http://linuxtoosx.blogspot.com/2011/10/optimizing-mac-os-x-for-ssd-drives.html

It is no solution for the problem but a workaround to avoid the deep sleep. But this means that your work will not be recovered after shutdown from low battery.