Contribute
Register

[Solved] H370 10.13.4 - Sleep now works

Status
Not open for further replies.
Joined
Feb 18, 2014
Messages
53
Motherboard
Gigabyte H370 HD3
CPU
i5-8400
Graphics
GTX 1080
Mac
  1. MacBook Pro
Classic Mac
  1. LC
  2. Power Mac
  3. PowerBook
Mobile Phone
  1. Android
  2. iOS
I'm build a new hack based on some new components:
  • Gigabyte H370 D3H Rev. 1.0
  • Bios F2
  • Intel i5 8400
  • Nvidia GeForce GTX 1080
  • 16 GB RAM w/o XMP profile
  • MacOS 10.13.4 incl. security patch
Thanks to Clover and the chosen Hardware, getting the basics right wasn't really complicated.
I have a custom SSDT to insert only the USB ports I need (thanks to @RehabMan for the guide) and a fairly short config.plist

Clover/Kext/Other:
Screen Shot 2018-05-09 at 19.34.00.png


What is working:
  • Hardware accelerated dGPU / iGPU
  • Shutdown
  • iMessage etc.
  • Intel Power gadget indicates desired speed step and PM behavior
What is not working
  • Sleep
Selecting "Sleep" from the menu has the following consequences:
  1. Screen turns off
  2. Fans keep spinning
  3. gGPU spins up its fans, normally these are turned off
  4. After ca. 30sec - USB lights briefly turn off
  5. System reboots
  6. After reboot and restart of MacOS, MacOS behaves like it was resumed from sleep, but doesn't indicate a "Wake reason" in the system log
  • Shutdown
Shutdown leads to a reboot

Errors
During boot, ACPI errors appear, but don't hinder the boot process
Screenshot_20180509-175628.jpg Screenshot_20180509-175607.jpg

Code:
sudo pmset -g assertions
2018-05-09 19:46:45 +0200
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     1
   NetworkClientActive            0
Listed by owning process:
   pid 116(hidd): [0x00000031000981af] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968224.3"
   Timeout will fire in 1080 secs Action=TimeoutActionRelease
   pid 55(UserEventAgent): [0x0000001d000b814d] 01:08:07 BackgroundTask named: "com.apple.backupd-auto"
   Created for PID: 88.
   pid 322(backupd): [0x0000003c0001806a] 01:07:36 PreventUserIdleSystemSleep named: "Time Machine backup"
   pid 322(backupd): [0x0000003c000b8069] 01:07:36 BackgroundTask named: "Time Machine backup"
Kernel Assertions: 0x104=USB,MAGICWAKE
   id=500  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.14900000 owner=IOUSBHostDevice
   id=501  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.14b00000 owner=USB Device
   id=502  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.14a00000 owner=Gaming Mouse G300
   id=503  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.14100000 owner=HL-1270N series
   id=504  level=255 0x100=MAGICWAKE mod=01.01.70, 01:00 description=en1 owner=en1
Idle sleep preventers: IODisplayWrangler
 

Attachments

  • CLOVER.zip
    2.7 MB · Views: 524
Update: I have identified FakePCIID.kext in combination with FakePCIID_Intel_HDMI_Audio.kext to be the culprit for missing sleep.

If add those two, I have working sound, but then the system wakes itself up immediately after falling asleep, which takes 30seconds to 1minute.
 
I tried darkwake=0,4,10 and fixshutdown_004 is active in my current config.plist

It's random: Sometimes it sleeps properly and wakes up properly, sometimes it reboots immediatly, sometimes it wakes up and reboots after 10 seconds.
 
Hi there,
I'm thinking of building a system with this motherboard and cpu.

Just wondering if everything else is functional/stable so far.
I'm building for someone else, who likely won't be able to resolve issues.

I see that h370 was just added to the buyers guide so i'm thinking of going that way over z370.
 
This website is super slow for me once logged in, even replies get lost in the process of posting. I'll try again:

At the moment I'm testing ssd hotpatching for removing the _PWR function from the dsdt and it seems to work. Rehabman offers an extensive guide for hotpatching. That means that right now i don't have a statically patched dsdt in place.

Nvram emulation is needed, since so far native nvram doesn't work on my board.
 
Firstly thanks for this! I can boot into macOS now but only the red usb port works on the back... any idea why that would be?
 
This website is super slow for me once logged in, even replies get lost in the process of posting. I'll try again:

At the moment I'm testing ssd hotpatching for removing the _PWR function from the dsdt and it seems to work. Rehabman offers an extensive guide for hotpatching. That means that right now i don't have a statically patched dsdt in place.

Nvram emulation is needed, since so far native nvram doesn't work on my board.

For native nvram have you tried AptioMemoryFix.efi instead of OsxAptioFix2+VariableEmuefi+RC Scripts?
 
Hi Gymnae, I just installed 2 h370s h370M-d3h, I used your clover config and I have UBSs working, BUT sound doesn't work, do you have ani idea what can be wrong?
I tried your clover folder and was a no go for sound I removed FakePCIID.kext in combination with FakePCIID_Intel_HDMI_Audio.kext and apple.kext for multicast and didn't work, how do you make it work sound please ?
 
Status
Not open for further replies.
Back
Top