Contribute
Register

Radeon Compatibility Guide - ATI/AMD Graphics Cards

Gigamaxx

Moderator
Joined
May 15, 2016
Messages
6,583
Motherboard
GIGABYTE X470 Arous Gaming 7 WiFi
CPU
Ryzen R9 3900X
Graphics
RX 480
Mac
  1. iMac
Radeon RX Vega M GL is on the NUC8 Hades Canyon. Which I have but no GPU support yet that I have found.

333557-intel-hades-canyon-nuc-nuc8i7hvk
This is a link to some early testing we did at another site. I returned my NUC after a couple of weeks of testing it didn't prove to be feasible at this point. Mojave did add 3 new Vega IDs to the 10000controllerkext but none match the nuc ID yet. There is still hope though if Apple adopts this chip or one very similar. Here are some Pciid kexts we were testing with to initiate the graphics. Credits RehabMan. It would be nice to get these working.
 

Attachments

  • FakePCIID_Vega_Integrated_Test_ID1.kext.zip
    2.6 KB · Views: 209
  • FakePCIID_Vega_Integrated_Test_ID2.kext.zip
    2.6 KB · Views: 207
Joined
Jan 26, 2014
Messages
1,341
Motherboard
Asus P5LP-LE
CPU
Core 2 Duo
Graphics
Nvidia GeForce GT 640
Mac
  1. Mac Pro
Mobile Phone
  1. iOS
Hello all since Mojave is out there have been some significant AMD graphics changes. Most all pre metal support cards have been completely dropped. So everything using AMD6000Controller.kext and early are no longer supported natively. With all these changes I have updated the AMD framebuffer script to work with Mojave. Additionally the framebuffer connecter data has also changed. Anyhow without further hold up here's the new script

PHP:
<?php
function padHex($d,$l) {return str_pad(dechex($d),$l,'0',STR_PAD_LEFT);}
function toHex($s){$i=0;$t='';while(isset($s[$i])){$t.=padHex(ord($s[$i++]),2);}return $t;}
function toStr($h){$s='';$i=4;while($i-->0){$s.=chr($h>>(8*$i)&0xFF);}return $s;}
$ctype=array('02000000'=>'LVDS','04000000'=>'DVI-D','08000000'=>'SVIDEO','10000000'=>'VGA','00020000'=>'DVI-SL','00040000'=>'DP','00080000'=>'HDMI','00100000'=>'UNKNOWN');
foreach(glob('/System/Library/Extensions/'.(file_exists('/System/Library/Extensions/AMD7000Controller.kext') ? 'AMD' : 'ATI').'*Controller.kext') as $file) {
    echo str_pad(substr(strrchr($file,'/'),1),72,'-',STR_PAD_BOTH)."\n\n";
    $file=array_pop(glob("$file/Contents/MacOS/*"));
    $a=popen("otool -Xvt $file",'r');
    $b=fopen($file,'r');
    while ($l=fgets($a)) {
        if (strncmp($l,'__ZN',4)!=0 || ($i=strpos($l,'Info10createInfo'))===false) continue;
        $f=new stdClass();
        $f->name=substr($l,5+is_numeric($l[5]),$i-5-is_numeric($l[5]));
        while(($l=fgets($a)) && strpos($l,'ret')===false) {
            if (strpos($l,'leaq')!==false) $f->addr=hexdec(substr($l,6,strpos($l,'(')-6));
            if (!isset($f->ports) && strpos($l,"movb\t$")!==false) $f->ports=hexdec(substr($l,strpos($l,'$'),strpos($l,',')-strpos($l,'$')))&0xFF;
            if (strpos($l,'jl')!==false) $i=hexdec(substr($l,4));
            if (strpos($l,'jmp')!==false) $i=hexdec(substr($l,4)) + 0x1A;
        }
        $f->addr+=$i;
        echo "$f->name ($f->ports) @ 0x".dechex($f->addr)."\n";
        $t=$p=array();
        fseek($b,$f->addr);
        while($f->ports-- > 0) $p[]=$ctype[substr($t[]=toHex(fread($b,24)),0,8)];
        echo implode(', ',$p)."\n";
        echo implode("\n",$t)."\n\n";
    }
    pclose($a);
    fclose($b);
}

This script requires Xcode developer command line tools to be installed.

sample output

Code:
------------------------AMD10000Controller.kext-------------------------

Ucayali (6) @ 0x5d580
LVDS, LVDS, DP, DP, DP, DP
020000000001000008010141220000001102020400000000
020000000001000008010231130000002103010300000000
000400000001000000010313400000002001030100000000
000400000001000000010421300000001000050500000000
000400000001000000010553600000002205040200000000
000400000001000000010661500000001204060600000000

Exmoor (6) @ 0x5d610
LVDS, LVDS, DP, DP, DP, DP
020000000001000000010151200000002205020400000000
020000000001000000010261110000001204010300000000
000400000403000000010343400000001102030100000000
000400000001000000010431300000002103050500000000
000400000403000000010523600000001000040200000000
000400000001000000010611500000002001050500000000

Wenamu (6) @ 0x5d9d0
DP, DP, DP, DP, DP, DP
000400000403000000010153200000002205020200000000
000400000403000000010263100000001204010100000000
000400000403000000010313400000002001050600000000
000400000403000000010423300000001000060500000000
000400000403000000010533600000002103040400000000
000400000403000000010643500000001102030300000000

Valdivia (6) @ 0x5da60
LVDS, LVDS, DP, DP, DP, DP
020000000001000008010141220000001102020400000000
020000000001000008010231120000002103010300000000
000400000001000000010313400000002001030100000000
000400000001000000010423300000001000050500000000
000400000001000000010553600000002205040200000000
000400000001000000010663500000001204060600000000

Xingu (5) @ 0x5dcb0
LVDS, DP, DP, DP, DP
020000000001000039050108000000002001060600000000
000400000001000000010243300000001000050500000000
000400000001000000010313200000002103040400000000
000400000001000000010463500000001102030300000000
000400000001000000010533400000002205020200000000

Kamarang (4) @ 0x5dd30
DP, DP, DP, HDMI
000400000403000000010101000000002205020200000000
000400000403000000010201000000001204010100000000
000400000403000000010300000000001000050500000000
000800000402000000010400000000002001060600000000

Zutia (6) @ 0x5ff80
DP, DP, DP, DP, DP, DP
000400000403000000010101000000001000060600000000
000400000403000000010201000000002001050500000000
000400000403000000010301000000001102040400000000
000400000403000000010401000000002103030300000000
000400000403000000010501000000002205010100000000
000400000403000000010601000000001204020200000000

Japura (6) @ 0x601a0
LVDS, LVDS, DP, DP, DP, DP
020000000001000008010151220000002205020200000000
020000000001000008010261120000001204010100000000
000400000001000000010313400000002001050600000000
000400000001000000010423300000001000060500000000
000400000001000000010543600000001102030300000000
000400000001000000010633500000002103040400000000

Araguaia (6) @ 0x603a0
DP, DP, DP, DP, DP, DP
000400000001000000010123200000001000050600000000
000400000001000000010213100000002001060500000000
000400000001000000010343400000001102040400000000
000400000001000000010433300000002103030300000000
000400000001000000010563600000001204020200000000
000400000001000000010653500000002205010100000000

Rapel (4) @ 0x666d0
DP, DP, DP, DP
000400000403000000010101000000002205020200000000
000400000403000000010201000000001102030300000000
000400000403000000010301000000001000050500000000
000400000403000000010401000000002001060600000000

Iriri (4) @ 0x6e730
DP, DP, DP, HDMI
000400000403000000010101000000002205020200000000
000400000403000000010201000000001204010100000000
000400000403000000010300000000001000050500000000
000800000402000000010400000000002001060600000000

Baladi (6) @ 0x6f470
DP, DP, DP, DP, DP, DP
000400000403000000010300000000001204030300000000
000400000403000000010100000000001102010100000000
000400000403000000010200000000002103020200000000
000400000403000000010400000000002205040400000000
000400000403000000010500000000001000050500000000
000400000403000000010600000000002001060600000000

-------------------------AMD7000Controller.kext-------------------------

Ramen (6) @ 0x58ee0
LVDS, HDMI, DP, DP, DP, DP
020000000001000039050108000000002001050600000000
000800000402000000010200000000001000030500000000
000400000403000000010343400000001102010100000000
000400000001000000010431300000002103040300000000
000400000403000000010563600000001204020200000000
000400000001000000010651500000002205040300000000

Tako (6) @ 0x58fe0
LVDS, LVDS, DP, DP, DP, DP
020000000001000000010151200000002205020400000000
020000000001000000010261110000001204010300000000
000400000403000000010343400000001102030100000000
000400000001000000010431300000002103050500000000
000400000403000000010523600000001000040200000000
000400000001000000010611500000002001050500000000

Namako (4) @ 0x59070
LVDS, LVDS, DP, DP
020000000001000000010151200000002205020200000000
020000000001000000010261110000001204010100000000
000400000403000000010343400000001102030300000000
000400000403000000010433300000002103040400000000

Aji (4) @ 0x59150
DP, DP, DVI-D, HDMI
000400000403000000010101000000001204050100000000
000400000403000000010201000000002205040200000000
040000001402000000010300000000000000030600000000
000800000402000000010400000000001102010400000000

Buri (4) @ 0x591b0
LVDS, DP, DP, HDMI
020000000001000039050100000000001000050500000000
000400000403000000090200000000001102010100000000
000400000403000000090300000000002103020200000000
000800000402000000010400000000001204030300000000

Chutoro (5) @ 0x59210
LVDS, DP, DP, DP, DP
020000000001000019010100000000001204030300000000
000400000403000000010201000000001102010100000000
000400000001000000090300000000002103020200000000
000400000001000000090400000000002205040400000000
000400000403000000010500000000001000050500000000

Dashimaki (4) @ 0x59290
DP, DP, DVI-D, HDMI
000400000403000000010101000000001204020200000000
000400000403000000010200000000002205030500000000
040000001402000000010301000000000000040400000000
000800000402000000010400000000001102010100000000

Ebi (5) @ 0x59300
LVDS, DP, DP, DP, DP
020000000001000019010100000000001204030300000000
000400000403000000010201000000001102010100000000
000400000001000000090301000000002103020200000000
000400000001000000090401000000002205040400000000
000400000403000000010501000000001000050500000000

Gari (5) @ 0x59380
LVDS, DP, DP, DP, DP
020000000001000019010100000000001204030300000000
000400000403000000010201000000001102010100000000
000400000001000000090300000000002103020200000000
000400000001000000090400000000002205040400000000
000400000403000000010500000000001000050500000000

Futomaki (4) @ 0x59400
DP, DP, DVI-D, HDMI
000400000403000000010101000000001204040100000000
000400000403000000010201000000002205050200000000
040000001402000000010300000000000000060600000000
000800000402000000010400000000001102010300000000

Hamachi (4) @ 0x59460
DP, DP, DVI-D, HDMI
000400000403000000010101000000001204050100000000
000400000403000000010201000000002205040200000000
040000001402000000010300000000000000030600000000
000800000402000000010400000000001102010400000000

OPM (6) @ 0x59500
DP, DP, DP, DP, DP, DP
000400000403000000010001000000001102010100000000
000400000403000000010001000000002103020200000000
000400000403000000010001000000001204030300000000
000400000403000000010001000000002205040400000000
000400000403000000010001000000001000050500000000
000400001403000000010001000000002001060600000000

Ikura (1) @ 0x595a0
HDMI
000800000402000000010100000000001204030100000000

IkuraS (6) @ 0x595c0
DP, DP, DP, DP, DP, DP
000400000403000000010143200000001102010300000000
000400000403000000010233100000002103020400000000
000400000403000000010363400000001204030100000000
000400000403000000010453300000002205040200000000
000400000403000000010523600000001000050500000000
000400000403000000010613500000002001060600000000

Junsai (6) @ 0x59650
DP, DP, DP, DP, DP, DP
000400000403000000010001000000001204030100000000
000400000403000000010001000000002205040200000000
000400000403000000010001000000001102010300000000
000400000403000000010001000000002103020400000000
000400000403000000010001000000001000050500000000
000400000403000000010001000000002001060600000000

Kani (1) @ 0x596e0
HDMI
000800000402000000010100000000001204030100000000

KaniS (6) @ 0x59700
DP, DP, DP, DP, DP, DP
000400000403000000010143200000001102010300000000
000400000403000000010233100000002103020400000000
000400000403000000010363400000001204030100000000
000400000403000000010453300000002205040200000000
000400000403000000010523600000001000050500000000
000400000403000000010613500000002001060600000000

DashimakiS (4) @ 0x59790
DP, DP, DVI-D, HDMI
000400000403000000010101000000001204020200000000
000400000403000000010201000000002205030500000000
040000001402000000010300000000000000040400000000
000800000402000000010400000000001102010100000000

Maguro (1) @ 0x597f0
HDMI
000800000402000000010100000000001204030100000000

MaguroS (6) @ 0x59810
DP, DP, DP, DP, DP, DP
000400000403000000010143200000001102010300000000
000400000403000000010233100000002103020400000000
000400000403000000010363400000001204030100000000
000400000403000000010453300000002205040200000000
000400000403000000010523600000001000050500000000
000400000403000000010613500000002001060600000000

-------------------------AMD8000Controller.kext-------------------------

Exmoor (6) @ 0x5a0f0
LVDS, LVDS, DP, DP, DP, DP
020000000001000000010151200000002205020400000000
020000000001000000010261110000001204010300000000
000400000403000000010343400000001102030100000000
000400000001000000010431300000002103050500000000
000400000403000000010523600000001000040200000000
000400000001000000010611500000002001050500000000

Baladi (6) @ 0x5a2a0
DP, DP, DP, DP, DP, DP
000400000403000000010300000000001204030300000000
000400000403000000010100000000001102010100000000
000400000403000000010200000000002103020200000000
000400000403000000010400000000002205040400000000
000400000403000000010500000000001000050500000000
000400000403000000010600000000002001060600000000

-------------------------AMD9000Controller.kext-------------------------

Exmoor (6) @ 0x5db90
LVDS, LVDS, DP, DP, DP, DP
020000000001000000010151200000002205020400000000
020000000001000000010261110000001204010300000000
000400000403000000010343400000001102030100000000
000400000001000000010431300000002103050500000000
000400000403000000010523600000001000040200000000
000400000001000000010611500000002001050500000000

OPM (6) @ 0x5dc20
DP, DP, DP, DP, DP, DP
000400000403000000000001000000001000010100000000
000400000403000000000001000000002001020200000000
000400000403000000000001000000001102030300000000
000400000403000000000001000000002103040400000000
000400000403000000000001000000001204050500000000
000400000403000000000001000000002205060600000000

MalteseS (1) @ 0x5dcd0
HDMI
000800000402000000010100000000001204030100000000

Lagotto (4) @ 0x5dcf0
DP, HDMI, DVI-D, DVI-D
000400000403000000010100000000001102040100000000
000800000402000000010200000000002103050300000000
040000000402000000010300000000000000010500000000
040000000402000000010400000000000204060600000000

GreyhoundS (1) @ 0x5dd60
HDMI
000800000402000000010100000000001204030100000000

Maltese (6) @ 0x5ddf0
DP, DP, DP, DP, DP, DP
000400000403000000010123200000001000010300000000
000400000403000000010213100000002001020400000000
000400000403000000010343400000001102030100000000
000400000403000000010433300000002103040200000000
000400000403000000010563600000001204050500000000
000400000403000000010653500000002205060600000000

Labrador (6) @ 0x5deb0
LVDS, LVDS, DP, DP, DP, DP
020000000001000000010131200000002103020400000000
020000000001000000010241110000001102010300000000
000400000403000000010323400000001000030100000000
000400000001000000010411300000002001050500000000
000400000403000000010563600000001204040200000000
000400000001000000010651500000002205050500000000

Basset (4) @ 0x5df40
LVDS, LVDS, DP, DP
020000000001000000010131200000002103020200000000
020000000001000000010241110000001102010100000000
000400000403000000010323400000001000030300000000
000400000403000000010413300000002001040400000000

Greyhound (6) @ 0x5e000
DP, DP, DP, DP, DP, DP
000400000403000000010123200000001000010300000000
000400000403000000010213100000002001020400000000
000400000403000000010343400000001102030100000000
000400000403000000010433300000002103040200000000
000400000403000000010563600000001204050500000000
000400000403000000010653500000002205060600000000

Baladi (6) @ 0x5e090
DP, DP, DP, DP, DP, DP
000400000403000000010300000000001204030300000000
000400000403000000010100000000001102010100000000
000400000403000000010200000000002103020200000000
000400000403000000010400000000002205040400000000
000400000403000000010500000000001000050500000000
000400000403000000010600000000002001060600000000

-------------------------AMD9500Controller.kext-------------------------

Orinoco (5) @ 0x6ef30
DP, DP, HDMI, HDMI, DVI-D
000400000403000000010101000000001204060100000000
000400000403000000010201000000002205040300000000
000800000402000000010300000000001102010200000000
000800000402000000010400000000002103050400000000
040000000400000000010500000000000000030600000000

Exmoor (6) @ 0x6efc0
LVDS, LVDS, DP, DP, DP, DP
020000000001000000010151200000002205020400000000
020000000001000000010261110000001204010300000000
000400000403000000010343400000001102030100000000
000400000001000000010431300000002103050500000000
000400000403000000010523600000001000040200000000
000400000001000000010611500000002001050500000000

Elqui (5) @ 0x6f050
LVDS, LVDS, DP, DP, DP
020000000001000000010141200000001102020400000000
020000000001000000010231110000002103010300000000
000400000001000000010313500000002001030100000000
000400000001000000010413500000001204040200000000
000400000403000000010501000000001000050500000000

Florin (6) @ 0x6f0d0
LVDS, LVDS, DP, DP, DP, DP
020000000001000000010141200000001102020400000000
020000000001000000010231110000002103010300000000
000400000001000000010313400000002001030100000000
000400000001000000010421300000001000050500000000
000400000001000000010553600000002205040200000000
000400000001000000010661500000001204060600000000

Sinu (6) @ 0x6f1e0
LVDS, LVDS, DP, DP, DP, DP
020000000001000000010141200000001102020400000000
020000000001000000010231110000002103010300000000
000400000001000000010313400000002001030100000000
000400000001000000010421300000001000050500000000
000400000001000000010553600000002205040200000000
000400000001000000010661500000001204060600000000

Yelcho (6) @ 0x6f270
DP, DP, HDMI, DP, DP, DP
000400000001000000010111000000001204060100000000
000400000001000000010321000000002205040300000000
000800000402000000010500000000002103050400000000
000400000001000000014251000000001000000000000000
000400000001000000014461000000002001000000000000
000400000001000000014601000000001102000000000000

Acre (3) @ 0x6f360
DP, HDMI, DVI-D
000400000403000000010101000000001102020100000000
000800000402000000010200000000002103050400000000
040000000402000000010300000000000000030500000000

Huallaga (3) @ 0x6f3b0
DP, DP, HDMI
000400000403000000010101000000001204040300000000
000400000403000000010201000000001102010200000000
000800000402000000010300000000002103050400000000

Berbice (5) @ 0x6f430
LVDS, DP, DP, DP, DP
020000000001000039050108000000002001010100000000
000400000001000000010243300000001000020200000000
000400000001000000010313200000002103030300000000
000400000001000000010453500000001102040400000000
000400000001000000010533400000001204050500000000

Longavi (5) @ 0x6f4b0
LVDS, DP, DP, DP, DP
020000000001000039050108000000002001010100000000
000400000001000000010243300000001000020200000000
000400000001000000010313200000002103030300000000
000400000001000000010453500000001102040400000000
000400000001000000010533400000001204050500000000

Tolten (5) @ 0x6f570
LVDS, LVDS, DP, DP, DP
020000000001000000010141200000001102020400000000
020000000001000000010231110000002103010300000000
000400000001000000010313500000002001030100000000
000400000001000000010413500000001204040200000000
000400000001000000010501000000001000050500000000

Palena (5) @ 0x6f5f0
LVDS, DP, DP, DP, DP
020000000001000039050108000000002001010100000000
000400000001000000010243300000001000020200000000
000400000001000000010313200000002103030300000000
000400000001000000010453500000001102040400000000
000400000001000000010533400000001204050500000000

Caroni (5) @ 0x6f670
LVDS, LVDS, DP, DP, DP
020000000001000000010141200000001102020400000000
020000000001000000010231110000002103010300000000
000400000001000000010313500000002001030100000000
000400000001000000010413500000001204040200000000
000400000001000000010501000000001000050500000000

Salado (5) @ 0x6f6f0
DP, DP, DP, DP, DP
000400000403000000000001000000001000020200000000
000400000403000000000001000000002001010100000000
000400000403000000000001000000001102040400000000
000400000403000000000001000000002103030300000000
000400000403000000000001000000001204050500000000

Guariba (6) @ 0x6f770
DP, DP, DP, HDMI, DVI-D, DP
000400000403000000010101000000001204060100000000
000400000403000000010201000000002205040300000000
000400000403000000010301000000001102010200000000
000800000402000000010400000000002103050400000000
040000000402000000010500000000000000030600000000
000400000001000000010601000000002001020500000000

Dayman (6) @ 0x6f800
DP, DP, DP, HDMI, DVI-D, DP
000400000403000000010101000000001204060100000000
000400000403000000010201000000002205040300000000
000400000403000000010301000000001102010200000000
000800000402000000010400000000002103050400000000
040000000402000000010500000000000000030600000000
000400000001000000010601000000002001020500000000

Baladi (6) @ 0x6f890
DP, DP, DP, DP, DP, DP
000400000403000000010300000000001204030300000000
000400000403000000010100000000001102010100000000
000400000403000000010200000000002103020200000000
000400000403000000010400000000002205040400000000
000400000403000000010500000000001000050500000000
000400000403000000010600000000002001060600000000

OPM (5) @ 0x6f920
DP, DP, DP, DP, DP
000400000403000000000001000000001102020200000000
000400000403000000000001000000002103030300000000
000400000403000000000001000000001204010100000000
000400000403000000000001000000001000040400000000
000400000403000000000001000000002001050500000000

attached is a downloadable copy of the script
Usage:
open terminal and type sudo php then one space and drag in the script enter your password and hit enter

Enjoy hacking
 

Attachments

  • Mojave AMD framebuffers.zip
    1.9 KB · Views: 635
Joined
Jun 8, 2014
Messages
18
CPU
i7-3770
Graphics
RX 460 4GB
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
hello @Fl0r!an

Today, i got new card RX 460 changing for GT1050 because i think AMD native support from 10.13,
Firstly i uninstall NVIDI driver, uncheck web driver flag after that i install whatevergreen for AMD card( in config file i remove all ig-flatform or fakeID). I run all test openGL, luxmark and i got the point same with internet result when i try to find. But when i ran benchmark geenbenk detect my card is Pro 555 and in Max vidio converter can detect my card to encode by hardware. Any incorrect for my system and how to fix it.
Thanks so much.

screen-shot-2018-07-07-at-12-13-36-pm-png.339642

screen-shot-2018-07-07-at-12-13-27-pm-png.339643

screen-shot-2018-07-07-at-12-13-00-pm-png.339644

screen-shot-2018-07-07-at-12-12-35-pm-png.339645
 
Joined
May 11, 2011
Messages
1,157
Motherboard
Asrock B365M Phantom Gaming
CPU
i5-9600KF
Graphics
RX 580
Mobile Phone
  1. iOS
Uncheck Inject ATI and RadeonDeInit in Clover.
 
Joined
Apr 7, 2012
Messages
141
Motherboard
Asus Maximus X Formula
CPU
i7 8700K
Graphics
VEGA
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Does Vega Frontier still need the kext to fix 5K?
 
Top