Contribute
Register

macOS Native Discrete GPU Power Management

Status
Not open for further replies.
Off topic

dAGPM.kext is not loading, Info.plist has the wrong board-id.
Fix board-id
Hi @toleda I am lost again. I used this board-id "Mac-65CE76090165799A" which is consistent with the board-id per your "Table 1: Native AppleGraphicsPowerManagement.kext (AGPM)" with the entry for a Skylake processor and a Sysdef of 17.1 which conforms to my environmement. If I interpreted your OP incorrectly then please assist so that I can understand what I should do, and where should I dig out the board-id that you want me to use. Your OP instructions are unclear, to me at least.
Thanks
 
Off topic

dAGPM.kext is not loading, Info.plist has the wrong board-id.
Fix board-id
Hi @toleda I interpret your instructions for the topic below as follows, substituting by using my own words where deemed appropriate:

3. Add AppleGraphicsPowerManagement.kext support
1. From Table 1/System Definition, note the board-id that matches your CPU and
System definition.
2. Download: dAGPM.kext.zip
3. Editing, copying and pasting operations as detailed below.
1. Navigate to S/L/E/AppleGraphicsPowerManagement.kext/Contents/Info.plist
2. Use: III. Tools/2. Xcode
3. Xcode/File/Open/Info.plist
4. Navigate Info.plist to IOKitPersonalities/AGPM/Machines/
5. Find the board-id that you noted down under heading 1 and click on it to open
6. Copy IGPU that is now visible under the board-id under heading 5
7. Navigate to dAGPM.kext/Contents/Info.plist
8. With Xcode open the Info.plist of the dAGPM.kext
9. AMD: (Ignore if using Nvidia discrete graphics.)
▪ Open "Mac-AMD", and then paste IGPU onto "Mac-AMD"
▪ Rename "Mac-AMD" with the board-id you determined under heading 1
10. Nvidia: (Ignore if using AMD discrete graphics.)
▪ Open "Mac-Nvidia", and then paste IGPU onto "Mac-Nvidia"
▪ Rename "Mac-Nvidia" with the board-id you determined under heading 1

For an Nvidia environment the result for the dAGPM.kext injector should now be
as per the attached picture.

From your table 1 with my System definition of 17.1 and a Skylake 6th generation CPU i7600K
I should be using this board-id Mac-65CE76090165799A, which you are saying is wrong,
Please tell me why and where have I misunderstood your instructions.?

Thank you
 

Attachments

  • Modified  Nvidia environment.jpeg
    Modified Nvidia environment.jpeg
    202.4 KB · Views: 181
where should I dig out the board-id that you want me to use
There are three board-ids for iMac17,1.
What app did you use to set System Definition?
board-id:
1. IOReg/System Definition/board-id
2. config.plist/SMBIOS/Board-ID

Edit dAGPM.kext for your board-id.
 
From your table 1 with my System definition of 17.1 and a Skylake 6th generation CPU i7600K
I should be using this board-id Mac-65CE76090165799A, which you are saying is wrong
No.
Post #1: iMac17,1/Mac-65CE76090165799A (i7-6700K)
Post #73/IOReg: iMac17,1/Mac-B809C3757DA9BB8D (i5-6600K)

Note: macOS ignores processor specifics; processor specific information is presented to macOS during boot with native firmware.
 
There are three board-ids for iMac17,1.
What app did you use to set System Definition?
board-id:
1. IOReg/System Definition/board-id
2. config.plist/SMBIOS/Board-ID
Edit dAGPM.kext for your board-id.

It seems not to matter where I obtained the board-id from as it is the same in the
two locations that you are referring to.

Attached are the board-ids from:
1. IOReg/System Definition/board-id is: Mac-B809C3757DA9BB8D
2. config.plist/SMBIOS/Board-ID is: Mac-B809C3757DA9BB8D
3. dAGPM.kext board-id used: Mac-B809C3757DA9BB8D
4. Heuristic remains 0xffffffff See attached file "ioreg Heuristic is still wrong"

Thanks for your patience and assistance.
 

Attachments

  • ioreg Skylake.zip
    989.9 KB · Views: 101
  • Other.zip
    41.6 KB · Views: 111
  • IOReg:System Definition:board-id.jpeg
    IOReg:System Definition:board-id.jpeg
    270.5 KB · Views: 186
  • config.plist:SMBIOS:Board-ID.jpeg
    config.plist:SMBIOS:Board-ID.jpeg
    120.7 KB · Views: 224
  • dAGPM.kext board-id.jpeg
    dAGPM.kext board-id.jpeg
    234.6 KB · Views: 205
  • ioreg Heuristic is still wrong.jpeg
    ioreg Heuristic is still wrong.jpeg
    327.2 KB · Views: 184
Hi @toleda Discrete GPU PM is now working as it should.
Remedy was copying the dAGPM.kext injector, which was prepared with my board-id Mac-B809C3757DA9BB8D
into /L/E, with KextBeast, then rebuild the kernelcache. The reason I believe you would pronounce off topic therefore I will refrain from providing for the time being.

The attachment now shows Heuristic as x04 from which I deduct discreet GPU PM to be working.

Thanks for your assistance and patience.

Greetings
 

Attachments

  • discrete GPU PM now working.jpeg
    discrete GPU PM now working.jpeg
    376.3 KB · Views: 247
hi, tried to follow guide by my heuiristic ID is ff ff ff ff, which I believe means is not working if I have a gtx 1070. I have attached files listed on front page, please advise. have nvidiaweb set to yes in system parameter in config.plist but inject/nvidia is no. does that cause issues?

I am using the board-id for iMac 18,2 as that is what my smbios is set to. I found the matching board-id and copy and pasted the igpu files as instructed.

appreciate any and all help! would love to get this working properly!


Mac-77F17D7DA9285301 is the board-id I am using

edit: nm inject/nvidia seems to limit my gfx nvram. I tried a dagpm that was generated by a forum member here for imac18,2/nvidia but it didn't seem to change anything. not sure what am I missing =( why does this never go straight forward for me.

also I am on 10.13.4. would it be because nvidiagraphicsfixup/lilu is not updated yet? do I need to remove the igpu pm rename GFX0>IGPU and only use the PEG0>GFX0 rename?
 

Attachments

  • acpi:patched.zip
    1.2 KB · Views: 112
  • config.plist
    8.5 KB · Views: 245
  • kext:Other.zip
    38.7 KB · Views: 111
  • revmac gtx.ioreg
    13.4 MB · Views: 189
  • system information.png
    system information.png
    123.2 KB · Views: 156
Last edited:
Status
Not open for further replies.
Back
Top