Contribute
Register

AMD Radeon Performance Enhanced SSDT

Joined
Dec 24, 2018
Messages
54
Motherboard
Intel NUC8i7BEH
CPU
i7-8559U
Graphics
RX 5700 XT
Mobile Phone
  1. Android
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
Thanks for sharing,
I have a 5700XT and my max GeekBench 5 is 40K Metal after this mod,
Can you share your efi folder to compare?
 
Joined
Dec 24, 2018
Messages
54
Motherboard
Intel NUC8i7BEH
CPU
i7-8559U
Graphics
RX 5700 XT
Mobile Phone
  1. Android
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).

For VEGA 56/64 and RX 580 do not use rename PEGP to EGP0.


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
Hi mattystonnie, thank you for your support and your hard work!

I have a NUC8 with an eGPU RX 5700 XT, my Metal GeekBench 5.1 is 40K using your instructions, not near the 60K or 70K posted by others,

As a note, my GPU can do 70K Metal if I use headless connectors but I don't want to do that, can you please help me to review what I am doing wrong?

thanks
 

Attachments

  • EFI.zip
    39.1 MB · Views: 140
  • vicantul’s NUC 8.ioreg
    12 MB · Views: 36
Joined
Mar 28, 2011
Messages
251
Motherboard
Asus Tuf X299 Mark 1
CPU
i9-7900X
Graphics
RX 5700 XT
Mobile Phone
  1. iOS
@mattystonnie
when turning on the pc and reaching the desktop it freezes me and I have to restart with the button on the box.
I only use the ssdt x299 5700xt and weg , Any idea why this is happening? use smbios macpro7.1

Once I reboot everything seems to be fine, but it didn't happen to me before, thanks
 
Joined
Dec 3, 2014
Messages
93
Motherboard
Intel DX58SO
CPU
W3680
Graphics
Vega 56
Mac
  1. MacBook
  2. MacBook Pro
Well I have used the ops @mattystonnie vega kext on a MSI Vega 56 airboost and the results are mixed

first the negatives
for me the SMU fan bug is here hard.. and I found no way of defeating it while the force falcon SMU loading took place so the machine would howl and fans would not throttle once spun up... huge negative
second, the video ram never downshifts from 800 to 500 at idle and the activity light bar on the card constantly pulses full like its on crack when the system is idle.. can't be good
Frequency reported for the card is wrong, no power reporting.. etc

bench negatives
I saw no improvement in luxball nor an increase in video toolbox encoding to h256 .. so in real world apps vs synthetic benches.. the increases may not have much effect

pluses

now the synthetic GB4/5 benchmark improvements were dramatic

GB5 went from metal 58300 OpenCL 5033
to 80286 64148

at the cost of a howling non stop fan and crazy coil noises etc.. so not sure this is all that good for hardware longevity

I am betting that when put agains real world workloads, the apple engineers MigHT have gotten it right and tuned the settings for their pro apps to get the most out of AMDs broken SMU firmware

I am cleaning up the airboost 56 fan kext to add some addl function like ADPM and injecting video bios info but I think that the performance of that kext is more than good, with much better thermals, a card that clocks down properly, is likely more the way apple coded their software for.. and I can hear myself think!!
 
Joined
Sep 27, 2016
Messages
187
Motherboard
Gigabyte Aorus z390 Elite
CPU
i7-9700K
Graphics
Vega 64
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. Android
I seem to be getting good results using the SSDT-Vega64-2.3.aml with the RadeonVega56AirCoolingFansFix.kext. So far my fan is idling and throttling up correctly and my temps are idling around 40-43C. My OpenCL 66165 Metal 73541
 
Joined
Dec 3, 2014
Messages
93
Motherboard
Intel DX58SO
CPU
W3680
Graphics
Vega 56
Mac
  1. MacBook
  2. MacBook Pro
I seem to be getting good results using the SSDT-Vega64-2.3.aml with the RadeonVega56AirCoolingFansFix.kext. So far my fan is idling and throttling up correctly and my temps are idling around 40-43C. My OpenCL 66165 Metal 73541


so you are likely not loading SMU then... ?
 
Top