Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

h9826790

macrumors P6
Apr 3, 2014
16,656
8,587
Hong Kong
I am concerned about the potential port mapping issue. My Gigabyte RX 580 Gaming 4G has 1 DVI, 1 HDMI and 3 DP ports while the Sapphire Pulse has respectively 1, 2 and 2 respectively, AFAIK.

My HP 30" screen requires a dual link DVI connection - it has no other type of ports.

And is there any other side-effect resulting from pretending a 4GB card is a 8GB one?

Change the part number is not pretending a 8GB card in this case. Just make the OS give it a correct ident and apply the correct framebuffer. The driver won't try to access any VRAM is not there.

HOWEVER, in your case, the framebuffer will be WRONG. So, one or more port may not work properly after you flash the card. Since there is only one connection available to your monitor. If you are unlucky enough to get the DVI port fail after the flash. You may not able to see anything on the screen in MacOS.

But screen sharing should still working. Therefore, you better setup a screen sharing first (in not yet done). If you have another Mac, that's easy. If not, Chrome Remote Desktop can do the job properly for free with almost any other device (including smart phone).

So, if your card can't display anything in MacOS after flashing with the "new" part number. No panic. Use remote control to get yourself back into Windows (I expect you have Windows, otherwise, how to flash the card?). And since Windows can properly identify your card and apply the correct framebuffer. You RX580's DVI port will work properly at there, and you can flash the original ROM back in.

N.B. even though both your card and the PULSE has only 1 DVI port, the DVI port can still fail if apply the wrong framebuffer. Also, I assume you only change the part number but not anything else. Otherwise, if you accidentally kill the card by flashing a bad ROM onto it. It can be pretty hard to recover.
 
  • Like
Reactions: LightBulbFun

krakman

macrumors 6502
Dec 3, 2009
450
511
I have a RX480 card which has the sleep problem in 10.13.2 and I chose to go down the "edit plist" route, as it seems more straightforward and more importantly I don't have windows.

Here is my process, incase it helps anyone. There is probably a simpler way of doing it, if so maybe someone can enlighten me.

By following the advice give in various threads...

  1. Make sure SIP is disabled and download a copy of Kext Utility
  2. find this kext: /System/Library/Extensions/AMD9500Controller.kext and make a duplicate of it in case you need to replace it
  3. find this file: /System/Library/Extensions/AMD9500Controller.kext/Contents/Info.plist
  4. copy Info.plist to your desktop and then open this copied file in Text Edit
  5. search for this text :<key>CFG_FB_LIMIT</key> <integer>0</integer>
  6. change it to :<key>CFG_FB_LIMIT</key> <integer>4</integer> The number 4 is the number of ports on the back of the card. I have the reference 480 card if you have a Nitro 480 then the number should be 5 because the Nitro has an extra DVI port on the back.
  7. save the edited Info.plist file to your desktop
  8. go to /System/Library/Extensions/AMD9500Controller.kext/Contents/ and delete the original info.plist file
  9. copy the new version from the desktop to replace the deleted file.
  10. run Kext Utility to repair permissions
restart and enjoy!

Also this fixes audio over Displayport.

This seems to work for RX 4xx/5xx cards, in another thread someone tried to do a similar process to fix sleep on their RX Vega 56 but it just ended up with a black screen.


edit 25 jan 2018:

Installed mac OS 10.13.3 from App Store and my edited Kext survived the update. SIP remains disabled.
 
Last edited:

fiatlux

macrumors 6502
Dec 5, 2007
352
143
I have a RX480 card which has the sleep problem in 10.13.2 and I chose to go down the "edit plist" route, as it seems more straightforward and more importantly I don't have windows.

I have Windows but on another computer so this approach would save me a lot of hassle.

I guess this fix wouldn't survive the next OS update but was can hope 10.13.3 fixes this bug (although Apple may not consider it a bug if it only happens with unsupported hardware).
 

zemaker

macrumors 6502
Nov 25, 2011
295
188
I have Windows but on another computer so this approach would save me a lot of hassle.

I guess this fix wouldn't survive the next OS update but was can hope 10.13.3 fixes this bug (although Apple may not consider it a bug if it only happens with unsupported hardware).
It will be a bug as long as people open bug reports with Apple, as should everyone experiencing this issue.
 

fiatlux

macrumors 6502
Dec 5, 2007
352
143
I have Windows but on another computer so this approach would save me a lot of hassle.

Just to confirm that the above steps fixed the sleep issue on my Mac Pro running 10.13.2 with an RX 580.

A bit annoying to have to reboot thrice and disable/enable SIP in the recovery console, but still much faster/safer than flashing the graphic card in a Windows box.
 

zemaker

macrumors 6502
Nov 25, 2011
295
188
Just to confirm that the above steps fixed the sleep issue on my Mac Pro running 10.13.2 with an RX 580.

A bit annoying to have to reboot thrice and disable/enable SIP in the recovery console, but still much faster/safer than flashing the graphic card in a Windows box.

Does it matter with SIP though, I just left it disabled.
 

whartung

macrumors newbie
Dec 29, 2014
29
2
Happening to me and my RX 460 as well. Just reported a bug on the site per someone's suggestion. I may go down the Mac fix since I'm w/o a windows installation, but not sure I've become desperate/confident enough yet.
 

h9826790

macrumors P6
Apr 3, 2014
16,656
8,587
Hong Kong
Just to confirm that the above steps fixed the sleep issue on my Mac Pro running 10.13.2 with an RX 580.

A bit annoying to have to reboot thrice and disable/enable SIP in the recovery console, but still much faster/safer than flashing the graphic card in a Windows box.

Interesting, so, even re-enable SIP, the system will still load the modded (unsigned) kext?
 

namethisfile

macrumors 65816
Jan 17, 2008
1,190
176
I have a RX480 card which has the sleep problem in 10.13.2 and I chose to go down the "edit plist" route, as it seems more straightforward and more importantly I don't have windows.

Here is my process, incase it helps anyone. There is probably a simpler way of doing it, if so maybe someone can enlighten me.

By following the advice give in various threads...

  1. Make sure SIP is disabled and download a copy of Kext Utility
  2. find this kext: /System/Library/Extensions/AMD9500Controller.kext and make a duplicate of it in case you need to replace it
  3. find this file: /System/Library/Extensions/AMD9500Controller.kext/Contents/Info.plist
  4. copy Info.plist to your desktop and then open this copied file in Text Edit
  5. search for this text :<key>CFG_FB_LIMIT</key> <integer>0</integer>
  6. change it to :<key>CFG_FB_LIMIT</key> <integer>4</integer> The number 4 is the number of ports on the back of the card. I have the reference 480 card if you have a Nitro 480 then the number should be 5 because the Nitro has an extra DVI port on the back.
  7. save the edited Info.plist file to your desktop
  8. go to /System/Library/Extensions/AMD9500Controller.kext/Contents/ and delete the original info.plist file
  9. copy the new version from the desktop to replace the deleted file.
  10. run Kext Utility to repair permissions
restart and enjoy!

Also this fixes audio over Displayport.

This seems to work for RX 4xx/5xx cards, in another thread someone tried to do a similar process to fix sleep on their RX Vega 56 but it just ended up with a black screen.

I did this mod for RX 460, so I changed the value to "3" since the card only has 3 ports. It didn't work. I forgot the "Repair permissions" part, though. So, do I really need Kext Utility? I prefer not having to download an app if an alternate method exist.

For example, what about the "diskutil resetUserPermissions" command in terminal? Won't this do the same thing?

PS--Yep. I had to put my Apple HD5770 in there to disable SIP, etc. for the mod.
 

h9826790

macrumors P6
Apr 3, 2014
16,656
8,587
Hong Kong
I did this mod for RX 460, so I changed the value to "3" since the card only has 3 ports. It didn't work. I forgot the "Repair permissions" part, though. So, do I really need Kext Utility? I prefer not having to download an app if an alternate method exist.

For example, what about the "diskutil resetUserPermissions" command in terminal? Won't this do the same thing?

PS--Yep. I had to put my Apple HD5770 in there to disable SIP, etc. for the mod.

1) the RX460 should work in recovery partition, no need the 5770. Even not, still doesn’t need the 5770 to disable SIP. It’s very easy to do that blindly in Single User Recovery Partiton.

2) AFAIK, NO, disk utility won’t help in this kind of situation.

3) kext utility is the easiest way to fix it. If you don’t like that, you should able to do it in terminal, just fix that particular kext by yourself. However, you have to google the correct command. I can’t remember that.
 

namethisfile

macrumors 65816
Jan 17, 2008
1,190
176
1) the RX460 should work in recovery partition, no need the 5770. Even not, still doesn’t need the 5770 to disable SIP. It’s very easy to do that blindly in Single User Recovery Partiton.

2) AFAIK, NO, disk utility won’t help in this kind of situation.

3) kext utility is the easiest way to fix it. If you don’t like that, you should able to do it in terminal, just fix that particular kext by yourself. However, you have to google the correct command. I can’t remember that.

1) What? Really? You can boot into User Recovery; go to Utilities; then Terminal; then disable/enable SIP; reboot without a monitor?

If so, how? The only way I can think of that this is possible is if there is a KB-shortcut once you are in User Recovery mode to launch terminal and then blindly enable/disable SIP then, I guess, type reboot?
 
Last edited:

h9826790

macrumors P6
Apr 3, 2014
16,656
8,587
Hong Kong
1) What? Really? You can boot into User Recovery; go to Utilities; then Terminal; then disable/enable SIP; reboot without a monitor?

If so, how? The only way I can think of that this is possible is if there is a KB-shortcut once you are in User Recovery mode to launch terminal and then blindly enable/disable SIP then, I guess, type reboot?

It’s way easier than you believe. The key is to get yourself into “Single User Recovery Mode”, not the normal recovery partition.

https://forums.macrumors.com/threads/cmp-getting-dell-5k-working-in-sierra.2026628/#post-25075208
 
  • Like
Reactions: foliovision

JPguitar

macrumors newbie
May 12, 2009
2
0
azores
I have a RX480 card which has the sleep problem in 10.13.2 and I chose to go down the "edit plist" route, as it seems more straightforward and more importantly I don't have windows.

Here is my process, incase it helps anyone. There is probably a simpler way of doing it, if so maybe someone can enlighten me.

By following the advice give in various threads...

  1. Make sure SIP is disabled and download a copy of Kext Utility
  2. find this kext: /System/Library/Extensions/AMD9500Controller.kext and make a duplicate of it in case you need to replace it
  3. find this file: /System/Library/Extensions/AMD9500Controller.kext/Contents/Info.plist
  4. copy Info.plist to your desktop and then open this copied file in Text Edit
  5. search for this text :<key>CFG_FB_LIMIT</key> <integer>0</integer>
  6. change it to :<key>CFG_FB_LIMIT</key> <integer>4</integer> The number 4 is the number of ports on the back of the card. I have the reference 480 card if you have a Nitro 480 then the number should be 5 because the Nitro has an extra DVI port on the back.
  7. save the edited Info.plist file to your desktop
  8. go to /System/Library/Extensions/AMD9500Controller.kext/Contents/ and delete the original info.plist file
  9. copy the new version from the desktop to replace the deleted file.
  10. run Kext Utility to repair permissions
restart and enjoy!

Also this fixes audio over Displayport.

This seems to work for RX 4xx/5xx cards, in another thread someone tried to do a similar process to fix sleep on their RX Vega 56 but it just ended up with a black screen.

Works on RX560, with 3 as the CFG_FB_LIMIT. Thank you
 

namethisfile

macrumors 65816
Jan 17, 2008
1,190
176
I did the CFG_FB_LIMIT mod and changed value to "3" for RX 460.

Didn't work. Sleep still is broken.

And, on top of that... RX 460 doesn't seem to be running fully enabled; the animations/transitions have that curtain-effect, like, when you go in safe mode.

The Dock for instance is not translucent and Under System Report, Metal Support is no longer show.

Also, using Chrome is slow.

After changing the value, I went to Terminal and did this command:

Code:
diskutil resetUserPermissions / 'id -u'

Then, rebooted. Went to Single User Recover Mode; re-enabled SIP; rebooted.



What am I doing wrong?

I think I might have messed the whole thing up. Before sleep didn't work and now sleep still doesn't work and the card is not fully accelerated or something.
 
Last edited:

h9826790

macrumors P6
Apr 3, 2014
16,656
8,587
Hong Kong
I did the CFG_FB_LIMIT mod and changed value to "3" for RX 460.

Didn't work. Sleep still is broken.

And, on top of that... RX 460 doesn't seem to be running fully enabled; the animations/transitions have that curtain-effect, like, when you go in safe mode.

The Dock for instance is not translucent and Under System Report, Metal Support is no longer show.

Also, using Chrome is slow.

After changing the value, I went to Terminal and did this command:

Code:
diskutil resetUserPermissions / 'id -u'

Then, rebooted. Went to Single User Recover Mode; re-enabled SIP; rebooted.



What am I doing wrong?

I think I might have messed the whole thing up. Before sleep didn't work and now sleep still doesn't work and the card is not fully accelerated or something.

AFAIK, disk utility won’t fix the kext permission. You need something like kext utility. Or manually set that particular file’s permission.
 

namethisfile

macrumors 65816
Jan 17, 2008
1,190
176
AFAIK, disk utility won’t fix the kext permission. You need something like kext utility. Or manually set that particular file’s permission.

Ok. I'd like to learn how to manually set the kext permission correctly. This way I'd learn something instead of having an app do it for me. But, it is confusing as hell and I can see why an app, like, Kext Utiiity is handy. But, I'm not giving up, yet. Does the commands below ring any bell?

Screen Shot 2017-12-16 at 3.48.22 AM.png


Do you think the above screenshot are the steps to manually set the kext permission on terminal?
 

h9826790

macrumors P6
Apr 3, 2014
16,656
8,587
Hong Kong
Ok. I'd like to learn how to manually set the kext permission correctly. This way I'd learn something instead of having an app do it for me. But, it is confusing as hell and I can see why an app, like, Kext Utiiity is handy. But, I'm not giving up, yet. Does the commands below ring any bell?

View attachment 742263

Do you think the above screenshot are the steps to manually set the kext permission on terminal?

That looks correct to me.
 

namethisfile

macrumors 65816
Jan 17, 2008
1,190
176
That looks correct to me.

CoOl! AlRigHt! iT wORkEd!!!

Those manual terminal commands did the trick for my RX460 after changing the CFG_FB_LIMIT to "3" for my particular card.

Sleep works, again! And, seems to be fully-working.

UPDATE:

I re-enabled SIP and I am back to square one.

I guess you have to disable SIP for it to keep working, huh?
 
Last edited:
  • Like
Reactions: krakman

h9826790

macrumors P6
Apr 3, 2014
16,656
8,587
Hong Kong
CoOl! AlRigHt! iT wORkEd!!!

Those manual terminal commands did the trick for my RX460 after changing the CFG_FB_LIMIT to "3" for my particular card.

Sleep works, again! And, seems to be fully-working.

UPDATE:

I re-enabled SIP and I am back to square one.

I guess you have to disable SIP for it to keep working, huh?

That's expected. And this is why I asked in post #58

https://forums.macrumors.com/threads/high-sierra-10-13-2-broke-sleep.2093595/page-3#post-25598654

When SIP enabled, any unsigned kext will not be loaded. Once you modded a kext, it's no longer signed by Apple, therefore, the kext should not be loaded. AFAIK there is a command to only disable the SIP kext signature check, but I personally never use it, and I don't really care, I always keep my SIP OFF. Up to this moment, SIP didn't really protect me from anything. All it does is just preventing me to mod my Mac (make it work better, like what you are doing now).
 
  • Like
Reactions: foliovision

zemaker

macrumors 6502
Nov 25, 2011
295
188
Anybody tried the new beta to see, whether it fixed it?
I am off the beta treadmills, but would consider it for a fix.
People on this forum have, and Apple hasn't addressed this issue in the current beta. Still broken!
 

inequals

macrumors member
Jul 15, 2014
31
50
"United" Kingdom
oh my word you guys, I was so disheartened as I'd just managed to get everything working perfectly on my Hack Pro on 10.13.1 (the last thing I managed to fix, and it took a long time, was ensuring that video acceleration as provided by my onboard Intel 630 would continue to work after sleep). Then I updated to 10.13.2, thinking I was so smart with my 100% working Hack, AND NO SLEEP. Then a short Google search brings me to this thread; with a combination of Krakman's steps (minus the Kext Utility parts) and namethisfile's tips for properly hoovering the kernel cat or whatever, I now have a beautifully working Hack again.

If any other smelly Hackintoshers come this way, my config is ASUS TUF MARK 2 Z270 / Intel 630 / ASUS DUAL Radeon 460 2GB (don't laugh at me guys, I just got that card because it was cheap. I then found out it's very close to the actual configs used by Apple, so it's kind of handy to have around. This will be a VR machine hopefully one day though and then I'll put something ridiculous like a 1080Ti or something.

LONG WAY TO SAY THANK YOU BUT THANK YOU. I laughed to myself thinking about computer problems back in the day. In most cases you were just screwed. But then came the internet. None of us have independent brains any more - we're all hooked in to a distributed database of knowledge (and ********s). I personally think it's incredible, and would personally hoover all the cats of the people on this forum. Thank you.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.