Contribute
Register

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

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
19,788
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
You linked to the guide to Enable Native NVRAM; I've actually already unlocked MSR 0xE2 via this micro-guide. The output of setup_var_3 0x5c1 via the grub> prompt is 0x00. My BIOS version is F6.
Good -- half the battle...
I see that MSR 0xE2 unlocking procedure in the guide you linked to involves unchecking Kernel and Kext Patches --> KernelPM after unlocking MSR 0xE2. Should I go ahead and do that, since MSR 0xE2 is already unlocked?
Yes please uncheck those two boxes. This may not solve the kernel cache problem, but it's worth doing anyway.

A more desperate option would be to add this to Boot Arguments at least temporarily and see what happens:

-f UseKernelCache=No
 
Joined
Feb 5, 2013
Messages
1,298
Motherboard
Gigabyte Z490 Vision D
CPU
i9-10850K
Graphics
6800 XT
Mac
  1. iMac
So, @CaseySJ -

I have a GC-TitanRidge card with an NVM of 43. Do you think it would be worthwhile to flash it to NVM33 and then re-flash with one of the patches? Either from DSM2 or one of Elias64Fr's patches?

I'm getting the impression that NVM 33 has the best response so far, but then it sounds like it needs to be re-flashed and adjusted to get it work the best. Also, an SSDT must also be customized to work with it, correct?

Have I got that right?
 
Joined
Dec 6, 2010
Messages
68
Motherboard
AsRock Z490 ITX/TB3
CPU
i7 107000K
Graphics
UHD 630
Mac
  1. MacBook Pro
  2. Mac mini
Classic Mac
  1. Power Mac
Mobile Phone
  1. iOS
Progress!!

...would the lack of DSB4 in the SSDT have anything to do with this?

thanks!
@faithie999 It's great to hear you've made progress, I was beginning to wonder if anyone else could reproduce my results. You definitely need the DSB4 device under UPSB, so duplicate DSB1 and change the _ADR address to 0x00040000, like so:

Code:
Device (DSB4)
            {
                Name (_ADR, 0x00040000)  // _ADR: Address
                Method (_RMV, 0, NotSerialized)  // _RMV: Removal Status
                {
                    Return (Zero)
                }
            }

To get your display to work properly you need to activate IOThunderboltPort5 (notice that it's not populated in your IOreg).To do this you need to inject your ThunderboltDROM into the NHI0 Device via OpenCore config.plist. Copy the DROM from your original firmware using HexFiend, change the UID and correct the CRC-8 checksum as per the tutorial here: https://www.tonymacx86.com/threads/...olt-3-i7-9700k-amd-rx-580.267551/post-2087139. Just upload your original firmware if you're not sure what to do and I'll fix it for you. Don't use the DROM from the tutorial, you must use the one from your card firmware
 
Last edited:
Joined
Feb 18, 2019
Messages
356
Motherboard
ASUS Z690 Maximus Extreme
CPU
i9-12900KF
Graphics
6900XT
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Just started looking at this. Some comments:

View attachment 467012View attachment 467013
  • In the first screenshot we see that for each PCIe slot there's an External PINI declaration. This PINI function is not defined in Gigabyte's firmware.
  • In the second screenshot we see the _INI method in which the code checks if a real PINI method exists (CondRefOf (PINI)) and if so, PINI is then called.
  • This means we don't have to rename _INI to XINI. Instead, we just create a new method in Scope (_SB.PCI0.RP05) called PINI. And that method will be invoked automatically.

CaseySJ,

It's not clear to me what TB-related patches for flashed firmware we're to be using. I have some of what's shown in the Spoiler below included, but now don't know if this is useful. Can you clarify?

Also, what new PINI method should we include in the SSDT?

Thanks.

Z390-Designare-TB-Patches.jpg
 
Joined
Mar 21, 2011
Messages
820
Motherboard
GA-Z390-Aorus Pro
CPU
i7-9700K
Graphics
RX 590
@faithie999 It's great to hear you've made progress, I was beginning to wonder if anyone else could reproduce my results. You definitely need the DSB4 device under UPSB, so duplicate DSB1 and change the _ADR address to 0x00040000, like so:

Code:
Device (DSB4)
            {
                Name (_ADR, 0x00040000)  // _ADR: Address
                Method (_RMV, 0, NotSerialized)  // _RMV: Removal Status
                {
                    Return (Zero)
                }
            }

To get your display to work properly you need to activate IOThunderboltPort@5 (notice that it's not populated in your IOreg).To do this you need to inject your ThunderboltDROM into the NHI0 Device via OpenCore config.plist. Copy the DROM from your original firmware using HexFiend, change the UID and correct the CRC-8 checksum as per the tutorial in this thread. Just upload your original firmware if you're not sure what to do and I'll fix it for you. Don't use the DROM from the tutorial, you must use the one from your card firmware
I was looking at your SSDT again. your instructions say to change _E2C to _E17 in one line of the SSDT, which I did, but in the SSDT there are two occurrences of XE2C nearby. should I change them to XE17 as well?

I thought maybe this is supposed to refer to the _GPE._E17 that I changed to _GPE.XE17 in my DSDT.

Screen Shot 2020-05-05 at 3.36.20 PM.png
 
Joined
Dec 6, 2010
Messages
68
Motherboard
AsRock Z490 ITX/TB3
CPU
i7 107000K
Graphics
UHD 630
Mac
  1. MacBook Pro
  2. Mac mini
Classic Mac
  1. Power Mac
Mobile Phone
  1. iOS
I was looking at your SSDT again. your instructions say to change _E2C to _E17 in one line of the SSDT, which I did, but in the SSDT there are two occurrences of XE2C nearby. should I change them to XE17 as well?

I thought maybe this is supposed to refer to the _GPE._E17 that I changed to _GPE.XE17 in my DSDT.

View attachment 467518
Yes!
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
19,788
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
So, @CaseySJ -

I have a GC-TitanRidge card with an NVM of 43. Do you think it would be worthwhile to flash it to NVM33 and then re-flash with one of the patches? Either from DSM2 or one of Elias64Fr's patches?

I'm getting the impression that NVM 33 has the best response so far, but then it sounds like it needs to be re-flashed and adjusted to get it work the best. Also, an SSDT must also be customized to work with it, correct?

Have I got that right?
Hello @mm2margaret,

Flashing the card with modified NVM 33 might offer the best compatibility out of the various alternatives. But it's only necessary to flash once. Then the GC-Titan Ridge Thunderbolt DROM Micro-Guide should be used to tailor the DROM and enable hot-plug.
 
Joined
Apr 8, 2011
Messages
8
Motherboard
Gigabyte Z390 Designare
CPU
i9-9900K
Graphics
Radeon VII
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. Android
Hi CaseySJ,
I am using Opencore 0.5.8 and noticed this in the file
Screenshot 2020-05-05 at 20.49.16.png

Should both these entries be in the patch file as they seem to just be a duplicate ?.

Yours Terry.
 
Joined
Jul 12, 2016
Messages
2,928
Motherboard
Gigabyte Z370 Gaming 5
CPU
i9-9900K
Graphics
RX 6900 XT
Mac
  1. Mac mini
  2. Mac Pro
Mobile Phone
  1. iOS
So, @CaseySJ -

I have a GC-TitanRidge card with an NVM of 43. Do you think it would be worthwhile to flash it to NVM33 and then re-flash with one of the patches? Either from DSM2 or one of Elias64Fr's patches?

I'm getting the impression that NVM 33 has the best response so far, but then it sounds like it needs to be re-flashed and adjusted to get it work the best. Also, an SSDT must also be customized to work with it, correct?

Have I got that right?

Maybe I am some kind of exception to the rule but I did not have to reflash the card. I have been running NVM 33 on my GC-Titan Ridge since the day Casey put it out, I had put DSM2 Firmware on the card prior. The only adjustment I made was to change out the SSDT once Casey released the DROM Micro Guide. You do not need to customize the SSDT but it is recommended it takes about 10 mins to update the SSDT with a custom DROM.
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
19,788
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,

It's not clear to me what TB-related patches for flashed firmware we're to be using. I have some of what's shown in the Spoiler below included, but now don't know if this is useful. Can you clarify?

Also, what new PINI method should we include in the SSDT?

Thanks.

My comment regarding PINI was only meant for @dgsga and @faithie999 -- in particular, for the TbtOnPCH SSDT they're working on.
 
Top