Contribute
Register

AMD Radeon Performance Enhanced SSDT

Status
Not open for further replies.
All systems have almost same values with Geebench 5

Mojave
Captura de Tela 2020-04-29 às 20.26.02.png


Windows
Captura de Tela 2020-04-29 às 20.31.20.png


Catalina
Captura de Tela 2020-04-29 às 20.33.20.png
 
I just stumbled upon this thread and read it in its entirety to see if it will improve performance with my RX580 / HackPro5,1. I already tried R***B*** without any improvement. Is "The SSDT" for the RX580 expected to yield performance improvements if R****B**** did not?

My system is as follows:
  • Socket 1156 / H55 / Xeon X3460 / 16GB DDR3-1600
  • SMBIOS MacModel: MacPro5,1
  • Sapphire Pulse RX580 4GB
  • Clover (Legacy) r5115 (boot-arg: -no_compat_check)
  • Catalina 10.15.4
  • Lilu 1.4.3, WEG 1.3.8
 

Attachments

  • Screen Shot 2020-04-29 at 8.46.10 PM.png
    Screen Shot 2020-04-29 at 8.46.10 PM.png
    21.4 KB · Views: 51
  • Screen Shot 2020-04-29 at 8.52.40 PM.png
    Screen Shot 2020-04-29 at 8.52.40 PM.png
    21.3 KB · Views: 76
  • Screen Shot 2020-04-29 at 8.54.06 PM.png
    Screen Shot 2020-04-29 at 8.54.06 PM.png
    21.6 KB · Views: 59
Last edited:
And I have another issue: After I applied your SSDT, my Vega 56 scored 79535 on Metal after reboot. However, after a few minutes running the system, I noticed that the score fluctuated greatly. Please check the scores by sequence:
 

Attachments

  • Screen Shot 2020-04-29 at 11.29.17 PM.png
    Screen Shot 2020-04-29 at 11.29.17 PM.png
    1 MB · Views: 122
10.15.4: 26539 (OpenCL), 26738 (Metal) => almost 40% LESS on Catalina !!!

Something is wrong with 10.15.4 on my system o_O

Same system, different results on different OS's.
On 10.15.4, I get almost the exact same result as yours only when I am using iMacPro 1,1 or MacPro 7,1. Under the other SMBIOS', the results were similar to my 10.14.6 GeekBench5 result.
 
Last edited:
Introduction

A couple of weeks ago I got my hands on a new Navi GPU, The Sapphire RX 5500 XT 4 GB, everything was working but the performance was not there, everyone said it is on pair with the good old RX 580.

So I got my hands on the new macbook pro 16.1,mac pro 7.1, and looking into the ssdt, dsdt and ioreg I saw what was missing from my hackintosh machine.

With a few tweaks and frambuffer injection, the performance went up especially with metal apps, low power consumption too.

The RX 5700 XT SSDT.aml works with RX 5600/5700/5700XT.
The RX 5500 XT SSDT.aml works with RX 5500/5500XT.

This method tries to mimic a real working mac.



How to install

Right now I am using Open Core Bootloader, but it works with clover too.

There are 2 methods for this to work, same methods are used by Apple : SSDT.aml for headless installation or Property Injection method for advanced users ( just copy the things from the SSDT.aml and add into the Property Injection section).


Clover method
  1. First thing to do is to download the SSDT.aml file corresponding to your GPU and drag&drop into /Volumes/EFI/EFI/CLOVER/ACPI/patched
  2. Second thing to do is to download WhateverGreen and place it into /Volumes/EFI/EFI/CLOVER/kexts/Other -- this will fix the video ports
  3. Download the dummy kext dAGPM (made by @toleda) that will help with power management for the GPU and place it into /Volumes/EFI/EFI/CLOVER/kexts/Other
  4. Edit the Clover Config file from /Volumes/EFI/EFI/CLOVER and add this DSDT renaming : rename PEGP to EGP0 find : 50454750 replace : 45475030 also add boot args : agdpmod=pikera (fix black screen on some gpus, mine works without).View attachment 464763


Open Core method
  1. Download the SSDT.aml file corresponding to your GPU and drag&drop into /Volumes/EFI /EFI/OC/ACPI
  2. Second thing to do is to download WhateverGreen and place it into /Volumes/EFI /EFI/OC/Kexts
  3. Download the dummy kext dAGPM (made by @toleda) that will help with power management for the GPU and place it into /Volumes/EFI /EFI/OC/Kexts
  4. Edit the OC config file from /Volumes/EFI /EFI/OC and add this patch renaming TableSignature SSDT find: 50454750 replace : 45475030 comment: replace : 45475030 ---- also add boot args : agdpmod=pikera (fix black screen on some gpus, mine works without)

View attachment 464767 View attachment 464768


5. Add the SSDT.aml file and whatevegreen kext and dAGPM kext into the config file and enable it .

View attachment 464769 View attachment 464770 View attachment 464772View attachment 464773



Conclusion

As you can see in the pictures the performance improve very much, in open gl test there is no improvement, only in open cl and metal, sometimes after opening many apps the score went very high. The open cl score did match the one from Windows 10.
The best performance was achieved using SMBios iMac Pro 1.1, DRM works on all video output ports.

View attachment 464780View attachment 464781 View attachment 464787


Coming soon

RX Vega 64
RX 580

thank you for your hard work.
what about radeon VII? does it need a special ssdt?
 
just to share my benchmark:

Settings:
Imac19,2
Geekbench 5.1.1
10.15.4

5700xt Without ssdt
Opencl: 36596
Metal:42302

5700xt With ssdt
Opencl: 59334
Metal: 73084

Radeon VII Without ssdt
Opencl:47523

Radeon VII Without ssdt
Metal:59777
 
On 10.15.4, I get almost the exact same result as yours only when I am using iMacPro 1,1 or MacPro 7,1. Under the other SMBIOS', the results were similar to my 10.14.6 GeekBench5 result.
Thanks for testing other SMBIOS's.
Time for me to do the same.

UPDATE:
Tries two different SMBIOS's - iMac13,2 and iMac19,1
With Catalina 10.15.4:

iMac13,2, GB5: 43999 (OpenCL), 44537 (Metal)
iMac19,1, GB5: 44308 (OpenCL), 47726 (Metal)

GeekBench 4:
iMac19,1, GB4: 143312 (OpenCL), 136900 (Metal)

BUT unfortunately both these Model-ID's (iMac13,2 & iMac19,1) breaks BOTH HEVC & H.264 Decode & Encode :mad:
My brief conclusion is that SMBIOS model-ID's that have IGPU (even though disabled) perform best for "rendering" type workload BUT useless for Decode & Encode. On real-macs, they rely on the Intel IGPU & the T2 chip for Decode & Encode).
Conversely, SMBIOS ID's that are GPU-less seems to have less performance for "rendering" type workload but do enable Decode & Encode using the AMD GPU (the T2 chip on a real Mac).
 
Last edited:
And I have another issue: After I applied your SSDT, my Vega 56 scored 79535 on Metal after reboot. However, after a few minutes running the system, I noticed that the score fluctuated greatly. Please check the scores by sequence:

Please, could you share your EFI config and SSDT on how you achieved that? On my Vega 56 (Sapphire) I only get 48-49k in GB5 :/
 
Early SSDT for the rx 580, works best with Catalina, for Mojave I don't know.

My Sapphire Nitro RX 480 8GB has a clock of 1276 Mhz, so RX 580 should get a higher score.

How to install : use the SSDT into Clover/acpi/patched + WEG.

Also test after a sleep/ wake cycle, for me worked without.

For the second stage boot loading bar use the first display port of your GPU.

More good things are coming, trying to inject properties from the Radeon Pro 580.
 

Attachments

  • Screenshot 2020-04-30 at 14.45.17.png
    Screenshot 2020-04-30 at 14.45.17.png
    204.3 KB · Views: 118
  • Screenshot 2020-04-30 at 14.47.57.png
    Screenshot 2020-04-30 at 14.47.57.png
    158.2 KB · Views: 113
  • SSDT-RX580- Version 1.0.aml
    715 bytes · Views: 176
thx thx thx thx sir
 
Status
Not open for further replies.
Back
Top