Mehrab Posted March 28, 2017 Share Posted March 28, 2017 Hey, I just updated to MacOs 10.12.4, I haven't updated or changed any kext they are all vanilla. But I am using a fake SMC for the rx480. And it is being detected by default by Sierra. I can boot MacOs without a helper card by setting my rx480 to primary card. The kext seems to load with no errors but I am not getting acceleration only reports 6mb vram. Also, the RX 480 does not work in helper card mode now. Thanks in advanced. Link to comment Share on other sites More sharing options...
Mehrab Posted March 28, 2017 Author Share Posted March 28, 2017 Edit: nevermind just added 0xDF and 0xFF into the driver kext and it's working fine now. 2 Link to comment Share on other sites More sharing options...
antagon Posted March 28, 2017 Share Posted March 28, 2017 Where did you add 0xFF? You you explain that a little bit more detailed? Sent from my ONEPLUS A3003 using Tapatalk Link to comment Share on other sites More sharing options...
Mehrab Posted March 28, 2017 Author Share Posted March 28, 2017 /System/Library/Extensions/AMDRadeonX4100.kext/Contents/Info.plist --> add 0x67DF1002 or 0x67FF1002 to IOPCIMatch /System/Library/Extensions/AMD9510Controller.kext/Contents/Info.plist --> add 0x67DF1002 or 0x67FF1002 to IOPCIMatch Doing this will give you better acceleration and correct VRAM but requires you to use the helper card method again. Also, the card goes from being detected as a RX480 to R9 XXX again. 1 Link to comment Share on other sites More sharing options...
Ciro82 Posted March 28, 2017 Share Posted March 28, 2017 67FF does nothing, 67DF is enough... Link to comment Share on other sites More sharing options...
antagon Posted March 29, 2017 Share Posted March 29, 2017 I found this Terminal patches @macrumors. Together with the Clover edits they lead to fully working card. Card is recognised properly, 36 CUs are working, HDMI-Audio (since 12.4) Kextpatch via: sudo nano /System/Library/Extensions/AMDRadeonX4100.kext/Contents/Info.plist # add 0x67DF1002 to IOPCIMatch sudo nano /System/Library/Extensions/AMD9510Controller.kext/Contents/Info.plist # add 0x67DF1002 to IOPCIMatch sudo LC_ALL=C /usr/bin/sed -i '.bk' 's@AMD R9 xxx@AMD RX 480@g' /System/Library/Extensions/AMD9510Controller.kext/Contents/MacOS/AMD9510Controller ; sudo mv /System/Library/Extensions/AMD9510Controller.kext/Contents/MacOS/AMD9510Controller.bk ~/tmp/ Repair/ rebuild permissions/ cache e.g. via: sudo /Applications/Kext\ Utility.app/Contents/MacOS/Kext\ Utility # wait a few minutes until it is probably finished, then control-c sudo rebootClover patches: ACPI -> Fix_Display Devices -> Fake ID 0x67DF1002 KextsToPatch -> 3 x AMDRadeonX4100 patches Name AMDRadeonX4100 Find 48b80200 00000100 00004889 4354c7437c080000 00 Replace 48b80400 00000100 00004889 4354c7437c120000 00 Comment Change_#_of_RX4x0_CUs-©_by_okrasit_2016 MatchOS 10.12.x Name AMDRadeonX4100 Find 0f42c889 8b800000 004488b3 9900000044887320 Replace 90909089 8b800000 004488b3 9900000044887320 Comment Remove_CU_limit_of_RX4x0-©_by_okrasit_2016 MatchOS 10.12.x Name AMDRadeonX4100 Find e84985fe ffbe4801 00004c89 f7 Replace e846e400 00be4801 00004c89 f7 Comment Change_init_from_BAFFIN_to_ELLESMERE-©_by_Fl0r!an_2016 MatchOS 10.12.x 3 Link to comment Share on other sites More sharing options...
VirusX Posted March 29, 2017 Share Posted March 29, 2017 Together with the Clover edits they lead to fully working card. Card is recognised properly, 36 CUs are working, HDMI-Audio (since 12.4) that would be awesome news!! I hope I'll find some time in the next few days to test that... maybe on the weekend Link to comment Share on other sites More sharing options...
Mehrab Posted March 29, 2017 Author Share Posted March 29, 2017 I found this Terminal patches @macrumors. Together with the Clover edits they lead to fully working card. Card is recognised properly, 36 CUs are working, HDMI-Audio (since 12.4) Kextpatch via: sudo nano /System/Library/Extensions/AMDRadeonX4100.kext/Contents/Info.plist # add 0x67DF1002 to IOPCIMatch sudo nano /System/Library/Extensions/AMD9510Controller.kext/Contents/Info.plist # add 0x67DF1002 to IOPCIMatch sudo LC_ALL=C /usr/bin/sed -i '.bk' 's@AMD R9 xxx@AMD RX 480@g' /System/Library/Extensions/AMD9510Controller.kext/Contents/MacOS/AMD9510Controller ; sudo mv /System/Library/Extensions/AMD9510Controller.kext/Contents/MacOS/AMD9510Controller.bk ~/tmp/ Repair/ rebuild permissions/ cache e.g. via: sudo /Applications/Kext\ Utility.app/Contents/MacOS/Kext\ Utility # wait a few minutes until it is probably finished, then control-c sudo reboot Clover patches: ACPI -> Fix_Display Devices -> Fake ID 0x67DF1002 KextsToPatch -> 3 x AMDRadeonX4100 patches Name AMDRadeonX4100 Find 48b80200 00000100 00004889 4354c743 7c080000 00 Replace 48b80400 00000100 00004889 4354c743 7c120000 00 Comment Change_#_of_RX4x0_CUs-©_by_okrasit_2016 MatchOS 10.12.x Name AMDRadeonX4100 Find 0f42c889 8b800000 004488b3 99000000 44887320 Replace 90909089 8b800000 004488b3 99000000 44887320 Comment Remove_CU_limit_of_RX4x0-©_by_okrasit_2016 MatchOS 10.12.x Name AMDRadeonX4100 Find e84985fe ffbe4801 00004c89 f7 Replace e846e400 00be4801 00004c89 f7 Comment Change_init_from_BAFFIN_to_ELLESMERE-©_by_Fl0r!an_2016 MatchOS 10.12.x Does it still require you to use a helper card or not? Could you send me a copy of your plist for me to examine? Link to comment Share on other sites More sharing options...
antagon Posted March 29, 2017 Share Posted March 29, 2017 Helper Card necessary, I tried to upload the plist, but I could not find an option to do that... Tell me how and you'll have it Sent from my ONEPLUS A3003 using Tapatalk Link to comment Share on other sites More sharing options...
Mehrab Posted March 29, 2017 Author Share Posted March 29, 2017 I found the patches and applied them. My card boots up fine as a secondary display. How do I know if it is working? (Also to upload plist, I think you need to zip them first, it's under reply more option) Link to comment Share on other sites More sharing options...
antagon Posted March 29, 2017 Share Posted March 29, 2017 If you have full acceleration it works. Additionally check those pictures i attached. Archive.rar 1 Link to comment Share on other sites More sharing options...
Scrati Posted April 27, 2017 Share Posted April 27, 2017 Hi,yesterday I updated to 10.12.4. I did the additional change in the AMD9510Controller.kext and did the change in the AMDRadeonX4100.kext which was already necessary before the update.What is happening now? I get at least the card to work hence I have a screen on my second monitor and it is shown as r9 xxx. But no graphics acceleration and something went wrong with the colors. The admin user has a complete red background, but after the update and the changes it turns out to be blue. On my second monitor everything is fine via the Intel iGPU.After that I tried the additional changes in post#6 resulting in a kernerl exception.Anyone any ideas? Your help is much appreciated. Link to comment Share on other sites More sharing options...
Scrati Posted April 27, 2017 Share Posted April 27, 2017 Hi, a small update. The colours are fine now the monitor profiles were messed up. Nevertheless there is no graphic acceleration even though the card is identified properly. (See screenshot) I have an Intel i7 4790K (with 4600 graphics) and an RX480 on the second monitor. I have no idea what is going wrong. Clover version is 2.3 3994 If I use Clover 2.4 4016 I do not get the iGPU as well as the rx480 to work properly. Link to comment Share on other sites More sharing options...
Pavo Posted April 27, 2017 Share Posted April 27, 2017 Hi, a small update. The colours are fine now the monitor profiles were messed up. Nevertheless there is no graphic acceleration even though the card is identified properly. (See screenshot) I have an Intel i7 4790K (with 4600 graphics) and an RX480 on the second monitor. I have no idea what is going wrong. Clover version is 2.3 3994 If I use Clover 2.4 4016 I do not get the iGPU as well as the rx480 to work properly. You don't need to mod any kext using Clover, just use fakeid 0x100267ef under Devices in Clover and you don't need to inject Ati and that will get you full acceleration 1 Link to comment Share on other sites More sharing options...
Scrati Posted April 27, 2017 Share Posted April 27, 2017 Hi Pavo, thx for reply. That way around including the kext adaption to 0x67DF1002 ? I am sorry, but I have never read of this workaround with an RX480. Link to comment Share on other sites More sharing options...
Recommended Posts