Contribute
Register

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

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
3,500
Motherboard
Gigabyte Designare Z390
CPU
i7-9700K
Graphics
RX 580
Mac
MacBook Air, Mac Pro
Classic Mac
Quadra
Mobile Phone
iOS
Hi CaseySJ,

Thank you for your reply.

Yes, I even used AptioMemoryFix.efi with Clover. I did not use AptioFixDrvFree2000, because one of the developers of AptioMemoryFix told me about it being "last resort", as it wasn't a good solution. I don't recall what the exact reason was for it. However, I remember the explanation to be quite technical. At that time AptioMemoryFix wasn't created. AptioMemoryFix is of course also focused on to fix the NVRAM issues people have had with the 100, 200 and 300 series boards. And if AptioMemoryFix.efi doesn't work alone, slide values can help with that. However, I'm not using any Slide argument.

Anyhow. To answer your question about Wifi+BT. I'm using an Apple WiFi card with BlueTooth. I disabled the motherboards onboard BT with uia_exclude=HS14 boot argument, as it was becoming a plague for pairing BT dependant HIDs.
I finally plan to test OpenCore because I'm intrigued by the inclusion of the DevicePath protocol. However, I wonder if that is different from DevicePathProperties. One of the obstacles for activating Thunderbolt Local Node and Thunderbolt Bus is the following:
  • Apple's EFI firmware (BIOS) includes a large number of DXE Drivers. The drivers that we believe are instrumental in setting up Thunderbolt properly include, but may not be limited to, the following:
    • EfiDevicePathPropertyDatabase.efi
    • ThunderboltNhi.efi
    • ThunderboltXDomainDevice.efi
    • PciThunderbolt.efi
    • DevicePathDriver.efi
  • The EFI firmware plays a crucial role in setting up or initializing various internal components such as the Thunderbolt controller.
  • The EFI firmware sets up key parameters such as:
    • ThunderboltDROM
    • pathcr
    • pathcrumbsv2
    • TBTDPLowToHigh
    • ThunderboltConfig
    • etc.
  • These parameters are then passed to Apple's boot.efi, which starts macOS.
  • So the Thunderbolt Kexts inside macOS do not set this up. They rely on these EfiDevicePathProperties to be passed in by the EFI Firmware.
  • I am not sure whether the Clover Boot Loader includes the EFI protocol necessary for this type of handshake between Firmware and macOS.
  • But the OpenCore source code includes the DevicePath protocol, which has me intrigued... Will this allow EfiDevicePathProperties created by the Firmware to be passed to the macOS kernel?
I plan to use your OpenCore EFI on a USB flash disk. If you have a newer or updated version that you think might be a better version to test, please let me know.

Edit (12 July 2019): After reading relevant parts of the UEFI Specification, I need to make some corrections:
  • EFI Device Path protocol is standard; it's a fundamental part of the UEFI spec.
  • Apple implements a custom AAPL,PathProperties protocol that is implemented in EfiDevicePathProperties.efi.
  • Apple's ThunderboltNhi and ThunderboltXDomainDevice are EFI Boot Service drivers (SUBSYSTEM Type = 0x0B) instead of EFI Runtime Drivers. This means they are terminated sometime during the boot process. The macOS kexts no longer rely on them. But these EFI Boot Service drivers pass important Thunderbolt operating properties to the boot loader (via the custom AAPL,PathProperties protocol), which in turn passes them on to AppleACPIPlatform.kext for use by macOS.
  • The EFI Boot Service drivers can initialize and configure the Thunderbolt controller, but the UEFI Spec requires the OS-level drivers to not make any assumptions, and to initialize and configure the controller by themselves.
 
Last edited:
Joined
Apr 16, 2014
Messages
83
Motherboard
Gigabyte Z390 DESIGNARE
CPU
i9-9900K
Graphics
Vega 64
Hi @CaseySJ, quick question:

I'm using headless mode on my UHD 630. If so, should I remove ig-platform-id from the Graphics section of CC?

P.D: Is the iGPU properly implemented in your opinion?
P.D.2: Should I leave ResetHDA set to Enabled or untick it?

Thanks in advance. As always, I can't thank you enough for the excellent quality of this guide!

415909

415910

415916
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
3,500
Motherboard
Gigabyte Designare Z390
CPU
i7-9700K
Graphics
RX 580
Mac
MacBook Air, Mac Pro
Classic Mac
Quadra
Mobile Phone
iOS
Hi @CaseySJ, quick question:

I'm using headless mode on my UHD 630. If so, should I remove ig-platform-id from the Graphics section of CC?

P.D: Is the iGPU properly implemented in your opinion?
P.D.2: Should I leave ResetHDA set to Enabled or untick it?

Thanks in advance. As always, I can't thank you enough for the excellent quality of this guide!
Hello @nifranza,

You're almost there. Couple of fixes needed:
  • Remove "0x3E980003" from Clover Configurator --> Graphics.
  • In Clover Configurator --> Devices --> Properties, AAPL,ig-platform-id currently has a value of 3E980003. But this must be specified in reverse byte order as: 0300983E.
  • In the same section, one more property needs to be added:
    • Properties Key: framebuffer-patch-enable
    • Properties Value: 01000000
    • Value Type: DATA
  • Then save the file, reboot, and run IORegistryExplorer once again to check settings of IGPU.
You may leave "Reset HDA" checked on.
 
Joined
Apr 16, 2014
Messages
83
Motherboard
Gigabyte Z390 DESIGNARE
CPU
i9-9900K
Graphics
Vega 64
Hello @nifranza,

You're almost there. Couple of fixes needed:
  • Remove "0x3E980003" from Clover Configurator --> Graphics.
  • In Clover Configurator --> Devices --> Properties, AAPL,ig-platform-id currently has a value of 3E980003. But this must be specified in reverse byte order as: 0300983E.
  • In the same section, one more property needs to be added:
    • Properties Key: framebuffer-patch-enable
    • Properties Value: 01000000
    • Value Type: DATA
  • Then save the file, reboot, and run IORegistryExplorer once again to check settings of IGPU.
You may leave "Reset HDA" checked on.
Done, is it better?
415949

415950
415951
 
Joined
Jun 1, 2010
Messages
60
Motherboard
Gigabyte Designare Z390
CPU
I9-9900K
Graphics
RX 580
Please do the following:
  • Post screen shot of System Preferences --> Energy Saver
  • Using Terminal, type the following line carefully or copy-and-paste:
    • sudo rm -rf /Library/Preferences/com.apple.PowerManagement.*
    • (Don't worry, these files will be re-created on next boot.)
  • After reboot, test Sleep by selecting it from the Apple Menu.
  • If computer wakes up suddenly, open Terminal again and enter:
    • sudo pmset -g proximitywake 0
    • sudo pmset -g hibernatemode 0
  • Test Sleep again from Apple menu.
    • If it fails, run this command again in Terminal and post the file SleepLog.txt from Documents folder:
    • pmset -g log | tail -100 > ~/Documents/SleepLog.txt
Got an error when running proximitywake and hibernatemode, i attached all the files. Computer waked up from sleep once again. So, its still happening, I'm sure we will figure it out.
 

Attachments

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
3,500
Motherboard
Gigabyte Designare Z390
CPU
i7-9700K
Graphics
RX 580
Mac
MacBook Air, Mac Pro
Classic Mac
Quadra
Mobile Phone
iOS
Got an error when running proximitywake and hibernatemode, i attached all the files. Computer waked up from sleep once again. So, its still happening, I'm sure we will figure it out.
Have you already tried unchecking Enable Power Nap in System Preferences --> Energy Saver?
 
Joined
Jun 1, 2010
Messages
60
Motherboard
Gigabyte Designare Z390
CPU
I9-9900K
Graphics
RX 580
Have you already tried unchecking Enable Power Nap in System Preferences --> Energy Saver?
When unchecking Enable Power Nap, it doesn't really go to sleep. When selecting sleep from Apple Menu, it just woke backup again. Its definitely something to do with the H115i Cooler.
 
Joined
Dec 12, 2012
Messages
61
Motherboard
Gigabyte Designare Z390
CPU
i9-9900K
Graphics
RX 580 + GTX 980 Ti
Yes I am using a UAD Thunderbolt Satellite. iLok dongle, Steinberg dongle and Little Snitch. Why?
Hi, I unplugged the UAD Thunderbolt Satellite and the computer started up without freezing at a kernel panic.
Can you give me any advice please?
 
Top