Guide to fixing broken sleep in High Sierra 10.13.2 for AMD RX 560, RX 570, RX 580

In High Sierra 10.13.2 a bug was introduced that caused sleep to no longer function on AMD Polaris graphic cards. This guide will fix broken sleep for AMD RX 560/570/580 graphic cards in macOS for hackintosh users.

The only card isn’t affected is the is the Sapphire RX 580 Pulse 8GB, which is fully supported since it’s used in Apple’s dev kit.

Affected models:

  • RX 460/560, RX 470/570, RX 480/580

This is a bug Apple added by fixing another bug of incorrect connector detection from VBIOS. In certain kexts (e.g. AMD9500Controller) they hardcoded 6 connectors as a total connector amount regardless of the number read from VBIOS. The consequences are black screen after wake and/or failure to sleep. To fix this issue you should specify `CFG,CFG_FB_LIMIT` with a correct number, via SSDT for example.

 

Fix AMD Sleep in High Sierra 10.13.2

There is a couple different ways sleep can be fixed either through kexts, config.plist patching or custom SSDT’s configured for the respective graphics card.

Update: WhateverGreen.kext v1.1.4 has been updated and simply using that resolved the sleep issue for me without having to follow the rest of the steps below. However if sleep still isn’t working you are welcome to try the steps below.

  1. Open Clover Configurator
  2. Select Mount EFI under TOOLS
  3. Click Mount Partition for Install macOS….
  4. Click Open Partition
  5. Download WhateverGreen.kext v1.1.4
  6. Unzip & Copy WhateverGreen.kext
  7. Paste to /Volumes/EFI/EFI/CLOVER/kexts/Other/
  8. Restart Hackintosh

Depreciated:

These steps below have been the easiest method to get sleep working on my RX 560 and RX 580. If people are still having trouble I’ll write up different methods when I have some spare time. After you apply the fix make sure to try every DisplayPort and HDMI to find a working port. There is a way to get all ports working I’ll write detailed steps on that later…



Mount EFI Partition:

  1. Open Clover Configurator
  2. Select Mount EFI under TOOLS
  3. Click Mount Partition for Install macOS….
  4. Click Open Partition

 EFI Edits:

  1. Download SSDT-HDMI-AMD-PEG0.aml
  2. Unzip SSDT-HDMI-AMD-PEG0.aml
  3. Copy SSDT-HDMI-AMD-PEG0.aml
  4. Navigate to /Volumes/EFI/EFI/CLOVER/ACPI/patched/
    1. Right-Click Finder App
    2. Select Go to Folder
    3. Paste  /Volumes/EFI/EFI/CLOVER/ACPI/patched/
    4. Click Go
  5. Paste SSDT-HDMI-AMD-PEG0.aml here
  6. Download AMD9xxxControllerPatcher.kext
  7. Unzip AMD9xxxControllerPatcher.kext
  8. Right-Click AMD9xxxControllerPatcher.kext
  9. Select Show Packaged Contents
  10. Open Contents Folder
  11. Right-Click info.plist
  12. Select Open with ▸ Other…
  13. Select TextEdit
  14. Click Open
  15. Press ⌘F on keyboard:
  16. Type RX 560:
  17. If you are not using an RX 560 replace it with either RX 570 or RX 580; if you are using a RX 460/470/480 use RX 560/570/580
  18. Save info.plist and navigate out of AMD9xxxControllerPatcher.kext
  19. Copy AMD9xxxControllerPatcher.kext
  20. Navigate to /Volumes/EFI/EFI/CLOVER/kexts/Other/
    1. Right-Click Finder App
    2. Select Go to Folder
    3. Paste  /Volumes/EFI/EFI/CLOVER/kexts/Other/
    4. Click Go
  21. Paste AMD9xxxControllerPatcher.kext
  22. Download latest WhateverGreen.kext
  23. Unzip & Copy WhateverGreen.kext
  24. Paste to /Volumes/EFI/EFI/CLOVER/kexts/Other/
  25. Restart Hackintosh

Leave a Reply

19 Comments on "Guide to fixing broken sleep in High Sierra 10.13.2 for AMD RX 560, RX 570, RX 580"

Sort by:   newest | oldest
Paul
Guest
Paul

Awesome.. I went back to Sierra because of broken sleep on my RX 560.. Maybe I can go back to High Sierra now..

Paul
Guest
Paul

I have a Powercolor RX 560. So both files goes in the/Volumes/EFI/EFI/CLOVER/ACPI/patched/ ? Screen goes blank on boot up when I copy these 2 files to PATCHED folder. I had to disable SSDT-HDMI-AMD-PEGO.aml to log back in..

David Webster
Guest
David Webster

Thanks for offering a solution for this. It’s been annoying me all week. Unfortunately it didn’t work for me. I’ve got a 7700k chip, a z270x board, and a Sapphire Nitro+ 580 card.

Machine seems to be working fine otherwise (I did the initial install per your instructions). And then I added these items as recommended above but seems to have same issue. Happy to try any other solutions your recommend and report back.

David Webster
Guest
David Webster

Update! Might have figured out what was wrong. It looks like there was a newer version of whatevergreen than what I had installed. Popped in the newer one, rebooted the machine, and put the rig to sleep. And it worked. So maybe that was all I was missing. If so, thanks!

Paul
Guest
Paul

Hello David, can you tell me if your monitor is connected to hdmi or displayport? Mine seems to work connecting to hdmi port..but wouldn’t boot connecting to displayport..

David Webster
Guest
David Webster

Monitor is connected to Displayport on the Nitro+ 580.
I do also have internal graphics turned on, with no monitor connected, just for purposes of enabling QuickSync

Guest
jyannakas

Guys is there a way of making different brand RX 580’s to be flashed (safely through Clover load vbios for example) and make the system recognise it as a Sapphire RX 580 Pulse??

I have an Asus RX 580 8GB Dual OC with the same specs and same memory as the Sapphire Pulse. Would it be safe if I flashed the rom?

Anonymous
Guest
Anonymous

There is one more issue, the monitor does not recieve signal wake from sleep, I have to reboot the monitor to get signal.

Roberto
Guest
Roberto

I installed the Asus Rog – Strix RX 560 OC 4GB DDR and I followed your guide to the letter. It’s all right and I thank you endlessly! I have only one problem and maybe you can help me. Font fonts remain faded and unclear. The same problem is also on the icons. Do you have a solution?

Lathos
Guest
Lathos

Hi guys,I have Rx 560 in 17,1 hack and sleep works great with lilu+whatevergreen kexts at 10.13.3.
Is any possible way to achieve the same result without the need of these kexts?I tried with RadeonDeInit and ssdt PEGP to GFXO only and works fine but sleep is broken…

Jason
Guest
Jason

I’ve just acquired the MSI AERO ITX RX 560 4GB OC card a couple days ago. The card works OOB in Sierra, but in high sierra, it only works in hdmi. Could someone please shed some light on this?

Jozef
Guest
Jozef

Hello, I have Asus RX 560 OC and DVI works alongside of HDMI. I haven’t tried Displayport yet as I don’t have display with such connection (yet), but with Whatevergreen everything works – and that’s on EVO version of the card which is just rebranded 460…

Maybe some specific problem with your card? Do you have Intel iGPU switched to multi monitor in your UEFI BIOS and disabled with ig-platform-id set to 0x59120003?

Faiz
Guest
Faiz

The sleep works but its now extremely lagging after qakeup

Guest
Scott Turvey

FWIW, I am on 10.13.4, and am running three displays. All are hooked to an MSI RX 560, one to HDMP, DP, and DL-DVI-D. Used this guide, and so far, so good. We’ll see what happens after it sleeps all night.

DANIEL
Guest
DANIEL

Hi !

Can some help me?

I have motherboard ASUS ROG STRIX Z370-F GAMING

Graphic card: GIGYBITE RX580

INTEL i7 8700k

I got black screen whith what ever settings ib config

I use last clover