- Joined
- Mar 4, 2012
- Messages
- 34
- Motherboard
- Intel NUC8i7BEH
- CPU
- Core i7-8559U
- Graphics
- Iris Plus 655
- Mac
I'll have to pay more attention to it, I just uploaded 8.4 and 8.5 to page 89 if you are interested. I'd suggest clearing the NVRAM after updating.
Currently running Ventura (latest public beta) under Leesureone's OC 0.8.3 EFI. Did a fresh install to a clean partition, all working well on initial boot. However, have noticed some weird power management issues - since there are a couple of folks here running Ventura thought I'd ask if anyone else has run into these:
1) After waking from sleep a series of apps don't respond and freeze (Safari, App Store). After a clean boot they work normally
2) Sometimes the NUC doesn't enter sleep mode after idle time, and is in a hung state without video output. Needs a hard power reset to come back.
OK, so I finally had the chance to debug and fix issue 2) properly. Going to share my findings here in case they could help someone else with the same issue (@Leesureone).
The symptom wasn't that the NUC wasn't entering sleep mode, but rather after a longer period of sleep it was in a powered on/hung state without video output and needed a hard restart to fix.
Checking the power management logs in terminal, I found these messages:
% pmset -g log | grep -e "Sleep.*due to" -e "Wake.*due to"
2023-03-19 18:36:00 -0400 Sleep Entering Sleep state due to '': Using AC (Charge:0%)
2023-03-19 22:13:21 -0400 Sleep Entering Sleep state due to 'Software Sleep pid=160':TCPKeepAlive=active Using AC (Charge:0%) 3875 secs
2023-03-19 23:17:56 -0400 DarkWake DarkWake from Normal Sleep [CDN] : due to RTC0/Maintenance Using AC (Charge:0%) 46 secs
2023-03-19 23:18:42 -0400 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using AC (Charge:0%) 16323 secs
2023-03-20 03:50:45 -0400 DarkWake DarkWake from Normal Sleep [CDN] : due to RTC0/Maintenance Using AC (Charge:0%) 45 secs
2023-03-20 03:51:30 -0400 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using AC (Charge:0%)
2023-03-20 08:47:46 -0400 Sleep Entering Sleep state due to '': Using AC (Charge:0%)
This line was the key:
2023-03-20 03:50:45 -0400 DarkWake DarkWake from Normal Sleep [CDN] : due to RTC0/Maintenance
For whatever reason, RTC0 is waking the NUC and its not able to place it back into the correct sleep state.
Googling this leads to a suggestion to disable RTC wake scheduling in the OC kernel config where the darkwakes are showing in the pm log: https://github.com/rafaelmaeuer/Asus-Z590-P-Hackintosh/blob/main/Docs/SLEEP.md
This fixed it.
Couldn't find info on the impact of disabling this RTC0/Maintenance job, the OC docs are pretty sparse here. If it means a bit of RTC drift I can live that that.
Also don't get why I had this issue in the first place (noone else reported it), but anyways, glad I don't need to hard power down each day now