Contribute
Register

Won't Wake from Sleep and Reboots with Radeon RX 480/580

Status
Not open for further replies.
I'm Back after the Xmas break :)
If you can only make your system work with Deinit, then that means SSDT-rx580.aml injection is NOT working.
Not sure what stage your are at now but your SSDT had a slight bug (which I don't think matters as macOS does not seem to use it):
Code:
                    "ATY,DeviceID",
                    Buffer (0x02)
                    {
                         0xD7, 0x67                                   
                    },
The 0xD7 should be 0xDF

I'm currently running without my DSDT and just Fixes in Config.plist + my SSDT-RX580.aml and all is fine. In fact, seems better as I do NOT have to wait 2-3 seconds after booting before I can logon.

If you still have problems, post our current EFI folder contents (WITHOUT the themes folder) and the IOREG file.


hi,macnb
thanks for reply
My EFI folder&ioregfile
 

Attachments

  • ioreg.zip
    991.8 KB · Views: 151
  • CLOVER.zip
    2.2 MB · Views: 168
Hmmm. How did you "use a ProductID" ? That is how did you add it ?
What is the exact AMD card you're using ?

Post your latest config.plist & ioreg (one with whatevergreen kext).
Also, post your SSDT_NVMe-Pcc.aml. Where did you get this SSDT from ?

Hi, I attach a screenshot where You can see the ProductID. I took it from this guide:
https://www.tonymacx86.com/threads/radeon-compatibility-guide-ati-amd-graphics-cards.171291/
The SSDT_NVMe-Pcc.aml I generated in Sierra according to RahabMan's guide. Maybe it is obsolete and makes no sense in High Sierra. But I don't delete things where I don't know if they are needed or not.
I also attach the config.plist, the SSDT.
The ioreg marked "old" was used before with Whatevergreen.

By the way, I got again the weird behavior where the mouse and all the movements on screen are stuttering ... I was hoping all problems were gone ...

And my exact GPU model is Sapphire Radeon RX580 NITRO+ 4GB.
 

Attachments

  • ProductID.png
    ProductID.png
    97.1 KB · Views: 218
  • config.plist
    5.8 KB · Views: 345
  • SSDT_NVMe-Pcc.aml
    134 bytes · Views: 127
  • rna23 iMac-new.ioreg
    3.2 MB · Views: 105
  • rna23 iMac-old.ioreg
    4.1 MB · Views: 183
Hmmm. How did you "use a ProductID" ? That is how did you add it ?
What is the exact AMD card you're using ?

Post your latest config.plist & ioreg (one with whatevergreen kext).
Also, post your SSDT_NVMe-Pcc.aml. Where did you get this SSDT from ?

Hi,

so now I tried to use Your SSDT in the Patched folder and turned off RadeonDeInit and it works!

And I deleted the SSDT_NVMe-Pcc.aml as it seems it is no more needed. Thanks for asking - it made me think about it.
 
Hi guys,
moved from nvidia GTX 970 to AMD RX 580 and solved almost all problems (like quicksync, ID platform etc.) but I still have problems with sleep/wake. I followed all the advice in this thread and others but still no luck. When my Hack awakes several programs like Chrome and Final Cut pro X won't run and I have to make a force quit. I need to reboot to make them work again.
I think I'm still missing something. I try to put my config here in case someone has a clue.
Thanks!
Alex
 

Attachments

  • config.plist
    9 KB · Views: 194
On edit: Alas, no, this didn't fix the problem. It seemed to work a couple of times immediately after the fix, but it hasn't worked since.

When selecting sleep, it takes the computer more than a minute to completely power down. During this time it looks asleep, and if you "wake" the computer before it powers down, it "wakes" back up. Really, all it seems to be doing is turning the monitor off. After a minute or two, the power light goes off, and the computer is basically just shut down, requiring a reboot.

But there's an odd wrinkle that suggests it's not exactly shut down: upon "waking" it (or turning it on) the GPU fan spins up full blast and very loud (sounds troubling). It does this for about 10 seconds, only spinning down about when the BIOS splash screen appears.

Bummer

--------------------------------------------------------------------------------

Seems to be below sample is better, because PciAddr* is same.

View attachment 299027

Thank you, thank you, thank you!

This is what finally worked for me. I've tried a variety of recommendations, with no luck until this.

On the chance it might help someone else, here's what I tried.

From the Library/Preferences folder I deleted all instances of:

com.apple.PowerManagement

There was fuss about the 'native power management', and examination of the sleep log using pmset command (obtained by typing the following into Terminal): pmset -g log|grep -e " Sleep " -e " Wake " -e " DarkWake ". Forget the details, but no luck.

I unchecked "RadeonDeinit" under Clover Configurator>Graphics. No luck, but I left it unchecked.

I added AMD9xxxControllerPatcher.kext to S/L/E*. That not only didn't work but also changed the name of my AMD Radeon RX 580 to ... 460. I removed it.

I added Lilu and WhateverGreen to S/L/E, but that didn't do anything. I left them there.

I then tried the first example of the above Devices>Arbitrary injection of the sleep patch (the one with just one line in each box). That didn't work.

But adding the extra line "model Radeon RX580 STRING" above the "CFG,CFG_FB_LIMIT 05 DATA" did the trick!

* Note: don't add these manually. Place the kexts on your desktop, then use Kext Wizard to add the kexts for you. Then run Kext Wizard's S/L/E Repair permissions and rebuild cache (under the Maintenance tab). Also be sure to repair permissions if you remove a kext (manually).
 
Last edited:
@macnb, Is your SSDT-RX580.aml can be safely used in my configuration?

Thanks.

I do not need the AMD9xxxControllerPatcher as I do not have a problem with sleep or the number of connectors.
I am using MY SSDT-RX580.aml that is specific to MY card. It does the following:
  1. equivalent of DeInit,
  2. Change the Name of my card,
  3. Specify which Framebuffer to use,
  4. Specify the number of ports on the card,
  5. Inject Audio device for HDMI & DP ports on the card.
You should edit and check YOUR SSDT-RX580.aml (using MaciASL) to match your specific card.
Also, if you use an SSDT to inject DeInit then you do NOT need the lily & WEG kexts (though it will help with naming the card).
If nothing changes, then the SSDT you are using is NOT being injected.

My specific SSDT-RX580.aml relies on the discrete GPU already being named GFX0 in ACPI.
If you have done nothing to make sure your ACPI has the external / discrete GPU named GFX0 then the name will not change.
That is normally done via a DSDT.aml or GPU related SSDT or via a DSDT patch in the Clover/DSDT/Patches section. E.g. in my ACPI, the discrete GPU device is called PEGP and I rename it to GFX0 in my DSDT.aml now (I used to use Clover to do it on the fly).

You can also name your card via a Clover/Devices/AddProperties section.

BTW, this thread is about sleep issues with AMD cpu's not naming issues.
 
@macnb, Is your SSDT-RX580.aml can be safely used in my configuration?

Thanks.
It depends on what you are trying to achieve.
That SSDT file was required during High Sierra days but Mojave, things have progressed and should not be necessary.
 
Status
Not open for further replies.
Back
Top