harshadgavali / gnome-x11-gesture-daemon

MIT License
68 stars 4 forks source link

Gestures are not recognized and the daemon process begins to intensively use the CPU #3

Closed H6LS1S closed 3 years ago

H6LS1S commented 3 years ago

image

$ systemctl --user status gesture_improvements_gesture_daemon.service
● gesture_improvements_gesture_daemon.service - gesture improvements Gesture Daemon
     Loaded: loaded (/home/helsis/.config/systemd/user/gesture_improvements_gesture_daemon.service; static)
     Active: active (running) since Sun 2021-10-10 15:47:37 EEST; 44s ago
   Main PID: 1735 (gesture_improve)
      Tasks: 1 (limit: 18848)
     Memory: 2.9M
        CPU: 32.313s
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/gesture_improvements_gesture_daemon.service
             └─1735 /home/helsis/.local/bin/gesture_improvements_gesture_daemon

Oct 10 15:47:37 helsis systemd[1485]: Started gesture improvements Gesture Daemon.
Oct 10 15:47:48 helsis gesture_improvements_gesture_daemon[1735]: thread '<unnamed>' panicked at 'libinput returned invalid 'libinput_event_type'', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/input-0.6.0/src/event.rs:108:18
Oct 10 15:47:48 helsis gesture_improvements_gesture_daemon[1735]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Ref: https://github.com/harshadgavali/gnome-gesture-improvements/issues/15

OS: Solus OS 4.3 Libinput: 1.19.1 Kernel: 5.14.10 GDM: 41.0

harshadgavali commented 3 years ago

Hi Can you try latest https://github.com/harshadgavali/gnome-x11-gesture-daemon/releases/tag/git_release ? Issue was with libinput bindings https://github.com/Smithay/input.rs/issues/31, and is fixed with version 0.7, and libinput 1.19.1 .

H6LS1S commented 3 years ago

👍🏻

H6LS1S commented 3 years ago

Fuck, this is the fastest solution to an issue in my life, 20 minutes! I just waited a year and a half to add one line of code to the Postgres container repository ))