Contribute
Register

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

Where can you find these logs?
These are messages that come on screen right after a hard boot and are cleared after the next successful boot.
 
@Elias64Fr,

I'll create a summary and test plan here before continuing with testing this evening (about 9 hours from now).

ThunderboltConfig
  • Based on this post, I tested with:
    • ThunderboltConfig =
      • 00021c00 02000503 01000400 05030200 03000503 01000000 03030200 01000200.
      • Let's call this one TCONFIG-2
    • Did not seem to make any progress with this string, but I haven't given up on it yet.
    • Nearly all of the good or hopeful results posted previously are with...
    • ThunderboltConfig =
      • 0002FFFF 04000301 01000400 05010200 03000301 01000000 03010200 02000100.
      • Let's call this one TCONFIG-1
Fixing SSP1 and SSP2 with Companion Port
  • Modifications Made:
    • This fixes SSP1 and SSP2 to USB Type C (0x09).
    • Adds XHC companion ports 0x08 (HS08) and 0x0D (HS13).
    • Adds USB Power Properties.
    • Defines FS, LS, HS devices (USB Full Speed, USB Low Speed, USB High Speed) -- these are USB 1.x and 2.x.
  • All of the results from this morning are with these changes.
  • TNODE/TBUS appeared two times this morning, but each time the system hanged about 10 seconds after login was complete.
    • This was with TCONFIG-1.
    • This means, after I enter Catalina login password, then 10 seconds later system hangs.
    • But the fact that TNODE/TBUS even appeared with these settings is a good sign.
Booting with USB 3.1 Gen 1 Flash Drive
  • During this test, GPE _E17 was in use. This means any attempt to hot-plug or hot-unplug causes immediate GUI hang.
  • So this test was done with USB drive already connected before boot.
  • When system booted up, the USB disk mounted automatically after a few seconds.
  • USB flash disk was 100% usable. Good sign!
Booting with Apple TB-to-GbE Adapter (w/Apple TB3-to-TB2 adapter)
  • On 2 out of 20-30 boot attempts this morning, the Apple TB-to-GbE device tree under RP05 was fully materialized.
    • Shows randomness / inconsistent device state from boot to boot.
  • System Information --> PCI showed that drivers were loaded.
  • But the Ethernet port did not respond when Ethernet cable was plugged in.
  • So partial progress!
Empty GPE E_17 Method
  • Because hot-plug and hot-unplug were causing immediate GUI hangs, we decided to empty the method by simply removing the following instructions from the method:
    • Removed call to UPSB.AMPE() -- this normally invokes a Notify on NHI0
    • Removed call to UPSB.UMPE() -- this normally invokes a Notify on XHC2 and XHC
  • But Gigabyte's default handler (XE17) was not called. Maybe we should call it?? Will try this in the evening.
  • With this change, the system no longer hangs with either hot-plug or hot-unplug, but Thunderbolt devices do not actually hot-plug or hot-unplug. Their state remains the same as it was at boot.
  • As mentioned, I will invoke the default XE17 handler and see what happens.
Obtaining XHC2 Power State Properties with No Device Connected
  • Because SSP1/SSP2 devices do not always appear in IOReg, it takes several reboots/hot-unplugs/cold-starts to make them appear (almost sounds like a timing / randomness issue??).
  • Next time SSP1/SSP2 appear, I will capture their Power State Properties with no devices connected.
  • But with USB 3.1 Gen 1 Flash drive connected:
    • kPowerStateOff was 0ms (0%)
    • kPowerStateSleep was 0ms (0%)
    • kPowerStateOn was 2xx or 3xx ms
    • kPowerStateSuspended was some large number (in ms)
_INI / PINI Methods
  • Comparing the _INI/PINI methods between our SSDT, Apple's original iMac19,1 SSDT, and Osy86's compiled version, we see that Apple and Osy86 are initializing the device only if !OSDW() (OS not equal to Darwin), but we are initializing the device unconditionally.
  • Will see what happens if this section is commented-out.
    View attachment 447145

Comments on Current Status
  • Because TNODE/TBUS have never appeared when no device is connected, what does this imply?
  • Because TNODE/TBUS appear inconsistently, almost randomly, during warm boots, what does this imply? Timing issue? Random events? Some device state that we're not setting properly?
  • The Apple TB-to-GbE device (with Apple TB3-to-TB2 adapter) got fully materialized two times this morning, and System Information --> PCI indicated that driver was loaded. But the device could not actually connect to Ethernet cable.
    • This "full materialization" also happened randomly, 2 times out of 20-30 boot attempts this morning. So it is not consistent/reliable.
  • Also need to determine why XHC2.PCED is never called. We have no ACPIDebug logs of this. We do not see the following logs:
    View attachment 447147

[This post will continue to update during the day as the test plan evolves.]
@CaseySJ ,
"Based on this post, I tested with:" .. following ThunderboltConfig are not from MBP15,1.. we should test in this case.

On section Fixing SSP1 and SSP2 with Companion Port, I think we have forgotten _PRW method in case of companion used but this is, probably for Power-Wake from sleep. We can copy same as XHC (main USB device and including GPRW) under XHC2 Device.

About System Hang, I made ACPIDebug log compare with Asus Maximus set-up; It hang just before NHI0 _PS0 (controller enabled):

Capture d’écran 2020-01-28 à 14.53.00.png


On Booting with USB 3.1 Gen 1 Flash Drive section, did you have any ACPIDebug _E17 calls during hot-plug and hot-unplug ?

About Apple TB-to-GbE Adapter, we should probably first have a populated IOThunderboltPort@1 or @3.

For helping and finding XHC2 log, I will take screen shot of ACPI boot sequences with no devices connected then when I plug Egpu ...

UPDATE: I have the following sequences, with EGPU hot plugged then unplugged, USB3.1Gen2 device hot plugged then unplugged and finally EGPU plugged !

Timestamp (process)[PID]
2020-01-28 23:43:49.455039+0100 ACPIDebug: Version 0.1.4 starting on OS X Darwin 19.2.
2020-01-28 23:43:49.455165+0100 ACPIDebug: 0xb0039854
2020-01-28 23:43:49.455263+0100 ACPIDebug: 0xe00e0000
2020-01-28 23:43:49.480420+0100 ACPIDebug: 0xe0600000
2020-01-28 23:43:49.481506+0100 ACPIDebug: 0xe0700000
2020-01-28 23:43:49.482621+0100 ACPIDebug: 0xe0708000
2020-01-28 23:43:49.484072+0100 ACPIDebug: 0xe0710000
2020-01-28 23:43:49.489743+0100 ACPIDebug: 0xe0720000
2020-01-28 23:43:49.490386+0100 ACPIDebug: 0xe0800000
2020-01-28 23:43:49.492192+0100 ACPIDebug: "_INI Root Port"
2020-01-28 23:43:49.496549+0100 ACPIDebug: "ICMBoot"
2020-01-28 23:43:49.497964+0100 ACPIDebug: "Tbt TWIN set to One"
2020-01-28 23:43:49.527102+0100 ACPIDebug: "Tbt Force Power with FPGN"
2020-01-28 23:43:49.538564+0100 ACPIDebug: "Up Stream VID/DID =0000000015D38086"
2020-01-28 23:43:49.539208+0100 ACPIDebug: "Delay to appear = 121 us"
2020-01-28 23:43:49.539853+0100 ACPIDebug: "Tbt TNAT set to One"
2020-01-28 23:43:49.540207+0100 ACPIDebug: "ICMS"
2020-01-28 23:43:49.540845+0100 ACPIDebug: "ICME_0="
2020-01-28 23:43:49.541202+0100 ACPIDebug: 0xffffffff
2020-01-28 23:43:49.541845+0100 ACPIDebug: "Configure NHI called"
2020-01-28 23:43:49.542482+0100 ACPIDebug: "Configure NHI RP OK!"
2020-01-28 23:43:49.542840+0100 ACPIDebug: "Configure NHI UPSB OK!"
2020-01-28 23:43:49.543477+0100 ACPIDebug: "Configure NHI Dp 0 done"
2020-01-28 23:43:49.544110+0100 ACPIDebug: "Configure NHI Dp 3 done"
2020-01-28 23:43:49.544466+0100 ACPIDebug: "Configure NHI Dp 4 done"
2020-01-28 23:43:49.545102+0100 ACPIDebug: "Configure NHI Dp 5 done"
2020-01-28 23:43:49.545454+0100 ACPIDebug: "Configure NHI DPs done"
2020-01-28 23:43:49.546096+0100 ACPIDebug: "Configure NHI0 all done"
2020-01-28 23:43:49.546448+0100 ACPIDebug: "Configure NHI End"
2020-01-28 23:43:49.547440+0100 ACPIDebug: "ICME_1="
2020-01-28 23:43:49.549054+0100 ACPIDebug: 0x800001a1
2020-01-28 23:43:49.549704+0100 ACPIDebug: "ICME_2="
2020-01-28 23:43:49.550364+0100 ACPIDebug: 0x800001a1
2020-01-28 23:43:49.551011+0100 ACPIDebug: "ICME_3="
2020-01-28 23:43:49.551673+0100 ACPIDebug: 0x800001a7
2020-01-28 23:43:49.552991+0100 ACPIDebug: 0x800003f5
2020-01-28 23:43:49.554267+0100 ACPIDebug: "ICME_4="
2020-01-28 23:43:49.557885+0100 ACPIDebug: 0x800001a7
2020-01-28 23:43:49.558900+0100 ACPIDebug: "ISTA="
2020-01-28 23:43:49.559899+0100 ACPIDebug: 0x800003f5
2020-01-28 23:43:49.560893+0100 ACPIDebug: "Configuration delay = 1003 ms"
2020-01-28 23:43:49.561900+0100 ACPIDebug: "UPSB UMPE"
2020-01-28 23:43:49.563581+0100 ACPIDebug: "UPSB AMPE"
2020-01-28 23:43:49.566881+0100 ACPIDebug: "_PS0 RP01"
2020-01-28 23:43:49.567854+0100 ACPIDebug: "PCEU RP01"
2020-01-28 23:43:49.568818+0100 ACPIDebug: "PCEU RP01- Put upstream bridge back into D0 "
2020-01-28 23:43:49.578185+0100 ACPIDebug: "_PS0 UPSB"
2020-01-28 23:43:49.581624+0100 ACPIDebug: "PCED UPSB"
2020-01-28 23:43:49.585879+0100 ACPIDebug: "PCED - enable GPIO"
2020-01-28 23:43:49.586462+0100 ACPIDebug: "UGIO - PCI wants on"
2020-01-28 23:43:49.587001+0100 ACPIDebug: "UGIO - NHI wants on"
2020-01-28 23:43:49.587973+0100 ACPIDebug: "UGIO - XHCI wants on"
2020-01-28 23:43:49.588174+0100 ACPIDebug: "UGIO - TBT forced on"
2020-01-28 23:43:49.588358+0100 ACPIDebug: "UGIO - USB forced on"
2020-01-28 23:43:49.588685+0100 ACPIDebug: "UGIO - TBT GPIO should be on"
2020-01-28 23:43:49.588830+0100 ACPIDebug: "UGIO - USB GPIO should be on"
2020-01-28 23:43:49.588910+0100 ACPIDebug: "UGIO - Make sure TBT & USBC is on"
2020-01-28 23:43:49.589213+0100 ACPIDebug: "PCED UPSB- restored flag, THUNDERBOLT_PCI_LINK_MGMT_DEVICE.PRSR"
2020-01-28 23:43:49.589600+0100 ACPIDebug: 0x0
2020-01-28 23:43:49.589930+0100 ACPIDebug: "PCED UPSB- Wait for config space..."
2020-01-28 23:43:49.590189+0100 ACPIDebug: "PCED UPSB- Read VID/DID =0000000015D38086"
2020-01-28 23:43:49.590549+0100 ACPIDebug: "CRMW Read Value1"
2020-01-28 23:43:49.590931+0100 ACPIDebug: 0x4304227
2020-01-28 23:43:49.591252+0100 ACPIDebug: "CRMW Write Value1"
2020-01-28 23:43:49.591347+0100 ACPIDebug: 0x4304227
2020-01-28 23:43:49.591418+0100 ACPIDebug: "CRMW Read Value2"
2020-01-28 23:43:49.591483+0100 ACPIDebug: 0x4304227
2020-01-28 23:43:49.591545+0100 ACPIDebug: "CRMW Success"
2020-01-28 23:43:49.591607+0100 ACPIDebug: "CRMW Read Value1"
2020-01-28 23:43:49.591669+0100 ACPIDebug: 0x430432f
2020-01-28 23:43:49.591732+0100 ACPIDebug: "CRMW Write Value1"
2020-01-28 23:43:49.591794+0100 ACPIDebug: 0x430432f
2020-01-28 23:43:49.591855+0100 ACPIDebug: "CRMW Read Value2"
2020-01-28 23:43:49.591916+0100 ACPIDebug: 0x430432f
2020-01-28 23:43:49.591977+0100 ACPIDebug: "CRMW Success"
2020-01-28 23:43:49.599630+0100 ACPIDebug: "_PS0 DSB0"
2020-01-28 23:43:49.599732+0100 ACPIDebug: "PCEU DSB0"
2020-01-28 23:43:49.599850+0100 ACPIDebug: "PCEU DSB0- Put upstream bridge back into D0 "
2020-01-28 23:43:49.602322+0100 ACPIDebug: "_PS0 DSB2"
2020-01-28 23:43:49.602777+0100 ACPIDebug: "PCEU DSB2"
2020-01-28 23:43:49.603101+0100 ACPIDebug: "PCEU DSB2- Put upstream bridge back into D0 "
2020-01-28 23:43:49.603214+0100 ACPIDebug: "_PS0 NHI0"
2020-01-28 23:43:49.603432+0100 ACPIDebug: "PCED NHI0"
2020-01-28 23:43:49.603828+0100 ACPIDebug: "PCED - enable GPIO"
2020-01-28 23:43:49.604129+0100 ACPIDebug: "UGIO - PCI wants on"
2020-01-28 23:43:49.604960+0100 ACPIDebug: "UGIO - NHI wants on"
2020-01-28 23:44:02.347641+0100 ACPIDebug: "RTPC NHI0 return always 0 but arg= 0000000000000000"
2020-01-28 23:44:02.359178+0100 ACPIDebug: "_PS3 NHI0, Nothing to do!"
2020-01-28 23:44:02.365550+0100 ACPIDebug: "_PS3 DSB0"
2020-01-28 23:44:02.367615+0100 ACPIDebug: "PCDA DSB0"
2020-01-28 23:44:02.368288+0100 ACPIDebug: "POFF DSB0"
2020-01-28 23:44:02.370455+0100 ACPIDebug: "PCDA DSB0- Put upstream bridge into D3"
2020-01-28 23:44:02.381724+0100 ACPIDebug: "PCDA DSB0- Set link disable on upstream bridge"
2020-01-28 23:44:02.425848+0100 ACPIDebug: "UGIO - TBT allows off"
2020-01-28 23:44:02.428959+0100 ACPIDebug: "UGIO - USB forced on"
2020-01-28 23:44:02.431981+0100 ACPIDebug: "UGIO - TBT GPIO should be off"
2020-01-28 23:44:02.435781+0100 ACPIDebug: "UGIO - USB GPIO should be on"
2020-01-28 23:44:02.439494+0100 ACPIDebug: "UGIO - Make sure TBT & USBC is on"

>> I Plug EGPU Here <<

2020-01-28 23:45:11.131928+0100 ACPIDebug: "UPSB UMPE"
2020-01-28 23:45:11.133932+0100 ACPIDebug: "UPSB AMPE"
2020-01-28 23:45:11.136723+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:45:11.139344+0100 ACPIDebug: "RTPC NHI0 return always 0 but arg= 0000000000000001"
2020-01-28 23:45:11.145069+0100 ACPIDebug: 0x0
2020-01-28 23:45:11.146461+0100 ACPIDebug: "_PS0 DSB0"
2020-01-28 23:45:11.148547+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:45:11.151242+0100 ACPIDebug: 0x0
2020-01-28 23:45:11.152632+0100 ACPIDebug: "PCEU DSB0"
2020-01-28 23:45:11.154718+0100 ACPIDebug: "PCEU DSB0- Put upstream bridge back into D0 "
2020-01-28 23:45:11.159847+0100 ACPIDebug: "PCEU DSB0- exit D0, restored = true"
2020-01-28 23:45:11.193694+0100 ACPIDebug: "PCEU DSB0- Clear link disable on upstream bridge"
2020-01-28 23:45:11.194710+0100 ACPIDebug: "PCEU DSB0- clear link disable, restored = true"
2020-01-28 23:45:11.196795+0100 ACPIDebug: "_PS0 DSB0"
2020-01-28 23:45:11.203837+0100 ACPIDebug: "PCEU DSB0"
2020-01-28 23:45:11.204530+0100 ACPIDebug: "PCEU DSB0- Put upstream bridge back into D0 "
2020-01-28 23:45:11.205225+0100 ACPIDebug: "_PS0 NHI0"
2020-01-28 23:45:11.206703+0100 ACPIDebug: "PCED NHI0"
2020-01-28 23:45:11.208181+0100 ACPIDebug: "PCED - enable GPIO"
2020-01-28 23:45:11.209573+0100 ACPIDebug: "UGIO - PCI wants on"
2020-01-28 23:45:11.211660+0100 ACPIDebug: "UGIO - NHI wants on"
2020-01-28 23:45:11.213050+0100 ACPIDebug: "UGIO - XHCI wants on"
2020-01-28 23:45:11.214441+0100 ACPIDebug: "UGIO - TBT forced on"
2020-01-28 23:45:11.215917+0100 ACPIDebug: "UGIO - USB forced on"
2020-01-28 23:45:11.217310+0100 ACPIDebug: "UGIO - TBT GPIO should be on"
2020-01-28 23:45:11.235914+0100 ACPIDebug: "UGIO - USB GPIO should be on"
2020-01-28 23:45:11.236695+0100 ACPIDebug: "UGIO - Make sure TBT & USBC is on"
2020-01-28 23:45:11.237391+0100 ACPIDebug: "PCED NHI0- restored flag, THUNDERBOLT_PCI_LINK_MGMT_DEVICE.PRSR"
2020-01-28 23:45:11.238780+0100 ACPIDebug: 0x0
2020-01-28 23:45:11.239563+0100 ACPIDebug: "PCED NHI0- Wait for config space..."
2020-01-28 23:45:11.241651+0100 ACPIDebug: "PCED NHI0- Wait for config space..."
2020-01-28 23:45:11.244517+0100 ACPIDebug: "PCED NHI0- Wait for config space..."
2020-01-28 23:45:11.245213+0100 ACPIDebug: "PCED NHI0- Read VID/DID =0000000015D28086"
2020-01-28 23:45:11.246694+0100 ACPIDebug: "CTBT"
2020-01-28 23:45:11.248532+0100 ACPIDebug: "UPSB UMPE"
2020-01-28 23:45:11.326941+0100 ACPIDebug: "UPSB AMPE"
2020-01-28 23:45:11.329017+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:45:11.331712+0100 ACPIDebug: 0x0
2020-01-28 23:45:11.333102+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:45:11.335796+0100 ACPIDebug: 0x0
2020-01-28 23:45:11.337870+0100 ACPIDebug: "UPSB UMPE"
2020-01-28 23:45:11.339901+0100 ACPIDebug: "UPSB AMPE"
2020-01-28 23:45:11.341976+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:45:11.344668+0100 ACPIDebug: 0x0
2020-01-28 23:45:11.346047+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:45:11.348745+0100 ACPIDebug: 0x0
2020-01-28 23:45:11.353217+0100 ACPIDebug: "UPSB UMPE"
2020-01-28 23:45:11.355221+0100 ACPIDebug: "UPSB AMPE"
2020-01-28 23:45:11.357636+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:45:11.360258+0100 ACPIDebug: 0x0
2020-01-28 23:45:11.361645+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:45:11.364338+0100 ACPIDebug: 0x0
2020-01-28 23:45:11.367647+0100 ACPIDebug: "UPSB UMPE"
2020-01-28 23:45:11.369655+0100 ACPIDebug: "UPSB AMPE"
2020-01-28 23:45:11.372001+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:45:11.374619+0100 ACPIDebug: 0x0
2020-01-28 23:45:11.376007+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:45:11.378702+0100 ACPIDebug: 0x0
2020-01-28 23:45:11.469521+0100 ACPIDebug: "MUST NHI0"
2020-01-28 23:45:11.471533+0100 ACPIDebug: "MUST UPSB called with arg: 0000000000000000"
2020-01-28 23:45:11.589483+0100 ACPIDebug: "MUST NHI0"
2020-01-28 23:45:11.591500+0100 ACPIDebug: "MUST UPSB called with arg: 0000000000000000"
2020-01-28 23:45:12.731542+0100 ACPIDebug: "MUST NHI0"
2020-01-28 23:45:12.733540+0100 ACPIDebug: "MUST UPSB called with arg: 0000000000000000"
2020-01-28 23:45:12.913747+0100 ACPIDebug: "MUST NHI0"
2020-01-28 23:45:12.915750+0100 ACPIDebug: "MUST UPSB called with arg: 0000000000000000"

>> Then Unplug EGPU (after safe eject) Here <<

2020-01-28 23:50:03.345640+0100 ACPIDebug: "UPSB UMPE"
2020-01-28 23:50:03.346397+0100 ACPIDebug: "UPSB AMPE"
2020-01-28 23:50:03.379194+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:50:03.405545+0100 ACPIDebug: 0x0
2020-01-28 23:50:03.406967+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:50:03.409650+0100 ACPIDebug: 0x0
2020-01-28 23:50:03.465135+0100 ACPIDebug: "MUST NHI0"
2020-01-28 23:50:03.467207+0100 ACPIDebug: "MUST UPSB called with arg: 0000000000000000"
2020-01-28 23:50:03.627275+0100 ACPIDebug: "MUST NHI0"
2020-01-28 23:50:03.629281+0100 ACPIDebug: "MUST UPSB called with arg: 0000000000000000"
2020-01-28 23:50:13.643451+0100 ACPIDebug: "RTPC NHI0 return always 0 but arg= 0000000000000000"
2020-01-28 23:50:13.649280+0100 ACPIDebug: "_PS3 NHI0, Nothing to do!"
2020-01-28 23:50:13.654700+0100 ACPIDebug: "_PS3 DSB0"
2020-01-28 23:50:13.656710+0100 ACPIDebug: "PCDA DSB0"
2020-01-28 23:50:13.658797+0100 ACPIDebug: "POFF DSB0"
2020-01-28 23:50:13.660883+0100 ACPIDebug: "PCDA DSB0- Put upstream bridge into D3"
2020-01-28 23:50:13.665499+0100 ACPIDebug: "PCDA DSB0- Set link disable on upstream bridge"
2020-01-28 23:50:13.670796+0100 ACPIDebug: "PCDA DSB0- Wait for link to drop..."
2020-01-28 23:50:13.675145+0100 ACPIDebug: "PCDA DSB0 - NHI0 not present"
2020-01-28 23:50:13.678884+0100 ACPIDebug: "PCDA DSB0- disable GPIO"
2020-01-28 23:50:13.682192+0100 ACPIDebug: "UGIO - PCI wants on"
2020-01-28 23:50:13.685144+0100 ACPIDebug: "UGIO - NHI wants off"
2020-01-28 23:50:13.688189+0100 ACPIDebug: "UGIO - XHCI wants on"
2020-01-28 23:50:13.691230+0100 ACPIDebug: "UGIO - TBT allows off"
2020-01-28 23:50:13.694361+0100 ACPIDebug: "UGIO - USB forced on"
2020-01-28 23:50:13.697406+0100 ACPIDebug: "UGIO - TBT GPIO should be off"
2020-01-28 23:50:13.701235+0100 ACPIDebug: "UGIO - USB GPIO should be on"
2020-01-28 23:50:13.704971+0100 ACPIDebug: "UGIO - Make sure TBT & USBC is on"


>> Then when I Plug USB 3.1 Gen 2 device only only on same connector <<

2020-01-28 23:51:32.195721+0100 ACPIDebug: "UPSB UMPE"
2020-01-28 23:51:32.197726+0100 ACPIDebug: "UPSB AMPE"
2020-01-28 23:51:32.200614+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:51:32.203301+0100 ACPIDebug: "RTPC NHI0 return always 0 but arg= 0000000000000001"
2020-01-28 23:51:32.208934+0100 ACPIDebug: 0x0
2020-01-28 23:51:32.210316+0100 ACPIDebug: "_PS0 DSB0"
2020-01-28 23:51:32.212388+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:51:32.215083+0100 ACPIDebug: 0x0
2020-01-28 23:51:32.216454+0100 ACPIDebug: "PCEU DSB0"
2020-01-28 23:51:32.218525+0100 ACPIDebug: "PCEU DSB0- Put upstream bridge back into D0 "
2020-01-28 23:51:32.223621+0100 ACPIDebug: "PCEU DSB0- exit D0, restored = true"
2020-01-28 23:51:32.259416+0100 ACPIDebug: "PCEU DSB0- Clear link disable on upstream bridge"
2020-01-28 23:51:32.262507+0100 ACPIDebug: "PCEU DSB0- clear link disable, restored = true"
2020-01-28 23:51:32.265264+0100 ACPIDebug: "_PS0 DSB0"
2020-01-28 23:51:32.269491+0100 ACPIDebug: "PCEU DSB0"
2020-01-28 23:51:32.271563+0100 ACPIDebug: "PCEU DSB0- Put upstream bridge back into D0 "
2020-01-28 23:51:32.272256+0100 ACPIDebug: "_PS0 NHI0"
2020-01-28 23:51:32.272944+0100 ACPIDebug: "PCED NHI0"
2020-01-28 23:51:32.273634+0100 ACPIDebug: "PCED - enable GPIO"
2020-01-28 23:51:32.274327+0100 ACPIDebug: "UGIO - PCI wants on"
2020-01-28 23:51:32.275018+0100 ACPIDebug: "UGIO - NHI wants on"
2020-01-28 23:51:32.275708+0100 ACPIDebug: "UGIO - XHCI wants on"
2020-01-28 23:51:32.279342+0100 ACPIDebug: "UGIO - TBT forced on"
2020-01-28 23:51:32.280034+0100 ACPIDebug: "UGIO - USB forced on"
2020-01-28 23:51:32.282878+0100 ACPIDebug: "UGIO - TBT GPIO should be on"
2020-01-28 23:51:32.284260+0100 ACPIDebug: "UGIO - USB GPIO should be on"
2020-01-28 23:51:32.284953+0100 ACPIDebug: "UGIO - Make sure TBT & USBC is on"
2020-01-28 23:51:32.290655+0100 ACPIDebug: "PCED NHI0- restored flag, THUNDERBOLT_PCI_LINK_MGMT_DEVICE.PRSR"
2020-01-28 23:51:32.291343+0100 ACPIDebug: 0x0
2020-01-28 23:51:32.292033+0100 ACPIDebug: "PCED NHI0- Wait for config space..."
2020-01-28 23:51:32.292810+0100 ACPIDebug: "PCED NHI0- Wait for config space..."
2020-01-28 23:51:32.294192+0100 ACPIDebug: "PCED NHI0- Wait for config space..."
2020-01-28 23:51:32.296360+0100 ACPIDebug: "PCED NHI0- Read VID/DID =0000000015D28086"
2020-01-28 23:51:32.300672+0100 ACPIDebug: "CTBT"
2020-01-28 23:51:32.301361+0100 ACPIDebug: "CTBT - TBT domain is enabled"
2020-01-28 23:51:32.513224+0100 ACPIDebug: "MUST NHI0"
2020-01-28 23:51:32.515243+0100 ACPIDebug: "MUST UPSB called with arg: 0000000000000001"
2020-01-28 23:51:32.520245+0100 ACPIDebug: "UPSB UMPE"
2020-01-28 23:51:32.522319+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:51:32.524995+0100 ACPIDebug: 0x1
2020-01-28 23:51:32.526377+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:51:32.529058+0100 ACPIDebug: 0x1
2020-01-28 23:51:42.537724+0100 ACPIDebug: "RTPC NHI0 return always 0 but arg= 0000000000000000"
2020-01-28 23:51:42.543582+0100 ACPIDebug: "_PS3 NHI0, Nothing to do!"
2020-01-28 23:51:42.549024+0100 ACPIDebug: "_PS3 DSB0"
2020-01-28 23:51:42.551033+0100 ACPIDebug: "PCDA DSB0"
2020-01-28 23:51:42.553105+0100 ACPIDebug: "POFF DSB0"
2020-01-28 23:51:42.555183+0100 ACPIDebug: "PCDA DSB0- Put upstream bridge into D3"
2020-01-28 23:51:42.559758+0100 ACPIDebug: "PCDA DSB0- Set link disable on upstream bridge"
2020-01-28 23:51:42.565024+0100 ACPIDebug: "PCDA DSB0- Wait for link to drop..."
2020-01-28 23:51:42.569344+0100 ACPIDebug: "PCDA DSB0 - NHI0 not present"
2020-01-28 23:51:42.573058+0100 ACPIDebug: "PCDA DSB0- disable GPIO"
2020-01-28 23:51:42.576341+0100 ACPIDebug: "UGIO - PCI wants on"
2020-01-28 23:51:42.579279+0100 ACPIDebug: "UGIO - NHI wants off"
2020-01-28 23:51:42.582300+0100 ACPIDebug: "UGIO - XHCI wants on"
2020-01-28 23:51:42.585326+0100 ACPIDebug: "UGIO - TBT allows off"
2020-01-28 23:51:42.588434+0100 ACPIDebug: "UGIO - USB forced on"
2020-01-28 23:51:42.591456+0100 ACPIDebug: "UGIO - TBT GPIO should be off"
2020-01-28 23:51:42.595258+0100 ACPIDebug: "UGIO - USB GPIO should be on"
2020-01-28 23:51:42.598973+0100 ACPIDebug: "UGIO - Make sure TBT & USBC is on"

>> Then I UnPlug USB 3.1 Gen 2 device <<

2020-01-28 23:53:00.302093+0100 ACPIDebug: "UPSB UMPE"
2020-01-28 23:53:00.304099+0100 ACPIDebug: "UPSB AMPE"
2020-01-28 23:53:00.306368+0100 ACPIDebug: "RTPC NHI0 return always 0 but arg= 0000000000000001"
2020-01-28 23:53:00.314942+0100 ACPIDebug: "_PS0 DSB0"
2020-01-28 23:53:00.316953+0100 ACPIDebug: "PCEU DSB0"
2020-01-28 23:53:00.319026+0100 ACPIDebug: "PCEU DSB0- Put upstream bridge back into D0 "
2020-01-28 23:53:00.324119+0100 ACPIDebug: "PCEU DSB0- exit D0, restored = true"
2020-01-28 23:53:00.328438+0100 ACPIDebug: "PCEU DSB0- Clear link disable on upstream bridge"
2020-01-28 23:53:00.333881+0100 ACPIDebug: "PCEU DSB0- clear link disable, restored = true"
2020-01-28 23:53:00.339149+0100 ACPIDebug: "_PS0 NHI0"
2020-01-28 23:53:00.341220+0100 ACPIDebug: "PCED NHI0"
2020-01-28 23:53:00.343293+0100 ACPIDebug: "PCED - enable GPIO"
2020-01-28 23:53:00.346145+0100 ACPIDebug: "UGIO - PCI wants on"
2020-01-28 23:53:00.349081+0100 ACPIDebug: "UGIO - NHI wants on"
2020-01-28 23:53:00.352019+0100 ACPIDebug: "UGIO - XHCI wants on"
2020-01-28 23:53:00.355040+0100 ACPIDebug: "UGIO - TBT forced on"
2020-01-28 23:53:00.358062+0100 ACPIDebug: "UGIO - USB forced on"
2020-01-28 23:53:00.361085+0100 ACPIDebug: "UGIO - TBT GPIO should be on"
2020-01-28 23:53:00.364800+0100 ACPIDebug: "UGIO - USB GPIO should be on"
2020-01-28 23:53:00.368515+0100 ACPIDebug: "UGIO - Make sure TBT & USBC is on"
2020-01-28 23:53:00.372659+0100 ACPIDebug: "PCED NHI0- restored flag, THUNDERBOLT_PCI_LINK_MGMT_DEVICE.PRSR"
2020-01-28 23:53:00.379396+0100 ACPIDebug: 0x1
2020-01-28 23:53:00.380777+0100 ACPIDebug: "PCED NHI0- Wait for link training..."
2020-01-28 23:53:00.385185+0100 ACPIDebug: "PCED NHI0- Link training cleared"
2020-01-28 23:53:00.413360+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:53:00.416052+0100 ACPIDebug: 0x1
2020-01-28 23:53:00.417455+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:53:00.420090+0100 ACPIDebug: 0x1
2020-01-28 23:53:00.474070+0100 ACPIDebug: "PCED NHI0- Wait for config space..."
2020-01-28 23:53:00.478359+0100 ACPIDebug: "PCED NHI0- Read VID/DID =0000000015D28086"
2020-01-28 23:53:00.483195+0100 ACPIDebug: "CTBT"
2020-01-28 23:53:00.484839+0100 ACPIDebug: "CTBT - TBT domain is enabled"
2020-01-28 23:53:00.488549+0100 ACPIDebug: "CRMW Read Value1"
2020-01-28 23:53:00.491226+0100 ACPIDebug: 0x4000000
2020-01-28 23:53:00.493127+0100 ACPIDebug: "CRMW Write Value1"
2020-01-28 23:53:00.495888+0100 ACPIDebug: 0x4000000
2020-01-28 23:53:00.497789+0100 ACPIDebug: "CRMW Read Value2"
2020-01-28 23:53:00.500466+0100 ACPIDebug: 0x4000000
2020-01-28 23:53:00.502368+0100 ACPIDebug: "CRMW Success"
2020-01-28 23:53:00.504698+0100 ACPIDebug: "CTBT - Set CP_ACK_POWERDOWN_OVERRIDE"
2020-01-28 23:53:00.628858+0100 ACPIDebug: "MUST NHI0"
2020-01-28 23:53:00.630874+0100 ACPIDebug: "MUST UPSB called with arg: 0000000000000000"
2020-01-28 23:53:00.635883+0100 ACPIDebug: "UPSB UMPE"
2020-01-28 23:53:00.638472+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:53:00.641089+0100 ACPIDebug: 0x0
2020-01-28 23:53:00.642466+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:53:00.645142+0100 ACPIDebug: 0x0
2020-01-28 23:53:10.637891+0100 ACPIDebug: "RTPC NHI0 return always 0 but arg= 0000000000000000"
2020-01-28 23:53:10.643707+0100 ACPIDebug: "_PS3 NHI0, Nothing to do!"
2020-01-28 23:53:10.649218+0100 ACPIDebug: "_PS3 DSB0"
2020-01-28 23:53:10.651231+0100 ACPIDebug: "PCDA DSB0"
2020-01-28 23:53:10.653301+0100 ACPIDebug: "POFF DSB0"
2020-01-28 23:53:10.655375+0100 ACPIDebug: "PCDA DSB0- Put upstream bridge into D3"
2020-01-28 23:53:10.659952+0100 ACPIDebug: "PCDA DSB0- Set link disable on upstream bridge"
2020-01-28 23:53:10.665220+0100 ACPIDebug: "PCDA DSB0- Wait for link to drop..."
2020-01-28 23:53:10.669540+0100 ACPIDebug: "PCDA DSB0 - NHI0 not present"
2020-01-28 23:53:10.673252+0100 ACPIDebug: "PCDA DSB0- disable GPIO"
2020-01-28 23:53:10.676534+0100 ACPIDebug: "UGIO - PCI wants on"
2020-01-28 23:53:10.679473+0100 ACPIDebug: "UGIO - NHI wants off"
2020-01-28 23:53:10.682494+0100 ACPIDebug: "UGIO - XHCI wants on"
2020-01-28 23:53:10.685516+0100 ACPIDebug: "UGIO - TBT allows off"
2020-01-28 23:53:10.688626+0100 ACPIDebug: "UGIO - USB forced on"
2020-01-28 23:53:10.691650+0100 ACPIDebug: "UGIO - TBT GPIO should be off"
2020-01-28 23:53:10.695450+0100 ACPIDebug: "UGIO - USB GPIO should be on"
2020-01-28 23:53:10.699165+0100 ACPIDebug: "UGIO - Make sure TBT & USBC is on"

>> I Plug another one time EGPU Here <<

2020-01-28 23:55:37.374846+0100 ACPIDebug: "UPSB UMPE"
2020-01-28 23:55:37.376861+0100 ACPIDebug: "UPSB AMPE"
2020-01-28 23:55:37.379555+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:55:37.382371+0100 ACPIDebug: "RTPC NHI0 return always 0 but arg= 0000000000000001"
2020-01-28 23:55:37.388016+0100 ACPIDebug: 0x0
2020-01-28 23:55:37.389394+0100 ACPIDebug: "_PS0 DSB0"
2020-01-28 23:55:37.391466+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:55:37.394144+0100 ACPIDebug: 0x0
2020-01-28 23:55:37.395526+0100 ACPIDebug: "PCEU DSB0"
2020-01-28 23:55:37.397603+0100 ACPIDebug: "PCEU DSB0- Put upstream bridge back into D0 "
2020-01-28 23:55:37.402694+0100 ACPIDebug: "PCEU DSB0- exit D0, restored = true"
2020-01-28 23:55:37.407015+0100 ACPIDebug: "PCEU DSB0- Clear link disable on upstream bridge"
2020-01-28 23:55:37.412456+0100 ACPIDebug: "PCEU DSB0- clear link disable, restored = true"
2020-01-28 23:55:37.417725+0100 ACPIDebug: "_PS0 NHI0"
2020-01-28 23:55:37.419797+0100 ACPIDebug: "PCED NHI0"
2020-01-28 23:55:37.421872+0100 ACPIDebug: "PCED - enable GPIO"
2020-01-28 23:55:37.424722+0100 ACPIDebug: "UGIO - PCI wants on"
2020-01-28 23:55:37.427657+0100 ACPIDebug: "UGIO - NHI wants on"
2020-01-28 23:55:37.430597+0100 ACPIDebug: "UGIO - XHCI wants on"
2020-01-28 23:55:37.433619+0100 ACPIDebug: "UGIO - TBT forced on"
2020-01-28 23:55:37.436642+0100 ACPIDebug: "UGIO - USB forced on"
2020-01-28 23:55:37.439665+0100 ACPIDebug: "UGIO - TBT GPIO should be on"
2020-01-28 23:55:37.443380+0100 ACPIDebug: "UGIO - USB GPIO should be on"
2020-01-28 23:55:37.447096+0100 ACPIDebug: "UGIO - Make sure TBT & USBC is on"
2020-01-28 23:55:37.451241+0100 ACPIDebug: "PCED NHI0- restored flag, THUNDERBOLT_PCI_LINK_MGMT_DEVICE.PRSR"
2020-01-28 23:55:37.457978+0100 ACPIDebug: 0x1
2020-01-28 23:55:37.459359+0100 ACPIDebug: "PCED NHI0- Wait for link training..."
2020-01-28 23:55:37.463766+0100 ACPIDebug: "PCED NHI0- Link training cleared"
2020-01-28 23:55:37.542323+0100 ACPIDebug: "PCED NHI0- Wait for config space..."
2020-01-28 23:55:37.546619+0100 ACPIDebug: "PCED NHI0- Read VID/DID =0000000015D28086"
2020-01-28 23:55:37.551449+0100 ACPIDebug: "CTBT"
2020-01-28 23:55:37.553089+0100 ACPIDebug: "CTBT - TBT domain is enabled"
2020-01-28 23:55:37.556802+0100 ACPIDebug: "CRMW Read Value1"
2020-01-28 23:55:37.559480+0100 ACPIDebug: 0x4000000
2020-01-28 23:55:37.561380+0100 ACPIDebug: "CRMW Write Value1"
2020-01-28 23:55:37.564147+0100 ACPIDebug: 0x4000000
2020-01-28 23:55:37.566045+0100 ACPIDebug: "CRMW Read Value2"
2020-01-28 23:55:37.568723+0100 ACPIDebug: 0x4000000
2020-01-28 23:55:37.570622+0100 ACPIDebug: "CRMW Success"
2020-01-28 23:55:37.572954+0100 ACPIDebug: "CTBT - Set CP_ACK_POWERDOWN_OVERRIDE"
2020-01-28 23:55:37.578238+0100 ACPIDebug: "UPSB UMPE"
2020-01-28 23:55:37.580263+0100 ACPIDebug: "UPSB AMPE"
2020-01-28 23:55:37.582891+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:55:37.585520+0100 ACPIDebug: 0x0
2020-01-28 23:55:37.586897+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:55:37.589575+0100 ACPIDebug: "UPSB UMPE"
2020-01-28 23:55:37.591647+0100 ACPIDebug: 0x0
2020-01-28 23:55:37.593031+0100 ACPIDebug: "UPSB AMPE"
2020-01-28 23:55:37.595456+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:55:37.598072+0100 ACPIDebug: 0x0
2020-01-28 23:55:37.599452+0100 ACPIDebug: "MODU - return = "
2020-01-28 23:55:37.602130+0100 ACPIDebug: 0x0
2020-01-28 23:55:37.697478+0100 ACPIDebug: "MUST NHI0"
2020-01-28 23:55:37.699505+0100 ACPIDebug: "MUST UPSB called with arg: 0000000000000000"
2020-01-28 23:55:37.817481+0100 ACPIDebug: "MUST NHI0"
2020-01-28 23:55:37.819513+0100 ACPIDebug: "MUST UPSB called with arg: 0000000000000000"
2020-01-28 23:55:38.836881+0100 ACPIDebug: "MUST NHI0"
2020-01-28 23:55:38.838916+0100 ACPIDebug: "MUST UPSB called with arg: 0000000000000000"
2020-01-28 23:55:39.004452+0100 ACPIDebug: "MUST NHI0"
2020-01-28 23:55:39.006499+0100 ACPIDebug: "MUST UPSB called with arg: 0000000000000000"

I don't have any XHC2 _PS0 or _PS3 power state changes !
 

Attachments

  • Capture d’écran 2020-01-28 à 14.53.00.png
    Capture d’écran 2020-01-28 à 14.53.00.png
    968.6 KB · Views: 78
Last edited:
@pitt1717

This is the oldest and most frequently discussed boot problem in this thread!
  • Check your drivers/UEFI folder in Clover.
  • Ensure that there is only 1 memory fix driver:
    • OcQuirks.efi + FwRuntimeServices.efi together constitute one driver. This is the preferred driver.
    • OsxAptioFix2Drv-free2000.efi is the alternative driver.
  • Remove any other memory driver such as:
    • AptioMemoryFix.efi
    • OsxAptioFix3Drv.efi
    • OsxAptioFix2Drv.efi
  • Also ensure that config.plist --> Boot Arguments contains slide=0.
Here is my config and EFI folder. Everything looks in order. All files were the latest from the Catalina mini guide for the 5700 XT.
Screen Shot 2020-01-28 at 3.17.39 PM.png

Screen Shot 2020-01-28 at 3.19.27 PM.png
 

Attachments

  • config.plist
    7.8 KB · Views: 99
@CaseySJ ,

Could you add these lines at the end of ICMB method, just after ...Configuration delay =... :

\RMDT.P1 (Concatenate ("UPSB- Read VID/DID =", \_SB.PCI0.RP05.UPSB.AVND))
\RMDT.P1 (Concatenate ("DSB0- Read VID/DID =", \_SB.PCI0.RP05.UPSB.DSB0.AVND))
\RMDT.P1 (Concatenate ("NHI0- Read VID/DID =", \_SB.PCI0.RP05.UPSB.DSB0.NHI0.AVND))
\RMDT.P1 (Concatenate ("Global NH00- Read VID/DID =", NH00))
\RMDT.P1 (Concatenate ("DSB2- Read VID/DID =", \_SB.PCI0.RP05.UPSB.DSB2.AVND))
\RMDT.P1 (Concatenate ("XHC2- Read VID/DID =", \_SB.PCI0.RP05.UPSB.DSB2.XHC2.AVND))

I have a curious result with XHC2 !
...
"Configuration delay = 1003 ms"
2020-01-29 00:20:50.509737+0100 ACPIDebug: "UPSB- Read VID/DID =0000000015D38086"
2020-01-29 00:20:50.510413+0100 ACPIDebug: "DSB0- Read VID/DID =0000000015D38086"
2020-01-29 00:20:50.512976+0100 ACPIDebug: "NHI0- Read VID/DID =0000000015D28086"
2020-01-29 00:20:50.514619+0100 ACPIDebug: "Global NH00- Read VID/DID =0000000015D28086"
2020-01-29 00:20:50.516088+0100 ACPIDebug: "DSB2- Read VID/DID =0000000015D38086"
2020-01-29 00:20:50.517095+0100 ACPIDebug: "XHC2- Read VID/DID =00000000FFFFFFFF
...

For Designare testing, we can see if NHI0 ID is visible.
 
Here is my config and EFI folder. Everything looks in order. All files were the latest from the Catalina mini guide for the 5700 XT.
View attachment 447221
View attachment 447222
If you’re still getting the allocation error, please try a CMOS Reset first (shorting 2 pins on motherboard). This will retrain the memory map.

If this fails, you may have to switch to OsxAptioFix2Drv-free2000 :(
 
If you’re still getting the allocation error, please try a CMOS Reset first (shorting 2 pins on motherboard). This will retrain the memory map.

If this fails, you may have to switch to OsxAptioFix2Drv-free2000 :(
No good. Same thing. Maybe I missed something else, or maybe it just didn't like the BIOS change for whatever reason. I'm going to try another clean install and see what happens.
 
So I did another install. I booted up with just the fresh Catalina folder and 5700 config, and it works. I followed the NVRAM guide, reboot and stop sign again. I'm not sure what is going on. But looking at the config, is this correct
shiki-id=Mac-7BA5B2D9E42DDD94? I don't recall that setting before.

also you said to have OcQuirks.efi and FwRuntimeServices.efi. but I have OcQuirks-4.efi, do I need to rename it and remove the -4?
 
Last edited:
No good. Same thing. Maybe I missed something else, or maybe it just didn't like the BIOS change for whatever reason. I'm going to try another clean install and see what happens.
After doing the CMOS Reset, all BIOS parameters revert back to factory defaults. I forgot to mention that BIOS must be reconfigured starting with "Load Optimized Default". Are BIOS parameters still at their factory default settings?
So I did another install. I booted up with just the fresh Catalina folder and 5700 config, and it works. I followed the NVRAM guide, reboot and stop sign again. I'm not sure what is going on. But looking at the config, is this correct
shiki-id=Mac-7BA5B2D9E42DDD94? I don't recall that setting before.
Are you seeing the same error as before, namely Couldn't allocate runtime area? Please enable Verbose mode as before.

The shiki-id is okay.
also you said to have OcQuirks.efi and FwRuntimeServices.efi. but I have OcQuirks-4.efi, do I need to rename it and remove the -4?
You're okay there as well. OcQuirks-4 is an older version, but it's still okay to use. The newer version consists of (a) OcQuirks.efi, (b) OcQuirks.plist, and (c) FwRuntimeServices.efi. Again, the version you have is okay.
 
Back
Top