I'm having the same issue for the past month or so.
First Time
- Everything working fine (though in Fusion I was getting chronic blinking that would lose focus on the VM - upgrade to 7 fixed)
- Walk away and come back - screen black
- First time, reset PRAM worked, and screen back back on
- Subsequent two times - NOTHING seems to make any difference (resetting PRAM and SMC don't fix anything)
Last week, I had the laptop connected to an external display because primary was black, and all of a sudden, the display just came back on (no rhyme or reason). It has worked perfectly for about 2 weeks.
This morning, I came into the office, hooked up an external monitor, everything working normally with extended display, <BLINK> laptop screen went black again. I did find a few errors in system.log regarding ambient light sensor, so I turned that off. I have also disabled any power management so the laptop no longer goes to sleep (it dims a little on battery - that is the only checkbox I have selected). I have also turned off automatic switching of graphics.
Every reboot breaks the permissions for this directory (owner and group set back to 244), so it looks like this directory must be created on startup of this displaypolicyd thing. I tried adding the "fixesPermissions.sh" script to my profile - no dice (but if the dir doesn't exist when it runs - that would make sense).
Permissions after reboot:
drwxr-xr-x 2 _displaypolicyd _displaypolicyd 68 Sep 25 22:22 displaypolicyd
I just found the displaypolicyd.log and .stdout.log files and I see this for every reboot:
u>3210670761 /usr/libexec/displaypolicyd: Started at Mon Jan 5 11:59:46 2015
u>3252012995 ERROR: AGDC suppport not present in system
u>3252013024 ERROR: Policy engine instance init failed
I also used:
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.displaypolicyd.plist
sudo launchctl load /System/Library/LaunchDaemons/com.apple.displaypolicyd.plist
so I could watch the log and see what happens. On load, I get the above errors, and it doesn't seem anyone knows what this means. I saw one person speculate that the "battery was failing or there was a problem with RAM, PRAM, or the SMC" <not super helpful>.
Is AGDC something newer than my MBP? If that's the case - then I'm way down the wrong road because the problem is intermittent, and nothing I do seems to consistently fix it (like reset PRAM worked the first time - then not again, and resetting SMC did nothing. Then after I have resolved to just live with it for now and use an external monitor, the screen comes back on.. now its just gone back off. WTH, Apple??).