Piker-Alpha / ssdtPRGen.sh

Script to generate a SSDT for Power Management
713 stars 156 forks source link

No Speedsteps with V13.14 on ASUS UX31A #29

Open igielskv opened 10 years ago

igielskv commented 10 years ago

Hi Pike,

My system is ASUS UX31A Zenbook Prime With Intel Core i7-3517U OS X 10.9.2 Mavericks

Because I massed up with lot of different patches and "tweaks", etc. my system was really down so I had to make new clean installation of my Mavericks so I wanted to try your new ssdtPRGen.sh V13.14 to generate fresh SSDT for my new system, but... it doesn't work for me. I'm getting no Speedsteps, CPU is stacked at 792MHz with multiplier at x8.0 and never change.

So I have to use older SSDT I made before with ssdtPRGen.sh from philippetev's HP ProBook Installer. I wanted to send U my SSDT.aml files, if U can take a look what's wrong, but can not attach that file type to this post.

Are there any flags necessary with your new version? Cause as I remember I ran the old one just simply without any flags or arguments.

Thanx and have good day...

Manolis

Piker-Alpha commented 10 years ago

Yes. Apple changed something and now you need to run: ./ssdtPRGen.sh -w 2 This instead of -w 3 with older versions of OS X.

Tip: You may need to add -xcpm under Kernel Flags in com.apple.Boot.plist

igielskv commented 10 years ago

I tried both

./ssdtPRGen.sh -w 2 and ./ssdtPRGen.sh -w 2 -x 1

No difference, CPU still at 792MHz, multiplier x8.0.

igielskv commented 10 years ago

With version from before (sorry I cannot find which version of ssdtPRGen.sh it was, I just saved SSDT.aml from that one).

I have peek CPU power at 2.87GHz with multiplier at x29.0

On idle power is CPU at 1.19GHz, multiplier x12.0

Thanx and have good day...

Piker-Alpha commented 10 years ago

Older versions of ssdtPRGen.sh created the SSDT with -w 3 (top and bottom P-States added) and if -w 2 doesn't work for you, with -xcpm under Kernel Flags in com.apple.Boot.plist, then XCPM may not be working.

igielskv commented 10 years ago

With -xcpm under Kernel Flags you mean run command as ./ssdtPRGen.sh -w 2 -x 1 correct?

Or I'm sorry, where can I find com.apple.Boot.plist?

igielskv commented 10 years ago

I just tried ./ssdtPRGen.sh -w 3 and sends down my system with panic upon boot-up, can start only in Safe Mode, with this SSDT.aml.

P-State Stepper Error 18 at step 29 in context 2 on CPU 2

(Switching back to the old one which worked.)

Piker-Alpha commented 10 years ago

No. The -xcpm flag must be added to: /Library/Preferences/SystemConfiguration/com.apple.Boot.plist

igielskv commented 10 years ago

Hi, reporting back results.

U were right, I have now -xcpm kernel flag used, and I have to say that it works. :-)

This is output I got by running ./ssdtPRGen.sh -w 2

<<<<<<<<<< BEGIN >>>>>>>>>>

ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl v6.6 Copyright (c) 2013 by † Jeroen

v13.4 Copyright (c) 2013-2014 by Pike R. Alpha

Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

Override value: (-w) Ivy Bridge workarounds, now set to: 2!

System information: Mac OS X 10.9.2 (13C1021) Brandstring 'Intel(R) Core(TM) i7-3517U CPU @ 1.90GHz'

Scope (PR) {220 bytes} with ACPI Processor declarations found in the DSDT (ACPI 1.0 compliant) Generating ssdt.dsl for a 'MacBookAir5,2' with board-id [Mac-2E6FAB96566FE58C] Ivy Bridge Core i7-3517U processor [0x306A9] setup [0x0704] With a maximum TDP of 17 Watt, as specified by Intel Number logical CPU's: 4 (Core Frequency: 1900 MHz) Number of Turbo States: 11 (2000-3000 MHz) Number of P-States: 23 (800-3000 MHz)

XCPM mode detected (Ivy Bridge workarounds disabled)

Adjusting C-States for detected (mobile) processor Injected C-States for CPU0 (C1,C3,C6,C7) 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/Manolis/Desktop/ssdt.dsl - 266 lines, 8089 bytes, 47 keywords AML Output: /Users/Manolis/Desktop/ssdt.aml - 1622 bytes, 16 named objects, 31 executable opcodes

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

<<<<<<<<<< END >>>>>>>>>>

I'm testing speedsteps by running Geekbench 3 and I'm using HWMonitor for monitoring CPU parameters.

Surprisingly I have same results with CPU peek power rising up to 3GHz right after I used this -xcpm flag in com.apple.Boot.plist even without your generated SSDT.aml

The only difference which I realized is that with your SSDT.aml I have 'Remote Disc' present in Computer Finder. Without your SSDT.aml I don't have it... well this I really don't understand how is this connected together.

The only thing I worry about a lil bit is the temperatures on my CPU during heavy load, viz. picture from HWMonitor.

screen shot 2014-05-10 at 11 25 50 pm

U see, while Geekbench was running CPU is up to 3GHz (I know this is what it should be designed for), but Temperatures rising to 90C and from HWMonitor I'm getting Warning that CPU Packages and THERMAL ZONE OVERHEAT!

During that I can hear also the FAN is working on high RPM and after the test is finished temperatures quickly fall down below 50C.

Do you think is this OK, Safe, can I over stress my CPU?

Thanx a lot, have good evening and good luck with very good job which you are doing with this Hackintosh community. Bye...

Manolis

Piker-Alpha commented 10 years ago

ULT variants can indeed quickly run 'hot' but everything should be well within the Intel thermal specifications, with a TJUNCTION max of 105 C, and as such I wouldn't worry too much about the 90 C, especially not since you won't be running the CPU at top speed all the time.

igielskv commented 10 years ago

Well most of the time CPU is on idle, and then it's not a big deal. As I have realized power and temperature they do rise up just only while picture processing of big photo files with Lightroom and may be while playing some game.

Just in case, is there a chance to set limit for max power of the CPU the way when I'm not getting these Over Temperature Alerts?

Also, I'm not sure if the power management is set up well, cause this laptop should last with fully charged batteries 4 - 8 hrs. And as I know from Windows 8 (which it was actually designed for :-)) it's true. But with my installation of Mavericks 10.9.2. it last some between 2 - 3 hrs max :-) of course depends on the load.