Contribute
Register

Quick Guide to Generate a SSDT for CPU Power Management

Joined
Nov 17, 2018
Messages
8
Motherboard
Asus Rog GL702VM
CPU
i7-6700HQ
Graphics
GTX 1060
Mac
MacBook Pro
Mobile Phone
iOS

Attachments

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,974
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Thanks for the quick reply.
Here is the file using gen_debug.sh in the FAQ
Why only one set of PR file attached?
You mentioned two different scenarios, didn't you?
Expect two sets of PR files, one for each scenario.
 
Joined
Nov 17, 2018
Messages
8
Motherboard
Asus Rog GL702VM
CPU
i7-6700HQ
Graphics
GTX 1060
Mac
MacBook Pro
Mobile Phone
iOS
Why only one set of PR file attached?
You mentioned two different scenarios, didn't you?
Expect two sets of PR files, one for each scenario.
The 1st scenario was incomplete because I skipped one part of the tutorial by mistake, in my 2nd I did everything as it was supposed.
So, the PR files are from the 2nd scenario and according to the files, is everything working as expected?

P.s
I just noticed also, that I followed the tutorial bellow, but I made a reply in this topic by mistake.
https://www.tonymacx86.com/threads/guide-native-power-management-for-laptops.175801/
 
Last edited:

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,974
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
The 1st scenario was incomplete because I skipped one part of the tutorial by mistake, in my 2nd I did everything as it was supposed.
So, the PR files are from the 2nd scenario and according to the files, is everything working as expected?

P.s
I just noticed also, that I followed the tutorial bellow, but I made a reply in this topic by mistake.
https://www.tonymacx86.com/threads/guide-native-power-management-for-laptops.175801/
I still don't see where you attached PR files for the two separate scenarios.
 
Joined
Feb 9, 2012
Messages
112
Motherboard
ASUS Z370 PRIME A
CPU
i7-8700K
Graphics
GTX 650Ti
Mobile Phone
Android, Other
If you look at your patchmatic -extract output, you will see the SSDT that Clover generated. Or you can view the SSDT in MaciASL (it is usually the last SSDT in the extract).

It is essentially the same content as SSDT-XCPM.dsl.
Nothing to do with HWP. HWP enablement is determined by SMBIOS in use, nothing else.
Since my build is 8700K, I choose the newly released Mac Mini as my model. It enables HWP. I wonder how these two power management cope with each other.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,974
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Since my build is 8700K, I choose the newly released Mac Mini as my model. It enables HWP. I wonder how these two power management cope with each other.
No "coping" required (no idea what you mean really).
 
Joined
Feb 9, 2012
Messages
112
Motherboard
ASUS Z370 PRIME A
CPU
i7-8700K
Graphics
GTX 650Ti
Mobile Phone
Android, Other
No "coping" required (no idea what you mean really).
My question is who takes the charge for CPU power management if they both are enabled and working. With my past experience with Pentium G4600, you have to fake cpuid to 0306A0 and use NullIntelCPU to disable EIST completely so that HWP takes the charge here.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,974
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
My question is who takes the charge for CPU power management if they both are enabled and working. With my past experience with Pentium G4600, you have to fake cpuid to 0306A0 and use NullIntelCPU to disable EIST completely so that HWP takes the charge here.
Certain plists in X86PlatformPlugin are HWP enabled.

Note: Just because HWP is a hardware controlled CPU PM mechanism, does not mean it cannot be tweaked/adjusted by software.
 
Joined
Feb 9, 2012
Messages
112
Motherboard
ASUS Z370 PRIME A
CPU
i7-8700K
Graphics
GTX 650Ti
Mobile Phone
Android, Other
Certain plists in X86PlatformPlugin are HWP enabled.

Note: Just because HWP is a hardware controlled CPU PM mechanism, does not mean it cannot be tweaked/adjusted by software.
Yeah, the latest Mac mini smbios I am using have hwp enabled. My question is that do EIST and hwp get along? Which takes the charge or has the say of which frequency cpu needs to stay in?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,974
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Yeah, the latest Mac mini smbios I am using have hwp enabled. My question is that do EIST and hwp get along? Which takes the charge or has the say of which frequency cpu needs to stay in?
HWP (aka SpeedShift) is essentially hardware controlled SpeedStep.

If you're interested in how software can control HWP, you should read the documentation (programmers guide) provided by Intel.
 
Top