Contribute
Register

pastrychef's Asus ROG Strix Z370-G Gaming (WI-FI AC) build w/ i9-9900K + AMD 6600 XT

If you install WhateverGreen.kext, disable RadeonDeinit from config.plist.
 
You got the Apple card with M.2 adaptor? What is not being detected, Wi-Fi or Bluetooth? Do you see the Bluetooth device in System Information's USB section?

Its not detected in the bluetooth and neither in the wifi.

May I ask where did you get that metal holder where you connect the antenas to? I dont have that yet, and there is no antenas connected to mine, so maybe this is the problem?
 
Its not detected in the bluetooth and neither in the wifi.

May I ask where did you get that metal holder where you connect the antenas to? I dont have that yet, and there is no antenas connected to mine, so maybe this is the problem?

The metal cage is what housed the original Wi-Fi/Bluetooth card. After i pulled the original, I opened up the cage and replaced the Intel card with the Apple card+adapter.

Make sure that Wi-Fi and Bluetooth are enabled in BIOS. Check System Information's USB section to see if the Bluetooth is there.
 
As we know,AMD Radeon RX Vega can start up without any settings,but it doesn't get the correct FB Name,and the graphics card name in the system information is RX xxx.



With WhateverGreen.kext,the graphics card name in the system information is AMD Radeon Vega 64,but the FB Name still wrong.

With WhateverGreen.kext, I find the graphics card is in PCI0>PEG0>PEGP>pci-bridge>GFX0 ,and the FB Name injected failed.

View attachment 298842

I used AIDA64 to find PEGP, in the PEG0,I find a device name "LTRE",but it can't find in PEG1 and PEG2.

View attachment 298843 View attachment 298844
View attachment 298845

So I tried to inject the FB Name with DSDT. This is my way to Inject FB Name “Kamarang”on the Vega 64 with DSDT。Add a new device“LTRE” to replace the “pci-bridge”.I finally succeeded。

Code:
                Device (PEGP)
                {
                    Name (_ADR, Zero)  // _ADR: Address
                    Device (LTRE)
                    {
                        Name (_ADR, Zero)  // _ADR: Address
                        Device (GFX0)
                        {
                            Name (_ADR, Zero)  // _ADR: Address
                            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                            {
                                If (LEqual (Arg2, Zero))
                                {
                                    Return (Buffer (One)
                                    {
                                         0x03                                      
                                    })
                                }

                                Return (Package (0x10)
                                {
                                    "AAPL,slot-name",
                                    Buffer (0x07)
                                    {
                                        "Slot-1"
                                    },

                                    "@0,name",
                                    Buffer (0x0D)
                                    {
                                        "ATY,Kamarang"
                                    },

                                    "@1,name",
                                    Buffer (0x0D)
                                    {
                                        "ATY,Kamarang"
                                    },

                                    "@2,name",
                                    Buffer (0x0D)
                                    {
                                        "ATY,Kamarang"
                                    },

                                    "@3,name",
                                    Buffer (0x0D)
                                    {
                                        "ATY,Kamarang"
                                    },

                                    "device_type",
                                    Buffer (0x13)
                                    {
                                        "ATY,KamarangParent"
                                    },

                                    "model",
                                    Buffer (0x13)
                                    {
                                        "Radeon Pro Vega 64"
                                    },

                                    "hda-gfx",
                                    Buffer (0x0A)
                                    {
                                        "onboard-2"
                                    }
                                })
                            }
                        }
                    }
                }
            }

View attachment 298846

And with my friend's help, I finally succeeded inject FB name for AMD Radeon RX Vega with SSDT.

This is the sample.dsl code,you can get the correct device name from IORegistryExplorer and modify them in SSDT.aml .

Code:
DefinitionBlock ("", "SSDT", 2, "hack", "Wake", 0x00000000)
{
    External (_SB_.PCI0.PEG0.PEGP.LTRE, DeviceObj)    // (from opcode)

    Device (_SB.PCI0.PEG0.PEGP.LTRE)
    {
        Name (_ADR, Zero)  // _ADR: Address
        Device (GFX0)
        {
            Name (_ADR, Zero)  // _ADR: Address
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LEqual (Arg2, Zero))
                {
                    Return (Buffer (One)
                    {
                         0x03                                       
                    })
                }

                Return (Package (0x10)
                {
                    "AAPL,slot-name",
                    Buffer (0x07)
                    {
                        "Slot-1"
                    },

                    "@0,name",
                    Buffer (0x0D)
                    {
                        "ATY,Kamarang"
                    },

                    "@1,name",
                    Buffer (0x0D)
                    {
                        "ATY,Kamarang"
                    },

                    "@2,name",
                    Buffer (0x0D)
                    {
                        "ATY,Kamarang"
                    },

                    "@3,name",
                    Buffer (0x0D)
                    {
                        "ATY,Kamarang"
                    },

                    "device_type",
                    Buffer (0x13)
                    {
                        "ATY,KamarangParent"
                    },

                    "model",
                    Buffer (0x13)
                    {
                        "Radeon Pro Vega 56"
                    },

                    "hda-gfx",
                    Buffer (0x0A)
                    {
                        "onboard-2"
                    }
                })
            }
        }

        Device (HDAU)
        {
            Name (_ADR, One)  // _ADR: Address
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LEqual (Arg2, Zero))
                {
                    Return (Buffer (One)
                    {
                         0x03                                       
                    })
                }

                Return (Package (0x04)
                {
                    "layout-id",
                    Buffer (0x04)
                    {
                         0x01, 0x00, 0x00, 0x00                     
                    },

                    "hda-gfx",
                    Buffer (0x0A)
                    {
                        "onboard-2"
                    }
                })
            }
        }
    }
}

View attachment 298847

With Injected FB Name,my Hackintosh can sleep,when the computer wakes up from sleep,it works.
I had tested the FB Name "Kamarang" and "Iriri", they all work properly
If the system starts the black screen,please turn off the DP1.2

These are my DSDT and SSDT:

@pastrychef

Here they say you do not need whatever green, and I am wondering if what he proposes will be just cosmetic or will it help me?

Thanks for your help.
 
@pastrychef

Here they say you do not need whatever green, and I am wondering if what he proposes will be just cosmetic or will it help me?

Thanks for your help.

That guy is patching DSDT/SSDT. If you do this, you won't need WhateverGreen.kext or RadeonDeinit. It's up to you which method you choose to employ.

Here is the guide to patching DSDT/SSDT. The title says "laptop", but the information is relevant to desktops too.
[Guide] Patching LAPTOP DSDT/SSDTs | tonymacx86.com
 
The metal cage is what housed the original Wi-Fi/Bluetooth card. After i pulled the original, I opened up the cage and replaced the Intel card with the Apple card+adapter.

Make sure that Wi-Fi and Bluetooth are enabled in BIOS. Check System Information's USB section to see if the Bluetooth is there.

I think that because I got the Non wifi version of the Maximus Hero X, I dont see an option for enabling WIFI in the Bios. It should be under Advanced/onboard devices configuration right?
 
I think that because I got the Non wifi version of the Maximus Hero X, I dont see an option for enabling WIFI in the Bios. It should be under Advanced/onboard devices configuration right?

Yes, I think it's in the onboard devices section.

If you can not enable it from BIOS, you may be forced to use a PCI-e adaptor with your card.
 
That guy is patching DSDT/SSDT. If you do this, you won't need WhateverGreen.kext or RadeonDeinit. It's up to you which method you choose to employ.

Here is the guide to patching DSDT/SSDT. The title says "laptop", but the information is relevant to desktops too.
[Guide] Patching LAPTOP DSDT/SSDTs | tonymacx86.com

I ended using he Whatevergreen because I am no so tech savi to understand this whole patching of the dsdt/ssdt.

The card is now recognized as an AMD RADEON VEGA 64, but performance has not improved.

At least the stabilization problem seams to be have been dealt with.

After all my testing I think that I have been able to narrow it down to the Drivers/vega/system not being able to decode highly compressed clips with tough codecs.

What frustrates me the most is that the IMAC 27 2017 and IMAC Pro do this on the fly and without a hick-up.
 
I ended using he Whatevergreen because I am no so tech savi to understand this whole patching of the dsdt/ssdt.

The card is now recognized as an AMD RADEON VEGA 64, but performance has not improved.

At least the stabilization problem seams to be have been dealt with.

After all my testing I think that I have been able to narrow it down to the Drivers/vega/system not being able to decode highly compressed clips with tough codecs.

What frustrates me the most is that the IMAC 27 2017 and IMAC Pro do this on the fly and without a hick-up.

To be clear, these are the three methods to get your video card recognized:
  • Use Radeon Deinit in config.plist
  • Use Lilu.kext and WhateverGreen.kext
  • Use a DSDT/SSDT
You can use one of the above methods, not multiple. My understanding is that Radeon Deinit and WhateverGreen.kext do essentially the same thing. The big difference with the DSDT/SSDT method is that it injects a FrameBuffer name. I do not know how this affects how the Vega works/performs.

As I'd previously stated, I thought that the stabilization issue was a driver issue.

You said that iMac Pros with Vegas don't exhibit the timeline scrubbing issues with the same sort of video files, I think that it's safe to assume that your timeline scrubbing issues are not due to a drivers issue. I have not seen anyone else report this issue. So, what remains is configuration.
  • You can try changing SMBIOS to iMacPro1,1 since they ship with Vegas. But I do not know what issues using this system definition will bring since the CPU/chipset you are using is very different. If/when you try this, you should probably disable the IGPU since, as far as I know, the Xeon W CPUs don't have one. *Remember, iMac Pros use a different build of macOS than all other Mac models.
  • You can try keeping the existing system definition and just disabling the IGPU. This will break Quick Sync and probably AirPlay.
  • You can try different shikigva flags. Search around for the different settings available. I am unfamiliar with all the settings.
 
Last edited:
Back
Top