Contribute
Register

[SUCCESS] Gigabyte Designare Z390 (Thunderbolt 3) + i7-9700K + AMD RX 580

Joined
Jul 20, 2013
Messages
81
Motherboard
Gigabyte Z390 Designare
CPU
i9-9900K
Graphics
RX 590
Well it's 3:30am right now and my Mac just woke, so sadly, the TCPKeepAlive=0 didn't work.

I'm now going to turn off Find my Mac in iCloud settings to see what happens then.

In the meantime, I've stumbled across this potential fix, but I can't edit the .plist file as I don't have the permissions. As this is a test rig, I don't mind trying it out, however do you (or anyone else) mind helping me execute these commands (from this page https://apple.stackexchange.com/que...-consumes-10-battery-overnight-with-the-lid-c)

Code:
8

Update : This doesn't work with Catalina, see Django Reinhardt's answer instead.

I was suffering the same issue before, my MBP 2015's battery was draining slowly but when I don't use it so frequently, this caused so much pain. This method helped me so much; now I can go out with my Mac with 20% charge and make my day. There is a significant difference between MacBook Pro 2015 and the previous models of MacBook Pros. You can check these settings by this command line;

ioreg -l | grep IOPlatformFeatureDefaults
The output on your mac would be like this;

{"TCPKeepAliveDuringSleep"=Yes,"DNDWhileDisplaySleeps"=No,"TCPKeepAliveExpirationTimeout"=43200,"NotificationWake"=Yes}
To make your MBP sleep deep like the old versions you should first restart your computer into recovery mode. To do that you should restart your mac and hold CMD+R until you hear the start up sound. After that open terminal and type this;

csrutil disable
Then restart your MacBook again. Go to this destination, you can access inside kext files by right clicking -> Show Package Contents /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/Resources

Find your board id with:

ioreg -l | awk '/board-id/{print $4}' | sed 's/[<">]//g'
Open <your_board_id>.plist (e.g. Mac-E43C1C25D4880AD6.plist) file by a text editor and edit these settings just like these;

<key>TCPKeepAliveDuringSleep</key>
<false/>
<key>NotificationWake</key>
<false/>
<key>DNDWhileDisplaySleeps</key>
<true/>
TCPKeepAliveDuringSleep keeps your MacBook connections open when its sleeping, so it keep Wifi connected. NotificationWake wakes your Mac randomly to check notifications especially make this one false. DNDWhileDisplaySleeps means "Do not disturb on sleep"; MacBook does get disturbed by notifications when it's asleep.

My personal opinion is this process should be done by every 2015+ MacBook user because MacBooks are not cell phones that ring for notifications. Apple should have made a toggle button for this.

Do not forget to enable System Integrity Protection again. You should restart into recovery mode and on terminal type "csrutil enable" and restart.
Hello @hamzab, I would not bother hacking that .plist file.

You may have overlooked it, but the potential fix you found states it does NOT work with Catalina. For Catalina it refers to setting TcpKeepAlive to 0, but you've already tried that.

If it's any consolidation ... I'm experiencing the same wake from sleep issue with Wifi.ScanOffload reason as you, and I have exhausted the List of Sleep Aids to no avail. After a while, I've learned to live with it.

The only two options I haven't tried yet are the Micro-Guide: True One-Key Wake from Sleep Without Changing DarkWake, and the Micro-Guide: Disable Wake from USB (Wake only with Power Button).

Hope this brings you closer to a solution ... or acceptance
 
Last edited:
Joined
Feb 11, 2020
Messages
61
Motherboard
Gigabyte Z390 Designare
CPU
i9-9900K
Graphics
RX 5700 XT
@CaseySJ ,
Hi,
Gigabyte answered me.
For them it might be a SMBUS conflict.
So they advised me to tape the Pin of the PCI-E card, and to uncover only B5-B6.

Anything to modify in BIOS to prevent doing this ?
So that must be a Firmware problem right ?

Thank you
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
20,090
Motherboard
Asus ProArt Z690-Creator
CPU
i7-12700K
Graphics
RX 6800 XT
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
@CaseySJ Thanks for your quick response! Attached is the screen shot for clover 5.14.10
Is the “drivers64UEFI” folder still present? If so please delete that folder completely and see if you can use the USB flash disk to boot Mojave.
 
Joined
Feb 7, 2012
Messages
276
Motherboard
Gigabyte Z390 Designare
CPU
i7-9700K
Graphics
Vega 56
Mac
  1. MacBook
  2. MacBook Pro
Mobile Phone
  1. iOS
Hello @hamzab, I would not bother hacking that .plist file.

You may have overlooked it, but the potential fix you found states it does NOT work with Catalina. For Catalina it refers to setting TcpKeepAlive to 0, but you've already tried that.

If it's any consolidation ... I'm experiencing the same wake from sleep issue with Wifi.ScanOffload reason as you, and I have exhausted the List of Sleep Aids to no avail. After a while, I've learned to live with it.

The only two options I haven't tried yet are the Micro-Guide: True One-Key Wake from Sleep Without Changing DarkWake, and the Micro-Guide: Disable Wake from USB (Wake only with Power Button).

Hope this brings you closer to a solution ... or acceptance

Quick update from me @CaseySJ and @iRamon - it appears turning off Find My Mac solves this issue. I get no more wakes whatsoever in the night. I therefore am going to turn it off as it's less headache for something that I don't really need. My data is backed up to the cloud, so God Forbid if this machine is taken, all I'm losing is the monetary value of the parts.

However, @CaseySJ as I'm turning off Find My Mac, can I use File Vault safely to encrypt the contents of my Hard Drive, and furthermore, can I also enable SIP, or does it need to be disabled for the Hack to run properly?

Thanks!
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
20,090
Motherboard
Asus ProArt Z690-Creator
CPU
i7-12700K
Graphics
RX 6800 XT
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
Hello everyone is been a long time since I asked a question, short review of this amazing building thanks to @CaseySJ, everything is working juts good, no problems at all, but, I have a question about updating my 10.15.3 to the lattes, any subjection there? I'm using FCPX and now I need to update to the 10.15.5 to get the lattes update.
Thanks for your help.
LuisQ
Hello again @qmediaservices,

Updating from 10.15.3 to either 10.15.4 or 10.15.5 is more complicated than most updates. We recommend (a) enabling native NVRAM and (b) using a new EFI folder, but copying-and-pasting existing Serial Number, Board Serial Number, and System UUID into the new config.plist.

Sound scary?

It's not so bad. Please see the post below and ask for help should you require it.
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
20,090
Motherboard
Asus ProArt Z690-Creator
CPU
i7-12700K
Graphics
RX 6800 XT
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
I decided to add Thunderbolt 3 to my build
Bought Titan Ridge ver 2.0

read enough of this to get into trouble
which firmware, ssdt and patches should I use for most functionality from thunderbolt
OpenCore 0.6.0 and Catalina
Good choice. Please have a look at these posts first and if you still have questions, please ask:
  1. Firmware is located in the Repository (NVM 50 seems best one for this card).
  2. SSDTs are located in the Thunderbolt DROM Micro-Guide for this card.
No "patches" are needed. Only (a) firmware and (b) SSDT.
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
20,090
Motherboard
Asus ProArt Z690-Creator
CPU
i7-12700K
Graphics
RX 6800 XT
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
@CaseySJ On the Consolidated List of Sleep Aids it says "Wake for Network Access works properly. Specifically, WiFi speed is no longer severely degraded after wake-from-sleep."

Does that mean that we can enable wake-on-lan without issues with wifi? How can I enable it?
I believe the jury is still out on that, unfortunately. Some of my tests showed that WiFi speed was normal after wake-from-sleep (with "Wake for Network Access" enabled), but other tests later on showed degraded WiFi speeds. So buyer beware...

Wake-on-LAN is handled by "Wake for Network Access" in System Preferences --> Energy Saver.
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
20,090
Motherboard
Asus ProArt Z690-Creator
CPU
i7-12700K
Graphics
RX 6800 XT
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
@CaseySJ ,
Hi,
Gigabyte answered me.
For them it might be a SMBUS conflict.
So they advised me to tape the Pin of the PCI-E card, and to uncover only B5-B6.

Anything to modify in BIOS to prevent doing this ?
So that must be a Firmware problem right ?

Thank you
Unfortunately this is not a firmware issue. Looks like Gigabyte is helping you troubleshoot the problem. Please continue to work with them. Hopefully they will be able to identify the source of the problem.
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
20,090
Motherboard
Asus ProArt Z690-Creator
CPU
i7-12700K
Graphics
RX 6800 XT
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
Quick update from me @CaseySJ and @iRamon - it appears turning off Find My Mac solves this issue. I get no more wakes whatsoever in the night. I therefore am going to turn it off as it's less headache for something that I don't really need. My data is backed up to the cloud, so God Forbid if this machine is taken, all I'm losing is the monetary value of the parts.
Good to know! I'll add that to the Sleep Aid.
However, @CaseySJ as I'm turning off Find My Mac, can I use File Vault safely to encrypt the contents of my Hard Drive, and furthermore, can I also enable SIP, or does it need to be disabled for the Hack to run properly?
...
SIP can certainly be enabled.

File Vault can also be enabled, but I have no experience with it. So if you succeed in enabling File Vault, please let us know how you did it...
 
Joined
Feb 7, 2012
Messages
276
Motherboard
Gigabyte Z390 Designare
CPU
i7-9700K
Graphics
Vega 56
Mac
  1. MacBook
  2. MacBook Pro
Mobile Phone
  1. iOS
Good to know! I'll add that to the Sleep Aid.

SIP can certainly be enabled.

File Vault can also be enabled, but I have no experience with it. So if you succeed in enabling File Vault, please let us know how you did it...

Thanks. Going to enable file vault on this test rig now as the last new feature and begin to regression test.

If that passes, I’ll then proceed to install as new and turn off find my Mac (without any changes to darkwake or TCPkeepAlive) to see how it fares.
 
Top