black screen after sleep
My iMac usually won't wake up after sleep; I get a black screen and have to force it to restart. This started when I got my new M1 iMac and transferred from my Intel iMac using Migration Assistant. What I've tried, and some clues as to my problem:
• It only happens in my user section, not the other user (also admin).
• I reinstalled macOS over the previous OS.
• I removed all login items and removed everything from my user Library's LaunchAgents folder.
• I disconnected all external things (backup drives). I have no hub or anything.
• I talked to Apple Support and sent them logs, and they said it appears not to be a hardware issue.
• I ran Disk Utility from Recovery; no problems found.
• My Notification Center also didn't work properly (I couldn't edit widgets); I ended up resetting it via Terminal, and now it works.
• I would intermittently get a warning, when syncing my iPhone, that USB accessories were using too much power, even though the only thing connected was my phone. Haven't had that warning in a while, though, so maybe the last update fixed it...?
• I tried (in System Settings) preventing automatic sleeping when the display is off and not allowing the display to turn off, but the issue still occurred.
• This may be unrelated, but Console's system.log shows hundreds of entries (about 1/minute) like this:
Apr 26 00:01:29 purpleiMac MobileDeviceUpdater[81414]: Entered:__thr_AMMuxedDeviceDisconnected, mux-device:3447
Apr 26 00:01:29 purpleiMac AMPDeviceDiscoveryAgent[78715]: Entered:_AMMuxedDeviceDisconnected, mux-device:3447
I'm hoping this issue can be fixed without having to erase the computer!! Could a corrupted preference file be causing this? I saw something about deleting /Library/Preferences/com.apple.powermanagement.plist, but I have 3 such files and they're for the whole computer, and the other section seems to be fine, so I don't know.
Any help would be much appreciated!!
iMac (M1, 2021)