rmkit-dev / rmkit

| remarkable app framework | https://rmkit.dev
https://build.rmkit.dev
365 stars 32 forks source link

[remux] Swipe up gesture does not open remux (rM2, v2.12.3.606) #173

Closed hellerbarde closed 1 year ago

hellerbarde commented 2 years ago

I installed it via Toltec:

opkg install remux
systemctl disable --now xochitl
systemctl enable --now remux

Unfortunately, swiping up doesn't make remux appear at all. How can I provide better information to debug this?

SirDedale commented 2 years ago

Looks like I experience the same thing. Updated RM2, then ddvl and finally toltec pkgs. remux doesn't show up anymore. Tried to systemctl stop xochitl and systemctl start remux as well.

raisjn commented 2 years ago

it is likely related to a new release, right? rm2fb may not support v2.12.3.606 (is it beta?)

raisjn commented 2 years ago

can you share the remux logs after performing the swipe? journalctl -u remux. it sounds like xochitl is displaying fine, so the issue wouldn't be in rm2fb.

mariusdkm commented 2 years ago

So I have almost the same issue, but remux seems to be working, but it takes at least 10 swipes to get it to show up. I got remux and ddvk-hacks installed with my remarkable 2 with version 2.12.3.606. The logs seem to be fine, no errors and the touch swipe gestures seem to be registered. Maybe it has something to do with this commit https://github.com/rmkit-dev/rmkit/commit/83a60d6ff1788308655c4153f9ea7f748957a2fc ?

raisjn commented 2 years ago

what is your swipe gesture? i just upgraded to 2.12.3.606. and remux works fine. i'm on remux 0.2.2-1. i will install ddvk-hacks now and try it out

raisjn commented 2 years ago

i just tried out ddvk-hacks and the swipe gesture (one finger upwards on either side of the display) still works. maybe your fingers are larger than mine? (try swiping with just the tip of the index finger?)

raisjn commented 2 years ago

here's remux without the palm filter enabled: https://raisjn.net/remux.no_palm_filter, can copy it to /opt/bin/remux and then chmod +x /opt/bin/remux. If you run it from commandline, don't forget to use rm2fb-client remux

mariusdkm commented 2 years ago

So without the palm filter it's working every try, I then reinstalled the recent version from toltec and its back to only working only every so often.

maybe your fingers are larger than mine? (try swiping with just the tip of the index finger?)

I wouldn't say that I have big fingers, I tried with my pinky but that doesn't seem to change anything.

what is your swipe gesture?

I don't have anything changed from the default installation. I always swipe on the far right from the lower third to the upper third of the screen.

raisjn commented 2 years ago

fixed in https://github.com/rmkit-dev/rmkit/commit/2b37e6e807842373fd5293496e29e1f09205db91, it's available on the build server: https://build.rmkit.dev/master/latest/rm/remux

i made a PR request on toltec to make this off by default: https://github.com/toltec-dev/toltec/pull/588

thanks for debugging this and figuring out the issue! (i would have not found it without your help)

SirDedale commented 2 years ago

Sorry about going dark but I can confirm that the build works for me! Thank you :)

hellerbarde commented 2 years ago

@raisjn for me too! Thanks a lot.

Groxx commented 2 years ago

Yep, palm rejection fits what I'm seeing: if I swipe with my thumb flat, it ignores me. If I swipe with just the tip, it works essentially every time.

Probably just over-enthusiastic palm detection.