Contribute
Register

High Sierra 10.13.2 with AMD RX 580 Sleep Issues

Status
Not open for further replies.
Joined
Jan 16, 2011
Messages
621
Motherboard
Gigabyte Z390 Designare
CPU
i7-8700K
Graphics
Vega 64
Mac
  1. Mac mini
  2. Mac Pro
Classic Mac
  1. Power Mac
Mobile Phone
  1. iOS
Ops, attached again ... This file is coming from a guy that is using XFX 580 8gb, similar than yours, doesn't it?

Docxavier, I noted that the InfoPlist file as I received it, was set up for a Radeon RX 560, but I assume that all this is doing is giving the GPU a name i.e. you could call it 'Buggs Bunny' and it should stick, along with the ports value (5 in my case as I have 2 x DPI, 2 x HDMI & 1 DVI = 5 ports).

Sorry for the long post, but this has problem has occupied the last 1.5 days of my time and I'm banging my balding head with this!

WHAT I'M TRYING TO ACHIEVE
I have a SAPPHIRE Radeon NITRO+ RX 580 OC graphics card that was working with sleep in High Sierra 10.13.1. just using the RadeonInit=YES in my Config.plist in my Clover folder.
I updated to HS 10.13.2, and noticed that sleep was not working (Black screens with fans whirring) and also my two DP Audio outputs had disappeared.
My understanding on the issue is it's a bug that Apple introduced with 10.13.2 in that they, Apple, put a magic figure/constant of 6 ports in the AMD9500Controller.kext. This stopped sleep from shutting down (unless you had 6 ports?), hence my problem.

I was then informed of the AMD9xxxControllerPatcher.kext (which is a dummy.kext) that is supposed to patch the AMD9500Controller.kext with the model and number of ports for your card after you modify the Info.plist file included in the AMD9xxxControllerPatcher.kext.

I can't get AMD9xxxControllerPatcher.kext to work. What I have tried today is:

TEST 1
With Lilu & WhaterverGreen in /L/E, with RadeonDeinit = NO in EFI/Config.plist.
This set-up at least gives me my two HDMI/DP audio outs to my DELL P2415Q monitors. Not a big deal for me though, as I use a Soundblaster Play! 2 USB sound card.

DPCI reports that I have a 'Radeon Pro 580', (close to my SAPPHIRE Radeon NITRO+ RX 580 OC card, but no cigar!), with the 6 ports (my card only has 5. With ioreg looking for CFG_FB_LIMIT gives:

Code:
iMac:~ jb$ ioreg -lw0 | grep CFG_FB_LIMIT
    | |   |   | |   "CFG_FB_LIMIT" = 0
    | |   |   | |     "aty_config" = {"CFG_INT_SSPC"=25,"CFG_USE_SRRB"=No,"CFG_NO_MSI"=No,"CFG_NO_SLS"=No,"CFG_FORCE_MAX_DPS"=No,"CFG_USE_DPT"=Yes,"CFG_NO_HDCP"=No,"CFG_CAA"=0,"CFG_APER_MODE"=1,"CFG_PULSE_INT"=Yes,"CFG_FB_LIMIT"=0,"CFG_USE_FEDS"=Yes,"CFG_USE_STUTTER"=Yes,"CFG_PAA"=0,"CFG_USE_FBC"=No,"DALUseUrgencyWaterMarkOffset"=0,"CFG_NODM"=Yes,"DALReadDelayStutterOff"=4,"CFG_USE_LPT"=No,"CFG_USE_REGAMMA"=Yes,"CFG_USE_AGDC"=Yes,"CFG_GEN_FLAGS"=0,"CFG_FORCEMAXDPM"=No,"CFG_TRANS_WSRV"=Yes,"CFG_NO_MST"=No,"CFG_NO_PP"=No}

Sleep does not work, same as before.

Using ioreg looking for Radeon model confirms the model that DCPI and about Mac gives:
Code:
iMac:~ jb$ ioreg -lw0 | grep "Radeon "
    | |   |   | |   "model" = <"Radeon Pro 580">

TEST 2
With Lilu, WhateverGreen and AMD9xxxControllerPatcher in /L/E, with RadeonDeinit = No in EFI/Config.plist.
Along with this in the Info.plist within the AMD9xxxControllerPatcher.kext:
Code:
            <key>aty_config</key>
            <dict>
                <key>model</key>
                <string>Radeon RX 580</string>
                <key>CFG_APER_MODE</key>
                <integer>1</integer>
                <key>CFG_CAA</key>
                <integer>0</integer>
                <key>CFG_FB_LIMIT</key>
                <integer>5</integer>
I get exactly the same results as previously. The CFG_FB_LIMIT still = 0, and DPIManager reporting a Radeon Pro 580 with 6 ports!
No Sleep!

TEST 3
Removed all except Lilu, WhateverGreen, AMD9xxxControllerPatcher and FakeSMC from /L/E and with RadeonDeinit set to No. Was worried I'd break macOS, but hey WTF!
Nothing changed from previous 2 tests! No sleep!

Conclusion:
AMD9xxxControllerPatcher.kext is not working for my card, or I've made a mistake in configuration, which is possible. Usually in my 43+ years of electronics/software experience, it's the little things that get you!
I don't know where to go further with this as having sleep is a nicety but won't be a deal breaker at the moment.
Any help or guidance to enlighten me further on how this is supposed to work will be very helpful!

The following is my /Library/Extensions directory Screen Shot 2017-12-10 at 2.33.22 pm.png Screen Shot 2017-12-10 at 2.33.59 pm.png Screen Shot 2017-12-10 at 2.40.33 pm.png (I used the tree command I've installed from the "ports" package manger, if you are wondering how I got this).
Code:
iMac:Extensions jb$ pwd
/Library/Extensions
iMac:Extensions jb$ tree
.
├── ACPIMonitor.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── ACPIMonitor
│      └── _CodeSignature
│          └── CodeResources
├── ACS6x.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── ACS6x
│      ├── Resources
│      │   └── English.lproj
│      │      └── InfoPlist.strings
│      └── _CodeSignature
│          └── CodeResources
├── AMD9xxxControllerPatcher.kext
│   └── Contents
│      └── Info.plist
├── APExtFramebuffer.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── APExtFramebuffer
│      └── _CodeSignature
│          └── CodeResources
├── ATTOCelerityFC8.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── ATTOCelerityFC8
│      ├── Resources
│      │   └── mediafc.icns
│      └── _CodeSignature
│          └── CodeResources
├── ATTOExpressSASHBA2.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── ATTOExpressSASHBA2
│      ├── Resources
│      │   └── mediasas.icns
│      └── _CodeSignature
│          └── CodeResources
├── ATTOExpressSASRAID2.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── ATTOExpressSASRAID2
│      ├── Resources
│      │   └── mediasas.icns
│      └── _CodeSignature
│          └── CodeResources
├── AirParrotDriver.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── AirParrotDriver
│      └── _CodeSignature
│          └── CodeResources
├── ArcMSR.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── ArcMSR
│      ├── Resources
│      │   └── English.lproj
│      │      └── InfoPlist.strings
│      └── _CodeSignature
│          └── CodeResources
├── CalDigitHDProDrv.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── CalDigitHDProDrv
│      ├── Resources
│      │   └── English.lproj
│      │      └── InfoPlist.strings
│      └── _CodeSignature
│          └── CodeResources
├── EnergyDriver.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── EnergyDriver
│      └── _CodeSignature
│          └── CodeResources
├── FakePCIID.kext
│   └── Contents
│      ├── Info.plist
│      └── MacOS
│          └── FakePCIID
├── FakePCIID_XHCIMux.kext
│   └── Contents
│      ├── Info.plist
│      └── MacOS
│          └── FakePCIID_XHCIMux
├── FakeSMC.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── FakeSMC
│      └── _CodeSignature
│          └── CodeResources
├── HighPointIOP.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── HighPointIOP
│      ├── Resources
│      │   └── en.lproj
│      │      └── InfoPlist.strings
│      └── _CodeSignature
│          └── CodeResources
├── HighPointRR.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── HighPointRR
│      ├── Resources
│      │   └── en.lproj
│      │      └── InfoPlist.strings
│      └── _CodeSignature
│          └── CodeResources
├── ITEIT87x.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── ITEIT87x
│      └── _CodeSignature
│          └── CodeResources
├── IntelCPUMonitor.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── IntelCPUMonitor
│      └── _CodeSignature
│          └── CodeResources
├── Lilu.kext
│   └── Contents
│      ├── Info.plist
│      └── MacOS
│          └── Lilu
├── LogiMgrDriver.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── LogiMgrDriver
│      ├── PkgInfo
│      └── _CodeSignature
│          └── CodeResources
├── PromiseSTEX.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── PromiseSTEX
│      ├── Resources
│      │   └── PROMISE.icns
│      └── _CodeSignature
│          └── CodeResources
├── RadeonMonitor.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── RadeonMonitor
│      └── _CodeSignature
│          └── CodeResources
├── SoftRAID.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── SoftRAID
│      ├── Resources
│      │   └── UnlicensedVolume.icns
│      └── _CodeSignature
│          └── CodeResources
├── SteamInput.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── SteamInput
│      ├── Resources
│      │   └── SteamInputKextInstaller_10_8.plist
│      └── _CodeSignature
│          └── CodeResources
├── TruStudioPCUSBAudioPlugin.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── TruStudioPCUSBAudioPlugin
│      ├── Resources
│      │   └── English.lproj
│      │      └── InfoPlist.strings
│      └── _CodeSignature
│          └── CodeResources
├── USBInjectAll.kext
│   └── Contents
│      ├── Info.plist
│      └── MacOS
│          └── USBInjectAll
├── WhateverGreen.kext
│   └── Contents
│      ├── Info.plist
│      └── MacOS
│          └── WhateverGreen
├── kimul.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── kimul
│      └── _CodeSignature
│          └── CodeResources
├── klif.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── klif
│      └── _CodeSignature
│          └── CodeResources
├── klnke.kext
│   └── Contents
│      ├── Info.plist
│      ├── MacOS
│      │   └── klnke
│      └── _CodeSignature
│          └── CodeResources
└── mark.kext
    └── Contents
        ├── Info.plist
        ├── MacOS
        │   └── mark
        └── _CodeSignature
            └── CodeResources
135 directories, 99 files
 

Attachments

  • AMD9xxxControllerPatcher.kext.zip
    3.7 KB · Views: 161
Hi, I hope you could find a solution. I do have AMD XFX RX 580, all is working except the sleep function. I can live without it... I have found another link related maybe it can help : https://www.theitsage.com/fix-rx-580-sleep-issue-10-13-2/
If you find a something more please let me know.

Found two solutions. In fact I didn't think this post made it onto tonymacx86, as it was held back for moderation... but it's here, and I will fix the pictures in a moment. But here are the links... I'm now using the later one as it's working for all of my system, but the first one works fine also for me.

  1. https://www.tonymacx86.com/threads/wont-wake-from-sleep-and-reboots-with-radeon-rx-480-580.240350/
    Read the whole thread to get an idea of what was going on. This worked for me, but earlier today I tried #2.
  2. https://www.tonymacx86.com/threads/...-radeon-rx-480-580.240350/page-3#post-1649355
    I running with this as @macnb has a very similar system as mine, and I've blindly copied most of his config.plist... he has posted more info for me (thanks @macnb) to absorb etc, but it's 2:30am in the morning and I'd better get some rest! Read all of the posts though.
Both methods achieved the results... sleep, GPU fans working and audio via DP/HDMI cables (not that I'm using audio this way, I'm using USB audio.
 
Found two solutions. In fact I didn't think this post made it onto tonymacx86, as it was held back for moderation... but it's here, and I will fix the pictures in a moment. But here are the links... I'm now using the later one as it's working for all of my system, but the first one works fine also for me.

  1. https://www.tonymacx86.com/threads/wont-wake-from-sleep-and-reboots-with-radeon-rx-480-580.240350/
    Read the whole thread to get an idea of what was going on. This worked for me, but earlier today I tried #2.
  2. https://www.tonymacx86.com/threads/...-radeon-rx-480-580.240350/page-3#post-1649355
    I running with this as @macnb has a very similar system as mine, and I've blindly copied most of his config.plist... he has posted more info for me (thanks @macnb) to absorb etc, but it's 2:30am in the morning and I'd better get some rest! Read all of the posts though.
Both methods achieved the results... sleep, GPU fans working and audio via DP/HDMI cables (not that I'm using audio this way, I'm using USB audio.

Many thanks, I used the by you provided file
AMD9xxxControllerPatcher.kext. I had to modify it to match my only 1 port DVI regarding
<key>CFG_FB_LIMIT</key>
<integer>1</integer>
All is working as designed.
 
Many thanks, I used the by you provided file
AMD9xxxControllerPatcher.kext. I had to modify it to match my only 1 port DVI regarding
<key>CFG_FB_LIMIT</key>
<integer>1</integer>
All is working as designed.

I'm glad it worked for you. I spent 3 days trying to get it to work... just wouldn't work for me. Still don't understand why. One of the many mysteries of life! I'm learning a lot as I go along this hack route!
I also tried to fix the post of mine that has the pictures all over the place, but once again it complained that it thought the post was possible spam... oh dear.
 
any help for me?I have Asus rx 580 8 gb and I can't make it work.....I can boot with igpu but not with pcie the apple logo stuck and restart
 
Status
Not open for further replies.
Back
Top