Contribute
Register

Fix Sleep on Sierra

Status
Not open for further replies.
I changed all SAT0 entries in the DSDT to SATA with find & replace and the same with
GFX0 to IGPU (got a lot of Method Local is set but never used (Local0) warnings after that),
_DSM to XDSM
and I tried _OSI to XOSI but got the error that the object doesn't exist.
I deleted the USB SSDT but I'm not sure how to transport it into the DSDT.

I'm also not sure if I need the piker SSDT? Nobody replied to my thread so I remain uncertain.
https://www.tonymacx86.com/threads/correct-power-management-on-skylake.216805/

Also after some wild research, the issue seems to be with the memory, ram, but I really can't tell what half of the stuff I read means :/
The kernel panic I posted in this post
https://www.tonymacx86.com/threads/fix-sleep-on-sierra.199706/page-24#post-1455327

Thanks so much.

Attach Clover folder from EFI removing themes ZIP attach.
 
Thanks! I also attached my SSDT generated by pikers script and the USB configuration SSDT.
 

Attachments

  • CLOVER.zip
    2 MB · Views: 83
  • SSDT-USB.aml
    504 bytes · Views: 123
  • SSDT.aml
    1.8 KB · Views: 114
SSDTs which are used for patching ACPI won't work without change _DSM to XDSM. Use acpi_dsdt_patches.plist for the correct patches. https://github.com/VoiletDragon/Series-100-Patches

Okay, I reverted the changes in the DSDT and added all acpi patch to config.plist. Did I needed to add all of them? When I looked for HDEF in ioRegistryExplorer, it showed up before already. There were entries under HDAS too which disappeared after applying the patches. Is that correct? Now after rebooting my audio (Realtek and HDMI) are broken. They worked fine before with the DSDT.

Do I need to add the SSDT files from the repository too? I think last time you've told me that these are not for my motherboard? What about the power management SSDT? Should I use it or is it working without as I've been told?
Is the USB one safe to use together with the DSDT now or do I need to find a way to correct the USB ports in the DSDT? Sorry if the questions are dumb.
Thanks!

edit: I tried to sleep with the uploaded setup and got a different kernel panic than before:

panic(cpu 3 caller 0xffffff7f8122a19e): NVRM[0/1:0:0]: Read Error 0x00070000: CFG 0x138010de 0x00100000 0x00000000, BAR0 0xde000000 0xffffff91facdf000 0x117000a2, D3, P0/2

Kernel Extensions in backtrace:
com.nvidia.web.NVDAResmanWeb(10.1.5)[836F59D8-E1FB-3D45-8AC0-E2E7AB779F17]@0xffffff7f811be000->0xffffff7f814f9fff
dependency: com.apple.iokit.IOPCIFamily(2.9)[57960DC6-4099-31BC-9B47-52CD647779C7]@0xffffff7f80bd1000
dependency: com.apple.iokit.IONDRVSupport(513.1)[07F97C14-C6EE-3577-9875-8BA38DDCBCCD]@0xffffff7f811a2000
dependency: com.apple.iokit.IOGraphicsFamily(513.1)[578F9D07-96F4-3F09-A6A6-047F257CB3BA]@0xffffff7f8115b000
dependency: com.apple.AppleGraphicsDeviceControl(3.13.79)[4F255E11-5291-3923-B43C-FE85E5060898]@0xffffff7f811b2000
com.nvidia.web.NVDAGM100HalWeb(10.1.5)[BEBAB721-B71D-3E29-8FE6-85C8215911B1]@0xffffff7f814fa000->0xffffff7f817bbfff
dependency: com.nvidia.web.NVDAResmanWeb(10.1.5)[836F59D8-E1FB-3D45-8AC0-E2E7AB779F17]@0xffffff7f811be000
dependency: com.apple.iokit.IOPCIFamily(2.9)[57960DC6-4099-31BC-9B47-52CD647779C7]@0xffffff7f80bd1000
com.apple.iokit.IOAcceleratorFamily2(289.32)[0CA5D0A6-31F0-3363-96B9-3949EE614A0C]@0xffffff7f8213d000->0xffffff7f821dcfff
dependency: com.apple.iokit.IOPCIFamily(2.9)[57960DC6-4099-31BC-9B47-52CD647779C7]@0xffffff7f80bd1000
dependency: com.apple.iokit.IOGraphicsFamily(513.1)[578F9D07-96F4-3F09-A6A6-047F257CB3BA]@0xffffff7f8115b000
com.nvidia.web.GeForceWeb(10.1.5)[AD5AF458-B682-3154-AA47-9C1DC817A157]@0xffffff7f821dd000->0xffffff7f8227ffff
dependency: com.apple.iokit.IOPCIFamily(2.9)[57960DC6-4099-31BC-9B47-52CD647779C7]@0xffffff7f80bd1000
dependency: com.apple.iokit.IONDRVSupport(513.1)[07F97C14-C6EE-3577-9875-8BA38DDCBCCD]@0xffffff7f811a2000
dependency: com.nvidia.web.NVDAResmanWeb(10.1.5)[836F59D8-E1FB-3D45-8AC0-E2E7AB779F17]@0xffffff7f811be000
dependency: com.apple.iokit.IOGraphicsFamily(513.1)[578F9D07-96F4-3F09-A6A6-047F257CB3BA]@0xffffff7f8115b000
dependency: com.apple.iokit.IOAcceleratorFamily2(289.32)[0CA5D0A6-31F0-3363-96B9-3949EE614A0C]@0xffffff7f8213d000

BSD process name corresponding to current thread: kernel_task
Boot args: -v dart=0 kext-dev-mode=1 rootless=0 slide=0
 

Attachments

  • CLOVER.zip
    2 MB · Views: 66
  • mymac.ioreg
    4.5 MB · Views: 108
Last edited:
Okay, I reverted the changes in the DSDT and added all acpi patch to config.plist. Did I needed to add all of them? When I looked for HDEF in ioRegistryExplorer, it showed up before already. There were entries under HDAS too which disappeared after applying the patches. Is that correct? Now after rebooting my audio (Realtek and HDMI) are broken. They worked fine before with the DSDT.

Do I need to add the SSDT files from the repository too? I think last time you've told me that these are not for my motherboard? What about the power management SSDT? Should I use it or is it working without as I've been told?
Is the USB one safe to use together with the DSDT now or do I need to find a way to correct the USB ports in the DSDT? Sorry if the questions are dumb.
Thanks!

edit: I tried to sleep with the uploaded setup and got a different kernel panic than before:

panic(cpu 3 caller 0xffffff7f8122a19e): NVRM[0/1:0:0]: Read Error 0x00070000: CFG 0x138010de 0x00100000 0x00000000, BAR0 0xde000000 0xffffff91facdf000 0x117000a2, D3, P0/2

Kernel Extensions in backtrace:
com.nvidia.web.NVDAResmanWeb(10.1.5)[836F59D8-E1FB-3D45-8AC0-E2E7AB779F17]@0xffffff7f811be000->0xffffff7f814f9fff
dependency: com.apple.iokit.IOPCIFamily(2.9)[57960DC6-4099-31BC-9B47-52CD647779C7]@0xffffff7f80bd1000
dependency: com.apple.iokit.IONDRVSupport(513.1)[07F97C14-C6EE-3577-9875-8BA38DDCBCCD]@0xffffff7f811a2000
dependency: com.apple.iokit.IOGraphicsFamily(513.1)[578F9D07-96F4-3F09-A6A6-047F257CB3BA]@0xffffff7f8115b000
dependency: com.apple.AppleGraphicsDeviceControl(3.13.79)[4F255E11-5291-3923-B43C-FE85E5060898]@0xffffff7f811b2000
com.nvidia.web.NVDAGM100HalWeb(10.1.5)[BEBAB721-B71D-3E29-8FE6-85C8215911B1]@0xffffff7f814fa000->0xffffff7f817bbfff
dependency: com.nvidia.web.NVDAResmanWeb(10.1.5)[836F59D8-E1FB-3D45-8AC0-E2E7AB779F17]@0xffffff7f811be000
dependency: com.apple.iokit.IOPCIFamily(2.9)[57960DC6-4099-31BC-9B47-52CD647779C7]@0xffffff7f80bd1000
com.apple.iokit.IOAcceleratorFamily2(289.32)[0CA5D0A6-31F0-3363-96B9-3949EE614A0C]@0xffffff7f8213d000->0xffffff7f821dcfff
dependency: com.apple.iokit.IOPCIFamily(2.9)[57960DC6-4099-31BC-9B47-52CD647779C7]@0xffffff7f80bd1000
dependency: com.apple.iokit.IOGraphicsFamily(513.1)[578F9D07-96F4-3F09-A6A6-047F257CB3BA]@0xffffff7f8115b000
com.nvidia.web.GeForceWeb(10.1.5)[AD5AF458-B682-3154-AA47-9C1DC817A157]@0xffffff7f821dd000->0xffffff7f8227ffff
dependency: com.apple.iokit.IOPCIFamily(2.9)[57960DC6-4099-31BC-9B47-52CD647779C7]@0xffffff7f80bd1000
dependency: com.apple.iokit.IONDRVSupport(513.1)[07F97C14-C6EE-3577-9875-8BA38DDCBCCD]@0xffffff7f811a2000
dependency: com.nvidia.web.NVDAResmanWeb(10.1.5)[836F59D8-E1FB-3D45-8AC0-E2E7AB779F17]@0xffffff7f811be000
dependency: com.apple.iokit.IOGraphicsFamily(513.1)[578F9D07-96F4-3F09-A6A6-047F257CB3BA]@0xffffff7f8115b000
dependency: com.apple.iokit.IOAcceleratorFamily2(289.32)[0CA5D0A6-31F0-3363-96B9-3949EE614A0C]@0xffffff7f8213d000

BSD process name corresponding to current thread: kernel_task
Boot args: -v dart=0 kext-dev-mode=1 rootless=0 slide=0

As your using a DSDT you don't need Clovers ACPI, DSDT, Patches unless you use want to use a Set of SSDTs if so remove DSDT and use a Set of SSDTs. Kernel Panic is related to Graphics i.e Graphics problem most likely Nvidia Web Drivers. Use Patches from https://github.com/VoiletDragon/Series-100-Patches
 
The DSDT was provided to me by an user in another forum, he told me to remove the SSDT for power management as it's supposed to be native for skylake. The config.plist was also edited by him, trying to solve the sleep issue.
I'm not sure how to proceed here - so it's one or the other? Either I keep the DSDT or I remove it and add all the appropriate SSDTs from your GitHub plus the power management one and the USB one? Which way is better, and how would I fix the stuff which your patches do with my DSDT? And if the SSDT way is better, do I need to change things in my config.plist except adding the rename patches from your GitHub?
Thanks!
 
ACPI isn't patched. No SMBUS or MCHC device, XHC/USB 3 configuration is messy.

Ok... so what is your recommended course of action? (Everything is working now, as far as i know - power nap, wake from sleep, etc. Not a lot of USB accessories in use, but the usb bluetooth adapter i'm using is working fine.)

Here's what sleep stats look like now:

Code:
hackintosh01:~ bradtaylor$ pmset -g stats
Sleep Count:46
Dark Wake Count:41
User Wake Count:1675

I'm guessing you recommend your SSDT-MCHC.aml, SSDT-SMBUS.aml & SSDT-XHC.aml AHCI patches? Do any of these overlap with the bits installed by Multibeast? I'm thinking in particular the increase USB port limit edit.

(Can you also confirm that your patches are os version-agnostic? They work with both 10.11.x & 10.12.x?)

thanks again... Brad
 
Ok... so what is your recommended course of action? (Everything is working now, as far as i know - power nap, wake from sleep, etc. Not a lot of USB accessories in use, but the usb bluetooth adapter i'm using is working fine.)

Here's what sleep stats look like now:

Code:
hackintosh01:~ bradtaylor$ pmset -g stats
Sleep Count:46
Dark Wake Count:41
User Wake Count:1675

I'm guessing you recommend your SSDT-MCHC.aml, SSDT-SMBUS.aml & SSDT-XHC.aml AHCI patches? Do any of these overlap with the bits installed by Multibeast? I'm thinking in particular the increase USB port limit edit.

(Can you also confirm that your patches are os version-agnostic? They work with both 10.11.x & 10.12.x?)

thanks again... Brad

Ive tested from 10.9.5 straight to 10.12.3 work fine.
 
The DSDT was provided to me by an user in another forum, he told me to remove the SSDT for power management as it's supposed to be native for skylake. The config.plist was also edited by him, trying to solve the sleep issue.
I'm not sure how to proceed here - so it's one or the other? Either I keep the DSDT or I remove it and add all the appropriate SSDTs from your GitHub plus the power management one and the USB one? Which way is better, and how would I fix the stuff which your patches do with my DSDT? And if the SSDT way is better, do I need to change things in my config.plist except adding the rename patches from your GitHub?
Thanks!

Thats nonsense. SSDT is needed for Powermanagement without it the CPU will be stuck in one State.
 
Ive tested from 10.9.5 straight to 10.12.3 work fine.

Excellent! :)

I've added your other SSDT patches - here's the new .ioreg. Can you check please?

thanks... brad
 

Attachments

  • hackintosh01 2017-03-15.ioreg
    4.4 MB · Views: 103
Status
Not open for further replies.
Back
Top