Contribute
Register

macOS Native Discrete GPU Power Management

Joined
Feb 18, 2011
Messages
28
Motherboard
Gigabyte Z390 I Aorus Pro Wifi
CPU
i5-8500
Graphics
UHD 630 & Vega 56
Hi Toleda

I recently upgraded to macOS 10.14.1 from 10.13.6. At the same time I replaced my nVidia 750ti graphics with an AMD RX570 due to the ongoing issues with Nvidia web drivers for Mojave.

I successfully used your guide to achieve power management with the nVidia card (thank you), but have been unable to do so with the AMD card.

Problem report:
  1. Without the modified dAGPM kext, Heuristc-ID is 4 but with kext, unable to display Heuristc ID, suggesting no power management.
  2. macOS 10.14.1/Gigabyte GA-Z97X-UD5H-BK/BIOS F8/Intel Core i7 4790K/AMD RX570.
  3. Guide used for Haswell/iMac 15.1 with AMD Graphics and modified dAGPM kext.
  4. All requested files attached.
Any help hugely appreciated.
 

Attachments

toleda

Moderator
Joined
May 20, 2010
Messages
24,453
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
iMac, MacBook Pro, Mac mini
Classic Mac
512K, LC, Power Mac
Mobile Phone
iOS
unable to display Heuristc ID, suggesting no power management.
missed a step, board-ids do not match
edit dAGPM kext/Info.plist/board-id to IOReg/.../board-id

IOReg/iMac15,1/board-id/"
Screen Shot 2018-11-24 at 3.35.40 PM.png
dAGPM kext/Info.plist
Screen Shot 2018-11-24 at 3.37.10 PM.png
 
Joined
Feb 18, 2011
Messages
28
Motherboard
Gigabyte Z390 I Aorus Pro Wifi
CPU
i5-8500
Graphics
UHD 630 & Vega 56
missed a step, board-ids do not match
edit dAGPM kext/Info.plist/board-id to IOReg/.../board-id
Numpty error! Changed and Heuristic-ID now ff ff ff ff.

Thank you so much for all the fantastic and invaluable guides and support you provide.
 
Joined
May 14, 2017
Messages
68
Motherboard
Lenovo G50-80
CPU
5200U
Graphics
HD 5500, R5 330M(disabled)
Mobile Phone
iOS
Maybe we should add MacBook Pro 15,1 into the table owing to the latest release? I think this native kext must be updated to enable native DGPU power management on a genuine MacBook Pro 15,1.
 
Joined
Feb 9, 2012
Messages
116
Motherboard
ASUS Z370 PRIME A
CPU
i7-8700K
Graphics
GTX 650Ti
Mobile Phone
Android, Other
My desktop config is 8700K + 650Ti(iGPU disabled)and I am using Mac Mini 8,1 smbios.
A few questions I'd like to raise:
1.Why is copying the iGPU section of Mac Mini 8,1 from AGPM.kext to dAGPM necessary if mine is disabled in BIOS?
2.Does AGPM showed in a non-using port matter? As shown in the picture, AGPM is enabled in port0. But I'm using port 2 and 3. Personally speaking, I think it does not matter. Hope you could help me clarify it.
upload_2018-12-12_11-24-48.png


3.How is this codeless kext doing the magic behind the scenes? As far as I can know, real AGPM.kext has a lot of settings for Nvidia cards in the iMac13,2 section. But this kext barely has setting for Nvidia cards which does not exist(Device id 1234).
upload_2018-12-12_11-16-1.png


For comparison, down below is the setting from iMac13,2 section from vanilla AGPM.kext.
It's a real card(Device id 0fe0, i.e. GeForce GTX 660M).
upload_2018-12-12_11-21-15.png
 
Top