Contribute
Register

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

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
14,417
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
** Using HackinDROM to Create Thunderbolt SSDT with Custom DROM **
Please do not quote this guide in its entirety. Post a link instead.
Credit: @Inqnuam


Introduction:
Up to now we have created separate Thunderbolt DROM Mini-Guides for each motherboard and add-in-card. Now that HackinDROM is available and allows designated users to add files to its internal database, we can create a single Thunderbolt DROM Mini-Guide for all users. This is that guide!

Prerequisites:
This guide applies to users who have flashed their Thunderbolt controller using an external SPI Flash ROM reader/writer such as Raspberry Pi or a CH341a USB flasher. A flashed controller enables Thunderbolt Bus, which in turn enables macOS to make better and fuller use of Thunderbolt.

How to Check if Thunderbolt Bus is Enabled:
Open System Information and select Thunderbolt from the left side. If you see No drivers are loaded, then this guide does not apply.

Procedure:
  1. Open the HackinDROM webpage in your browser: https://hackindrom.zapto.org/index.php
  2. Select your Thunderbolt controller from the pop-up menu.
    Screen Shot 2020-11-16 at 2.26.14 PM.png
  3. The list of available devices (as of this writing) is shown below. This list is subject to change.
    Screen Shot 2020-11-16 at 1.28.05 PM.png
  4. In most cases, no modifications are necessary. HackinDROM will generate a random Unique ID (UID) and set Thunderbolt Bus ID to 0. So just click the Download icon as shown. However, it is also possible to customize the SSDT as described in the next step (optional).
  5. OPTIONAL STEP:
    • We can change Bus ID (if more than one Thunderbolt controller is present in the system, assign a different Bus ID to each one).
    • We can change Unique ID or UID (if we want to assign a UID manually instead of using the random value generated by HackinDROM).
    • We can change the Vendor and Device names of the Thunderbolt controller.
    • These changes are made from the Customize button.
      Screen Shot 2020-11-16 at 2.26.27 PM.png
      Screen Shot 2020-11-16 at 2.26.36 PM.png
    • Every Thunderbolt SSDT in this list is attached to a specific PCI bus "root port". Some of these SSDTs are attached to RP05 while others may be attached to RP21 or RP09, etc. However, the Thunderbolt controller in your system may be attached to a different port!
    • Download and run IORegistryExplorer to determine your Thunderbolt controller's root port. Search for "Thunderbolt" and check the resulting PCI path.
    • Then follow the instructions in the screenshots below.
    • Ask questions if you need assistance (but only after trying the steps yourself).
      Screen Shot 2020-11-16 at 2.56.03 PM.png
  6. Some OpenCore installations already have a "Method DTGP" defined. Most Clover installations do not. Check all SSDTs in your ACPI folder (CLOVER/ACPI/patched or OpenCore's OC/ACPI) to see if DTGP is already defined. If it is not defined, download the attached SSDT-DTGP.amland copy it to the ACPI folder:
    • Clover ACPI folder is: CLOVER/ACPI/patched
    • OpenCore ACPI folder is: OC/ACPI
  7. OpenCore users also need to update their config.plist to include references to the Thunderbolt SSDT and, if applicable, to SSDT-DTPG.aml as well.
  8. A reboot is necessary for changes to take effect.
End of Procedure

Updates:

  • 24 Oct 2020: First version.
  • 16 Nov 2020: Revised per latest version of HackinDROM.
 

Attachments

  • SSDT-DTPG.aml
    100 bytes · Views: 110
Last edited:
Joined
Mar 9, 2020
Messages
51
Motherboard
Gigabyte Z390 Designare
CPU
i5-9600K
Graphics
RX 580
I would suggest updating Lilu, WhateverGreen, AppleALC, VirtualSMC, SMCProcessor, and SMCSuperIO to the latest versions. They can be copied from the OC/Kexts folder of the OpenCore zip file (don't worry, we're just copying the kexts, not installing OpenCore) located here.

Just copy these files from the downloaded ZIP file to your CLOVER/kexts/Other folder and reboot.

Regarding IORegistryExplorer, scroll the device tree on left side (do not use the search bar) until you see iGPU@2. Then post a screenshot.
Update all of the kexts you mentioned. Should I try anything old/new after that?
As for the iGPU@2 I couldn't find it... I checked several times. I wasn't sure if I'm looking at the right place (I scrolled through the whole list), but according to google it should be here: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2. I couldn't find it there or anywhere else:
1603491745499.png
 
Last edited:

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
14,417
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
Update all of the kexts you mentioned. Should I try anything old/new after that?
As for the iGPU@2 I couldn't find it... I checked several times. I wasn't sure if I'm looking at the right place (I scrolled through the whole list), but according to google it should be here: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2. I couldn't find it there or anywhere else:
Okay, just type “iGPU” in the search bar. If there’s a match, then click the “x” on the right side of the search bar to clear the result. Then post a screenshot.
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
14,417
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
Finally found the solution, I posted it on Apple Watch related thread:

@CaseySJ, I think it’s worth being mentioned in the troubleshooting section
Nice. Will add it to “Troubleshooting / FAQ” section in Z490 Vision D thread because it already has such a section.
 
Joined
Mar 9, 2020
Messages
51
Motherboard
Gigabyte Z390 Designare
CPU
i5-9600K
Graphics
RX 580
While waiting I tried:
1) Disconnecting all monitors and booting with only one monitor connected to USB C -> still "check cable connection"
2) Unplugging HDMI cable from GPU with the machine completely booted and connected monitor via USB C -> result the same as the above.
3) Booting the machine with monitors connected to HDMI ports in the GPU -> black screen, no success as before.

Here's the screenshot after I queried iGPU and then hit "x":
1603493919794.png
 
Joined
Mar 18, 2012
Messages
45
Motherboard
Gigabyte Z390 Designare
CPU
i9-9900K
Graphics
Radeon VII
Mac
  1. Mac Pro
Mobile Phone
  1. Android
Sorry, I meant CLOVER, not OpenCore (OC). You posted the right screenshot, and CLOVER folder looks fine. Two suggestions:
  • Ignore it for now because it's cosmetic.
  • Try CMOS Reset (by shorting two pins on motherboard with flathead screwdriver; see manual) and re-configuring BIOS parameters afterwards.
Good, thanks!
I did clean CMOS and set up the BIOS again.
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
14,417
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
While waiting I tried:
1) Disconnecting all monitors and booting with only one monitor connected to USB C -> still "check cable connection"
2) Unplugging HDMI cable from GPU with the machine completely booted and connected monitor via USB C -> result the same as the above.
3) Booting the machine with monitors connected to HDMI ports in the GPU -> black screen, no success as before.

Here's the screenshot after I queried iGPU and then hit "x":
In BIOS, is Internal Graphics set to “Enabled” or “Auto”? It must be “Enabled”.
 
Joined
Mar 18, 2012
Messages
45
Motherboard
Gigabyte Z390 Designare
CPU
i9-9900K
Graphics
Radeon VII
Mac
  1. Mac Pro
Mobile Phone
  1. Android
@CaseySJ

Now that this part is sorted let talk about the elephant in the room, I'm sorry if I'm bothering you.
Please bear with me!

I did the update to Catalina mainly because I got a new LG USB-C display (only USB-C, no Thunderbolt) monitor that does't work on the Mojave system. It make freeze the system when I connect the USB-C to Displayport Cable.

I though the Catalina fresh installation would solve the problem because it should work out of the box.
But unfortunately it doesn't. Same Freeze as soon as connect the USB-C cable.
Any idea how to fix it, where to look for?

Thanks again for your help!
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
14,417
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
Good, thanks!
I did clean CMOS and set up the BIOS again.
Does the problem still exist?

Does the LG monitor work if you use a DP to DP cable? Does the LG contain either DP or HDMI ports?
 
Top