Bug 92720 - Use SIGIO for input events
Summary: Use SIGIO for input events
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/libinput (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Peter Hutterer
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-29 01:29 UTC by Peter Hutterer
Modified: 2016-10-26 05:38 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Peter Hutterer 2015-10-29 01:29:30 UTC
We don't use SIGIO right now because it does weird things to the epollfd that libinput exposes and in anyway, libinput is not designed to work inside a signal handler.
The drawback of this is that pointer movement stalls if the server is busy.

We need to find a suitable approach to run libinput in a second thread for dispatch() and pass the events through the SIGIO handler to the server.
Comment 1 Peter Hutterer 2016-10-26 05:38:20 UTC
fixed in server 1.19 with the input thread


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.