Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update power management page #111

Merged
merged 11 commits into from
Aug 8, 2022
Merged

Update power management page #111

merged 11 commits into from
Aug 8, 2022

Conversation

dhinakg
Copy link
Member

@dhinakg dhinakg commented Jun 21, 2022

@dhinakg dhinakg changed the title Add notes on using CPUFriend + reusing old frequency vectors Update power management page Jun 21, 2022
universal/pm.md Outdated Show resolved Hide resolved
universal/pm.md Outdated Show resolved Hide resolved
universal/pm.md Outdated Show resolved Hide resolved
universal/sleep.md Outdated Show resolved Hide resolved
@PMheart
Copy link

PMheart commented Jun 22, 2022

I would also recommend putting CPUFriend instructions (https://github.com/acidanthera/CPUFriend/blob/master/Instructions.md) somewhere.

universal/pm.md Outdated Show resolved Hide resolved
universal/pm.md Outdated Show resolved Hide resolved
universal/pm.md Outdated Show resolved Hide resolved
@dhinakg dhinakg self-assigned this Jul 26, 2022
@dhinakg dhinakg marked this pull request as ready for review July 26, 2022 20:16
universal/pm.md Outdated Show resolved Hide resolved
universal/pm.md Outdated Show resolved Hide resolved
universal/pm.md Outdated Show resolved Hide resolved
universal/pm.md Outdated Show resolved Hide resolved
dhinakg and others added 3 commits July 29, 2022 17:57
Co-authored-by: Avery Black <[email protected]>
Co-authored-by: Avery Black <[email protected]>
@@ -116,7 +144,7 @@ This final entry is to help macOS out what kind of overall performance you'd lik
Once you're finished, you'll be provided with a CPUFriendDataProvider.kext and ssdt_data.aml. Which you choose is your preference but I recommend the kext variant to avoid any headaches with data injection into Windows and Linux.

* **Note**: Load order does not matter with the CPUFriendDataProvider as it's just a plist-only kext
* **Note 2**: Wake issues resulting from CPUFriend is likely due to incorrect frequency vectors, every system is unique so you'll need to play around until you get a stable config. Kernel panics will have `Sleep Wake failure in efi`.
* **Note 2**: Wake issues resulting from CPUFriend are likely due to incorrect power management data. Every system is unique so you'll need to play around until you get a stable config. Kernel panics will have `Sleep Wake failure in efi`. Reusing power management data from old macOS versions can also cause issues, so recreate your data provider if you update macOS.
* **Note 3**: If you do choose to use ssdt_data.aml, note that SSDT-PLUG is no longer needed. However the setup for this SSDT is broken on HEDT platforms like X99 and X299, so we highly recommend SSDT-PLUG with CPUFriendDataProvider.kext instead.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just an idea following Note 2 - maybe we could mention creating CPUFriendDataProvider_OSVersion.kext and then set Min/MaxKernel such that specific set of power management data is injected for different versions of macOS.

@PMheart
Copy link

PMheart commented Aug 8, 2022

The rest looks good to me. I may compose a separate PR if I could help with anything afterwards.

@PMheart
Copy link

PMheart commented Aug 8, 2022

Looks good to me now. I will add an option to CPUFriend’s ResourceConverter creating data provider kexts with version later.

@dhinakg dhinakg dismissed 1Revenger1’s stale review August 8, 2022 22:02

communicated on another platform, looks good

@dhinakg dhinakg merged commit 1136f85 into master Aug 8, 2022

::: tip

SSDT-PLUG is not required on 12.4 and up.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

plugin-type=1 check was dropped on macOS 12.3b1+

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right. Thanks. Please file a PR for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants