Contribute
Register

AMD Radeon Performance Enhanced SSDT

Status
Not open for further replies.
I have this:
Code:
03:00.1 1002 AAF8 1002 AAF8 Disabl Advanced Micro Devices, Inc. [ Vega 10 HDMI Audio [Radeon Vega 56/64]             Multimedia controlle Audio device         VEGA@0/HDAU@0,1 pci1002,aaf8    PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x1)
03:00.0 1002 687F 1458 2308 Disabl Advanced Micro Devices, Inc. [ Vega 10 XL/XT [Radeon RX Vega 56/64]               Display controller   VGA compatible contr 0/VEGA@0/GFX0@0 display         PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)
02:00.0 1022 1471 007F 0000 Disabl Advanced Micro Devices, Inc. [ ???                                                Bridge               PCI bridge           1/PEGP@0/VEGA@0 pci-bridge      PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)
01:00.0 1022 1470 007F 0000 Disabl Advanced Micro Devices, Inc. [ ???                                                Bridge               PCI bridge           0/PEG0@1/PEGP@0 pci-bridge      PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)
it's this one (check for "display controller"): PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)
 
I also found the GPU device path in the boot log (viewed with Hackintool).
 
Code:
<key>PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)</key>
            <dict>
                <key>PP_PowerPlayEnabled</key>
                <data>AQAAAA==</data>
                <key>@0,name</key>
                <string>ATY,Orinoco</string>
                <key>CFG_PTPL2_TBL</key>
                <data>ggAAAHwAAAB2AAAAcAAAAGoAAABkAAAAXgAAAFgAAABSAAAATAAAAEYAAABAAAAAOgAAADQAAAAuAAAAKAAAAA==</data>
                <key>AAPL,slot-name</key>
                <string>Slot-1@0,1,0/0,0</string>
                <key>ATY,EFIVersion</key>
                <data>MDEuMDEuMTkw</data>
                <key>CFG_USE_AGDC</key>
                <true/>
                <key>CFG_USE_SCANOUT</key>
                <true/>
                <key>CFG_USE_TCON</key>
                <true/>
                <key>PP_BootupDisplayState</key>
                <data>AQAAAA==</data>
                <key>PP_DisableMCDownLoadFeature</key>
                <integer>1</integer>
                <key>model</key>
                <string>AMD Radeon RX 580</string>
            </dict>
Can it be added in OpenCore?
 
Code:
<key>PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)</key>
            <dict>
                <key>PP_PowerPlayEnabled</key>
                <data>AQAAAA==</data>
                <key>@0,name</key>
                <string>ATY,Orinoco</string>
                <key>CFG_PTPL2_TBL</key>
                <data>ggAAAHwAAAB2AAAAcAAAAGoAAABkAAAAXgAAAFgAAABSAAAATAAAAEYAAABAAAAAOgAAADQAAAAuAAAAKAAAAA==</data>
                <key>AAPL,slot-name</key>
                <string>Slot-1@0,1,0/0,0</string>
                <key>ATY,EFIVersion</key>
                <data>MDEuMDEuMTkw</data>
                <key>CFG_USE_AGDC</key>
                <true/>
                <key>CFG_USE_SCANOUT</key>
                <true/>
                <key>CFG_USE_TCON</key>
                <true/>
                <key>PP_BootupDisplayState</key>
                <data>AQAAAA==</data>
                <key>PP_DisableMCDownLoadFeature</key>
                <integer>1</integer>
                <key>model</key>
                <string>AMD Radeon RX 580</string>
            </dict>
Can it be added in OpenCore?
I tried but there are a few issues: some data values are base64 encoded (AQAAAA==, MDEuMDEuMTkw, and ggAAAHwAAAB2AAAAcAAAAGoAAABkAAAAXgAAAFgAAABSAAAATAAAAEYAAABAAAAAOgAAADQAAAAuAAAAKAAAAA==) but XCode or ProperTree plist editors wont allow you to put a base64 encoded value inside of a "data" field. So I tried to convert these values to hex:
ggAAAHwAAAB2AAAAcAAAAGoAAABkAAAAXgAAAFgAAABSAAAATAAAAEYAAABAAAAAOgAAADQAAAAuAAAAKAAAAA== becomes <82000000 7c000000 76000000 70000000 6a000000 64000000 5e000000 58000000 52000000 4c000000 46000000 40000000 3a000000 34000000 2e000000 28000000>, AQAAAA== becomes 01 00 00 00 (or just "1" as an integer) and so on. The thing is that I'm not sure whether we need to put the base64 values inside of a sting type field, or convert the base64 into hex and put the result into data type filed, if "AQAAAA==" can be set as "1" in an integer field... Tried a couple combination but with no luck: I get a black screen around the middle of macOS boot (when normally the dGPU is recognized by the OS).

Still need to learn more about OC I guess!
 
I tried but there are a few issues: some data values are base64 encoded (AQAAAA==, MDEuMDEuMTkw, and ggAAAHwAAAB2AAAAcAAAAGoAAABkAAAAXgAAAFgAAABSAAAATAAAAEYAAABAAAAAOgAAADQAAAAuAAAAKAAAAA==) but XCode or ProperTree plist editors wont allow you to put a base64 encoded value inside of a "data" field. So I tried to convert these values to hex:
ggAAAHwAAAB2AAAAcAAAAGoAAABkAAAAXgAAAFgAAABSAAAATAAAAEYAAABAAAAAOgAAADQAAAAuAAAAKAAAAA== becomes <82000000 7c000000 76000000 70000000 6a000000 64000000 5e000000 58000000 52000000 4c000000 46000000 40000000 3a000000 34000000 2e000000 28000000>, AQAAAA== becomes 01 00 00 00 (or just "1" as an integer) and so on. The thing is that I'm not sure whether we need to put the base64 values inside of a sting type field, or convert the base64 into hex and put the result into data type filed, if "AQAAAA==" can be set as "1" in an integer field... Tried a couple combination but with no luck: I get a black screen around the middle of macOS boot (when normally the dGPU is recognized by the OS).

Still need to learn more about OC I guess!
add via textedit. Check Proper later ... I just don't know if that is good?
Zrzut ekranu 2020-05-1 o 16.11.49.png
 
Code:
<key>PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)</key>
            <dict>
                <key>PP_PowerPlayEnabled</key>
                <data>AQAAAA==</data>
                <key>@0,name</key>
                <string>ATY,Orinoco</string>
                <key>CFG_PTPL2_TBL</key>
                <data>ggAAAHwAAAB2AAAAcAAAAGoAAABkAAAAXgAAAFgAAABSAAAATAAAAEYAAABAAAAAOgAAADQAAAAuAAAAKAAAAA==</data>
                <key>AAPL,slot-name</key>
                <string>Slot-1@0,1,0/0,0</string>
                <key>ATY,EFIVersion</key>
                <data>MDEuMDEuMTkw</data>
                <key>CFG_USE_AGDC</key>
                <true/>
                <key>CFG_USE_SCANOUT</key>
                <true/>
                <key>CFG_USE_TCON</key>
                <true/>
                <key>PP_BootupDisplayState</key>
                <data>AQAAAA==</data>
                <key>PP_DisableMCDownLoadFeature</key>
                <integer>1</integer>
                <key>model</key>
                <string>AMD Radeon RX 580</string>
            </dict>
Can it be added in OpenCore?


Hi, try this (I use OC):
Code:
            <key>PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)</key>
            <dict>
                <key>@0,name</key>
                <string>ATY,Orinoco</string>
                <key>AAPL,slot-name</key>
                <string>Slot-1@0,1,0/0,0</string>
                <key>ATY,EFIVersion</key>
                <data>MDEuMDEuMTkw</data>
                <key>CFG_PTPL2_TBL</key>
                <data>ggAAAHwAAAB2AAAAcAAAAGoAAABkAAAAXgAAAFgAAABSAAAATAAAAEYAAABAAAAAOgAAADQAAAAuAAAAKAAAAA==</data>
                <key>CFG_USE_AGDC</key>
                <integer>1</integer>
                <key>CFG_USE_SCANOUT</key>
                <integer>1</integer>
                <key>CFG_USE_TCON</key>
                <integer>1</integer>
                <key>PP_BootupDisplayState</key>
                <data>AQAAAA==</data>
                <key>PP_DisableMCDownLoadFeature</key>
                <integer>1</integer>
                <key>PP_PowerPlayEnabled</key>
                <data>AQAAAA==</data>
                <key>device_type</key>
                <string>VGA compatible controller</string>
                <key>model</key>
                <string>AMD Radeon RX 580</string>
            </dict>

Cheers!
 
I tried but there are a few issues: some data values are base64 encoded (AQAAAA==, MDEuMDEuMTkw, and ggAAAHwAAAB2AAAAcAAAAGoAAABkAAAAXgAAAFgAAABSAAAATAAAAEYAAABAAAAAOgAAADQAAAAuAAAAKAAAAA==) but XCode or ProperTree plist editors wont allow you to put a base64 encoded value inside of a "data" field. So I tried to convert these values to hex:
ggAAAHwAAAB2AAAAcAAAAGoAAABkAAAAXgAAAFgAAABSAAAATAAAAEYAAABAAAAAOgAAADQAAAAuAAAAKAAAAA== becomes <82000000 7c000000 76000000 70000000 6a000000 64000000 5e000000 58000000 52000000 4c000000 46000000 40000000 3a000000 34000000 2e000000 28000000>, AQAAAA== becomes 01 00 00 00 (or just "1" as an integer) and so on. The thing is that I'm not sure whether we need to put the base64 values inside of a sting type field, or convert the base64 into hex and put the result into data type filed, if "AQAAAA==" can be set as "1" in an integer field... Tried a couple combination but with no luck: I get a black screen around the middle of macOS boot (when normally the dGPU is recognized by the OS).

Still need to learn more about OC I guess!

I actually discovered if you just copy the entire coding from the post and paste it into ProperTree it will convert it into the format required for OpenCore. It was a pleasant surprise!
 
Status
Not open for further replies.
Back
Top