Contribute
Register

SSDT generation script (Ivybridge PM)

Status
Not open for further replies.
I have a Haswell I7 4770K. I went ahead and researched my max frequency and TDP and I get following text generated.

sudo /Users/major/Desktop/RevoBoot-clang/i386/libsaio/acpi/Tools/ssdtPRGen.sh 3900 84





ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl
v6.6 Copyright (c) 2013 by † Jeroen
v9.1 Copyright (c) 2013-2014 by Pike R. Alpha
----------------------------------------------------------------
System information: Mac OS X 10.9.3 (13D65)
Brandstring 'Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz'
Processor Declaration(s) Found in DSDT
Generating ssdt_pr.dsl for a MacPro3,1 [Mac-F42C88C8]
Haswell Core i7-4770K processor [0x306C3] setup [0x0701]
With a maximum TDP of 84 Watt, as specified by Intel
Number logical CPU's: 8 (Core Frequency: 3500 MHz)
Number of Turbo States: 4 (3600-3900 MHz)
Number of P-States: 32 (800-3900 MHz)
Injected C-States for CPU0 (C1,C3,C6)
Injected C-States for CPU1 (C1,C2,C3)

Warning: 'system-type' may be set improperly (1 instead of 0)

IASL not found. Creating target directory... Downloading iasl...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
chmod: /usr/local/bin/iasl: No such file or directory
Done.
sudo: /usr/local/bin/iasl: command not found

let me know If I did something wrong I'd like to get this hack working before I start working with it.

Thank you for all you guys do. Pike, Spain can't be that bad!
 
Generating ssdt_pr.dsl for a MacPro3,1 [Mac-F42C88C8]

One thing I noticed is that your system definition is wrong. For Haswell, use either iMac14, MacBookPro11, or MacBookAir6.

Also, you shouldn't need to specify frequency or wattage unless you're overriding the defaults. Once you've corrected your sysdef, open a terminal window in the folder and run:

Code:
sudo chmod 755 ssdtPRGen.sh
./ssdtPRGen.sh
 
does this app not work in ML? It creates shortcuts instead of actual files.
 
Hello,

i got in serious trouble using the "ssdtPRGen.sh" from piker. I've got the following setup:

• Xeon 2680v2 10x2,8 Ghz (3,5 Ghz Turbo) -> Geekbench without speedstep/turbo: 23.127
(Mavericks 10.9.3 / GTX770 4GB / 32GB Ram 1600mhz / Speedstep + Turbo enabled in bios, flashed bios 5404)

Now i was trying to enable Speedstep and turbo mode by using pikers .sh and followed all instructions, generated a ssdt.aml and ssdt.dsl by typing into the terminal. Installed it in /extra, reboot. Afterwards used Chameleon and enabled "Drop SSDT".

Now the xeon runs at 12x 1,19 Ghz and doesn't speed up. New geekbench score: 10100! o_O


Help.... :mrgreen:


Generating ssdt.dsl for a 'MacPro6,1' with board-id [Mac-F60DEB81FF30ACF6]
Ivy Bridge Core E5-2680 v2 processor [0x306E4] setup [0x0501]
With a maximum TDP of 115 Watt, as specified by Intel
Number logical CPU's: 20 (Core Frequency: 2800 MHz)
Number of Turbo States: 8 (2900-3600 MHz)
Number of P-States: 25 (1200-3600 MHz)
Injected C-States for C000 (C1,C3,C6)
Injected C-States for C001 (C1,C3,C6)
Warning: 'cpu-type' may be set improperly (0x0501 instead of 0x0a01)

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20130117-64 [Jan 19 2013]
Copyright (c) 2000 - 2013 Intel Corporation

ASL Input: /Users/xeon/Desktop/ssdt.dsl - 460 lines, 13011 bytes, 143 keywords
AML Output: /Users/xeon/Desktop/ssdt.aml - 3506 bytes, 64 named objects, 79 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

Do you want to copy /Users/xeon/Desktop/ssdt.aml to /Extra/ssdt.aml? (y/n)? y
Creating temporarily mount point: /Volumes/EFI
Mounting EFI partition...
mount_hfs: Resource busy
umount: /Volumes/EFI: not currently mounted
Do you want to open ssdt.dsl (y/n)? y
xeons-mac-pro:~ xeon$





Nothing works though. Recognizes the correct CPU, but is always at 12x 1,20 Ghz.
What else can i try?
 
Update: I managed to get it to work and in any case for those that is intending to do the same thing. These were my steps.

My system: i7-3770 Asrock z77Pro3 OSX 10.9.4

To use ssdtPRGen
1. create ssdt.aml - ~/ssdtPRGen.sh -p i7-3770 -turbo 3900 -t 77 -w 2 -x 1
- copy ssdt.aml to /Extra

1a. Use Multibeast to install patched AppleIntelCPUPowermanagement.kext
Mistake. AICPUPM not needed.

2. Edit org.chemeleon.boot
- Change GeneratePstates to No
- Change GenerateCstates to No
- Add DropSSDT = Yes
- add -xcpm to kernel flags

3. Delete NullCPUPowerManagement.kext in S/L/E if available

4. reboot

5. Using MSRdumper to check for state changes to verify that all is working.

a. Download MSRDumper and Run the following in Terminal:
- sudo bash
- chown -R root:wheel MSRDumper.kext
- kextload MSRDumper.kext
Check the output in Console system.log. You should see multiple states. I have 6 states displayed.

b. unload with "kextunload MSRDumper.kext" after done

Geekbench shows 13,051 in excess of what was previous, as it now has Turbo mode as well.



****************************

Hello;

I seem to be having issues with the speed on Geekbench

Prior to using ssdtprgen it was around 12,000. After using it, the Geekbench is around 3,040. Thats about a quarter of the initial speed.

I used the following command:
./ssdtPRGen.sh -m Macmini6,2 -p i7-3770 -w 2


And the output is :

ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl
v6.6 Copyright (c) 2013 by † Jeroen
v13.5 Copyright (c) 2013-2014 by Pike R. Alpha
-----------------------------------------------------------
Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <


Override value: (-m) model, now using: Macmini6,2!
Override value: (-p) processor model, now using: i7-3770!
Override value: (-w) Ivy Bridge workarounds, now set to: 2!


System information: Mac OS X 10.9.4 (13E28)
Brandstring 'Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz'


Scope (_PR_) {220 bytes} with ACPI Processor declarations found in the DSDT (ACPI 1.0 compliant)
Generating ssdt.dsl for a 'Macmini6,2' with board-id [...]
Ivy Bridge Core i7-3770 processor [0x306A9] setup [0x0703]
With a maximum TDP of 77 Watt, as specified by Intel
Number logical CPU's: 8 (Core Frequency: 3400 MHz)
Number of Turbo States: 5 (3500-3900 MHz)
Number of P-States: 24 (1600-3900 MHz)
Injected C-States for CPU0 (C1,C3,C6)
Injected C-States for CPU1 (C1,C2,C3)


Intel ACPI Component Architecture
ASL Optimizing Compiler version 20130117-64 [Jan 19 2013]
Copyright (c) 2000 - 2013 Intel Corporation


ASL Input: /Users/jw/Desktop/ssdt.dsl - 312 lines, 9528 bytes, 72 keywords
AML Output: /Users/jw/Desktop/ssdt.aml - 2159 bytes, 28 named objects, 44 executable opcodes


Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimization

I have set GeneratePstates and GenerateCstates to No and DropSSDT to Yes.

I am just wondering if the speed is slower due to the processor switching states and that I was previously stuck in turbo?

My questions are:
- how do I determine that the system is changing states or even working? Trying
cat /var/log/system.log | grep "AICPUPMI:" results in nothing.
-
Should the geek bench results show such a difference?



My system: i7-3770 Asrock z77Pro3 OSX 10.9.4

Thanks for any advice.
 
Apologies if I've missed a similar post to this in this thread.

Just wondering if it would be worth updating the original post on page 1 to reflect the new method for using ssdtPRGen.

I spent a few hours last night hunting around to get the 'latest' build of the script only to find the parameters (4200, 77 etc) were no longer working. As it has been a year or so since I last messed with an SSDT I had to do a lot of digging around online...

...lo and behold there's now a super duper version of the script that can be retrieved straight from Git with the curl command and even has built in help for all those useful parameters to play with!

Just wish I could have found out about it when I first started reading this thread! Thanks to the devs for all the amazing work on this anyway!:)
 
What if I create another install of Mavericks and generate SSDT there? Would it work on Yosemite/Clover too?
 
Hello,

I am using Clover with Mavericks 10.9.4 on a HP 8470p/i7-3720QM

I am trying overclock it with ssdtPRGen but replacing the ssdt.aml file in EFI/CLOVER/ACPI did not changed anything ( at least according to Hwmonitor).
#What I did: #
-I tried to generate the ssdt for a faster CPU: ssdtPRGen.sh -p 'i7-3840QM' -w 3
-I also have that conf for SSDT in the config.plist:View attachment config.plistView attachment config.plist
<key>SSDT</key>
<dict>
<key>DropOem</key>
<true/>
</dict>

Am I missing something?

Thanks.
 
Status
Not open for further replies.
Back
Top