Contribute
Register

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

Has anyone tried Catalina beta with this board yet?
I have the latest Catalina public beta build (from earlier this week) installed on a separate SSD. Works very well with the latest AppleALC, Lilu, and WhateverGreen.
 
@CaseySJ, do you know how to set up a boolean in AML? Im tooling around (per usual I know) with getting RTPC set to True in here: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/RP21@1B,4/IOPP/UPSB@0/IOPP/DSB0@0/IOPP/NHI0@0

This is likely futile, but sounded like a learning experience. Here's where I'm at, modifying an old AML from an NVMe spoof.

Code:
DefinitionBlock("", "SSDT", 2, "hack", "NVMe-Pcc", 0)
{
    External(_SB.PCI0.RP21.DSB0.NHI0.AppleThunderboltHAL.AppleThunderboltNHIType3, DeviceObj)
    Method(_SB.PCI0.RP21.DSB0.NHI0.AppleThunderboltHAL.AppleThunderboltNHIType3._DSM, 4)
    {
        If (!Arg2) { Return (Buffer() { 0x03 } ) }
        Return(Package()
        {
            "RTPC", Buffer() { 0xff, 0x08, 0x01, 0x00 },
            "True", Buffer() { 0 },
        })
    }
}
 
Last edited:
@CaseySJ, do you know how to set up a boolean in AML? Im tooling around (per usual I know) with getting RTPC set to True in here: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/RP21@1B,4/IOPP/UPSB@0/IOPP/DSB0@0/IOPP/NHI0@0

This is likely futile, but sounded like a learning experience. Here's where I'm at, modifying an old AML from an NVMe spoof.

Code:
DefinitionBlock("", "SSDT", 2, "hack", "NVMe-Pcc", 0)
{
    External(_SB.PCI0.RP21.DSB0.NHI0.AppleThunderboltHAL.AppleThunderboltNHIType3, DeviceObj)
    Method(_SB.PCI0.RP21.DSB0.NHI0.AppleThunderboltHAL.AppleThunderboltNHIType3._DSM, 4)
    {
        If (!Arg2) { Return (Buffer() { 0x03 } ) }
        Return(Package()
        {
            "RTPC", Buffer() { 0xff, 0x08, 0x01, 0x00 },
            "True", Buffer() { 0 },
        })
    }
}
Actually we should not inject those properties. Instead, Run-Time Power Conservation (RTPC) for Thunderbolt is often achieved by implementing the _PS0 and _PS3 ACPI methods (for TB2). For TB3 there are a couple of other methods. I can provide my experimental TB3 SSDT later this evening by private mail. I prefer not to release it publicly at this time because hot-plug may or may not work.

But to answer your question about Boolean data types in AML, the answer is:
  • Boolean False is defined simply as Zero
  • Boolean True is defined as Ones (with an 's')
 
I thought it was the GPU or DP cable, but, after more and more and more investigation, its all down to the RAM. I got some new RAM installed, and it runs amazingly!

My system and thanks to @CaseySJ for all is help, has been rock solid. Hope you are doing better with the new RAM.
 
Actually we should not inject those properties. Instead, Run-Time Power Conservation (RTPC) for Thunderbolt is often achieved by implementing the _PS0 and _PS3 ACPI methods (for TB2). For TB3 there are a couple of other methods. I can provide my experimental TB3 SSDT later this evening by private mail. I prefer not to release it publicly at this time because hot-plug may or may not work.

But to answer your question about Boolean data types in AML, the answer is:
  • Boolean False is defined simply as Zero
  • Boolean True is defined as Ones (with an 's')

Yes please. Thanks!
 
Trying to install Catalina and getting a stall at AppleHDADriver. Latest AppleALC , lilu, and Whatevergreen. any ideas?
 

Attachments

  • IMG_3545.jpg
    IMG_3545.jpg
    754.7 KB · Views: 68
I got it completely working but have intermittent audio playback issues when watching YouTube and switching between browsers and apps on 2 monitors displayed by the Sapphire RX 580. I am running audio out of the motherboard headphone jack to speakers- any suggestions?
 
I got it completely working but have intermittent audio playback issues when watching YouTube and switching between browsers and apps on 2 monitors displayed by the Sapphire RX 580. I am running audio out of the motherboard headphone jack to speakers- any suggestions?
Good to hear. Regarding intermittent audio, does it happen only when watching YouTube? Only on Safari? Or also on Chrome and/or FireFox? Do you have any other audio devices on the system including speakers built into the monitor?

In other words, any information you can provide to isolate the problem would be helpful.
 
I ran into this updating everything the other day. My solution was to downgrade clover back to version 4920. VirtualSMC worked after that.

I'm running VirtualSMC 1.0.7 and clover r5045, no problems here. I updated what I could and moved the drivers64uefi contents to CLOVER/drivers/UEFI/ then I deleted the drivers64uefi directory. Any file that ended with "-64" I removed that from the file name.


Screen Shot 2019-08-21 at 7.58.06 PM.png

Screen Shot 2019-08-21 at 8.01.50 PM.png

Screen Shot 2019-08-21 at 8.02.58 PM.png
 
Yes please. Thanks!
I'm about to PM two files to you:
  • SSDT-DESIGNARE-Z390-HP-V3-NO-P0-P3-RP21.aml
  • SSDT-DTPG.aml
In the spirit of openness (and to follow forum rules) we'll discuss these files here in public. The only thing sent by private mail will be the files themselves, in a deliberate attempt to keep the exposure limited. Please do not share or re-post these files anywhere else at this time.

Also note that this particular SSDT-DTPG.aml is a new version; so the old one must be backed up and replaced by this one.

With the new SSDT we get the following excerpt from the kernel log:

kernel: (AppleThunderboltNHI) AppleThunderboltNHIType3::setupPowerSavings - notification based runtime power management

kernel: (AppleThunderboltNHI) Thunderbolt 255 PCI - LS=0x7043 LC=0x0040 SS=0x0140 SC=0x0008 PMCSR=0x0000 RT=0x0000 NLRT=0xffffffff LWRT=0xffffffff PRRT=0xffffffff TRT=0x0000 TNLRT=0x0000 TLWRT=0x0000 TPRRT=0x0000 TLUP=0x0001

kernel: (AppleThunderboltNHI) Thunderbolt 255 PCI - LS=0x7043 LC=0x0040 SS=0x0140 SC=0x0008 PMCSR=0x0000 RT=0x0000 NLRT=0xffffffff LWRT=0xffffffff PRRT=0xffffffff TRT=0x0000 TNLRT=0x0000 TLWRT=0x0000 TPRRT=0x0000 TLUP=0x0001

This shows that:
  • Thunderbolt notification based runtime power management is enabled.
  • However, 3 properties are still disabled:
    • NLRT
    • LWRT
    • PRRT
With the standard Thunderbolt SSDT, the kernel log looks like this:

kernel: (AppleThunderboltNHI) Thunderbolt runtime power conservation disabled.

kernel: (AppleThunderboltNHI) Thunderbolt 255 PCI - LS=0x7043 LC=0x0040 SS=0x0140 SC=0x0008 PMCSR=0x0000 RT=0xffffffff NLRT=0xffffffff LWRT=0xffffffff PRRT=0xffffffff TRT=0x0000 TNLRT=0x0000 TLWRT=0x0000 TPRRT=0x0000 TLUP=0x0001

kernel: (AppleThunderboltNHI) Thunderbolt 255 PCI - LS=0x7043 LC=0x0040 SS=0x0140 SC=0x0008 PMCSR=0x0000 RT=0xffffffff NLRT=0xffffffff LWRT=0xffffffff PRRT=0xffffffff TRT=0x0000 TNLRT=0x0000 TLWRT=0x0000 TPRRT=0x0000 TLUP=0x0001

As you can see, the new SSDT changes the value of RT, but the other 3 properties are still disabled. However, IORegistryExplorer shows us this:
Screen Shot 2019-08-21 at 7.10.53 PM.png
 
Last edited:
Back
Top