Voodooi2c: Input lags when using GPIO interrupts in v2.1.4+

Created on 31 May 2019  路  46Comments  路  Source: VoodooI2C/VoodooI2C

I have a problem with releases later than 2.1.4.

With 2.1.4 all working fine , but after that (it happens also with latest 2.2) pointer freezes randomly for about 1sec and then starts again. This happens all the time making it impossible to use. Both on HS and Mojave.

Seems like another device interfering with trackpad?

Can you take a look at my dump files? One with all working (2.1.4) and one (2.2) with the probem described.

2.1.4.zip
2.2.zip

Most helpful comment

@ben9923 ,
yes you can.
Latest release is a masterpiece.

All 46 comments

I'm also having this issue. Did you get any resolution?

Unfortunately no.

I get VoodooI2C to work today and I have sams issue. Random freezes for 1 second. I have also version 2.2.

I tried going back to 2.1.4 and I even have problems with that version... Perhaps I'm not clearing it up properly...

Version 2.1.3 solved this issue, but the I have problems with boot.

Hope a fixed version be uploaded soon.

me too - ELAN 1300

Here's the symptoms on my Asus: after any combined keyboard operation incl. a modifier key (cmd+ c copy, cmd + s save, cmd + x cut etc.), the mouse pointer is "paralyzed"/ like in stasis for maybe half a second. @ben9923 's 08-23 kexts (neither 'no-lag' nor 'lag) change anything.

try to edit VoodooI2CHID.kext info.plist, change QuietTimeAfterTyping to 0

@regae WHHHAAAAAT ?? THAT'S IT - constant < 1 sec. pointer lag/ freeze/ delay finally confirmed positively SOLVED with my Asus Vivobook S15's ELAN 1300 touchpad in Mojave (going to test High Sierra next - Catalina not installed yet) 馃憤 馃挴 馃 !!

How on the planet do you know this? I've even been communicating with @alexandred about this.

Why the heck is this default to being with? So this means that _everybody_ using current VoodooI2CHID has been having these lags? How can one work like that.

I totally completely utterly don't get it, this is a head-banger.

@alexandred ??

That's the default timeout at Macos.
Maybe if we change it to 0 we will have problems , like battery drain or anything else?

@LeeBinder , have you tried that ? What are your impressions?

@Mateo1234454545

  1. that value in VoodooI2CHID is naturally NOT the default timeout in/of macOS but the timeout VoodooI2CHID regulates and determines .. grab a current Mac(book) with a current macOS and you will sure NOT encounter any such lag. Otherwise this topic would not exist to begin with, I dare say
  1. with what logic could changing this timeout value alter battery life? What this function does is store the keystroke performed while the function is on wait for the time specified in ms, then perform it anyway. No delay can ever save energy, and esp. not one of 500ms (default value). In contrast, storing event data costs energy (esp. our energy waiting 500ms all the time for
    things to happen).

  2. Sure thing I've applied this right away with a positive result, therefore my reaction. I figured that'd be obvious and self explanatory.. but I'll add that to my above posting for hopefully anybody to understand.

I still don't dig why this odd "feature" or rather (not just to me but apparently also to others) BUG was introduced from 2.0.3 to 2.1.4+, and everybody seems to be putting up with it. Or maybe they don't, because in some peep's h'tosh configs, this setting might be ignored and result in 0 to begin with? Odd no matter how.

if so then it does not make any practical sense because 500ms is too little during a full typing "spree", and obviously too annoyingly much for quick combined keyboard commands involving CMD / ALT/ etc.

to disable palm rejection, disable RM,deliverNotification in "VoodooI2CHIDDevice Precision Touchpad HID Event Driver"
its working without setting QuietTypeAfterTyping to 0

regae, do you know if there is any tangible advantage (like higher reliability or alike) of toggling "RM,deliverNotification" to 'No' over setting "QuietTypeAfterTyping" to '0', or are they simply two paths of equal value to achieve basically the same?

I think that neither, setting "QuietTimeAfterTyping" to '0' or "RM,deliverNotification" to 'No' as suggested are optimal because both basically deactivate palm rejection, which is a good feature, needless to explain. I am playing around with values betw. 50 and 150 right now. It's all about finding the value according to one's workflow-speed. It should be as high as possible without causing the observed unergonomic "stickiness" (lags/ delays/ freezes).

As a side note: I was experiencing that esp. High Sierra is very picky about that kext's permissions and how it is integrated into the kext cache. Our classic commands (and also KCPM Utility Pro) have been failing me, resulting in a KP on reboot after each change, then having to boot with -x. What DOES always work after each change is Kext Updater: Tools/ Rebuild kext cache & repair perms[..], reboot

I settled for a value of 100: tangible palm rejection, NO tangible delay 馃

Hmm, was the quiet time actually related? It should only have effect while typing, of course.
Nothing related to GPIO, are you sure you're talking about the same problem?
@Mateo1234454545 Can you verify it's really related, as you opened the issue?

Anyway, default quiet time was changed to 0.1s, as 0.5s is really too much.

Hmm, was the quiet time actually related? It should only have effect while typing, of course.
Nothing related to GPIO, are you sure you're talking about the same problem?
@Mateo1234454545 Can you verify it's really related, as you opened the issue?

Anyway, default quiet time was changed to 0.1s, as 0.5s is really too much.

No , it is only releted to typing as you said , at least for my laptop.
Only solution is described at #213 by Erictoby.

Hmm, was the quiet time actually related? It should only have effect while typing, of course.
Nothing related to GPIO, are you sure you're talking about the same problem?
@Mateo1234454545 Can you verify it's really related, as you opened the issue?
Anyway, default quiet time was changed to 0.1s, as 0.5s is really too much.

No , it is only releted to typing as you said , at least for my laptop.
Only solution is described at #213 by Erictoby.

I see, thank you for verifying :)
Can you try latest master of all kexts? (VoodooI2C, VoodooI2CHID, VoodooGPIO)?
There are pull requests by @al3xtjames that were just merged, and I suspect they can have effect on your issue too.

@ben9923 , I could but I don't have XCode and I can't compile them.
Maybe you could upload a release?

Hmm, was the quiet time actually related? It should only have effect while typing, of course.
Nothing related to GPIO, are you sure you're talking about the same problem?
@Mateo1234454545 Can you verify it's really related, as you opened the issue?

Anyway, default quiet time was changed to 0.1s, as 0.5s is really too much.

Maybe something to investigate, but I noticed a definitive change (improvement) to tap & drag once it was set to 0.

I just installed Erictoby's VoodooI2C v.2.2 + Beta M latest from 2019-Oct-11 edited with QuietTimeAfterTyping "100". So far so good. I really appreciate the collaboration and sharing of experiences here!

Hmm, was the quiet time actually related? It should only have effect while typing, of course.
Nothing related to GPIO, are you sure you're talking about the same problem?
@Mateo1234454545 Can you verify it's really related, as you opened the issue?
Anyway, default quiet time was changed to 0.1s, as 0.5s is really too much.

No , it is only releted to typing as you said , at least for my laptop.
Only solution is described at #213 by Erictoby.

I see, thank you for verifying :)
Can you try latest master of all kexts? (VoodooI2C, VoodooI2CHID, VoodooGPIO)?
There are pull requests by @al3xtjames that were just merged, and I suspect they can have effect on your issue too.

No , unfortunately they don't.

@Mateo1234454545 can you please post a link here to compiled binaries of al3xtjames latest kexts? I looked thoroughly but could not find any. I want to see if there is any difference with my trackpad. Thanks.

I have to say, my experience with the most recent compile is simply the best! In previous compilation, I had to deal with cursor pointer randomly jumps off and this makes typing a chore. But, now all of that is gone! thumbs up @al3xtjames

Thanks to all of you, but for me on my Asus Vivobbok S15 w. ELAN1300, dead pointer with the kexts (VoodooI2C & VoodooI2CHID) from inside VoodooI2C-02112019.zip.

Issue also remains the same thing with:

  • onemanosx's VoodooI2C.kext + original VoodooI2CHID.kext
  • vice versa
  • polling or GPIO-interrupts mode via clover config.plist + respective SSDTs

Now running again on Erictoby's compile.

Thanks to all of you, but for me on my Asus Vivobbok S15 w. ELAN1300, dead pointer with the kexts (VoodooI2C & VoodooI2CHID) from inside VoodooI2C-02112019.zip.

Issue remains the same thing with:

  • onemanosx's VoodooI2C.kext + original VoodooI2CHID.kext
  • vice versa
  • polling or GPIO-interrupts mode via clover config.plist + respective SSDTs

Now running again on Erictoby's compile.

How about using VoodooI2C-02112019.zip's VoodooI2C + VoodooI2CHID instead of mix and match between builds?

read again what I wrote - that's what I did to begin with (needless to say ..) ;)

@onemanosx which sdk did you compile with in Xcode: only for Catalina? Which macOS are you running?

@onemanosx which sdk did you compile with in Xcode: only for Catalina? Which macOS are you running?

compiled in Catalina

al3xtjames's compiled by onemanOSX/VoodooI2C.kext/Contents/Info.plist:
LSMinimumSystemVersion: 10.11

I very much doubt you compiled with your Xode running in Catalina with ALL SDKs active from 10.11-10.15... this MinimumSystemVersion value rather seems to me like a bug in Xcode..

I don't have Catalina installed yet. Did you or @Mateo1234454545 ever try your compile's kexts in Mojave or even High Sierra?

@onemanosx , version I2C.-.10112019 doesn't load on my laptop at Catalina.
Maybe a GPIO pin problem?
Archive.zip
Geni2c.pdf

@Mateo1234454545 onemanosx clearly wrote that I2C - 10112019.zip is explicitly meant for Mojave and High Sierra, in contrast to the compile before which he made for Catalina. Why on the planet would you install 10.13/10.14 kexts in 10.15 to begin with, when you already had the 10.15 kexts working for you ??????? Totally beats me, mate ....

@onemanosx : thanks for your effort compiling, very much appreciated! Will try very soon in both, HS & M. Good news: your Catalina compile does work mighty fine for me in 10.15.1 which I just installed today.

Will report back once I tested.

@onemanosx : I2C - 10112019 kexts neither working for me in HS nor in M: pointer doesn't move at all.

BTW, I just now see that the link behind I2C - 10112019.zip points to alexandred/VoodooI2C/files/ and not to you as before. So what's the story with this compile: made by you based on al3xtjames's fork, or made by (who) based on (alexandred master trunk or someone's branch or fork)?

@Mateo1234454545 onemanosx _clearly_ wrote that I2C - 10112019.zip is explicitly meant for Mojave and High Sierra, in contrast to the compile before which he made for Catalina. Why on the planet would you install 10.13/10.14 kexts in 10.15 to begin with, when you already had the 10.15 kexts working for you ??????? Totally beats me, mate ....

Which one is for Catalina? I don't see it anywhere. Could you send me the link?

@Mateo1234454545 : below link you yourself provided to onemanosx's compile

@onemanosx I had to drop VoodooI2C-02112019 even for Catalina 15.1 because the kexts (or one of them) cause KP on waking from sleep.

I also tried the two relevant kexts from I2C - 10112019.zip in Catalina for the heck of it, but as expected they have no effect, being for Mojave and/ or High Sierra, as you wrote.

Again thanks for sharing, but for now I'm back to Erictoby's compile for Mojave & Catalina. Would sure still enjoy to get as you fully rid of the random pointer jump offs..

This issue still persist in version 2.4.

Can we close this one after 2.4.2 was released?

@ben9923 ,
yes you can.
Latest release is a masterpiece.

@ben9923 ,
yes you can.
Latest release is a masterpiece.

Neat. Finally!

agree, masterpiece! You devs please pop the corks/ bust the caps 馃 馃 馃 !!!

Yes, agree. 2.4.2 is the best version yet. Touchpad is like on real MacBook :).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dreamwhite picture dreamwhite  路  11Comments

axel9546 picture axel9546  路  11Comments

TaiPhamD picture TaiPhamD  路  7Comments

williambj1 picture williambj1  路  11Comments

onejay09 picture onejay09  路  6Comments