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

high kernel_task CPU #1

Closed
toonvanstrijp opened this issue Mar 23, 2020 · 7 comments
Closed

high kernel_task CPU #1

toonvanstrijp opened this issue Mar 23, 2020 · 7 comments

Comments

@toonvanstrijp
Copy link

Heey @jaromeyer, I'm trying out your repo and the boot seems smooth as the overall repo. But I'm experiencing high CPU usage by the kernel_task process. Any idea how to debug this, or what is the cause of this?

Screenshot 2020-03-23 at 21 33 42

@jaromeyer
Copy link
Owner

jaromeyer commented Mar 23, 2020

I'm pretty sure you have touchscreen enabled and like I wrote in the other issue the touchscreen runs in polling mode which results in a constant kernel_task usage of 15-30%. The guide tells you how to disable the touchscreen. After that, the kernel_task usage will only spike when touching the trackpad because it is using GPIO interrupts rather than constant polling.
Ah and maybe rebuild your kextcache once and reboot. Just to make sure everything is clean.

@jaromeyer
Copy link
Owner

@toonvanstrijp did the audio get any better with my repo? And could you lower kernel_task usage by disabling the touchscreen?

@frbuccoliero
Copy link
Contributor

I bet jaromeyer is right, my non touch 9570 has no kernel_task problem at all. This issue has been found in other EFIs too, touchscreen seems to be broken af.

@toonvanstrijp
Copy link
Author

toonvanstrijp commented Mar 25, 2020

@jaromeyer the audio got way better! :) and using the patch to disable touchscreen fixed kernel_task usage! :)

@jaromeyer
Copy link
Owner

jaromeyer commented Mar 25, 2020

@toonvanstrijp good to hear! If you keep using my repo, please report back if you face the same issue with it. Ive never had a single earrape noise since im using this setup

@hypafly
Copy link

hypafly commented Apr 3, 2021

Hello, I couldnt find the script to disable the touchscreen

I only saw this

defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO and this for the font smoothning

@jaromeyer
Copy link
Owner

@hypafly shouldnt be required anymore to save battery

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

No branches or pull requests

4 participants