Contribute
Register

[Guide] Native Power Management for Laptops

[GUIDE] Power Management for Sandy Bridge/Ivy Bridge/Haswell/other Laptops

Mean that it could be a hardware problem?
So installation is correct, or I did something wrong I?

Well, you're not really done yet (no IGPU PM implemented yet). But you should compare against Windows.
 
[GUIDE] Power Management for Sandy Bridge/Ivy Bridge/Haswell/other Laptops

OK, I will install Windows to see how it goes: I had cleaned everything and now I just osx.
But how can I implement part of missing iGPU PM ?
Thank you for time you give me ...
 
[GUIDE] Power Management for Sandy Bridge/Ivy Bridge/Haswell/other Laptops

...
But how can I implement part of missing iGPU PM ?

It comes free if you implement backlight control (rename GFX0->IGPU).

HD3000/HD4000 Brightness Fix:
DSDT Patches from here: https://github.com/RehabMan/Laptop-DSDT-Patch

Apply:
"Rename GFX0 to IGPU"
"Brightness Fix (HD3000/HD4000)"
- rename patch must be done first and to all DSDT/SSDT that contain references to GFX0 that you're including in your final SSDT set
- Brightness patch must be done to the DSDT or SSDT that contains the definition for Device GFX0 (search for 'Device (GFX0)'
- Place DSDT and SSDT (if necessary) into a place where the bootloader will load them. For Clover, EFI/CLOVER/ACPI/patched (DSDT.aml, SSDT-x.aml where 'x' is a number). For Chameleon, /Extra/ssdt.aml, /Exra/ssdt-1.aml, /Extra/ssdt-2.aml, etc.

Install: https://github.com/RehabMan/OS-X-ACPI-Backlight
 
[GUIDE] Power Management for Sandy Bridge/Ivy Bridge/Haswell/other Laptops

Very well. Tonight I proceed with your notes. And I try Windows :sick:...
Have a nice evening, mr. RehabMan!
 
Hi,
I apologize for the delay but I wanted to make extensive tests.
After implementing your clear instructions, I've had no problems with overheating even with multiple applications open (they are always about 45 max 60 celsius degree :clap:).
Only with an application (Eclipse) I always problems (85-90:oops:), but at this point I will try an alternative to this program.
In Windows I have no problems (with Eclipse arrival to 65 degree, 70 rarely).

RehabMan, I wanted to thank you once again for your quick and fundamental support :thumbup:!
 
RehabMan said:
Notes on Clover

With Clover there are slight differences, although the same concepts apply.

Here is a quick Ivy/Sandy/Haswell Power Management checklist as it relates to Clover:
- patched AppleIntelCPUPowerManagement can be patched on the fly with config.plist/KernelAndKextPatches/AsusAICPUPM=true
- the kernel can be patched for XCPM (Haswell) with config.plist/KernelAndKextPatches/KernelPm=true
- the kernel can be patched for "Local APIC" panic with config.plist/KernelAndKextPatches/KernelLapic=true
- generated SSDT should be placed at /EFI/CLOVER/ACPI/patched/SSDT.aml
- appropriate System Definition (SMBIOS) for your CPU in config.plist/SMBIOS. Use the Clover Configurator to generate one
- to drop all OEM SSDTs, use config.plist/ACPI/SSDT/DropOem=true
- no rollbacks of AppleACPIPlatform.kext
- no NullCPUPowerManagement.kext (NullCPU is not even required during installation because AsusAICPUPM=true)
- Processor objects declared in Scope (_SB) or Scope (_PR) in DSDT (pretty rare not to have them in OEM DSDT)

I followed all your points. But, I couldn't understand your Last Point!

To your point: I generated the SSDT with a override flag as ./ssdtPRGen.sh -c 1

Also, how to check whether my Nvidia is turned OFF or not?

I have attached my generated SSDT and config.plist.
 

Attachments

  • config.plist.zip
    1.5 KB · Views: 126
  • ssdt.aml.zip
    995 bytes · Views: 132
I followed all your points. But, I couldn't understand your Last Point!
Also, how to check whether my Nvidia is turned OFF or not?

I have attached my generated SSDT and config.plist.

When the ssdtPRgen.sh script works, it detects correctly the scope of Processor objects in DSDT.
 
When the ssdtPRgen.sh script works, it detects correctly the scope of Processor objects in DSDT.
What should I do now? I don't know whether my Nvidia is switched OFF or not.

I have done the following:
- Changed config.plist/KernelAndKextPatches/AsusAICPUPM=true
- Changed config.plist/KernelAndKextPatches/KernelPm=true
- Changed config.plist/KernelAndKextPatches/KernelLapic=true
- Generated SSDT using the command: ./ssdtPRGen.sh -c 1
- generated SSDT is placed here /EFI/CLOVER/ACPI/patched/SSDT.aml
- Generated SMBIOS using Clover Configurator and placed it in config.plist/SMBIOS.
- to dropped all OEM SSDTs using config.plist/ACPI/SSDT/DropOem=true
- Untouched AppleACPIPlatform.kext
- There is no NullCPUPowerManagement.kext

Now what should I do for this point?
- Processor objects declared in Scope (_SB) or Scope (_PR) in DSDT (pretty rare not to have them in OEM DSDT)
 
What should I do now? I don't know whether my Nvidia is switched OFF or not.

I have done the following:
- Changed config.plist/KernelAndKextPatches/AsusAICPUPM=true
- Changed config.plist/KernelAndKextPatches/KernelPm=true
- Changed config.plist/KernelAndKextPatches/KernelLapic=true
- Generated SSDT using the command: ./ssdtPRGen.sh -c 1
- generated SSDT is placed here /EFI/CLOVER/ACPI/patched/SSDT.aml
- Generated SMBIOS using Clover Configurator and placed it in config.plist/SMBIOS.
- to dropped all OEM SSDTs using config.plist/ACPI/SSDT/DropOem=true
- Untouched AppleACPIPlatform.kext
- There is no NullCPUPowerManagement.kext

Now what should I do for this point?
- Processor objects declared in Scope (_SB) or Scope (_PR) in DSDT (pretty rare not to have them in OEM DSDT)

If you didn't have Processor objects in your DSDT, you'd know it (OS X would crash/reboot at cold boot). It is usually only a problem with certain (older) hardware.

CPU power management has nothing to do with nvidia disabling...
 
If you didn't have Processor objects in your DSDT, you'd know it (OS X would crash/reboot at cold boot). It is usually only a problem with certain (older) hardware.

CPU power management has nothing to do with nvidia disabling...

Oh! So, how would I disable Nvidia?
 
Back
Top