Contribute
Register

AMD Radeon Performance Enhanced SSDT

Hi everyone , would this work on Vega VII?
 
That's pretty normal for an RX580.
There's no more that can be squeezed out from that card.

Did you run the benchmark straight after booting or after waking from ?

On my Z77X-UP5 + RX580 Nitro+ running Mojave (10.14.6) I get similar scores to you.
But, on Catalina (10.15.4), if I run the benchmark after booting, I get ~ 40% LESS and only get those "normal" scores AFTER waking from sleep.
I ran it after wake up
 
Reporting no change in GB scores after implementing your EFI and disabling iGPU in BIOS. Attaching the new ioreg as requested. Hope we can find the culprit...

Edit: Btw., lost Sidecar. I can "connect", but there is a black screen shown on the iPad...

Enable again IGPU in bios for sidecar.
 
@mattystonnie

I am on a intel Dx58so with w3680..harware very close to a macpro5,1 and upgraded to a vega from 660 to go from ElCap to Mojave.

after some tweeks and experimentation I found that I get close to everything I want by instead of using a straight macpro5,1 SMBIOS.. I now use a split personality like the real macpro guys are doing with opencore and putting in a imacpro1,1 board-id in the SMBIOS.. not injecting it with WEG.. still using pikera and shikigva=80.. I get BOTH HARDWARE encode AND decode of BOTH 264 and HEVC... and at least DRM for prime.. have not tested others .. on 10.14.6 2020-002

I am currently using a kext called radeonvegaaircoolingfanfix.kext (not my work).. for my MSI VEGA 56 Airboot and it works fantastic .. fans trottle properly, nothing gets stuck.. it doestn STOP the fan like apples power mangement so it stays cooler...

I would like to see if adding some of your SMU injection in it might take it up another notch

right now I get GB4 opencl or 144770 and a luxball3.1 of 28083
 

Attachments

  • RadeonVega56AirCoolingFansFix.kext.zip
    4 KB · Views: 88
Hi @mattystonnie.

I've been keeping up with your post since the beginning and followed the directions (Clover) for my 5500XT. I even added the flag for AddDTGP in Clover Configurator. Thanks to your guide, everything is noticeably faster than before but I thought I'd follow your suggestion to add the PCIe Display Device Path in the List of PCI Devices in my config.plist before removing the SSDT. I first right-clicked and copied the path I have shown in the attached picture from Hackintool and then went to paste it into CC at the bottom left in the Devices tab. First, I added a device and even though I pasted the path, I can't get it to stick and generate the properties in the bottom right pane (I previously was able to add my IGPU as a headless device and that stuck). I've also attached my IOReg in case I have other issues that might be interfering with the procedure. If you have a chance to look into it, I'd appreciate it. Thanks in advance for your help.

Screen Shot 2020-05-04 at 10.46.55 PM.png
 

Attachments

  • Superbogey IOReg 5-4-2020.ioreg
    9 MB · Views: 71
With Geekbench 5 my 5700XT went from 38k to 65k in Metal and 38k to 60k in OpenCL.
This is not affecting the Luxmark results and I think because its an old benchmark tool anyway, nor Engine Heaven but all good.

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?
 
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?
 
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: 209
  • vicantul’s NUC 8.ioreg
    12 MB · Views: 74
Back
Top