question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[SOLVED] Libinput does not work as expected on wayland

See original GitHub issue

The issue:

Libinput is not working as expected for qtile (no issues on manjaro-gnome-liveusb). I expected e.g. my touchpad to work (enabling tap), but nothing happened and defaults were loaded. I think this is a bug.

The bug / logs:

  • In the tty after closing qtile (not in the qtile log) I can see the same as in this discussion as the very first message libinput error: failed to load the device quirks from /usr/share/libinput and /etc/libinput/local-overrides.quirks. However my qtile starts normally and everything else works.
  • in the qtile log there is a relevant line: ERROR libqtile inputs.py:_configure_pointer():L251 Qtile was not built with libinput configuration support. For support, pywlroots must be installed at build time.

What I did (reproducability):

  • installed from source (pip install --user .) following the correct order of package installs and running make run-ffibuild after installing dependencies and before pip install
  • default config

I have no idea what is wrong and where this issue even originates (my debugging efforts were fruitless, nothing in pywlroots or pywayland). Any help is welcome.

System Details

  • Asus Vivobook M4103QA
  • Linux: 5.15.59-gentoo-dist
  • qtile version: 0.21.1.dev87+g2ecbb5fd
  • wlroots: 0.15.1
  • pywlroots: 0.15.19
  • cairocffi: 1.3.0
  • cffi: 1.15.1
  • xcffib: 0.11.1

Required:

  • I have searched past issues to see if this bug has already been reported.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
oddlamacommented, Aug 11, 2022

@clotodex Maybe try to link libinput in the same way? Maybe more libs are broken.

1reaction
Magnitudexxcommented, Nov 24, 2022

@clotodex i indeed have all those installed

EDIT: wlroots package on arch is out of date

Read more comments on GitHub >

github_iconTop Results From Across the Web

Libinput-gestures stopped working after libinput update from ...
I noticed that libinput-gestures stopped working correctly. Basically, after the update the first one or few gestures worked then they stopped.
Read more >
Not OP, but when I tried Wayland way back when, I discovered that ...
Not OP, but when I tried Wayland way back when, I discovered that libinput didn't let you remap tap buttons, something Xorg does...
Read more >
libinput - ArchWiki
If you installed either Xorg or Wayland, then Libinput should already be installed as a dependency; there are no necessary extra packages.
Read more >
synaptics vs libinput and GNOME 3.20 no longer supporting ...
I have been using GNOME on Wayland for several weeks and nothing is bad. Probably making Wayland the default GNOME session is the...
Read more >
1350084 – Touchpad edge scrolling does not work
Description of problem: After upgrade to 24, I have been forced to start using libinput instead of synaptics. Additionally, I started using Wayland....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found