Contribute
Register

Enabling AMD RX 4XX cards in Sierra.

Joined
May 15, 2016
Messages
4,507
Motherboard
GIGABYTE Z170M D3H
CPU
i5-6500
Graphics
RX 480
Mac
iMac
This is a guide for using Kext modifications to enable AMD RX 470-480 graphics cards acceleration.

AMD RX 460 cards or at least 2-3 brands work by simply using CPU integrated graphics mode. The Gigabyte RX 460 no 6 pin power model, and the Sasphire RX 460 are both reported to be working. I think a Powercooler model was also reported that I know of. My Gigabyte RX 460 has been running in Sierra since September of 2016 or since the early Sierra betas without any need to adjust anything other than IGFX, IGD, or IGPU as primary display output (integrated graphics mode). If you have an X99 board you can use a lesser AMD or Nvidia graphics cards as a placebo integrated graphics device, or IGFX/IGPU. I have tested it and others report it working with any apple supported graphics card like GT210, 8400GT, or AMD HD 5000, 7000 series. A $35 helper card can allow the RX cards to function if you have no internal or CPU graphics options.

Other Alternative Methods. If you are in Sierra 12.2, 12.3 you may be able to simply use ATI fake ID 0x67EF1002 to achieve graphics accelleration of your card. Try your clover boot screen menu and add it to Graphics settings in boot screen menu. **As of Sierra beta 12.4 this will no longer work because the AMD9500ControlerKext has been replaced with the AMD 9510ControllerKext and it no longer contains the 0x67Df1002 definition. There are other methods that are using clover to inject kexts, or kext mods as well but for simplistic sake this guide will only cover the Manual kext modification or info.plist edit.
These types of fixes offer benefits like withstanding updates, unless a kext is changed or a value, or the kext to be fixed is removed (9500kext no longer in Sierra 12.4). These fixes have to be re written as this happens so in a setup with El Capitan with a major update every six months or so they offer security for minor updates, but for Sierra they may be a crutch. Sierra changes like the wind or at least the betas do and I have found that this guide serves me well and after you've done it a few times is quite easy to master. After an update it takes me about 2-3 minutes to fix my graphics card. The update takes 20 minutes or more so its a small amount of time to get trouble free support.

AMD RX 470-480 Most major brands have been reported working, some brands have seen more reports of success or user compatibility. XFX, Sapphire, Powercoller, MSI, have all been well documented to work well for many users. Gigabyte and Asus models have been reported to work for some but for others they reported problems. I tried Asus, Gigabyte, Sapphire, and XFX RX 470 and 480 models in the testing thread when Sierra was in the early stages and the Asus and Gigabyte cards were a no go. However, theoretically they should all work but some just seem to have a better success report card. Others recently reported them working which is a good to know, I still hear people struggling with some of those cards.

*Make sure to set your mobo bios settings to IGFX, IGD, IGPU as primary display output (internal graphics, the intel CPU graphics), minimum allocated memory to 64mb, and set to Enabled or Auto if possible. My Gigabyte board has the IGFX selection in peripherals menu, and the Auto setting in Chipset menu. You will need to connect to your motherboard graphics to see the clover boot screen and or bios screen, and during the middle of the boot process this screen usually drops out and the RX card shows the boot screen. I currently use a single monitor with my motherboard connection a VGA cable ( for boot screen), and HDMI to my RX 480. My GUI settings are set at 1920x1080 so the VGA screen drops out of support during boot and the RX takes over on the same display. Some displays may require manually changing the screen selection HDMI 1, HDMI2 VGA, etc... If you have only one display connection you can hot swap it after boot. Sierra has some very different display settings that you will need to get used to by experimenting with them depending on how many monitors or which type(s).

*X99 System users can use a helper graphics card to get the RX 4XX cards to work if they don't have a CPU graphics chip. Nvidia gt210, 710, 8400gt etc.. or an AMD card that has native support in Sierra like a HD 5000, or 7000 series, R9 270, 280 etc.. You will need to have extra PCIE slots and place the helper card in slot one and the RX in slot two. This has worked for many X99 users but there are exceptions if the board doesn't let you configure your PCIe lanes, or if they don't automatically configure.

*For Skylake CPU users if you haven't set up Intel HD 530 graphics fixes try these simple steps to get easy SKL CRB 1536mb graphics with ARBG2101010 30 bit color and metal support. When using a graphics card (supported) the HD 530 glitches are not an issue so you don't need to fix them for premium performance. In Clover boot screen menu set Intel Fake ID to 0x19120003, and below it set ig. to 0a206080. Do not inject Intel, or Intel=false. You can set it permanently using clover configurator or other means later.

*For Haswell users In Clover boot screen menu set Inject Intel=true, set Intel fake ID to 0x04128086, and ig# below it to 0d220003, for Haswell systems for acceleration. Only the Skylake SKL CRB setup will work without Intel injection and get acceleration and metal support. For other older systems inject Intel should generally be used.

If you don't use any fix for CPU graphics the RX cards will work. If you have Display 7mb it means you have default framebuffers working but no acceleration for CPU graphics and it will support the RX cards but it is much better to have metal supported 1536mb graphics to support the RX cards.


Required Apps. Kext Wizzard or equivalent kext repair tool that does repair permissions and clears caches. This guide is using TexEdit which come with Sierra in apps section. It can also be done using Xcode to open the info.plist files.

Optional Apps. Xcode, iHex, IORegistry, Clover Configurator.

FOR SIERRA 12.4 modifying the AMD9510ControllerKext is now required. For Sierra 12.3 users follow the first screen shot and then skip to the AMD 4100kext below.

This is a sample of the AMD9510ControllerKext "info.plist" edit which is now required for Sierra 12.4 (Beta) If the ATI fake ID doesn't work for you in Sierra 12.3 or you want to run this method as it may be required for future updates (12.4) continue on.

Go to Systems/Librariy/Extensions.
System:Libraries:Extensions.png


Go to AMD9510ControllerKext and right click "Show Package Contents" select.

9510 show package contents.png


Drag the info.plist to the desktop, now select desktop copy and duplicate or copy and create a backup folder for the info.plist, place it in the folder to save as a backup. Probably not necessary but in case you want to revert your fix. Now right click on the desktop copy of info.plist and select "open with other" select "TexEdit" and open the file.

9510 plist open with TexEdit.png


In TexEdit scroll down until you see the 0x67EF1002 which is for the RX 460 cards. Either place 0x67DF1002 before or after the 0x67EF1002 definition and leave just one space bar between the two. After you have added the 067DF1002 hit save and then close textedit.

9510kext edit..png


Make sure that you moved the "info.plist" when you opened up the "contents" folder and placed it on desktop to make the changes. Make the changes, select save, and return the file to contents folder. You will get "Authentication and replace" prompts and then enter your password. If you get only "Authentication' and then password STOP the info.plist is not in the right place so hit cancel. Do not use the password unless you have both the "Authenticate and Replace" prompts. After replacing the info.plist you need to run Kext Wizzard or equivalent kext tool. It is absolutely critical that you run this prior to rebooting after making these edits. Do not reboot until you have fixed permissions and repaired caches with a kext tool.

The AMD4100kKext edit
Follow the steps above System/Library/Extensions, and then select the AMD4100Kext. Right click on it and select "Show Package Contents". Drag a copy of the info.plist to your desktop. Make a folder to place another copy of the info.plist in for a backup (optional). Right click on the desktop copy and select "open with' choose "other". Scroll down to "TexEdit" and open.
9510 plist open with TexEdit.png

Scroll down to the 0x67EF1002 definition and place the 0x67DF1002 one space behind it as shown in the picture below. You can also change on of the 0x67EF1002 to 0x676DF1002 but its just as easy to add it. Hit save and close the TexEdit app. Drag the desktop copy of info.plist to the folder. You will get "Authentication and replace" prompts and then enter your password. If you get only "Authentication' and then password STOP the info.plist is not in the right place so hit cancel. Do not use the password unless you have both the "Authenticate and Replace" prompts. After replacing the info.plist you need to run Kext Wizzard or equivalent kext tool. It is absolutely critical that you run this prior to rebooting after making these edits. Do not reboot until you have fixed permissions and repaired caches with a kext tool.

AMD4100kext edit.png


Reboot and check "About This Mac" select "System Report" tab and select "Graphics Displays". Check for "metal' supported status. Open IORegistry and check to see if the 4100kext is loaded.
About this Mac IOregistry.png


To fix the R9 xxx download iHex, its free. Go to System/Library/Extensions/AMD9500controllerkext and right click to get "show package contents" then open the "macOS" folder. There willl be the controller there drag it to desktop. Open iHex and drag the desktop copy of 9500Controller to iHex window. Select find.
View attachment 241173

Select "text" on top left of window, and type in R9 xxx in the FIND window. Now, type in RX 480 in the REPLACE window. Select "Next" be careful to only hit it once. You should see a yellow or Amariilo color. Now select the "Replace' tab only once. Hit save, and close the application.
View attachment 241174

Drag the 9500controller back to the folder and follow the "Authenticate and Replace" prompts. Run Kext Wizzard and then reboot.



**As of 12/3/16 Polaris 10 support is in Sierra Beta 4 version, and now there is Vega 10 (the new unreleased AMD card Polaris10xt2) in the AMD9500Controllerkext.
 

Attachments

Last edited:
Joined
Jul 2, 2016
Messages
358
Motherboard
GA-Z270-HD3
CPU
i7-7700K
Graphics
RX 580
Mac
iMac
Classic Mac
iMac
I created a picture guide to getting your cards "supported" status and acceleration. The 460 and 470 cards seem to be the most stable and the XFX 480 8gb reference model I have tested is unstable and tends to bug out of Uningine Benchmark.

Make sure to remove the AMD4000kext from folder and place on desktop to make the changes. Also if you feel uneasy create an extra folder and keep a copy of the kext in it in case you want to change back. I have repeated this method three times and have gotten acceleration after boot and now have "integrated" Intel and AMD graphics in "supported" status.

Please provide feedback and results, benchmarks would be appreciated as well as particular card brands and specs

picture guide to AMD RX 4xx activation.zip
great job!
 
Joined
Jul 31, 2015
Messages
73
Motherboard
GA-H81M-S2H
CPU
i3 4330
Graphics
GTX 950
Mac
iMac, MacBook Pro
Classic Mac
Mobile Phone
iOS
Wow, is it really as easy as editing and copying a frame buffer number? Is that whats happening here? Never done it before so a few written instructions to accompany would be an amazing help...
 
Joined
May 15, 2016
Messages
4,507
Motherboard
GIGABYTE Z170M D3H
CPU
i5-6500
Graphics
RX 480
Mac
iMac
Wow, is it really as easy as editing and copying a frame buffer number? Is that whats happening here? Never done it before so a few written instructions to accompany would be an amazing help...
Watch the YouTube video (Philips garage). Rx480 in Sierra, he moves along pretty quickly, if you watch it a few times these pictures will make a lot of sense.

I will get to it soon don't forget to use the clover graphics settings as well ( I updated the pictorial, its a movie zip file now and includes clover graphics settings). I used clover configurator and have it auto loading my settings at boot and reboot, if they're not loaded correctly you won't get the driver loaded and get "supported" status in "about this mac, system report". This comes in handy when you do a blackscreen boot. get everything ready and before you hit return to boot switch the HDMI cable to the graphics card, it will go black until you get to log in screen. if you hear the whoosh of your graphics card you know you're getting support before you get in. Its a wonderful sound to hear after experiencing weeks of idle graphics cards. You can also boot using board HDMI but the graphics card then shares the boost power with the board, using only the HDMI on card gets max acceleration out of the card. Try both methods when you get it working.

Also, check out the "Need testers for new AMD Radeon drivers" thread on the Home page go to bottom and select page 2 it's about mid way down. The video link is there as well graphics settings I used after trying it.
 
Last edited:
Joined
May 15, 2016
Messages
4,507
Motherboard
GIGABYTE Z170M D3H
CPU
i5-6500
Graphics
RX 480
Mac
iMac
great job!
Thank you, I did it over with screenshots and made an MP4vzip. Let me know if you were able to get a card working please. We're trying to gather list of working AMD cards in Sierra any info anyone has would be appreciated.
 
Joined
Sep 8, 2016
Messages
3
Motherboard
MSI B150m
CPU
i5-6500
Graphics
RX470
Hey guy,I saw ur video,my card is Dataland RX470 4G, so i just modify the AMD4000kext and change the IOPCIMATCH 0x67E01002 to 0x67DF1002 that mark the RX470 fully work and show the QE effect?
 
Joined
Jul 31, 2015
Messages
73
Motherboard
GA-H81M-S2H
CPU
i3 4330
Graphics
GTX 950
Mac
iMac, MacBook Pro
Classic Mac
Mobile Phone
iOS
Watch the YouTube video (Philips garage). Rx480 in Sierra, he moves along pretty quickly, if you watch it a few times these pictures will make a lot of sense...

...The video link is there as well graphics settings I used after trying it.
Cheers for there reply buddy. The video looks a lot clearer. I'll try and get my head round it all (Its very simple I know but I am not very experienced with such things) and might even buy a card and give it a go for ya...
 
Joined
May 15, 2016
Messages
4,507
Motherboard
GIGABYTE Z170M D3H
CPU
i5-6500
Graphics
RX 480
Mac
iMac
Cheers for there reply buddy. The video looks a lot clearer. I'll try and get my head round it all (Its very simple I know but I am not very experienced with such things) and might even buy a card and give it a go for ya...
Make sure that you remove the info.plist from the contents folder to make changes, save changes before replacing the file to the contents folder. It will ask for authentication and replace option will pop up if you did it right. you can save a copy of the original info.plist but put it in a folder so you don't put it back unchanged by mistake. Restart and check your changes by repeating the process without removing the info.plist, just open it in place and see if the code changed. Check card status and then reboot with cable connected to card (black screen boot) and you should have acceleration. you should hear the card accelerating as it boots before you see the log in screen. If you hear that you will be happy.

We have tested
480s
XFX RX 480 reference model 8gb. poor support but has acceleration, will not pass uningine benchmark.
Sapphire RX 480 *gb ? Mork has had success with this model, i have no data.

470s
MSI RX 470 4gb Gaming good acceleration, very good uningine benchmarks close to windows runs with an 8gb ram model.

460s
XFX RX 460 4gb. No support, no acceleration.
Asus FX 460 4gb. No support, no acceleration.
Gigabyte RX 460 2gb Support, passes Unigine benchmarks on lower settings.
Gigabyte RX 460 4gb Support, passes Unigine on high and ultra settings. Much better scores than the 2gb model.


If anyone can report more functioning cards please do.

There are a few more brands to try out and there seems to be a difference between the RX 460 variants as the Gigabyte models are the only ones we know will work Out Of Box/with bios IGFX changes.
 
Last edited:
Joined
May 15, 2016
Messages
4,507
Motherboard
GIGABYTE Z170M D3H
CPU
i5-6500
Graphics
RX 480
Mac
iMac
Hey guy,I saw ur video,my card is Dataland RX470 4G, so i just modify the AMD4000kext and change the IOPCIMATCH 0x67E01002 to 0x67DF1002 that mark the RX470 fully work and show the QE effect?
Make sure to remove the info.plist from contents folder to make changes, return it and follow the authentication and replace options. Reboot and check card support status by checking the About this Mac then system report. Go to the Apple on the top left of upper tool bar to select About this Mac.
 
Joined
Aug 27, 2012
Messages
22
Motherboard
intel
CPU
intel
Graphics
nvidia
Mobile Phone
iOS
Hello,
Applause for the effort you're putting it :)

I have been searching different forums since last 4-5 hours (crazily!)
My Rig:

i3-4160 [HD 4400 not supported]
8 Gigs RAM
XFX RX 460 4GB [Sad! Labour day sale! Got it cheap]
Since there's no way to return this particular card,
I would like to know and test if there're any alternate way like loading custom vbios [no luck there with asus bios posted somewhere on the forum]
If you can provide me rom file of gigabyte 460 4gig variant along with device id,
I can test it and post results overnight.

Thanks youu!
Looking forward for your reply.

PS: This is not my first hackintosh though with AMD card it is.
 
Top