Experimental AMD M5100 / W5170M 2GB support (AMD Radeon R9 M375 2GB)
This card has been produced in many variants, currently I know of at least three different types and ident strings:
Type | ident | BIOS version | device-id | working |
---|
Green AMD PCB | 109-C93157-00A_03 | W5170M | 6820 | yes |
Blue AMD PCB | 109-C42271-01_02 | W5170M | 6820 | most likely |
Red DELL PCB | 109-C42241-01_02 | M5100-DELL | 6821 | yes |
Sometimes this card will be advertised as AMD W5170M 2GB version (AMD re-branding). This will be the Green card.
Important:
Use the W5170M vBIOS for both the green and blue card!
Use the M5100-DELL vBIOS for the red Dell card, only!
After installing the card it will not simply boot directly into any macOS version (WindowServer crash) unless you install and use OpenCore and apply the settings described below (I will try to get the changes added to OCLP, later).
So you need to install OpenCore onto your boot disk before booting in your current installation in normal multi user mode.
Run OLCP to create an AMD (metal) config and add the lines starting with the
<key>rebuild-device-tree</key>
into the DeviceProperties section (this is an iMac12,2 example):
Code:
<key>PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)</key>
<dict>
<key>shikigva</key>
<integer>80</integer>
<key>unfairgva</key>
<integer>1</integer>
<key>rebuild-device-tree</key>
<integer>1</integer>
<key>agdpmod</key>
<string>pikera</string>
<key>CAIL,CAIL_DisableDrmdmaPowerGating</key>
<data>AQAAAA==</data>
<key>CAIL,CAIL_DisableGfxCGPowerGating</key>
<data>AQAAAA==</data>
<key>CAIL,CAIL_DisableUVDPowerGating</key>
<data>AQAAAA==</data>
<key>CAIL,CAIL_DisableVCEPowerGating</key>
<data>AQAAAA==</data>
</dict>
These settings are equivalent with adding
radpg=15 -wegtree apdpmod=pikera shikigva=80
to the boot-args in the config.plist of OpenCore.
This GPU type has been used in 2015 15" MacBookPro models.
Tested systems:
- iMac12,2:
sleep/wake broken
- iMac12,1: not tested
- iMac11,1: no problems
- iMac11,2: green AMD card has SMBUS problem, some temp sensor readings are weird, card needs a mod, red Dell card works fine!
- iMac11,3: no problems
Known issues:
- external display sync is difficult on all systems and needs the main LCD or the system to go to display sleep once after connecting the external display
Known features:
- Airplay is working until Catalina as with any other AMD metal card on iMac11,x and iMac12,2 (without using QuickSync)
- high metal scores
- boot screen with OpenCore
- brightness control working
- GPU power management working
- needs Sierra or better (AMD support)
- still full Monterey B9 support (no root patching needed unlike Kepler)
Performance:
- GeekBench Metal and OpenCL: > 10.000
- Valley
AMD: 18.6 FPS, 778 Score
- Valley
DELL: 23.46 FPS, 981 Score
- MetalBench: 31 MRays/s
- CoreClock: 300 MHz idle - 850 MHz max
- MemoryClock: 150 MHz idle - 1125 MHz max
- PowerDraw: 5W idle - 35W max
Warnings:
- do not use this vBIOS on the Red DELL card, it will cause a bad flash and will make the card unusable
- do not flash the vBIOS from the DELL card onto the other two cards, it will cause a bad flash and will make the card unusable
- a bad flash prevents the iMac from booting and running the Linux flash utility, again!
- bad flashes can only be cured by using a clip or some other nasty tricks
News:
- OCLP 0.3.1 and later support this card. So you can update OC using OCLP in future. Nevertheless the boot strap process is
complex since you cannot boot the normal macOS unless OC has been installed in advance!