Aryamaulana Wibisono Posted November 14, 2021 Share Posted November 14, 2021 Hello everyone, this is my first time post in insanelymac. I'm having this issues with my motherboard Gigabyte Z590M (Rev 1.0) in macOS. The issues is everytime the computer is cold booted/reboot it can sleep and wake just fine, but after that "sleep state" if i wanted to put it to the sleep again but this time when i wake it, it just got restarted. But in monterey there's no such a kernel panic like when I was in bigsur. so my question is, how do I debug this issue to find out what could be the problem is? the things that i've been doing is changing a lot of SMBIOS, tuning the CPUFriendProvider.Kext, re-code the acpi ssdt patches, tweaking all of the bios settings but none of that things helps.. Thanks in advance👋 .. Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/ Share on other sites More sharing options...
Allan Posted November 16, 2021 Share Posted November 16, 2021 Hello and welcome to InsanelyMac! Post an IOReg copy here and your EFI folder and we can take a look 😉 1 Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2771996 Share on other sites More sharing options...
Aryamaulana Wibisono Posted November 19, 2021 Author Share Posted November 19, 2021 (edited) On 11/16/2021 at 10:24 PM, Allan said: Hello and welcome to InsanelyMac! Post an IOReg copy here and your EFI folder and we can take a look 😉 Hi, Allan! I'm really sorry for the late answers. Is that okay if I attached the file through Dropbox? it's more than 10mb..https://www.dropbox.com/s/z9lqlpab6rgchjo/IOREGandEFI.zip?dl=0 If this link is not allowed I will delete it 😅 ———————————————————— A little bit story; I've already tested both of the ACPI Patch that I created the one that i made a lot of beautification to make it looks like a real mac or the one that "vanilla" but none of the acpi patch really affecting the issues that I'm facing. I'm just afraid that it is some kind of firmware issues, since I've been using the same method patching the ACPI like this using a cheap motherboard (Asrock H410M-HVS) with the same exact processor and the sleep just fine, even there's no issues at all with that. Since I buying this Gigabyte Z590M I've been spending a lot of time trying to debug this issues but still have no idea what is wrong and how to fix it.. thank you in advance.. Edited November 19, 2021 by Aryamaulana Wibisono Changing the link cause it was wrong 👍 Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2772181 Share on other sites More sharing options...
Allan Posted November 26, 2021 Share Posted November 26, 2021 Sorry for the late reply, please test it: config.plist.zip Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2772463 Share on other sites More sharing options...
Aryamaulana Wibisono Posted November 30, 2021 Author Share Posted November 30, 2021 No problem man about the late reply 😅 I've just tested the config.plist you've just given but the problem are still happening.. 😢 Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2772721 Share on other sites More sharing options...
Allan Posted November 30, 2021 Share Posted November 30, 2021 Go to the Energy option at the System Preferences, and uncheck all the option, except the first that prevents the computer to go to sleep when the monitor also sleeps. Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2772723 Share on other sites More sharing options...
Aryamaulana Wibisono Posted December 1, 2021 Author Share Posted December 1, 2021 there's no other solution yet for this? yeah I've been preventing my pc from sleep when the monitor is sleep for a while now. well, thank you anyway! much appreciated 👍 Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2772738 Share on other sites More sharing options...
MaLd0n Posted December 1, 2021 Share Posted December 1, 2021 Use this efi folder with bios/uefi setup in default. plz don't change nothing for now EFI 01.zip Reboot and Post one Full Dump with Ioreg.https://www.olarila.com/topic/10301-olarila-runme-dumper/https://olarila.com/files/Utils/RunMe.app.ziphttps://olarila.com/files/Utils/IORegistryExplorer.app.zip Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2772751 Share on other sites More sharing options...
Aryamaulana Wibisono Posted December 1, 2021 Author Share Posted December 1, 2021 2 hours ago, MaLd0n said: Use this efi folder with bios/uefi setup in default. plz don't change nothing for now EFI 01.zip 4.71 MB · 2 downloads Reboot and Post one Full Dump with Ioreg.https://www.olarila.com/topic/10301-olarila-runme-dumper/https://olarila.com/files/Utils/RunMe.app.ziphttps://olarila.com/files/Utils/IORegistryExplorer.app.zip Hi MaLd0n. I've already set the bios to default but needed to change the secureboot to disabled to access the opencore. that's the only change i made for the bios. also, here's the result of runme.app and the IOReg. Thanks in advance Send me AryamauanasiMac.zip ioreg.zip Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2772756 Share on other sites More sharing options...
MaLd0n Posted December 1, 2021 Share Posted December 1, 2021 Check if work EFI 02.zip Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2772757 Share on other sites More sharing options...
Aryamaulana Wibisono Posted December 1, 2021 Author Share Posted December 1, 2021 11 minutes ago, MaLd0n said: Check if work EFI 02.zip 4.48 MB · 2 downloads just tested with this. the result is: First sleep — wake no problem After the wake i put it to sleep again — it just rebooted. no KP no anything. Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2772759 Share on other sites More sharing options...
MaLd0n Posted December 1, 2021 Share Posted December 1, 2021 Hibernate is disabled? check https://www.olarila.com/topic/10296-olarila-repair-app/ test with only wake by power button EFI 03.zip Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2772761 Share on other sites More sharing options...
Aryamaulana Wibisono Posted December 2, 2021 Author Share Posted December 2, 2021 (edited) 6 hours ago, MaLd0n said: Hibernate is disabled? check https://www.olarila.com/topic/10296-olarila-repair-app/ test with only wake by power button EFI 03.zip 4.5 MB · 2 downloads I believe the hibernate is disabled i've already checked using pmset -g in the terminal. and also about the EFI that you just given the result is still the same even waking it up using the power button since the first sleep. I also run the Olarila-Repair-App but still Edited December 2, 2021 by Aryamaulana Wibisono Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2772777 Share on other sites More sharing options...
Aryamaulana Wibisono Posted December 14, 2021 Author Share Posted December 14, 2021 I think it might be interesting to sent it in here. Gigabyte just make an update with the Z590M Bios version https://www.gigabyte.com/Motherboard/Z590M-rev-10/support#support-dl-bios to the F6. as they said: Major vulnerabilities updates, customers are strongly encouraged to update to this release at the earliest. i thought it might gonna be changed the sleep issues that i'm currently facing on. unfortunately, it did not:( Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2773574 Share on other sites More sharing options...
Allan Posted December 14, 2021 Share Posted December 14, 2021 You did the update? And there's a new version of OC, have you tried? 🙂 Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2773575 Share on other sites More sharing options...
Aryamaulana Wibisono Posted December 14, 2021 Author Share Posted December 14, 2021 29 minutes ago, Allan said: You did the update? And there's a new version of OC, have you tried? 🙂 Yes, I have already updated the OC Version to the latest one.. Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2773576 Share on other sites More sharing options...
MaLd0n Posted December 21, 2021 Share Posted December 21, 2021 test it EFI 04.zip use power button to wake. if work good add _prw again 1 Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2773963 Share on other sites More sharing options...
Aryamaulana Wibisono Posted December 21, 2021 Author Share Posted December 21, 2021 (edited) 1 hour ago, MaLd0n said: test it EFI 04.zip 4.49 MB · 2 downloads use power button to wake. if work good add _prw again HOLLY SHEESH! It's damn works! what actually the problem is @MaLd0n? would you please elaborate it to me so that i could understand it.. omg thank you very much! Edited December 21, 2021 by Aryamaulana Wibisono 1 Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2773966 Share on other sites More sharing options...
Aryamaulana Wibisono Posted December 24, 2021 Author Share Posted December 24, 2021 Hi, guys @MaLd0n @Allan I finally able to convert the DSDT that @MaLd0n created into SSDT and now my sleep is working just fine. Thank you so much for the work @MaLd0n i'm really appreciate it! also correct me if i'm wrong if this is line _TTS and DTGP of code is necessary? well, i haven't test without it yet.. so lmk if it's impact on something! Method (_PTS, 1, NotSerialized) // _PTS: Prepare To Sleep { If ((Arg0 != 0x05)) { \_SB.MPTS (Arg0) \_SB.TPM.TPTS (Arg0) \_SB.PC00.NPTS (Arg0) RPTS (Arg0) \_SB.PC00.LPCB.SIO1.SIOS (Arg0) \_SB.PC00.LPCB.SPTS (Arg0) } } Method (_WAK, 1, NotSerialized) // _WAK: Wake { If (((Arg0 < One) || (Arg0 > 0x05))) { Arg0 = 0x03 } \_SB.PC00.LPCB.SWAK (Arg0) \_SB.PC00.LPCB.SIO1.SIOW (Arg0) RWAK (Arg0) \_SB.PC00.NWAK (Arg0) \_SB.MWAK (Arg0) Return (AM00 ()) } Method (_TTS, 1, NotSerialized) // _TTS: Transition To State { SLTP = Arg0 } Name (SLTP, Zero) Method (DTGP, 5, NotSerialized) { If ((Arg0 == ToUUID ("a0b5b7c6-1318-441c-b0c9-fe695eaf949b") /* Unknown UUID */)) { If ((Arg1 == One)) { If ((Arg2 == Zero)) { Arg4 = Buffer (One) { 0x03 // . } Return (One) } If ((Arg2 == One)) { Return (One) } } } Arg4 = Buffer (One) { 0x00 // . } Return (Zero) } } Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2774073 Share on other sites More sharing options...
MaLd0n Posted December 24, 2021 Share Posted December 24, 2021 4 hours ago, Aryamaulana Wibisono said: I finally able to convert the DSDT that @MaLd0n created into SSDT is impossible do it compare both files(original and patched) with DiffMerge app and check. ssdt is generic solution for one easy boot, just it. this dsdt above have all u need for one perfect hack but boot into windows for example with opencore don't work good, this bootloader inject things in other system too😄. in this case the best is used this way https://www.olarila.com/topic/13019-hackintosh-dual-boot-with-opencore-with-full-acpi-and-real-vanilla-solution/ Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2774089 Share on other sites More sharing options...
Fortitude Posted December 25, 2021 Share Posted December 25, 2021 Hi everyone, I apologize for bombarding this thread, but my Alienware Area 51m R2 laptop literally has the same problem, and I was hoping that you all could help me: It restarts after entering sleep mode and throws pretty much the exact same error. Because this laptop also contains a 10th Gen Comet Lake Desktop CPU, I have a feeling that my ACPI tables are similar, and that the DSDT patch could have a chance of working for me also. If it seems compatible, would someone please patch, or show me how to apply a similar patch to my DSDT? It would be a Christmas miracle if a solution similar to what @MaLd0n did worked for my system. Thanks, happy holidays, and my ACPI tables are attached below. (I’m running macOS Big Sur 11.5.2) ACPI Dump Alienware Area 51m R2.zip Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2774117 Share on other sites More sharing options...
MaLd0n Posted December 25, 2021 Share Posted December 25, 2021 4 hours ago, Fortitude said: Hi everyone Post one Full Dump with Ioreg.https://www.olarila.com/topic/10301-olarila-runme-dumper/https://olarila.com/files/Utils/RunMe.app.ziphttps://olarila.com/files/Utils/IORegistryExplorer.app.zip Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2774130 Share on other sites More sharing options...
Fortitude Posted December 26, 2021 Share Posted December 26, 2021 Here you go @MaLd0n Fortitude's Hackintosh.zip Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2774161 Share on other sites More sharing options...
MaLd0n Posted December 26, 2021 Share Posted December 26, 2021 56 minutes ago, Fortitude said: Here you go @MaLd0n EFI 01.zip extract one sendme with this efi folder Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2774163 Share on other sites More sharing options...
Fortitude Posted December 26, 2021 Share Posted December 26, 2021 Hi @MaLd0n I’m able to boot into macOS with your EFI, and have attached another sendme. Send me Fortitudes-iMac.zip Quote Link to comment https://www.insanelymac.com/forum/topic/349606-debugging-sleepwake-issues/#findComment-2774165 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.