jamesst20 Posted February 9, 2022 Posted February 9, 2022 (edited) Send me : https://www.sendspace.com/file/4btvd4 Hi, Sleep is working properly however it randomly freeze while in sleep. Sometimes I come and move my mouse and the laptop power up just fine from sleep and sometimes it seems like it powered on already on its own but it's frozen there. I can here fan but the screen remains black. Other times it powered on on it's own already but the screen is still black and moving my mouse power it up fine too. Is there a way to fix this? I don't know if it helps, but sometimes when I force reboot my laptop, there is some kind of BIOS Recovery / Failsafe on whitescreen that is displayed telling me I did not shutdown properly multiple times. Logs are not very helpful but here it is from Console App Sleep Wake Failure_2022-02-09-133020_Jamess-MacBook-Pro.diag Sleep Wake failure in EFI Failure code:: 0x00000000 0x0000001f Please IGNORE the below stackshot ================================================================ Date/Time: 2022-02-09 13:30:17.119 -0500 OS Version: ??? ??? (Build ???) Architecture: x86_64 Report Version: 35 Incident Identifier: 27C75AD4-CC49-4606-A5F9-434E1DD3A94C Data Source: Stackshots Shared Cache: 40432A03-88D3-305F-9C0C-E7549E71D927 slid base address 0x7ff812b1b000, slide 0x12b1b000 Event: Sleep Wake Failure Duration: 0.00s Steps: 1 Boot args: keepsyms=1 swd_panic=1 debug=0x100 alcid=11 -wegnoegpu -igfxblr igfxonln=1 chunklist-security-epoch=0 -chunklist-no-rev2-dev Time Awake Since Boot: 16s Process: swd [360] Architecture: x86_64 Footprint: 408 KB Time Since Fork: 1s Num samples: 1 (1) Thread 0x93d 1 sample (1) priority 4 (base 4) <thread QoS background (requested background), thread darwinbg, process darwinbg, IO tier 2> 1 ??? [0x1077ad4fe] 1 1 ??? [0x107098454] 1 1 ??? [0x1070981e8] 1 1 __stack_snapshot_with_config + 10 (libsystem_kernel.dylib + 149174) [0x7ff812e1c6b6] 1 *1 ??? [0xffffff8000228226] 1 *1 ??? [0xffffff800099e9d4] 1 *1 ??? [0xffffff8000894e84] 1 *1 ??? [0xffffff800024be78] 1 *1 ??? [0xffffff80002881ad] (running) 1 Binary Images: 0x7ff812df8000 - 0x7ff812e2efff libsystem_kernel.dylib (8019.61.5) <5AA1E5BE-B5B8-3A02-9885-A8C99E0CA378> /usr/lib/system/libsystem_kernel.dylib Edited February 9, 2022 by jamesst20
Administrators MaLd0n Posted February 9, 2022 Administrators Posted February 9, 2022 DSDT.aml.zip Disable hibernate. use only sleep -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
jamesst20 Posted February 10, 2022 Author Posted February 10, 2022 (edited) 15 hours ago, MaLd0n said: DSDT.aml.zip 57.74 kB · 0 downloads Disable hibernate. use only sleep Thank you Can you explain me how to disable hibernate and what are the advantage/disadvantage? Also, if I use your DSDT, should I remove all my other aml files? Do i need to keep my IRQ patches in config.plist? What are the improvements inside your DSDT over what I currently have ? I did this from the OpenCore guide few weeks ago: sudo pmset autopoweroff 0 sudo pmset powernap 0 sudo pmset standby 0 sudo pmset proximitywake 0 sudo pmset tcpkeepalive 0 Edited February 10, 2022 by jamesst20
Administrators MaLd0n Posted February 10, 2022 Administrators Posted February 10, 2022 here we don't use generic things with a bunch of ssdts. use it only to easy boot after we need a good fine tune with this way only dsdt solve all but ut sleep problem is not common. need some debug for check what6 cause it check debugenhancer https://github.com/acidanthera/DebugEnhancer 1 -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
jamesst20 Posted February 10, 2022 Author Posted February 10, 2022 (edited) 22 minutes ago, MaLd0n said: here we don't use generic things with a bunch of ssdts. use it only to easy boot after we need a good fine tune with this way only dsdt solve all but ut sleep problem is not common. need some debug for check what6 cause it check debugenhancer https://github.com/acidanthera/DebugEnhancer Thanks for getting back to me. Can you confirm the following? 1. Install DebugEnhancer and add -dbgenhdbg boot flag. (I'm guessing I should use one with latest fix at the bottom here for monterey? https://github.com/acidanthera/bugtracker/issues/1916) 2. Remove all .aml files and use only your DSDT.aml 3. Should I keep IRQ Patches in config.plist? 4. What do you mean by disabling hibernate? Last step: Reproduce sleep wake failure. How will I get the log? Edited February 10, 2022 by jamesst20
Administrators MaLd0n Posted February 11, 2022 Administrators Posted February 11, 2022 disable hibernate and use only sleep u dont need irqs patch in config.plist -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
jamesst20 Posted February 11, 2022 Author Posted February 11, 2022 (edited) 5 hours ago, MaLd0n said: disable hibernate and use only sleep u dont need irqs patch in config.plist Removed all SSDT, added your DSDT.aml, added DebugEnhancer with boot flag, removed OC patches (IRQ/HPET) and rebooted. Did sudo pmset -a hibernatemode 0 and put the laptop in sleep. Laptop sleep just fine but I can't wake it up unless I open the lid and press power button Seems waking by USB is no longer working. Send me https://www.sendspace.com/file/877pyy Edit: Updated BIOS from 1.3.1 to 1.7.0 I redumped DSDT using SSDTTime in Windows (I booted without OpenCore). Could you re-do me a new DSDT? (I attached the zip) It did not fix usb wake SSDTTime - Alienware - 1.7.0 BIOS.zip Edited February 11, 2022 by jamesst20
Administrators MaLd0n Posted February 11, 2022 Administrators Posted February 11, 2022 select rebase regions in acpi tab, reboot and extract sendme. use ur ssdts for now with no acpi renames -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
jamesst20 Posted February 12, 2022 Author Posted February 12, 2022 16 hours ago, MaLd0n said: select rebase regions in acpi tab, reboot and extract sendme. use ur ssdts for now with no acpi renames Went back to using my SSDTs (new ones with new BIOS), Upgraded to OpenCore 0.7.8 and Upgraded Kexts. Selected Rebase Regions and disabled HPET rename patch and rebooted. USB Wake Support is re-working again https://www.sendspace.com/file/31fs0n
Administrators MaLd0n Posted February 12, 2022 Administrators Posted February 12, 2022 add bootarg dk.e1000=0 DSDT.aml.zip first check if sleep work. if yes solve wake from device later -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
jamesst20 Posted February 13, 2022 Author Posted February 13, 2022 (edited) 23 hours ago, MaLd0n said: add bootarg dk.e1000=0 DSDT.aml.zip 57.87 kB · 0 downloads first check if sleep work. if yes solve wake from device later Do I keep RebaseRegions enabled and do I put back my ACPI renames (for Fix HPET and Fix IRQ) I'm still using my new SSDTs and I have yet been able to reproduce the sleep issue. It's unusual normally it doesn't make it through the night. Only difference with new SSDTs vs old ones is the BIOS update and that I am using SSDT-USB-EC from SSDTTime and SSDT-USBX from Dortania instead of the SSDT-EC-USBX from Dortania Edited February 13, 2022 by jamesst20
Administrators MaLd0n Posted February 16, 2022 Administrators Posted February 16, 2022 here we using ssdt just to installation. is a easy way for incomplete solution -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
jamesst20 Posted February 16, 2022 Author Posted February 16, 2022 (edited) 1 hour ago, MaLd0n said: here we using ssdt just to installation. is a easy way for incomplete solution I meant: Do I keep RebaseRegions enabled and do I put back my ACPI renames (for Fix HPET and Fix IRQ) along with your DSDT You made me enable RebaseRegion and disable ACPI renames to dump DSDT. I want to know if I revert those back Edited February 16, 2022 by jamesst20
Administrators MaLd0n Posted February 16, 2022 Administrators Posted February 16, 2022 after that u just need dsdt ssdts just inject into dsdt(principal oem bios/uefi) -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
jamesst20 Posted February 16, 2022 Author Posted February 16, 2022 5 hours ago, MaLd0n said: after that u just need dsdt ssdts just inject into dsdt(principal oem bios/uefi) Thanks MaLd0n for getting back. I went ahead, removed my ACPI renames and all of my SSDTs and put your DSDT.aml. It's like the last time. The laptop can sleep, but I can't wake it unless I open the lid and press the power button With SSDTs, the laptop can wake with my mouse and keyboard.
Administrators MaLd0n Posted February 16, 2022 Administrators Posted February 16, 2022 1 hour ago, jamesst20 said: With SSDTs, the laptop can wake with my mouse and keyboard. yes i killed all problematic things to try eliminate problems is a usb keyboard? 1 -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
jamesst20 Posted February 17, 2022 Author Posted February 17, 2022 20 hours ago, MaLd0n said: yes i killed all problematic things to try eliminate problems is a usb keyboard? Yes. Laptop built in keyboard is also USB but I have a USB keyboard connected too that I use
jamesst20 Posted February 18, 2022 Author Posted February 18, 2022 (edited) 20 hours ago, jamesst20 said: Yes. Laptop built in keyboard is also USB but I have a USB keyboard connected too that I use Also, I just got a sleep wake failure I don't know if it helps but every time a freeze happens, when I come in the room, the "Alien" logo on the lid is already powered on like it tried to wake up on its own. It never freezes when I wake the computer by myself. Also I have DebugEnhancer, can I get log about the errors? Edited February 18, 2022 by jamesst20
Administrators MaLd0n Posted February 18, 2022 Administrators Posted February 18, 2022 check if this kext solve it CpuTscSync.kext.zip -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
jamesst20 Posted February 21, 2022 Author Posted February 21, 2022 On 2/18/2022 at 8:18 AM, MaLd0n said: check if this kext solve it CpuTscSync.kext.zip 11.91 kB · 1 download Just installed the kext. I also removed DebugEnhancer because it hasn't proven itself of any use for us. I will let you know if the freeze ever happen again. I still can't wake my laptop with mouse and keyboard since I use DSDT.aml. Should I revert back to my SSDTs and ACPI renames?
Administrators MaLd0n Posted February 21, 2022 Administrators Posted February 21, 2022 u can no problem -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
jamesst20 Posted February 22, 2022 Author Posted February 22, 2022 Almost 24 hours with no freeze. It seems promising. Would you be able to make a DSDT that supports USB Wake Support?
Administrators MaLd0n Posted February 22, 2022 Administrators Posted February 22, 2022 u just need add _prw into device xhci Quote Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake { Return (Package () { 0x6D, 0x04 }) } 1 -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
Recommended Posts