bavariancake / XPS9570-macOS

macOS Mojave/Catalina on Dell XPS 9570.
263 stars 45 forks source link

macOS defaults to 1.3GHz min speed, but CPU supports 0.8GHz #7

Open alexmenn opened 5 years ago

alexmenn commented 5 years ago

I came from xiaomi notebook pro, and there we we're using cpufriend kext pack to get 800mhz low freq and keep some battery.

Is this possible with i7 8750h? I've searchned in tonymac and other sites and didn't found nothing.

bavariancake commented 5 years ago

It's on the to-do list. Have you tried following the instructions for CPUFriend (https://github.com/acidanthera/CPUFriend/blob/master/Instructions.md)?

If you get this to work, a pull request is appreciated.

M69W commented 5 years ago

Maybe need CPUFriendDataProvider.kext and need hwpenable

alexmenn commented 5 years ago

I know @M69W , but we must configure cpufrienddataprovider, and I dont know how. I will wait to an expert :)

bavariancake commented 5 years ago

Instructions are linked above. Proper sleep support will likely yield better power savings. Fixing a problem and providing a pull request is a way we all end up with a better setup.

Asking everyone else repeatedly does not improve anything. Please spend the time, submit a pull request, and be part of the solution.

bavariancake commented 5 years ago

Maybe need CPUFriendDataProvider.kext and need hwpenable

You do not need the "HWPEnable" option, since HWP is already enabled. See "Testing power management" section of readme.

bavariancake commented 5 years ago

This change is going to be of limited value - better sleep support would yield much better power savings on battery, and this is irrelevant on AC power. Closing until someone provides a pull request.

bavariancake commented 5 years ago

Re-opening this issue for better visibility. Pull requests welcome.

M69W commented 5 years ago

https://github.com/stevezhengshiqi/one-key-cpufriend one key is easy for everyone to do it.

erenatas commented 5 years ago

https://github.com/stevezhengshiqi/one-key-cpufriend one key is easy for everyone to do it.

This should do. Although, It doesn't drop to 0.8 after waking up from sleep for me.

d3myz commented 5 years ago

I applied this fix to my build, XPS 9570, i7-8750H, 1080P, 16GB, 256gb Toshiba and chose preference 2. My processor is idling at around 800-870mhz. Performance is a bit slower, but not terribly noticeable. Battery life has increased significantly. Thanks for the fix @erenatas!

Edit: my system doesn't sleep properly, the screen just turns off and acts like it's sleeping but the battery still drains like in wake mode. However when it wakes from this-non sleep state the CPU still idles around 800mhz.

bavariancake commented 5 years ago

@d3myz - Check your power usage with Intel Power Gadget. It should be around 1-3W idle. Audio layout id 30 has an issue where you'll see 8-15W idle power usage after wakeup from sleep. If you can live with the headphone output not working correctly, audio layout id 11 doesn't have this issue. I haven't resolved/documented this problem yet.

d3myz commented 5 years ago

Ahh, i see it. I'm clocked down to 800mhz, but the PKG anbd Core together are using between 5-15w. I don't need a headphone out. how do i switch the layout?

M69W commented 5 years ago

@d3myz https://github.com/Xigtun/xps-9570-mojave/issues/37

prajals commented 5 years ago

@erenatas I've applied the following procedure https://github.com/stevezhengshiqi/one-key-cpufriend but cpu idle doesn't drop to 800ghz. is there anything i need to change on config.plist. I ve used the https://github.com/LuletterSoul/Dell-XPS-15-9570-macOS-Mojave config and i am only getting 1100ghz cpu idle. please help