Contribute
Register

GA Z170X Designare ... sleep not working

Status
Not open for further replies.
Joined
May 2, 2013
Messages
52
Motherboard
Gigabyte Z170Z Designare
CPU
Intel i7 6700K
Graphics
Gainward GTX670
Mac
  1. MacBook
  2. MacBook Air
Mobile Phone
  1. iOS
Hi Guys ... (and girls, if any ;)

I'm almost there, but non-working sleep is driving me mad. Any help is highly appreciated !!


I was time to update my rusty old X58 based hackintosh and start over. Starting point was (variation of) recommendation from buyers guide:

System is as follows:
  • Gigabyte Z170X Designare (updated BIOS F22)
  • Intel i7 6700K
  • 2x8GB Corsair Vengeance
  • Gainward GTX 670 (from old rig)
  • Corsair RM650x
  • BCM943602CS + PCIe adapter (WiFi+Bluetooth)
  • Soundblaster USB sound (from old rig)
I've tried to follow other installation success stories, with same motherboard and expecting it to rather straight forward.
Example:
upload_2017-4-15_12-39-23.png

It was, until testing sleep ... It can sleep, but only a second or two, then it wakes up disabled screen. clicking mouse or any key strokes enables screen.

I've tried various ways of finding cause of this behaviour, but so far no luck.:

Clover configurator:
  • FixShutdown, Fix_VAK
  • Generate PStates / Generate CStates
  • Darkwake, Darkwake=off, =0, =8 =10, ...
Various BIOS settings

Disable wake from BT mouse, Wake for network access, ...

everything has same (or fatal - not booting) result.

Debug info:

pmset -g assertions

2017-05-12 18:40:39 +0200

Assertion status system-wide:

BackgroundTask 1

ApplePushServiceTask 0

UserIsActive 1

PreventUserIdleDisplaySleep 0

PreventSystemSleep 0

ExternalMedia 0

PreventUserIdleSystemSleep 1

NetworkClientActive 0

Listed by owning process:

pid 1853(AddressBookSourceSync): [0x00000f2a000188c8] 00:00:25 PreventUserIdleSystemSleep named: "Address Book Source Sync"

Timeout will fire in 1774 secs Action=TimeoutActionTurnOff

pid 295(UserEventAgent): [0x00000f2a000b88c9] 00:00:25 BackgroundTask named: "com.apple.AddressBook.ScheduledSync"

Created for PID: 1853.

pid 101(hidd): [0x00000ee3000988af] 00:01:36 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294970958.17"

Timeout will fire in 596 secs Action=TimeoutActionRelease

Kernel Assertions: 0xc=USB,BT-HID

id=548 level=255 0x4=USB mod=01/01/1970, 01.00 description=com.apple.usb.externaldevice.14300000 owner=IOUSBHostDevice

id=549 level=255 0x4=USB mod=01/01/1970, 01.00 description=com.apple.usb.externaldevice.14c00000 owner=Bluetooth USB Host Controller

id=551 level=255 0x4=USB mod=01/01/1970, 01.00 description=com.apple.usb.externaldevice.14e00000 owner=SB Omni Surround 5.1

id=552 level=255 0x4=USB mod=01/01/1970, 01.00 description=com.apple.usb.externaldevice.14800000 owner=C-Media USB Headphone Set

id=553 level=255 0x4=USB mod=01/01/1970, 01.00 description=com.apple.usb.externaldevice.14500000 owner=Keyboard Hub

id=555 level=255 0x4=USB mod=01/01/1970, 01.00 description=com.apple.usb.externaldevice.14510000 owner=USB Receiver

id=556 level=255 0x8=BT-HID mod=01/01/1970, 01.00 description=com.apple.driver.IOBluetoothHIDDriver owner=BNBMouseDevice

Idle sleep preventers: IODisplayWrangler

I tried to look into IODisplayWrangler, but got no wiser (what does that thing do ?)



If anyone has an idea how to fix this, I'd be extremely happy !

Thanks in advance !!
 

Attachments

  • Screen Shot 2017-05-12 at 17.59.32.png
    Screen Shot 2017-05-12 at 17.59.32.png
    102.8 KB · Views: 368
Last edited:
0MB VRAM means you have Inject/Nvidia/True when it should be false.
 
Thanks P1LGRIM !

Unfortunately, this doesn't change anything in regards to sleep ... insomnia continues :(
I also found that after shutdown, machine powers on again by itself after a few seconds ?!

Assumptions is the mother of all f**ckups, VRAM nicely shown when not injecting
Screenshot 2017-05-13 08.59.41.png

Any ideas what to look for, what to try, methods for troubleshooting, ... ?
 
Last edited:
Sorry for being pushy ... I'm getting a bit desperate ;)

What info is required / convenient for me to post here for the guru's to mediate over?
  • config.plist, BIOS settings, HW list, ... check, but what else?

Any help is highly appreciated !
 
Hi Guys ... (and girls, if any ;)

I'm almost there, but non-working sleep is driving me mad. Any help is highly appreciated !!


I was time to update my rusty old X58 based hackintosh and start over. Starting point was (variation of) recommendation from buyers guide:

System is as follows:
  • Gigabyte Z170X Designare (updated BIOS F22)
  • Intel i7 6700K
  • 2x8GB Corsair Vengeance
  • Gainward GTX 670 (from old rig)
  • Corsair RM650x
  • BCM943602CS + PCIe adapter (WiFi+Bluetooth)
  • Soundblaster USB sound (from old rig)
I've tried to follow other installation success stories, with same motherboard and expecting it to rather straight forward.
Example:
View attachment 254207

It was, until testing sleep ... It can sleep, but only a second or two, then it wakes up disabled screen. clicking mouse or any key strokes enables screen.

I've tried various ways of finding cause of this behaviour, but so far no luck.:

Clover configurator:
  • FixShutdown, Fix_VAK
  • Generate PStates / Generate CStates
  • Darkwake, Darkwake=off, =0, =8 =10, ...
Various BIOS settings

Disable wake from BT mouse, Wake for network access, ...

everything has same (or fatal - not booting) result.

Debug info:

pmset -g assertions

2017-05-12 18:40:39 +0200

Assertion status system-wide:

BackgroundTask 1

ApplePushServiceTask 0

UserIsActive 1

PreventUserIdleDisplaySleep 0

PreventSystemSleep 0

ExternalMedia 0

PreventUserIdleSystemSleep 1

NetworkClientActive 0

Listed by owning process:

pid 1853(AddressBookSourceSync): [0x00000f2a000188c8] 00:00:25 PreventUserIdleSystemSleep named: "Address Book Source Sync"

Timeout will fire in 1774 secs Action=TimeoutActionTurnOff

pid 295(UserEventAgent): [0x00000f2a000b88c9] 00:00:25 BackgroundTask named: "com.apple.AddressBook.ScheduledSync"

Created for PID: 1853.

pid 101(hidd): [0x00000ee3000988af] 00:01:36 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294970958.17"

Timeout will fire in 596 secs Action=TimeoutActionRelease

Kernel Assertions: 0xc=USB,BT-HID

id=548 level=255 0x4=USB mod=01/01/1970, 01.00 description=com.apple.usb.externaldevice.14300000 owner=IOUSBHostDevice

id=549 level=255 0x4=USB mod=01/01/1970, 01.00 description=com.apple.usb.externaldevice.14c00000 owner=Bluetooth USB Host Controller

id=551 level=255 0x4=USB mod=01/01/1970, 01.00 description=com.apple.usb.externaldevice.14e00000 owner=SB Omni Surround 5.1

id=552 level=255 0x4=USB mod=01/01/1970, 01.00 description=com.apple.usb.externaldevice.14800000 owner=C-Media USB Headphone Set

id=553 level=255 0x4=USB mod=01/01/1970, 01.00 description=com.apple.usb.externaldevice.14500000 owner=Keyboard Hub

id=555 level=255 0x4=USB mod=01/01/1970, 01.00 description=com.apple.usb.externaldevice.14510000 owner=USB Receiver

id=556 level=255 0x8=BT-HID mod=01/01/1970, 01.00 description=com.apple.driver.IOBluetoothHIDDriver owner=BNBMouseDevice

Idle sleep preventers: IODisplayWrangler

I tried to look into IODisplayWrangler, but got no wiser (what does that thing do ?)



If anyone has an idea how to fix this, I'd be extremely happy !

Thanks in advance !!

Sleep requires appropriate ACPI Patches also Native Powermanagement implemented. Press F4 at Clover boot, Attach Clover Folder removing Themes along with ioreg ZIP Attach. [Guide] How to Make a Copy of IOReg | tonymacx86.com
 

Attachments

  • CLOVER.zip
    1.4 MB · Views: 112
  • Hackintosh Pro.ioreg.zip
    719 KB · Views: 135
  • Screenshot 2017-05-16 18.38.41.png
    Screenshot 2017-05-16 18.38.41.png
    129.1 KB · Views: 255
GREAT ... Thanks VioletDragon !

Please find a guru meditation package attached :D

Hoping to get a hold on this one day...

ACPI isn't patched, Native Powermanagement is not implemented. SSDT in EFI/Clover/ACPI/patched is incorrect its for a Sandy Bridge CPU. SMBIOS isn't correct for your hardware should be using iMac 17,1 messy setup.
 
again, thanks !

...what I see is that I miss quite some steps:
  • ACPI isn't patched
  • Native Powermanagement is not implemented
  • SSDT in EFI/Clover/ACPI/patched is incorrect its for a Sandy Bridge CPU
    • ... ok! How to ... a link would be fantastic ? ( ...of cause I'll look in the forum/guides right away ;) )
  • SMBIOS isn't correct for your hardware should be using iMac 17,1
    • ... I tried this, but ended up with a blank screen?
  • messy setup
    • ... well, I guess newbies lack of knowledge, but hopefully I'll get there ;)
 
again, thanks !

...what I see is that I miss quite some steps:
  • ACPI isn't patched
  • Native Powermanagement is not implemented
  • SSDT in EFI/Clover/ACPI/patched is incorrect its for a Sandy Bridge CPU
    • ... ok! How to ... a link would be fantastic ? ( ...of cause I'll look in the forum/guides right away ;) )
  • SMBIOS isn't correct for your hardware should be using iMac 17,1
    • ... I tried this, but ended up with a blank screen?
  • messy setup
    • ... well, I guess newbies lack of knowledge, but hopefully I'll get there ;)

You can use Clover Hotpatch with a set of SSDTs to Patch ACPI, Black screen is related to AGDPfix can be fixed by following https://www.tonymacx86.com/threads/...-imac-15-or-imac-17-system-definition.183113/

SSDT in EFI/Clover/ACPI/patched is for Sandy Bridge. Remove SSDT.aml and generate a SSDT using ssdtPRGen.sh. Follow [Guide] How to Make a Copy of IOReg | tonymacx86.com. Will probably need to be on iMac 17,1 to Generate a SSDT.

The patches you need are, Change SAT0 to SATA, Change PEGP to GFX0, SMBUS, LPC on Skylake isn't needed. XHC requires AAPL Values.

Use acpi_dsdt_patches.plist to copy patches to existing config but use Xcode. SSDT-XHC, SSDT-SATA, SSDT-HACK, SSDT-SMBUS you can use SSDT-LPC if still problematic. Patches you need from acpi_dsdt_patches.plist are change _DSM to XDSM, change _OSI to XOSI, change SAT0 to SATA. Patches are on https://github.com/VoiletDragon/Series-100-Patches
 
Step 1 SUCCESS :D onto the next ...

You can use Clover Hotpatch with a set of SSDTs to Patch ACPI, Black screen is related to AGDPfix can be fixed by following https://www.tonymacx86.com/threads/...-imac-15-or-imac-17-system-definition.183113/

Screen Shot 2017-05-16 at 20.57.49.png

Step 2 SUCCESS (I think) :D onto the next ...

SSDT in EFI/Clover/ACPI/patched is for Sandy Bridge. Remove SSDT.aml and generate a SSDT using ssdtPRGen.sh. Follow [Guide] How to Make a Copy of IOReg | tonymacx86.com. Will probably need to be on iMac 17,1 to Generate a SSDT.
...but used: https://www.tonymacx86.com/threads/quick-guide-to-generate-a-ssdt-for-cpu-power-management.177456/
and beta version of script (for support of Skylake)

.o0( wow a thought of my own )

Code:
AppleIntelInfo.kext v1.2 Copyright © 2012-2015 Pike R. Alpha. All rights reserved

Settings:
------------------------------------
logMSRs............................: 1
logIGPU............................: 0
logIntelRegs.......................: 1
logCStates.........................: 1
logIPGStyle........................: 1
InitialTSC.........................: 0x6ffee9d4ea
MWAIT C-States.....................: 1319200

Model Specific Regiters
------------------------------------
MSR_CORE_THREAD_COUNT......(0x35)  : 0x40008
MSR_PLATFORM_INFO..........(0xCE)  : 0x80838F1012800
MSR_PMG_CST_CONFIG_CONTROL.(0xE2)  : 0x8000
MSR_PMG_IO_CAPTURE_BASE....(0xE4)  : 0x0
IA32_MPERF.................(0xE7)  : 0x3C0BFC719B
IA32_APERF.................(0xE8)  : 0x342A8CB033
MSR_FLEX_RATIO.............(0x194) : 0xF0000
MSR_IA32_PERF_STATUS.......(0x198) : 0x24FA00002800
MSR_IA32_PERF_CONTROL......(0x199) : 0x2A00
IA32_CLOCK_MODULATION......(0x19A) : 0x0
IA32_THERM_STATUS..........(0x19C) : 0x88310000
IA32_MISC_ENABLES..........(0x1A0) : 0x850089
MSR_MISC_PWR_MGMT..........(0x1AA) : 0x1CC1
MSR_TURBO_RATIO_LIMIT......(0x1AD) : 0x2828282A
IA32_ENERGY_PERF_BIAS......(0x1B0) : 0x1
MSR_POWER_CTL..............(0x1FC) : 0x3C005F
MSR_RAPL_POWER_UNIT........(0x606) : 0xA0E03
MSR_PKG_POWER_LIMIT........(0x610) : 0x42FFD0001AEA82
MSR_PKG_ENERGY_STATUS......(0x611) : 0x4FC1919
MSR_PKG_POWER_INFO.........(0x614) : 0x2F8
MSR_PP0_CURRENT_CONFIG.....(0x601) : 0x0
MSR_PP0_POWER_LIMIT........(0x638) : 0x0
MSR_PP0_ENERGY_STATUS......(0x639) : 0x3DB73FE
MSR_PP0_POLICY.............(0x63a) : 0x0
MSR_PKGC6_IRTL.............(0x60b) : 0x0
MSR_PKGC7_IRTL.............(0x60c) : 0x0
MSR_PKG_C2_RESIDENCY.......(0x60d) : 0x0
MSR_PKG_C6_RESIDENCY.......(0x3f9) : 0x0
MSR_PKG_C7_RESIDENCY.......(0x3fa) : 0x0
IA32_TSC_DEADLINE..........(0x6E0) : 0x7001F66346

CPU Ratio Info:
------------------------------------
CPU Low Frequency Mode.............: 800 MHz
CPU Maximum non-Turbo Frequency....: 4000 MHz
CPU Maximum Turbo Frequency........: 4200 MHz
CPU P-States [ (40) ]
CPU C6-Cores [ 0 1 4 5 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ 39 (40) ]
CPU P-States [ 39 (40) 41 ]
CPU P-States [ (8) 39 40 41 ]
CPU P-States [ (8) 36 39 40 41 ]
CPU P-States [ (8) 35 36 39 40 41 ]
CPU P-States [ (8) 35 36 37 39 40 41 ]
CPU P-States [ 8 35 36 37 38 39 (40) 41 ]
CPU P-States [ 8 34 35 36 37 38 39 (40) 41 ]

Step 3 dammit ...

The patches you need are, Change SAT0 to SATA, Change PEGP to GFX0, SMBUS, LPC on Skylake isn't needed. XHC requires AAPL Values.

Use acpi_dsdt_patches.plist to copy patches to existing config but use Xcode. SSDT-XHC, SSDT-SATA, SSDT-HACK, SSDT-SMBUS you can use SSDT-LPC if still problematic. Patches you need from acpi_dsdt_patches.plist are change _DSM to XDSM, change _OSI to XOSI, change SAT0 to SATA. Patches are on https://github.com/VoiletDragon/Series-100-Patches

N00b mode ... I got the .aml files and .plist, but can't really follow instruction ?
...so back on my knees, asking again

But hey ... thanks agin so far :D
 
Last edited:
Status
Not open for further replies.
Back
Top