Contribute
Register

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

@Elias64Fr,

Here are this evening's test results. First, these changes were made to the SSDT:
  • All register values set according to original file (RP05, UPSB, DSB0, DSB1, DSB2, DSB4, NHI0).
  • CRMW (CIO Read/Modify/Write) function modified to report Read and Write values as indicated in your post.
  • \_SB.PCI0.RP05.CTPD = One commented out.
  • Booted with TB3 device connected. No TNODE/TBUS.
  • Then performed a hard reset (i.e. pressing physical reset button) without hot plugging or unplugging.
  • On restart, TNODE and TBUS appeared! And computer did not crash.
  • Because of no crash, I can provide the logs and screenshots below.
  • The SSDT used for this test is attached.
What this suggests:
  • Hot plug or unplug is not necessary to induce TNODE/TBUS.
  • Because CRMW() and other log messages are intermittent, it means there is some race condition or overflow condition with ACPIDebug.
  • I'll run some more tests to see whether timing/overflow similar issues are causing problems.
Code:
Timestamp                       (process)[PID]
2020-02-07 17:52:04.771308-0800  localhost kernel[0]: (kernel) ACPIDebug: Version 0.1.4 starting on OS X Darwin 19.3.
2020-02-07 17:52:04.771465-0800  localhost kernel[0]: (kernel) ACPIDebug: { "RP05", 0xe00e4000, }
2020-02-07 17:52:04.771567-0800  localhost kernel[0]: (kernel) ACPIDebug: { "UPSB", 0xe0600000, }
2020-02-07 17:52:04.771656-0800  localhost kernel[0]: (kernel) ACPIDebug: { "DSB0", 0xe0700000, }
2020-02-07 17:52:04.771725-0800  localhost kernel[0]: (kernel) ACPIDebug: { "DSB1", 0xe0708000, }
2020-02-07 17:52:04.771794-0800  localhost kernel[0]: (kernel) ACPIDebug: { "DSB2", 0xe0710000, }
2020-02-07 17:52:04.771868-0800  localhost kernel[0]: (kernel) ACPIDebug: { "DSB4", 0xe0720000, }
2020-02-07 17:52:04.771947-0800  localhost kernel[0]: (kernel) ACPIDebug: { "NHI0", 0xe0800000, }
2020-02-07 17:52:04.772018-0800  localhost kernel[0]: (kernel) ACPIDebug: { "RSTR", 0x54039854, }
2020-02-07 17:52:04.772091-0800  localhost kernel[0]: (kernel) ACPIDebug: { "RP", 0xa33c8086, 0x82005400, }
2020-02-07 17:52:04.772162-0800  localhost kernel[0]: (kernel) ACPIDebug: "RP05 Initialize"
2020-02-07 17:52:04.772232-0800  localhost kernel[0]: (kernel) ACPIDebug: "ICMBoot"
2020-02-07 17:52:04.772299-0800  localhost kernel[0]: (kernel) ACPIDebug: "Tbt TWIN set to One"
2020-02-07 17:52:04.772468-0800  localhost kernel[0]: (kernel) ACPIDebug: "Tbt Force Power with FPG0"
2020-02-07 17:52:04.772538-0800  localhost kernel[0]: (kernel) ACPIDebug: { "Up Stream VID/DID =", 0x15ea8086, }
2020-02-07 17:52:04.772607-0800  localhost kernel[0]: (kernel) ACPIDebug: { "ICME 1", 0xffffffff, }
2020-02-07 17:52:04.772674-0800  localhost kernel[0]: (kernel) ACPIDebug: "Configure NHI"
2020-02-07 17:52:04.772740-0800  localhost kernel[0]: (kernel) ACPIDebug: "Configure UPSB"
2020-02-07 17:52:04.772904-0800  localhost kernel[0]: (kernel) ACPIDebug: "Wait for link training"
2020-02-07 17:52:04.772971-0800  localhost kernel[0]: (kernel) ACPIDebug: "Configure DSB"
2020-02-07 17:52:04.773037-0800  localhost kernel[0]: (kernel) ACPIDebug: "Configure NHI Dp 0 done"
2020-02-07 17:52:04.773104-0800  localhost kernel[0]: (kernel) ACPIDebug: "Configure NHI Dp 3 done"
2020-02-07 17:52:04.773171-0800  localhost kernel[0]: (kernel) ACPIDebug: "Configure NHI Dp 4 done"
2020-02-07 17:52:04.773237-0800  localhost kernel[0]: (kernel) ACPIDebug: "Configure NHI Dp 5 done"
2020-02-07 17:52:04.773303-0800  localhost kernel[0]: (kernel) ACPIDebug: "Wait for down link"
2020-02-07 17:52:04.773371-0800  localhost kernel[0]: (kernel) ACPIDebug: { "NHI BAR", 0x54000000, }
2020-02-07 17:52:04.773438-0800  localhost kernel[0]: (kernel) ACPIDebug: "Configure NHI all done"
2020-02-07 17:52:04.773506-0800  localhost kernel[0]: (kernel) ACPIDebug: { "ICME 2", 0x800001a1, }
2020-02-07 17:52:04.773574-0800  localhost kernel[0]: (kernel) ACPIDebug: { "WTLT returns", 0x1, }
2020-02-07 17:52:04.773643-0800  localhost kernel[0]: (kernel) ACPIDebug: { "ICME 3", 0x800001a1, }
2020-02-07 17:52:04.773711-0800  localhost kernel[0]: (kernel) ACPIDebug: { "ICME 4", 0x800001a7, }
2020-02-07 17:52:04.773779-0800  localhost kernel[0]: (kernel) ACPIDebug: { "ISTA 1", 0x800003f5, }
2020-02-07 17:52:04.773847-0800  localhost kernel[0]: (kernel) ACPIDebug: { "ICME 5", 0x800001a7, }
2020-02-07 17:52:04.773915-0800  localhost kernel[0]: (kernel) ACPIDebug: { "ISTA 2", 0x800003f5, }
2020-02-07 17:52:04.773983-0800  localhost kernel[0]: (kernel) ACPIDebug: { "Configuration delay = ", "3 ms", }
2020-02-07 17:52:04.811510-0800  localhost kernel[0]: (kernel) ACPIDebug: "RP05 _PS0"
2020-02-07 17:52:04.811928-0800  localhost kernel[0]: (kernel) ACPIDebug: "RP05 PCEU Enter"
2020-02-07 17:52:04.812690-0800  localhost kernel[0]: (kernel) ACPIDebug: "RP05 PCEU Exit"
2020-02-07 17:52:04.831935-0800  localhost kernel[0]: (kernel) ACPIDebug: "UPSB _PS0"
2020-02-07 17:52:04.832289-0800  localhost kernel[0]: (kernel) ACPIDebug: "UPSB PCED Enter"
2020-02-07 17:52:04.832618-0800  localhost kernel[0]: (kernel) ACPIDebug: "UGIO - PCI wants on"
2020-02-07 17:52:04.832986-0800  localhost kernel[0]: (kernel) ACPIDebug: "UGIO - NHI wants on"
2020-02-07 17:52:04.833329-0800  localhost kernel[0]: (kernel) ACPIDebug: "UGIO - XHCI wants on"
2020-02-07 17:52:04.833665-0800  localhost kernel[0]: (kernel) ACPIDebug: "UGIO - TBT forced on"
2020-02-07 17:52:04.834057-0800  localhost kernel[0]: (kernel) ACPIDebug: "UGIO - USB forced on"
2020-02-07 17:52:04.834390-0800  localhost kernel[0]: (kernel) ACPIDebug: "UGIO - TBT GPIO should be on"
2020-02-07 17:52:04.834506-0800  localhost kernel[0]: (kernel) ACPIDebug: "UGIO - USB GPIO should be on"
2020-02-07 17:52:04.834753-0800  localhost kernel[0]: (kernel) ACPIDebug: "UGIO - Make sure TBT & USBC is on."
2020-02-07 17:52:04.835079-0800  localhost kernel[0]: (kernel) ACPIDebug: "TBT & USBC already on."
2020-02-07 17:52:04.835152-0800  localhost kernel[0]: (kernel) ACPIDebug: "UGIO Exit"
2020-02-07 17:52:04.835221-0800  localhost kernel[0]: (kernel) ACPIDebug: "PCED UPSB- restored flag, THUNDERBOLT_PCI_LINK_MGMT_DEVICE.PRSR"
2020-02-07 17:52:04.835294-0800  localhost kernel[0]: (kernel) ACPIDebug: 0x0
2020-02-07 17:52:04.835363-0800  localhost kernel[0]: (kernel) ACPIDebug: "PCED UPSB- Wait for config space..."
2020-02-07 17:52:04.835434-0800  localhost kernel[0]: (kernel) ACPIDebug: { "PCED UPSB- Read VID/DID =", 0x15ea8086, }
2020-02-07 17:52:04.835504-0800  localhost kernel[0]: (kernel) ACPIDebug: "UPSB PCED Exit"
2020-02-07 17:52:08.402121-0800  localhost kernel[0]: (kernel) ACPIDebug: "MUST NHI0"
2020-02-07 17:52:08.402482-0800  localhost kernel[0]: (kernel) ACPIDebug: { "MUST UPSB with arg", 0x0, }
2020-02-07 17:52:08.402666-0800  localhost kernel[0]: (kernel) ACPIDebug: "UPSB UMPE"
2020-02-07 17:52:08.403560-0800  localhost kernel[0]: (kernel) ACPIDebug: "XHC MODU"
2020-02-07 17:52:08.403942-0800  localhost kernel[0]: (kernel) ACPIDebug: { "MODU - return = ", 0x0, }
2020-02-07 17:52:08.404365-0800  localhost kernel[0]: (kernel) ACPIDebug: "XHC MODU"
2020-02-07 17:52:08.404968-0800  localhost kernel[0]: (kernel) ACPIDebug: { "MODU - return = ", 0x0, }
2020-02-07 17:52:08.405158-0800  localhost kernel[0]: (kernel) ACPIDebug: "XHC MODU"
2020-02-07 17:52:08.405275-0800  localhost kernel[0]: (kernel) ACPIDebug: { "MODU - return = ", 0x0, }
2020-02-07 17:52:09.539240-0800  localhost kernel[0]: (kernel) ACPIDebug: { "MODU - return = ", 0x0, }
2020-02-07 17:52:09.539524-0800  localhost kernel[0]: (kernel) ACPIDebug: { "MODU - return = ", 0x0, }
2020-02-07 17:52:09.841320-0800  localhost kernel[0]: (kernel) ACPIDebug: "_PS3 XHC2, Nothing to do!"
2020-02-07 17:52:09.842710-0800  localhost kernel[0]: (kernel) ACPIDebug: "_PS3 DSB2"
2020-02-07 17:52:09.842839-0800  localhost kernel[0]: (kernel) ACPIDebug: "PCDA DSB2"
2020-02-07 17:52:09.842966-0800  localhost kernel[0]: (kernel) ACPIDebug: "POFF DSB2"
2020-02-07 17:52:09.843092-0800  localhost kernel[0]: (kernel) ACPIDebug: "PCDA DSB2- Not disabling"
2020-02-07 17:52:15.693359-0800  localhost kernel[0]: (kernel) ACPIDebug: "MUST NHI0"
2020-02-07 17:52:15.693488-0800  localhost kernel[0]: (kernel) ACPIDebug: { "MUST UPSB with arg", 0x0, }
2020-02-07 17:52:31.129580-0800  localhost kernel[0]: (kernel) ACPIDebug: { "RTPC NHI0 called with arg: ", 0x0, }
2020-02-07 17:52:31.130015-0800  localhost kernel[0]: (kernel) ACPIDebug: "_PS3 NHI0, Nothing to do!"
2020-02-07 17:52:31.131286-0800  localhost kernel[0]: (kernel) ACPIDebug: "_PS3 DSB0"
2020-02-07 17:52:31.131391-0800  localhost kernel[0]: (kernel) ACPIDebug: "DSB0 PCDA"
2020-02-07 17:52:31.131492-0800  localhost kernel[0]: (kernel) ACPIDebug: "POFF DSB0"
2020-02-07 17:52:31.131593-0800  localhost kernel[0]: (kernel) ACPIDebug: "PCDA DSB0- Put upstream bridge into D3"
2020-02-07 17:52:31.131695-0800  localhost kernel[0]: (kernel) ACPIDebug: "PCDA DSB0- Set link disable on upstream bridge"
2020-02-07 17:52:31.131799-0800  localhost kernel[0]: (kernel) ACPIDebug: "PCDA DSB0- Wait for link to drop..."
2020-02-07 17:52:33.019511-0800  localhost kernel[0]: (kernel) ACPIDebug: "PCDA DSB0- disable GPIO"
2020-02-07 17:52:33.019613-0800  localhost kernel[0]: (kernel) ACPIDebug: "UGIO - PCI wants on"
2020-02-07 17:52:33.019711-0800  localhost kernel[0]: (kernel) ACPIDebug: "UGIO - NHI wants off"
2020-02-07 17:52:33.019810-0800  localhost kernel[0]: (kernel) ACPIDebug: "UGIO - XHCI wants on"
2020-02-07 17:52:33.019909-0800  localhost kernel[0]: (kernel) ACPIDebug: "UGIO - TBT allows off"
2020-02-07 17:52:33.020010-0800  localhost kernel[0]: (kernel) ACPIDebug: "UGIO - USB forced on"
2020-02-07 17:52:33.020110-0800  localhost kernel[0]: (kernel) ACPIDebug: "UGIO - TBT GPIO should be off"
2020-02-07 17:52:33.020208-0800  localhost kernel[0]: (kernel) ACPIDebug: "UGIO - USB GPIO should be on"
2020-02-07 17:52:33.020307-0800  localhost kernel[0]: (kernel) ACPIDebug: "UGIO - Make sure TBT & USBC is on."
2020-02-07 17:52:33.020406-0800  localhost kernel[0]: (kernel) ACPIDebug: "TBT & USBC already on."
2020-02-07 17:52:33.020504-0800  localhost kernel[0]: (kernel) ACPIDebug: "UGIO Exit"
2020-02-07 17:52:33.021160-0800  localhost kernel[0]: (kernel) ACPIDebug: "UPSB _PS3 - No Op"
2020-02-07 17:52:33.022124-0800  localhost kernel[0]: (kernel) ACPIDebug: "RP05 _PS3"
2020-02-07 17:52:33.022225-0800  localhost kernel[0]: (kernel) ACPIDebug: "POFF RP05"
2020-02-07 17:52:33.022325-0800  localhost kernel[0]: (kernel) ACPIDebug: "RP05 PCDA Enter"
2020-02-07 17:52:33.022425-0800  localhost kernel[0]: (kernel) ACPIDebug: "POFF RP05"
2020-02-07 17:52:33.022523-0800  localhost kernel[0]: (kernel) ACPIDebug: "RP05 PCDA Exit"
Please note that I had to temporarily add a Sleep (200) at the top of UPSB.CRMW() as shown:

View attachment 448785

Some Screenshots:

View attachment 448796View attachment 448797View attachment 448788View attachment 448789View attachment 448790View attachment 448791View attachment 448792View attachment 448793View attachment 448794View attachment 448795

UPDATE:
  • Found the problem in CRMW. My version is using DBG2, which calls RMDT.P2, which causes ACPI Error:
    • Cannot convert to external object - unsupported Reference Class [Index] 0x3 in...
  • About to re-test...
I am in the process of buying the Designaire. The above SSDT will/should work or have you updated the SSDT since this post?
 
If you're on Clover and native NVRAM is not set up, try installing Clover RC scripts if not already installed. One of these RC scripts is designed to prevent unexpected wake-from-sleep. Please refer back to Catalina Mini-Guide for the section on installing RC scripts.
I have been dealing with this wake/sleep issue for some time with wake for no reason. At this point I am seeing wake about 30% of the time. I do not have RC Scripts enable in Clover. I seem to remember reading that this was not required or "should not be used" I have yet to install the Designare. Would RC Scripts be applicable to the Gigabyte Z370 Aorus Gaming 5? Thanks for you help (again) ;)
 
Last edited:
I am in the process of buying the Designaire. The above SSDT will/should work or have you updated the SSDT since this post?
We suspended our work on the SSDT in favor of the far more treacherous and inconvenient, but ultimately successful method of flashing modified firmware. :) However, this is not needed for most users. SSDTs contained in both the Mojave and Catalina build guides enable Thunderbolt and hot-plug, but not Thunderbolt Bus.
 
That happened on February 27th.
We suspended our work on the SSDT in favor of the far more treacherous and inconvenient, but ultimately successful method of flashing modified firmware. :) However, this is not needed for most users. SSDTs contained in both the Mojave and Catalina build guides enable Thunderbolt and hot-plug, but not Thunderbolt Bus.
Ok, I remember reading about the firmware flash. I still have the hardware for the flash in my Amazon list. With regard to the TB bus, is this a problem? Hot plug would be nice but not necessary since the Thunderbay 4 is always connected.
 

Attachments

  • 31mtUZljE5L.jpg
    31mtUZljE5L.jpg
    16 KB · Views: 63
  • 71TpWBeQhpL._AC_SL1500_.jpg
    71TpWBeQhpL._AC_SL1500_.jpg
    53.9 KB · Views: 61
  • s-l1600.jpg
    s-l1600.jpg
    89.8 KB · Views: 50
  • Screen Shot 2020-04-29 at 7.35.25 AM.png
    Screen Shot 2020-04-29 at 7.35.25 AM.png
    1.1 MB · Views: 58
Thank you all very much for your wonderful responses

what splitter is the best
Because you want to connect external USB 2 ports to the system, the first one is recommended.
 
Thank you all very much for your wonderful responses

what splitter is the best
I have the one on the left. It works without problem.
 
Ok, I remember reading about the firmware flash. I still have the hardware for the flash in my Amazon list. With regard to the TB bus, is this a problem? Hot plug would be nice but not necessary since the Thunderbay 4 is always connected.
Thunderbolt Bus is not needed for Thunderbay 4. Here's the reference:
  • Devices that will work right away: See Thunderbolt 3 Experiences in Post #1.
  • Devices that will only work after flashing the firmware: See this post.
 
Thunderbolt Bus is not needed for Thunderbay 4. Here's the reference:
  • Devices that will work right away: See Thunderbolt 3 Experiences in Post #1.
  • Devices that will only work after flashing the firmware: See this post.
Thanks, I did see that in the tested area. I am looking forward to the simplicity of the Designare compared to the present board plus I can sell the TB AIC and the Gaming 5 board :) I plan on continuing to use the i7 8700k since I do not need the extra bang of the 9900k CPU. Any advice on this?
 
Back
Top