Contribute
Register

Quick Guide to Generate a SSDT for CPU Power Management

Joined
Feb 11, 2010
Messages
247
Motherboard
Gigabyte Z170N-Wifi
CPU
Intel i5 6600K
Graphics
MSI GTX 1050 TI 4GT LP
Mac
  1. MacBook Pro
  2. Mac mini
Mobile Phone
  1. Android
  2. iOS
Now I'm using a SSDT. But when I run "cat /tmp/AppleIntelInfo.dat" CPU look OK but I only get iGPU P-States [ (7) ]
According to this my GPU is running at 350MHz. And when I check with Intel Power Gadget. my GPU is running at 350MHz all the time.

Any idea how to fix that?


CPU Ratio Info:
------------------------------------
CPU Low Frequency Mode.............: 1600 MHz
CPU Maximum non-Turbo Frequency....: 3500 MHz
CPU Maximum Turbo Frequency........: 3900 MHz

IGPU Info:
------------------------------------
IGPU Current Frequency.............: 350 MHz
IGPU Minimum Frequency.............: 350 MHz
IGPU Maximum Non-Turbo Frequency...: 650 MHz
IGPU Maximum Turbo Frequency.......: 1150 MHz
IGPU Maximum limit.................: No Limit

CPU P-States [ (16) 33 38 ] iGPU P-States [ (7) ]
CPU C3-Cores [ 0 2 7 ]
CPU C6-Cores [ 0 1 2 4 6 7 ]
CPU P-States [ (16) 19 33 38 ] iGPU P-States [ (7) ]
CPU C3-Cores [ 0 2 4 6 7 ]
CPU P-States [ (16) 19 20 33 38 ] iGPU P-States [ (7) ]
CPU C3-Cores [ 0 1 2 4 5 6 7 ]
CPU C6-Cores [ 0 1 2 4 5 6 7 ]
CPU C3-Cores [ 0 1 2 3 4 5 6 7 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ 16 19 20 (22) 33 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 19 20 22 24 33 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 19 20 22 23 24 33 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 19 20 21 22 23 24 33 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 19 20 21 22 23 24 25 33 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 19 20 21 22 23 24 25 29 33 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 18 19 20 21 22 23 24 25 29 33 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 18 19 20 21 22 23 24 25 28 29 33 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 18 19 20 21 22 23 24 25 28 29 33 34 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 17 18 19 20 21 22 23 24 25 28 29 33 34 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 17 18 19 20 21 22 23 24 25 28 29 32 33 34 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 17 18 19 20 21 22 23 24 25 26 28 29 32 33 34 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 17 18 19 20 21 22 23 24 25 26 27 28 29 32 33 34 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 38 ] iGPU P-States [ (7) ]
CPU P-States [ 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 38 (39) ] iGPU P-States [ (7) ]
CPU P-States [ 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 (38) 39 ] iGPU P-States [ (7) ]
CPU P-States [ 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 (37) 38 39 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 37 38 39 ] iGPU P-States [ (7) ]
CPU P-States [ 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 36 37 (38) 39 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ] iGPU P-States [ (7) ]
 
Joined
Feb 11, 2010
Messages
247
Motherboard
Gigabyte Z170N-Wifi
CPU
Intel i5 6600K
Graphics
MSI GTX 1050 TI 4GT LP
Mac
  1. MacBook Pro
  2. Mac mini
Mobile Phone
  1. Android
  2. iOS
OK, now I tried a GPUtest program and the GPU frequency went up. So I guess everything is OK. I just thought that GPU frequency should go up and down just as much as the CPU
 
Joined
Jan 15, 2011
Messages
16
Motherboard
Gigabyte GA-H170N-WIFI
CPU
i5-6600K
Graphics
GTX 970
Doesn't seem to work with i5 6600k.I get unknown processor model .I have tried ./ssdtPRGen.sh -p ‘i5-6600k’ -f 800 -turbo 3900.
Do I have to wait on an update to ssdtPRGen.sh.Anybody got a ssdt for the i5 6600k.

My states using 17.1 imac smbios,I don't seem to be getting turbo.

Fixed :-I had to use the following command to get the latest beta ssdtPRGen.sh and then dropped the skylake config file into the data folder at ~/Library/ssdtPRGen/Data

curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/Beta/ssdtPRGen.sh
 
Joined
May 12, 2012
Messages
38
Motherboard
x99
CPU
5820k
Graphics
Ge760
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
System information: Mac OS X 10.11.1 (15B42)
Brandstring 'Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz'

/Users/Gvo3D/ssdtPRGen.sh: line 2295: 1032 Segmentation fault: 11 "${gToolPath}/extractACPITables"
xxd: /Users/Gvo3D/Library/ssdtPRGen/DSDT.aml: No such file or directory

Warning: No ACPI Processor declarations found in the DSDT!
Using assumed Scope (\_SB) {}

/Users/Gvo3D/ssdtPRGen.sh: line 2295: 1089 Segmentation fault: 11 "${gToolPath}/extractACPITables"


??????
 
Joined
Jul 22, 2011
Messages
54
Motherboard
ASRock Z390 Phantom Gaming-ITX/ac
CPU
i9-9900
Graphics
RX 5700 XT
Mac
  1. MacBook
Mobile Phone
  1. Android
  2. iOS
Booting using clover USB. That won't load, SSDT

Thanks, that worked and I was able to delete SSDT.aml from EFI.

I tried the Clover settings as outlined over here but it still won't work, so I'll just do without an SSDT file for now.
 
Joined
Dec 16, 2014
Messages
53
Mac
Classic Mac
Mobile Phone
is reverting back to the state prior to running this script as simple as removing the SSDT.aml file? There are no other files that are patched? For some reason I've been having problems with sleep all of a sudden, and this was one of the last things I did. Want to rule this out
 

tonymacx86

Administrator
Staff member
Joined
Nov 18, 2009
Messages
8,721
Motherboard
PRIME Z490-A
CPU
i5 10600K
Graphics
Vega 56
Mac
  1. MacBook Air
Classic Mac
  1. Apple
  2. PowerBook
Mobile Phone
  1. iOS
is reverting back to the state prior to running this script as simple as removing the SSDT.aml file? There are no other files that are patched? For some reason I've been having problems with sleep all of a sudden, and this was one of the last things I did. Want to rule this out

Yes- just remove the SSDT to revert.
 
Joined
Apr 13, 2015
Messages
29
Motherboard
HP Spectre x360 13" 4K 13-AC033DX
CPU
i7 7500U / Kaby Lake rev. 02 BIOS: AMI F.20
Graphics
Intel HD 620, 3840x2160
Mobile Phone
  1. iOS
Now I'm using a SSDT. But when I run "cat /tmp/AppleIntelInfo.dat" CPU look OK but I only get iGPU P-States [ (7) ]
According to this my GPU is running at 350MHz. And when I check with Intel Power Gadget. my GPU is running at 350MHz all the time.

Any idea how to fix that?


CPU Ratio Info:
------------------------------------
CPU Low Frequency Mode.............: 1600 MHz
CPU Maximum non-Turbo Frequency....: 3500 MHz
CPU Maximum Turbo Frequency........: 3900 MHz

IGPU Info:
------------------------------------
IGPU Current Frequency.............: 350 MHz
IGPU Minimum Frequency.............: 350 MHz
IGPU Maximum Non-Turbo Frequency...: 650 MHz
IGPU Maximum Turbo Frequency.......: 1150 MHz
IGPU Maximum limit.................: No Limit

CPU P-States [ (16) 33 38 ] iGPU P-States [ (7) ]
CPU C3-Cores [ 0 2 7 ]
CPU C6-Cores [ 0 1 2 4 6 7 ]
CPU P-States [ (16) 19 33 38 ] iGPU P-States [ (7) ]
CPU C3-Cores [ 0 2 4 6 7 ]
CPU P-States [ (16) 19 20 33 38 ] iGPU P-States [ (7) ]
CPU C3-Cores [ 0 1 2 4 5 6 7 ]
CPU C6-Cores [ 0 1 2 4 5 6 7 ]
CPU C3-Cores [ 0 1 2 3 4 5 6 7 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ 16 19 20 (22) 33 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 19 20 22 24 33 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 19 20 22 23 24 33 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 19 20 21 22 23 24 33 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 19 20 21 22 23 24 25 33 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 19 20 21 22 23 24 25 29 33 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 18 19 20 21 22 23 24 25 29 33 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 18 19 20 21 22 23 24 25 28 29 33 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 18 19 20 21 22 23 24 25 28 29 33 34 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 17 18 19 20 21 22 23 24 25 28 29 33 34 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 17 18 19 20 21 22 23 24 25 28 29 32 33 34 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 17 18 19 20 21 22 23 24 25 26 28 29 32 33 34 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 17 18 19 20 21 22 23 24 25 26 27 28 29 32 33 34 38 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 38 ] iGPU P-States [ (7) ]
CPU P-States [ 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 38 (39) ] iGPU P-States [ (7) ]
CPU P-States [ 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 (38) 39 ] iGPU P-States [ (7) ]
CPU P-States [ 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 (37) 38 39 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 37 38 39 ] iGPU P-States [ (7) ]
CPU P-States [ 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 36 37 (38) 39 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ] iGPU P-States [ (7) ]


Hi Niclasc,

I am running the exact same setup and hope to add a 950 gtx soon.

Prior to this were you not running a dsdt or ssd and now are you running either the ssdt or the dsdt generated by this script? Would you mind sharing either your dsdt or ssdt, as I must be doing something wrong regarding the terminal commands. Were you able to resolve this issue that you posted about?

Thank you,
 
Joined
Apr 13, 2015
Messages
29
Motherboard
HP Spectre x360 13" 4K 13-AC033DX
CPU
i7 7500U / Kaby Lake rev. 02 BIOS: AMI F.20
Graphics
Intel HD 620, 3840x2160
Mobile Phone
  1. iOS
Group,

This may be a stupid question, but how am I supposed to read/interpret the readout.... just the last line mentioning either p-states, c3 cores and c6 cores?

I understand what the numbers represent, but, I'm curious what each line means.

Thanks
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,309
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Group,

This may be a stupid question, but how am I supposed to read/interpret the readout.... just the last line mentioning either p-states, c3 cores and c6 cores?

I understand what the numbers represent, but, I'm curious what each line means.

Thanks

A new log line is output whenever the output is different from the last. The latest represents the cumulative "pstates seen" since the beginning.
 
Top