Code Monkey home page Code Monkey logo

Comments (7)

smallssnow avatar smallssnow commented on June 20, 2024 3

This is a very serious bug, I really need your hotpatch, because I use the touch screen very few times, thank you for your guidance, because "mac" is no touch screen, if you turn off the touch screen to bring smooth, I will like this change

from dell-xps15-9570-macos.

LuletterSoul avatar LuletterSoul commented on June 20, 2024

Thanks for your feedback.The recent release has enabled GPIO interrupt mode for VoodooI2C.kext .The kernel_task CPU usage should be lower a little bit.But as you said,
we can not have it both ways.

from dell-xps15-9570-macos.

smallssnow avatar smallssnow commented on June 20, 2024

The latest version of voodooPS2controller supports all three-finger gestures, but after I observed his code, it seems that I didn't add 4 fingers. If I start from the source code and add 4 fingers, it may solve this problem completely, but this project seems to be difficult. .

from dell-xps15-9570-macos.

LuletterSoul avatar LuletterSoul commented on June 20, 2024

Actually, the reason why VoodooI2C causes high CPU usage is that it works on Pooling Mode.

At previous release, I have enabled GPIO Interrupt Mode of trackpad successfully but not touchscreen, ie. touchscreen still works on Pooling Mode which requires more CPU resources.

Once I enable GPIO mode of touchscreen, the system will be stuck on busy time out TPL1 when boots, it will cash and spend long time on entering system UI.

Maybe it's a bug of VoodooI2C or I make a mistake during building hotpatch.But the two I2C devices ACPI object named TPD0 and TPL1 has almost the same structure from low level source code view.Using the same return way should work on TPL1 with TPD0.But the result shows failed thing and cashes the system.

One compromise is to close touchscreen and use trackpad only.(I don't use touchscreen usually.)It gains low CPU usage from now.I will share hotpatch to disable it if someone need.

from dell-xps15-9570-macos.

eamigo86 avatar eamigo86 commented on June 20, 2024

@LuletterSoul could you share your hotpatch? or launch a new release with it?

from dell-xps15-9570-macos.

andresandiah avatar andresandiah commented on June 20, 2024

By default, XPS 1080p users dont benefit of the touchscreen enable by default. Maybe in the next EFI revision, make it default to be disabled on the config_1080.plist : and make it optional dor the 4k model.
Thanks in advance

from dell-xps15-9570-macos.

LuletterSoul avatar LuletterSoul commented on June 20, 2024

@eamigo86 @smallssnow @andresandiah A new release has been launched.The touchscreen is disabled.The kernel_task CPU usage is lower than 5% now.The trackpad works very well.But it's not perfect that I can't use touchscreen.Hope someone provide a better solution.

The CPU frequency is locked at 800MHz seems to be irrelevant to this bug.

from dell-xps15-9570-macos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.