Contribute
Register

AMD Radeon Performance Enhanced SSDT

Joined
Apr 7, 2020
Messages
6
Motherboard
Gigabyte H370M D3H GSM
CPU
Intel Core i5-9400F
Graphics
Sapphire RX 580 8GB Nitro+
Mac
  1. MacBook Air
  2. MacBook Pro
Mobile Phone
  1. iOS
Hello, im asking for help.
MB: asrock x99 extreme 4
GC: aorus rx 580 8gb

I tried different combinations ssdt's and kext, that's what im see:
with 2 monitors (1-DP 2-HDMI) always ~51000 metal scores in GB5 but memory clock in idle 2Ghz and TDP ~66W
with 1 monitor ~31000 metal scores in GB5, idle memory clock down to 300Mhz and TDP ~14W
In dsdt I have no sections like PEG0/PEGP
View attachment 476097

Hello, just wondering if you could possibly share your EFI? I want to have a check with my configuration because I got really low benchmarks and high TDPs. Thanks.
 
Joined
May 11, 2011
Messages
1,157
Motherboard
Asrock B365M Phantom Gaming
CPU
i5-9600KF
Graphics
RX 580
Mobile Phone
  1. iOS
Hi @mattystonnie Thanks a lot for your hard work, really impressive!

I followed the instructions above and successfully injected the properties via SSDT. However, the benchmarks from GB5 and Luxmark are really low (GB5 35000 for both OpenCL and Metal, Luxmark around 12000) even after sleep/wake.
View attachment 477933
View attachment 477934
View attachment 477935
View attachment 477936
Just wondering if you could find any solutions to this? IOreg and EFI are attached. Thanks in advance and looking forward to your magic!

All good man, my RX 480 has the same score but after a sleep/wake cycle it goes up, try again.
 
Joined
Apr 7, 2020
Messages
6
Motherboard
Gigabyte H370M D3H GSM
CPU
Intel Core i5-9400F
Graphics
Sapphire RX 580 8GB Nitro+
Mac
  1. MacBook Air
  2. MacBook Pro
Mobile Phone
  1. iOS
All good man, my RX 480 has the same score but after a sleep/wake cycle it goes up, try again.
Thanks, I tried sleep/wake cycles but it was not helping at all. Only with the second monitor plugged in it can boost the performance to GB5 46000(OpenGL) and 52000(Metal).
 
Joined
Sep 22, 2011
Messages
1,472
Motherboard
HP EliteDesk 800 G5 Mini
CPU
i9-9900
Graphics
UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. iOS
@mattystonnie - just wanted to give a quick update. I am using your SSDT for my Sapphire Pulse RX580 instead of WhateverGreen and instead of Clover injection. I found that the DVI port on my Sapphire Pulse RX580 was not working (would boot to black screen). For me, this fix from @foxbox along with your SSDT produces a perfectly working RX580 in Catalina 10.15.5. No need for any Clover ATI injection and no need for WhateverGreen.kext.

Note that because of your SSDT, I do not use any of the Clover configs suggested in foxbox's post. I only needed to use his hex replacements.

EDIT: My HackPro5,1 triple-boots High Sierra 10.13.6, Mojave 10.14.6 and Catalina 10.15.5. This solution works for all three OSes.
 
Last edited:
Joined
Jul 5, 2016
Messages
22
Motherboard
Gigabyte Z170X-UD5 TH
CPU
Intel i5 6500
Graphics
RADEON RX 5700 8G
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Edit:

I was unable to use your aml, but instead I created a custom power play table and injected it into device properties with great results.

I am using RADEON RX 5700 8G with flashed bios to 5700 XT

1. Find out PCI device path using Hackintool
2. Generate power play table using https://www.hackintosh-forum.de/for...overclocking-powerp/?postID=542113#post542113
3. Paste plist content into device properties, set your PCI device path
4. Edit ROM and EFI version, these can be found using GPU-Z in windows, however, they are only cosmetic and do not affect anything
5. If you generated a custom power play, paste it into PP_PhmSoftPowerPlayTable

Code:
<dict>
	<key>PciRoot(0x0)/Pci(0x3,0x1)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)</key>
	<dict>
		<key>PP_PhmSoftPowerPlayTable</key>
		<data>
		igYMAAHiAccIAAAgOAAAfQAIAAAAGwAAAAAAAAAAAAB2AAAAAAAAAAAAAAAA
		AAEAAAAKAAAANAgAAPMEAAA+BAAA8wQAAPMEAABrAwAA8wQAAAQFAAAEBQAA
		KgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwBAABkAAAAZAAAAGQAAAD7
		AQAAZAAAAPsBAAA0AQAALAEAACwBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
		AACAAAAADgAAAB4AAAABAQEBAQEBAQEAAQE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		<string>ATY,Adder</string>
		<key>@3,name</key>
		<string>ATY,Adder</string>
		<key>device_type</key>
		<string>ATY,AdderParent</string>
		<key>AAPL00,DualLink</key>
		<data>
		AQAAAA==
		</data>
		<key>AAPL,slot-name</key>
		<string>Slot-1</string>
		<key>ATY,Card#</key>
		<string>102-D32200-00</string>
		<key>ATY,Copyright</key>
		<string>Copyright AMD Inc. All Rights Reserved. 2005-2019</string>
		<key>ATY,DeviceName</key>
		<string>5700XT</string>
		<key>ATY,EFIVersion</key>
		<string>XXXX</string>
		<key>ATY,FamilyName</key>
		<string>Radeon</string>
		<key>ATY,Rom#</key>
		<string>113-D1990102-X02</string>
		<key>CAIL_EnableLBPWSupport</key>
		<integer>0</integer>
		<key>CAIL_EnableMaxPlayloadSizeSync</key>
		<integer>1</integer>
		<key>CFG_CAA</key>
		<integer>0</integer>
		<key>CFG_FB_LIMIT</key>
		<integer>0</integer>
		<key>CFG_FORCE_MAX_DPS</key>
		<integer>1</integer>
		<key>CFG_GEN_FLAGS</key>
		<integer>0</integer>
		<key>CFG_NO_MST</key>
		<integer>0</integer>
		<key>CFG_NVV</key>
		<integer>2</integer>
		<key>CFG_PAA</key>
		<integer>0</integer>
		<key>CFG_PULSE_INT</key>
		<integer>1</integer>
		<key>CFG_TPS1S</key>
		<integer>1</integer>
		<key>CFG_TRANS_WSRV</key>
		<integer>1</integer>
		<key>CFG_UFL_CHK</key>
		<integer>0</integer>
		<key>CFG_UFL_STP</key>
		<integer>0</integer>
		<key>CFG_USE_AGDC</key>
		<integer>1</integer>
		<key>CFG_USE_CP2</key>
		<integer>1</integer>
		<key>CFG_USE_CPSTATUS</key>
		<integer>1</integer>
		<key>CFG_USE_DPT</key>
		<integer>1</integer>
		<key>CFG_USE_FBC</key>
		<integer>0</integer>
		<key>CFG_USE_FBWRKLP</key>
		<integer>1</integer>
		<key>CFG_USE_FEDS</key>
		<integer>1</integer>
		<key>CFG_USE_LPT</key>
		<integer>1</integer>
		<key>CFG_USE_PSR</key>
		<integer>0</integer>
		<key>CFG_USE_SCANOUT</key>
		<integer>1</integer>
		<key>CFG_USE_SRRB</key>
		<integer>0</integer>
		<key>CFG_USE_STUTTER</key>
		<integer>1</integer>
		<key>CFG_USE_TCON</key>
		<integer>1</integer>
		<key>PP_DisableDIDT</key>
		<integer>1</integer>
		<key>PP_DisablePowerContainment</key>
		<integer>1</integer>
		<key>PP_DisableVoltageIsland</key>
		<integer>0</integer>
		<key>PP_FuzzyFanControl</key>
		<integer>1</integer>
		<key>hda-gfx</key>
		<string>onboard-1</string>
		<key>model</key>
		<string>Radeon RX 5700 XT</string>
		<key>name</key>
		<string>ATY_GPU</string>
	</dict>
</dict>

Before:
Screenshot 2020-06-28 at 09.34.26.png

After:
Screenshot 2020-06-28 at 09.34.36.png
 
Last edited:
Joined
May 11, 2011
Messages
1,157
Motherboard
Asrock B365M Phantom Gaming
CPU
i5-9600KF
Graphics
RX 580
Mobile Phone
  1. iOS
Edit:

I was unable to use your aml, but instead I created a custom power play table and injected it into device properties with great results.

I am using RADEON RX 5700 8G with flashed bios to 5700 XT

1. Find out PCI device path using Hackintool
2. Generate power play table using https://www.hackintosh-forum.de/for...overclocking-powerp/?postID=542113#post542113
3. Paste plist content into device properties, set your PCI device path
4. Edit ROM and EFI version, these can be found using GPU-Z in windows, however, they are only cosmetic and do not affect anything
5. If you generated a custom power play, paste it into PP_PhmSoftPowerPlayTable

Code:
<dict>
    <key>PciRoot(0x0)/Pci(0x3,0x1)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)</key>
    <dict>
        <key>PP_PhmSoftPowerPlayTable</key>
        <data>
        igYMAAHiAccIAAAgOAAAfQAIAAAAGwAAAAAAAAAAAAB2AAAAAAAAAAAAAAAA
        AAEAAAAKAAAANAgAAPMEAAA+BAAA8wQAAPMEAABrAwAA8wQAAAQFAAAEBQAA
        KgMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwBAABkAAAAZAAAAGQAAAD7
        AQAAZAAAAPsBAAA0AQAALAEAACwBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AACAAAAADgAAAB4AAAABAQEBAQEBAQEAAQEBAQAAAAAAAAAAAAAAAAAAAAAA
        AGYIAABmCAAAZggAALAEAABmCAAAsAQAAGYIAACwBAAAtgMAADIAAABIDQAA
        SA0AAGQAAABuAAAAAgAAAAEAAAABAAAAAQAAAAEAAABkAAAAZAAAAGQAAABk
        AAAAZAAAAGQAAABkAAAAZAAAAGQAAABkAAAAAAAAAAAAAAAAAAAAIAMAACAD
        AAAgAwAA7gIAACADAADuAgAAIAMAAO4CAABxAgAAMgAAAEwEAABMBAAAGQAA
        ADIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABkAAAAKAAAAGQAAAAoAAAAZAAAA
        CgAAABkAAAAKAAAAGQAAAAoAAAAAAAAAAAAAAAAAAAAIAAAA/6/fsyMGAADc
        AAAAAAAAAAAAAAAAAAAAtAAAAAAAAAAAAAAAAAAAAA4AAAC9AAAAZABsAGkA
        cwBzAHMAcwAAAAAAAAAAAAAAAAAAAP5wAAABAAAAZABkAAAAAAAAAAAAVAtU
        C7gLuAvAEmgQTAAAAAEAAgAAAAAAAAAAAIEmgj6kcF2+tRoyPwEAAgAAAIA/
        AAAAAPG6Xj6rsm+9RfU2PwEBBAAAAIA/AAAAAPG6Xj6rsm+9RfU2PwEAAgDY
        8CQ/Ne8IPwAAAADUK8U+V1sRPwEAAgAKaAI/FK4XPwAAAACDUak+N4kRPwEA
        AgCcxKA/jgawvgAAAADjxwg/7C97PgEAAgBhVFI/1zRvPAAAAAD9h/Q+ylSB
        PgIAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAgAAAAAAAAAAAAAAAAAAAAAA
        AAAAACwBNAh4BXgFeAV4BXgFeAV4BXgFeAV4BXgFeAV4BXgFZADzBPME8wTz
        BPME8wTzBGQAPgQ+BD4EPgQ+BD4EPgT7AfMEtgO2A7YDtgO2A7YDZAD0AXEC
        awP7AfME8wTzBPME8wTzBPMENAEEBQQFBAUEBQQFBAUEBSwBBAWkBKQEpASk
        BKQEpAQsASoDKgMqAyoDKgMqAyoD0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB
        0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQATQI8wRr
        Az4E8wTzBAQFBAUqA9ABAAMDAzAB+wG4C7gLjApIDUgNSA2IExgVGBUYFSAD
        IAMgAwAAAADQAQAAAQIAAFsAABAAAAADBgZrAmsCAAAAAAAAAAAyADwAkAGQ
        AZABkAGQAZABkAGQAZABkAEaAA4GyghIDVkAIAMBAAECAAAAAAAAAAAAAAAA
        R+aRPKyoQb0TRF09AAAAAAAAAACPwvU8AAAAAAAAAAAAAAAAS8jHPZg0Rj1w
        QqG9r1oZO4yhHLv4Nr09AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAKAAoAABAQAAAAAAAKAAoAAAAgAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKkBhwCH
        AAAAAAAAAAAAAAAAAAAAGQAZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAA
        </data>
        <key>@0,name</key>
        <string>ATY,Adder</string>
        <key>@1,name</key>
        <string>ATY,Adder</string>
        <key>@2,name</key>
        <string>ATY,Adder</string>
        <key>@3,name</key>
        <string>ATY,Adder</string>
        <key>device_type</key>
        <string>ATY,AdderParent</string>
        <key>AAPL00,DualLink</key>
        <data>
        AQAAAA==
        </data>
        <key>AAPL,slot-name</key>
        <string>Slot-1</string>
        <key>ATY,Card#</key>
        <string>102-D32200-00</string>
        <key>ATY,Copyright</key>
        <string>Copyright AMD Inc. All Rights Reserved. 2005-2019</string>
        <key>ATY,DeviceName</key>
        <string>5700XT</string>
        <key>ATY,EFIVersion</key>
        <string>XXXX</string>
        <key>ATY,FamilyName</key>
        <string>Radeon</string>
        <key>ATY,Rom#</key>
        <string>113-D1990102-X02</string>
        <key>CAIL_EnableLBPWSupport</key>
        <integer>0</integer>
        <key>CAIL_EnableMaxPlayloadSizeSync</key>
        <integer>1</integer>
        <key>CFG_CAA</key>
        <integer>0</integer>
        <key>CFG_FB_LIMIT</key>
        <integer>0</integer>
        <key>CFG_FORCE_MAX_DPS</key>
        <integer>1</integer>
        <key>CFG_GEN_FLAGS</key>
        <integer>0</integer>
        <key>CFG_NO_MST</key>
        <integer>0</integer>
        <key>CFG_NVV</key>
        <integer>2</integer>
        <key>CFG_PAA</key>
        <integer>0</integer>
        <key>CFG_PULSE_INT</key>
        <integer>1</integer>
        <key>CFG_TPS1S</key>
        <integer>1</integer>
        <key>CFG_TRANS_WSRV</key>
        <integer>1</integer>
        <key>CFG_UFL_CHK</key>
        <integer>0</integer>
        <key>CFG_UFL_STP</key>
        <integer>0</integer>
        <key>CFG_USE_AGDC</key>
        <integer>1</integer>
        <key>CFG_USE_CP2</key>
        <integer>1</integer>
        <key>CFG_USE_CPSTATUS</key>
        <integer>1</integer>
        <key>CFG_USE_DPT</key>
        <integer>1</integer>
        <key>CFG_USE_FBC</key>
        <integer>0</integer>
        <key>CFG_USE_FBWRKLP</key>
        <integer>1</integer>
        <key>CFG_USE_FEDS</key>
        <integer>1</integer>
        <key>CFG_USE_LPT</key>
        <integer>1</integer>
        <key>CFG_USE_PSR</key>
        <integer>0</integer>
        <key>CFG_USE_SCANOUT</key>
        <integer>1</integer>
        <key>CFG_USE_SRRB</key>
        <integer>0</integer>
        <key>CFG_USE_STUTTER</key>
        <integer>1</integer>
        <key>CFG_USE_TCON</key>
        <integer>1</integer>
        <key>PP_DisableDIDT</key>
        <integer>1</integer>
        <key>PP_DisablePowerContainment</key>
        <integer>1</integer>
        <key>PP_DisableVoltageIsland</key>
        <integer>0</integer>
        <key>PP_FuzzyFanControl</key>
        <integer>1</integer>
        <key>hda-gfx</key>
        <string>onboard-1</string>
        <key>model</key>
        <string>Radeon RX 5700 XT</string>
        <key>name</key>
        <string>ATY_GPU</string>
    </dict>
</dict>

Before:
View attachment 478273

After:
View attachment 478274

Looking good, I don't like messing around with PP_PhmSoftPowerPlayTable, I like lower power consumption and high performance, PP_DisablePowerContainment will disable the GPU temp report.
 

qbe

Joined
Feb 7, 2011
Messages
141
Motherboard
Gigabyte Z490 Vision D
CPU
i9-10900K
Graphics
RX 5700 XT
with iMacPro x299 build - kgp guide based, i have no PEGP to rename
what should i substitute for rename?

not using any SSDT currently for gpu, apart from the one in this thread, and i see no effect (sleep cycled too)
 
Joined
Jan 13, 2017
Messages
258
Motherboard
Gigabyte Designare Z390
CPU
i9 9900K
Graphics
RX580
Mac
  1. iMac
  2. Mac Pro
Classic Mac
  1. Apple
Mobile Phone
  1. iOS
FINALY i find solution for 570 / 580 / RX590. Just Add SSDT and restart
WORK perfect on Clover and Opencore

Geekbench 5 metal score are higest then ay other method did I try. EVEN WITHOUT SLEEP.
Same result same score before and after sleep.
please check it and write feetback.
 

Attachments

  • SSDT-RX570.aml
    1.4 KB · Views: 140
  • SSDT-RX580.aml
    1.4 KB · Views: 263
  • SSDT-RX590.aml
    1.4 KB · Views: 103
Last edited:
Top