xxxzc / xps15-9570-macos

macOS Monterey/Ventura on XPS15-9570 with OpenCore
194 stars 28 forks source link

Kernel Task stuck at 15% when finger rests on touchpad #73

Closed adityahota closed 3 years ago

adityahota commented 3 years ago

I see with the latest release that kernel task is taking up about 15% of CPU usage when my finger is resting on the trackpad. This was fixed earlier in a release but it looks like something has regressed.

Also, do you know if there is a way to disable the touchscreen as with the previous AML replacement?

xxxzc commented 3 years ago

Releases except 201208(use VoodooI2C 2.5.2) are using the same VoodooI2C 2.4.4 and SSDT-I2CX(SSDT-TPDX renamed).

You can copy https://raw.githubusercontent.com/xxxzc/xps15-9570-macos/ced5c266dc29c6c3de0efc9e87458f3e10677760/ACPI/SSDT-TPDX.dsl to SSDT-I2CX and uncomment TPLT = Zero to disable touchscreen.

adityahota commented 3 years ago

~Thanks--I was able to disable the touchscreen. However, it still looks like I am getting between 15 to 20% kernel task usage even at idle. Is anyone else getting that issue?~

~I tried changing the layout-id for AppleALC back to 72, but that didn't seem to affect anything.~

Looks like the usage went down a few minutes after restarting. I will keep an eye out!

MaKS-NUC commented 3 years ago

With the latest release 210110 kernel task is taking up about 14% of CPU usage when the finger is resting on the trackpad and about 12% when is resting on the touchscreen.

adityahota commented 3 years ago

Doing the steps to change SSDT-I2CX.aml (described by XXXZC) fixes the issue for me. I get 4 to 5 percent with my finger on trackpad and 2 percent without. Unfortunately, that disables touchscreen.

let me know if you need a compiled version.

xxxzc commented 3 years ago

@MaKS-NUC @adityahota you can try to add the SSDT in https://github.com/xxxzc/xps15-9570-macos/issues/74#issuecomment-751622506 and remove https://github.com/xxxzc/xps15-9570-macos/blob/master/OC/config.plist#L202-L208 to enable interrupt mode on touchscreen.

MaKS-NUC commented 3 years ago

I tried described changes but the result is the same ~14% kernel task. I will continue with touchscreen disabled ~ 5% kernel task.

MaKS-NUC commented 3 years ago

One more thing:

I managed to get better performance without sacrifice battery life by modified CPUFrienDataProvider.kext, tested with Geekbench5.

With OLD CPUFriendDataProvider.kext the result is: 

OLD_CPUFriendDataProvider

With NEW CPUFriendDataProvider.kext the result is 10% better Since-Core Performance:

NEW_CPUFriendDataProvider

And using VoltageShift (https://github.com/sicreative/VoltageShift) with these parameters: 

VoltageShift

The result is more than 10% in Multi-Core Performance:

NEW_Kext_and_Undervolt

 I attached the modified kext for testing.

P.S. The CPU cooling system is repasted with Arctic MX-4 Thermal Compound.

CPUFriendDataProvider.kext.zip