macOS Native CPU/IGPU Power Management

Discussion in 'General Help' started by toleda, May 25, 2017.

  1. atomicamp

    atomicamp

    Joined:
    Aug 10, 2017
    Messages:
    98
    Mobo:
    BitFenix Phenom M
    CPU:
    intel core i7 6700k 4ghz skylake
    Graphics:
    Gigabyte GeForce GTX 1080 XTREME Gaming Extreme (GV-N1080XTREME-8GD Premium )
    Mac:
    iMac
    Sep 17, 2017 at 9:14 PM #231
    atomicamp

    atomicamp

    Joined:
    Aug 10, 2017
    Messages:
    98
    Mobo:
    BitFenix Phenom M
    CPU:
    intel core i7 6700k 4ghz skylake
    Graphics:
    Gigabyte GeForce GTX 1080 XTREME Gaming Extreme (GV-N1080XTREME-8GD Premium )
    Mac:
    iMac
    Problem Reporting:

    1.) power management doesn’t seem to be working correctly. Do I need graphics power management? Should I be using XCPM and the xlcm ssdt.aml? Or should I be using ssdtPRGen.sh? If i should be using ssdtPRGen.sh, then should I be using the beta or the regular one? Clover Configurater: Do I set Plugin Type 1? 0? or blank? Do I disable/enable all C states or generate c and p states? Do I enable/disable Kernel LAPIC/AppleIntelCPUPM/KernellvyXCPM/Apple RtC/Kernel CPU? Do I disable “FixShutdown_004” too? Do i use x86platform plugin? And if so, where do I download the plugin or where do I find it/activate it?

    2) Mac OS Sierra 10.12.6/Mobo>GA-Z170MX Gaming 5/Bios>F22a/ CPU>intel i7-6700k skylake/Graphics >NVIDIA GeForce GTX 1080

    3) Guide used:macOS Native CPU/IGPU Power Management v1.0-5/24/17. Took a baseline with AppleIntelInfo.kext, IOReg, and Intel Power Gadget. Installed ssdtPRgen ssdt to clover/acpi/patched. Restarted.


    4) Attached is the following: Copy of IOReg, AppleIntelInfo cat command, clover config.plist, and ssdt’s. I could not figure out the “Misc/Boot Log” in DPCIManager was so I don’t have that.
     

    Attached Files:

  2. toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    21,180
    Mobo:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    Sep 18, 2017 at 3:39 AM #232
    toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    21,180
    Mobo:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    Answers: Post #1
    PM is not working
     
    Last edited: Sep 18, 2017
  3. atomicamp

    atomicamp

    Joined:
    Aug 10, 2017
    Messages:
    98
    Mobo:
    BitFenix Phenom M
    CPU:
    intel core i7 6700k 4ghz skylake
    Graphics:
    Gigabyte GeForce GTX 1080 XTREME Gaming Extreme (GV-N1080XTREME-8GD Premium )
    Mac:
    iMac
    Sep 18, 2017 at 6:08 AM #233
    atomicamp

    atomicamp

    Joined:
    Aug 10, 2017
    Messages:
    98
    Mobo:
    BitFenix Phenom M
    CPU:
    intel core i7 6700k 4ghz skylake
    Graphics:
    Gigabyte GeForce GTX 1080 XTREME Gaming Extreme (GV-N1080XTREME-8GD Premium )
    Mac:
    iMac
    What does this "Native IGPU PM (dsdt/GFX0 > dsdt/IGPU)" mean, and where can I find native IOPlatformplugin.kext? I don't see it anywhere on my system or in downloads. And should I be running XCPM?
     
  4. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    164,721
    Mobo:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Sep 18, 2017 at 2:26 PM #234
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    164,721
    Mobo:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    It refers to the names for objects in ACPI.
    Most PCs use GFX0 for the IGPU, which Apple expects to be IGPU.

    No such thing.
    There is IOPlatformPluginFamily.kext in /S/L/E.
    And inside IOPlatformPluginFamily.kext/Contents/Plugins, you find X86PlatformPlugin.kext.

    For the hardware in your profile, XCPM is default and your only choice.
     
    atomicamp likes this.
  5. atomicamp

    atomicamp

    Joined:
    Aug 10, 2017
    Messages:
    98
    Mobo:
    BitFenix Phenom M
    CPU:
    intel core i7 6700k 4ghz skylake
    Graphics:
    Gigabyte GeForce GTX 1080 XTREME Gaming Extreme (GV-N1080XTREME-8GD Premium )
    Mac:
    iMac
    Sep 18, 2017 at 6:52 PM #235
    atomicamp

    atomicamp

    Joined:
    Aug 10, 2017
    Messages:
    98
    Mobo:
    BitFenix Phenom M
    CPU:
    intel core i7 6700k 4ghz skylake
    Graphics:
    Gigabyte GeForce GTX 1080 XTREME Gaming Extreme (GV-N1080XTREME-8GD Premium )
    Mac:
    iMac
    Thankyou Rehab man! Thats a start for my clarity!
    Okay, so in essence, I can completely forget about using ssdtPRGen.sh and just drop the SSDT-XCMP.aml download file into EFI/Clover/ACPI/patched, and the things should be working, correct? I've gone over the guide a dozen times and can't help to think that I'm missing something. Do I disable AppleIntelCpuPM and KernelPM in clover configurator?
     
  6. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    164,721
    Mobo:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Sep 18, 2017 at 7:08 PM #236
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    164,721
    Mobo:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    No such thing as "AppleIntelCpuPM". I assume you mean "AppleIntelCPUPM" or "AsusAICPUPM" which are equivalent and only apply to Ivy Bridge or earlier.

    And no such thing as "KernelPM". I assume you mean "KernelPm", which is required for Haswell and later if CPU MSR 0xE2 is locked.

    And yes, no need for ssdtPRgen.sh generated SSDT. You only need SSDT-XCPM.aml and a correct SMBIOS.
     
    zlei likes this.
  7. atomicamp

    atomicamp

    Joined:
    Aug 10, 2017
    Messages:
    98
    Mobo:
    BitFenix Phenom M
    CPU:
    intel core i7 6700k 4ghz skylake
    Graphics:
    Gigabyte GeForce GTX 1080 XTREME Gaming Extreme (GV-N1080XTREME-8GD Premium )
    Mac:
    iMac
    Sep 18, 2017 at 7:14 PM #237
    atomicamp

    atomicamp

    Joined:
    Aug 10, 2017
    Messages:
    98
    Mobo:
    BitFenix Phenom M
    CPU:
    intel core i7 6700k 4ghz skylake
    Graphics:
    Gigabyte GeForce GTX 1080 XTREME Gaming Extreme (GV-N1080XTREME-8GD Premium )
    Mac:
    iMac
    Thankyou for the corrections, I now realize how important case sensitivity is. Now that I'm clear on the power settings I have dropped SSDT-XCPM into the proper folder and deleted the generated ssdtPRgen SSDT. After doing so, my Mac keeps rebooting every time I select my Macintosh HD in clover. I tried running in verbose mode, and it seems to start loading properly, then after a bunch of seemingly normal startup messages, the screen just turns off and reboots back to the bios, then to clover again. Any suggestions?
     
  8. atomicamp

    atomicamp

    Joined:
    Aug 10, 2017
    Messages:
    98
    Mobo:
    BitFenix Phenom M
    CPU:
    intel core i7 6700k 4ghz skylake
    Graphics:
    Gigabyte GeForce GTX 1080 XTREME Gaming Extreme (GV-N1080XTREME-8GD Premium )
    Mac:
    iMac
    Sep 18, 2017 at 7:16 PM #238
    atomicamp

    atomicamp

    Joined:
    Aug 10, 2017
    Messages:
    98
    Mobo:
    BitFenix Phenom M
    CPU:
    intel core i7 6700k 4ghz skylake
    Graphics:
    Gigabyte GeForce GTX 1080 XTREME Gaming Extreme (GV-N1080XTREME-8GD Premium )
    Mac:
    iMac
    Also, how can I tell if CPU MSR 0xE2 is locked?
     
  9. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    164,721
    Mobo:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Sep 18, 2017 at 7:23 PM #239
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    164,721
    Mobo:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Look at your Clover bootlog.
    Note:
    Code (Text):

    SPEEDY-NUC:~ rehabman$ bdmesg |grep 0xE2
    0:103  0:000  MSR 0xE2 before patch 1E008008
    0:103  0:000  MSR 0xE2 is locked, PM patches will be turned on
     
     
  10. atomicamp

    atomicamp

    Joined:
    Aug 10, 2017
    Messages:
    98
    Mobo:
    BitFenix Phenom M
    CPU:
    intel core i7 6700k 4ghz skylake
    Graphics:
    Gigabyte GeForce GTX 1080 XTREME Gaming Extreme (GV-N1080XTREME-8GD Premium )
    Mac:
    iMac
    Sep 18, 2017 at 7:48 PM #240
    atomicamp

    atomicamp

    Joined:
    Aug 10, 2017
    Messages:
    98
    Mobo:
    BitFenix Phenom M
    CPU:
    intel core i7 6700k 4ghz skylake
    Graphics:
    Gigabyte GeForce GTX 1080 XTREME Gaming Extreme (GV-N1080XTREME-8GD Premium )
    Mac:
    iMac
    Where exactly do I find the boot log? EDIT** Nevermind, I found the boot log.

    Secondly, the third time around, OS X finally booted with the SSDT-XCPM.aml file. However, I still don't think my Power management is working correctly. Any chance you could take a look at my IOReg, cat AppleIntelInfo.kext log, and screenshot of Intel Power management and let me know what I might be able to do to remedy this situation?
     

    Attached Files:

Share This Page