-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to fix Hibernation #48
Comments
Added the settings and kext and changed Hibernatemode to 25 in Sonoma. Now, if I send the system to sleep, I can no longer wake it via the Or do I have to change delays o anything else here?:
I don't know how to system to force into hibernating but it damn sure fixed idle sleep. On the RTCMemoryFixup repo I read:
So, if I understand this correctly, with the boot-arg you added, hibernation shouldn't work. Originally posted by @5T33Z0 in #43 (comment) |
Originally posted by @jozews321 in #43 (comment) |
Originally posted by @5T33Z0 in #43 (comment) |
Originally posted by @jozews321 in #43 (comment) |
I did some more testing today. Here are my results so far:
|
@5T33Z0 Try to make varios hibernations in a row that's when freezing after wake issues started to happen without the In hibernationmode=3 it's normal that that the laptop darkwakes up when the time in I've tried the NVRAM dump but it doesn't work for me either, maybe it needs the Debug version of the kext As for |
Yes, I had
If I understand hibernation correctly, it should write the current system state to disk and turn it off after the If I do nothing, the system enters Or am I missing something here in terms of dependencies? I think need to create a flowchart/organigram to fully understand it. |
The flow goes like this:
So this is what happens when using |
Thanks for the explanations. I think this flag might be helpful as well:
EDIT: So I disabled the RTC Wake Scheduler Kernel Patch and changed |
Very late to the game here but thought that I'd post just in case this helps someone. I have actually used the tips here to fix hibernation on my Dell Precision 5550. Online guides require the Precision 5550 RTC to be unlocked by IFR modification to the system BIOS. However, I was unable to successfully extract any useful IFR information (IFR extraction utilities error out) to locate the bits to modify. This left me with a black screen & KP upon every wake. Following these exact steps:
Plus the config.plist changes:
80818283 84858687 88898A8B 8C8D8E8F 90919293 94959697 98999A9B 9C9D9E9F A0A1A2A3 A4A5A6A7 A8A9AAAB
and these are my pmsets: System-wide power settings: Now, while this all worked beautifully under Moneterey, it fails miserably for Ventura. |
@acmehax Thanks for your input. I am just not sure if these settings are applicable to the T530, since the Dell precision 5500 uses a 10th Gen Intel CPU, while mine uses a 3rd Gen. Did you mean |
Yes, you are correct, that should have read HibernationFixup.kext (fixed now). Yes, I understand that this has nothing to do with the Lenovo and I don't wish to hijack this topic but I find that I often happen upon tips when perusing threads for other systems so I figured perhaps this helps more than hurts for now. I am a bit confused now as it seems that blacklisting the memory range that I did should have killed hibernation altogether (as per RTCMemoryFixup.kext details) but under Monterey, I swear hibernation was functional, requiring a power button click to restore desktop. Now, I've removed the blacklist and tried the reserved memory mod but I still have black screen wake and likely KP as fan runs full on wake. OK, now using rtcfx_exclude=80-AB to boot-args instaed of rtc-blacklist, I can see that the RTC is truly blocked as the date/time are NOT correct. So apparently the rtc-blacklist was not functioning. I guess that I'll need to revert to experimenting with various memory ranges for rtcfx_exclude until something takes. That or figure out where I can fins a way to extract the bit I need to set to unlock the RTC on the Precision 5550. |
@zx0r Thanks. I added a link to ot in my OC-Little repo (Chapt. 4) |
@5T33Z0 After spending a lot of time trying to find guides or any info on hibernation in modern hackintosh (OpenCore). I managed to fix hibernation, before these fixes I was only getting a black screen or a restart when trying to wake from hibernation
hibernatemode=25
the main problem was some RTC memory regions getting overwritten when starting the machine again, there were other small issues too. I tested with Catalina and Sonoma and its been reliable so farTo fix hibernation you will the kexts
HibernationFixup
andRTCMemoryFixup
rtcfx_exclude=80-AB
to boot-argsHibernateMode
to NVRAM in Misc/BootRebuildAppleMemoryMap
to False in Booter/QuirksReservedMemory
entryReservedMemory.plist.zip
HibernateSkipsPicker
in Misc/Boot to true for a more seamless hibernation wakeTo fix a black screen that happens after hibernating and waking once and then try to hibernate again
DiscardHibernateMap
Booter quirkOriginally posted by @jozews321 in #43 (comment)
The text was updated successfully, but these errors were encountered: