You are not logged in.

#1 2012-08-18 07:45:32

Padfoot
Member
Registered: 2010-09-03
Posts: 381

xf86-input-evdev-2.7.3 issues

Hi all,

Just wanted to let everyone know there appear to be some bugs that have crept in to xf86-input-evdev. Trying to report upstream (don't think it's a packaging issue as downgrading to 2.7.2 resolves all the issues) yet the website (from the xf86-input-evdev arch package page) appears to be down.

I am using the package on a touchscreen tablet where the issues really rear their ugly head. In a desktop, they are probably not noticeable (unless you have a single/multi head setup with a rotated monitor)

The first thing I have noticed, is gtk3 menu bar buttons. Most noticeable in lightdm-gtk-greeter. I need to turn on the on-screen keyboard from the menu items at the top of the login page. The menu only activates when you first click on the menu, then away from the menu and then click the menu again.

Secondly, when using an on-screen keyboard with multiple windows open, the focus randomly jumps between windows when typing on the keyboard. This is most noticeable when firefox is open. It constanty steals the input focus.

Lastly, but most importantly, when rotating the screen, my input co-ordinates are modified (Evdev Axes Swap and Evdev Axis Inversion properties in xinput) as verified from the output of xinput list-props, yet xf86-input-evdev does not recognise the changed co-ordinate system. The input remains as if I never rotated the screen in the first instance.

So there seems to have been quite a big change between 2.7.2 and 2.7.3. As mentioned above, downgrading to 2.7.2 resolves all the issues.

If anyone is able to get to the xorg website or knows of another way to report this upstream, it would be appreciated.

Cheers.

[EDIT] Also, using easystroke for gesture input, you can link gestures to mouse buttons, scroll, keystrokes and scripts. scroll no longer works with 2.7.3. Reverting fixes the issue. Not sure if this effects mouse scroll wheels or not.[/EDIT]

Last edited by Padfoot (2012-08-18 08:18:50)

Offline

#2 2012-08-18 08:08:02

Padfoot
Member
Registered: 2010-09-03
Posts: 381

Re: xf86-input-evdev-2.7.3 issues

Managed to get a bug report in: https://bugs.freedesktop.org/show_bug.cgi?id=53669

Cheers.

Offline

#3 2012-08-18 09:31:07

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,640

Re: xf86-input-evdev-2.7.3 issues

Just a note: new 2.7.3 has been built with mtdev support. You might want to rebuild it with mtdev disabled to check if this causes the trouble.

Offline

#4 2012-08-21 08:28:25

abutanaev
Member
From: Russia, Novosibirsk
Registered: 2011-03-29
Posts: 27

Re: xf86-input-evdev-2.7.3 issues

I have two PC with Arch: one with nvidia proprietary driver, another with xf86-video-ati. Updated PC with nvidia driver recently and there was no mouse after update. To make short story long, actually PC didn't want to shut down after update, X respawned too fast, keyboard was dead, had to power off the PC and pacman database corrupted after that. Reinstalled some packages, tried to roll back some. After all rolling back just xf86-input-evdev solved the problem.

PC with ATI driver updated smoothly.

Offline

#5 2012-08-30 09:08:59

Padfoot
Member
Registered: 2010-09-03
Posts: 381

Re: xf86-input-evdev-2.7.3 issues

Thanks AndyRTR, have been working through the bug report with xorg, and finally got around to removing MTDEV and it is most definitely the culprit.

Reported this upstream, yet unsure if the MTDEV dependency is just Arch packaging or upstream.

Cheers.

Offline

#6 2012-08-31 12:04:48

David López
Member
Registered: 2012-08-26
Posts: 95

Re: xf86-input-evdev-2.7.3 issues

Hi. I have an ekoore perl (wetab, exopc) with an egalax touchscreen. I used lubuntu 12.04 and I suffered all the issues that Padfoot comment: focus, scroll with easystroke,... That's the main reason to move to Arch in my case. Installing 2.7.3 driver from repo didn't solve all these problems, but downgrading to 2.7.2 (from the snapshots in ARM) solved all of them. So THANK YOU, Padfoot, you've saved my life ;-)

However, there's a new issue in evdev driver 2.7.2 (and also in 2.7.1 and 2.7.0 from ARM). Sometimes when I clic, hold and move (the natural movement to select several files at once) the cursor suddenly moves to the left side of the screen, which, for example, makes dragging files to the trashcan very risky or makes impossible to play World of goo. This issue is not present in 2.7.3 from repo.

I would like to install 2.7.3 driver without mtdev, but I don't have idea how to do it. I've read https://bugs.freedesktop.org/show_bug.cgi?id=53669, but I can't understand the main part of what you're saying. Padfoot, can you please help me? I can install from pacman, from aur and from sources, but I don't know how to remove the mtdev option in 2.7.3 driver (I've used ubuntu for year, but only I week in Arch :-) ).

By the way, I think that the focus problem is also related with easystroke, disabling it solve the problem. By the way, I use easystroke 0.5.4 compiled from sources, because scroll in 0.5.5.1 was buggy in evded drivers 2.7.2, 2.7.1 and 2.7.0

PD: sorry for my bad English, I'm Spanish.

Wishes,

Offline

#7 2012-08-31 22:14:41

Padfoot
Member
Registered: 2010-09-03
Posts: 381

Re: xf86-input-evdev-2.7.3 issues

David López wrote:

Hi. I have an ekoore perl (wetab, exopc) with an egalax touchscreen. I used lubuntu 12.04 and I suffered all the issues that Padfoot comment: focus, scroll with easystroke,... That's the main reason to move to Arch in my case. Installing 2.7.3 driver from repo didn't solve all these problems, but downgrading to 2.7.2 (from the snapshots in ARM) solved all of them. So THANK YOU, Padfoot, you've saved my life ;-)

However, there's a new issue in evdev driver 2.7.2 (and also in 2.7.1 and 2.7.0 from ARM). Sometimes when I clic, hold and move (the natural movement to select several files at once) the cursor suddenly moves to the left side of the screen, which, for example, makes dragging files to the trashcan very risky or makes impossible to play World of goo. This issue is not present in 2.7.3 from repo.

I would like to install 2.7.3 driver without mtdev, but I don't have idea how to do it. I've read https://bugs.freedesktop.org/show_bug.cgi?id=53669, but I can't understand the main part of what you're saying. Padfoot, can you please help me? I can install from pacman, from aur and from sources, but I don't know how to remove the mtdev option in 2.7.3 driver (I've used ubuntu for year, but only I week in Arch :-) ).

By the way, I think that the focus problem is also related with easystroke, disabling it solve the problem. By the way, I use easystroke 0.5.4 compiled from sources, because scroll in 0.5.5.1 was buggy in evded drivers 2.7.2, 2.7.1 and 2.7.0

PD: sorry for my bad English, I'm Spanish.

Wishes,

Hi David,

I have the same cursor jumping issue with evdev 2.7.2 & 2.7.3 without mtdev, the funny thing is, with mtdev support, the cursor jumping is fixed, yet all the other issues occur. So for now, I can live with the cursor jumping issue as I am sure when mtdev support is fixed, all will be good again.

So really, your easiest option for now is to stick with evdev 2.7.2. Alternatively, you can build evdev 2.7.3 without mtdev support, brief instructions follow, but in the mean time, can I ask you to go to the xorg bug, and also the following Arch flyspray, to confirm you also experience these issues. The devs seeing that it is not just myself experiencing this will have more impetus to look into this seeing that it is not just an isolated incident.

Flyspray (Arch packaging bug): https://bugs.archlinux.org/task/31350
Xorg (Upstream bug report): https://bugs.freedesktop.org/show_bug.cgi?id=53669

Now to build evdev 2.7.3 without mtdev support, you need to get the pkgbuild and modify it.

Install abs (the Arch Build System) and base-devel (core build tools):

# pacman -S abs base-devel

Download the xf86-input-evdev pkgbuild:

# abs extra/xf86-input-evdev

Now there would be a build flag to prevent building with mtdev support, but myself, I simply do not know enough to invoke that, so I simply removed mtdev from my system and remove it as a dependency in the pkgbuild (just removing the dependency is not enough, if mtdev is on your system, evdev will build with support - I am sure someone can advise me of the correct build option to use to make this simpler, but in the meantime it works)

# pacman -Rs mtdev

Move the package to a location you can work on it ( a build directory in your home path for example)

$ cp -r /var/abs/extra/xf86-input/evdev /<PATH TO WORK ON PACKAGE>

Edit the pkgbuild file and in the depends line, remove 'mtdev'
Now build the package:

$ cd /<PATH TO WORK ON PACKAGE>/xf86-input-evdev
makepkg

Install the package:

# pacman -U xf86-input-evdev-2.7.3-1-<ARCH>.pkg.tar.xz

(replace <ARCH> with your architecture - either x86 or x86_64)

All done. you can now put mtdev back on your system without any issues (I use kivy which depends on mtdev, so I have to remove all that first and re-install after building evdev).

Cheers.

Offline

#8 2012-09-01 16:00:10

David López
Member
Registered: 2012-08-26
Posts: 95

Re: xf86-input-evdev-2.7.3 issues

Hi Padfoot. First of all, thanks for all your comments, I've sucesfully built 2.7.3 driver without mtdev. As you said, jumping cursor error is still present. I also can live with this bug (everything is better than the 'random focus' problem), but I think it's an important bug, a tablet can't have a buggy touchscreen. I've opened https://bugs.freedesktop.org/show_bug.cgi?id=54353, please add any suitable information that I've missed.

I think that some of the mtdev problems are related with easystroke, I want to test 0.5.4 and 0.5.5.1 versions. I would comment in the bugs you sent me if I would find anything.

Wishes,

Offline

#9 2012-09-09 23:25:03

Padfoot
Member
Registered: 2010-09-03
Posts: 381

Re: xf86-input-evdev-2.7.3 issues

All seems quiet on the xorg end, but as evdev behaves normally without mtdev support, I believe the problem lies with the events evdev received from mtdev.

I was not able to find an appropriate place to submit bug reports for mtdev, only an email address to submit patches, so I have emailed the following there:

-------- Original Message --------
Subject: 	BUG REPORT mtdev breaks xrandr axis mapping and evdev touch events
Date: 	Mon, 10 Sep 2012 09:21:10 +1000
From: 	Padfoot
To: 	patches@bitmath.org


Hi,

Sorry if this is the wrong place to report bugs, but it is the only 
contact I could find for the mtdev project.

I am using Arch linux with kernel version 3.5, xf86-input-evdev-2.7.3 
and have tried both mtdev-1.1.2 and mtdev-1.1.3 on an Acer Iconia Tab 
device with an eGalax multitouch touchscreen.

When xf86-input-evdev is built with mtdev support: (see the following 
xf86-input-evdev bug report: 
https://bugs.freedesktop.org/show_bug.cgi?id=53669)

xRandR axis mapping is broken.
When the device is rotated and evdev axis inversion / evdev axes swap 
properties are set for the input device, xinput is reporting the change 
in the X server, yet the modified axes are ignored - input events are 
treated as if the device is not rotated.

Touch events are broken.
This one is hard to explain, but it would seem certain touch events are 
not passed back to evdev to act upon. Using tools such as mousetweaks 
and easystroke to allow for gesture support, events such as scroll and 
right click are not triggered, and sometimes left click events are not 
completely passed through (eg clicking on a gtk menu button will only 
highlight the button, then clicking another widget then back on the menu 
button finally triggers the menu to open - maybe only a touch down event 
is generated and not the corresponding touch up)

Please see the bug report linked above for further information as 
reported to the upstream xorg devs.

Rebuilding xf86-input-evdev without mtdev support resolves all issues.

Please let me know if there is anything I can do to assist in resolving 
this issue.

Thanks.

Cheers.

Offline

#10 2012-09-10 23:50:16

David López
Member
Registered: 2012-08-26
Posts: 95

Re: xf86-input-evdev-2.7.3 issues

Hi Padfoot. The easystroke dev has recently answered the old bug I opened in launchpad: https://bugs.launchpad.net/ubuntu/+sour … ug/1001429

I've retested and the 'random focus' problem is related with easystroke, it doesn't appear in evdev 2.7.3 with mtdev unless easystroke is in use. Add a bug in launchpad https://bugs.launchpad.net/evdev/+bug/1048865

By the way, what version of easystroke are you using? 0.5.5.1 gives me a lot of trouble, I've had to downgrade to 0.5.4.

Wishes,

Offline

#11 2012-09-11 00:17:04

Padfoot
Member
Registered: 2010-09-03
Posts: 381

Re: xf86-input-evdev-2.7.3 issues

Hi David,

I'm guessing you re-built 0.5.4 from source? 0.5.5 is the 1st version available in the community repo, prior to that it was in AUR, and of course that PKGBUILD is no longer available.

Cheers.

Offline

#12 2012-09-11 11:48:05

David López
Member
Registered: 2012-08-26
Posts: 95

Re: xf86-input-evdev-2.7.3 issues

Sorry, I must be more clear. Yes, I haven't found a prior version to 0.5.5 in Arch repo, so I built easystroke 0.5.4 from source. 'Make' shows and error about 'lboost_serialization_mt', so I replaced this string with 'lboost_serialization_mt' in Makefile.

Which version os easystroke do you use? Do 0.5.5.1 work fine in your machine?

By the way, I've found a new error that the non-mtdev driver solves: https://bugs.freedesktop.org/show_bug.cgi?id=54777 I'm not sure if you suffer it in your machine.

Last edited by David López (2012-09-11 14:48:09)

Offline

#13 2012-09-11 22:14:29

Padfoot
Member
Registered: 2010-09-03
Posts: 381

Re: xf86-input-evdev-2.7.3 issues

Hi David, I have 0.5.5.1. I tried building 0.5.4, and even after changing the makefile as suggested, I still got build errors.

I suffer the matrix transformation issue as well. This was included in my bug report.

Offline

#14 2012-09-12 08:06:22

David López
Member
Registered: 2012-08-26
Posts: 95

Re: xf86-input-evdev-2.7.3 issues

Strange, this is the first time we experiment different behavior in our machines. easystroke 0.5.5.1 scroll is broken in my tablet even with the non-mtdev driver.

Offline

#15 2012-09-18 23:40:33

David López
Member
Registered: 2012-08-26
Posts: 95

Re: xf86-input-evdev-2.7.3 issues

Hi padfoot. I've made a great progress in my tablet big_smile

I tried all the evdev 2.7 (no mtdev) drivers from ARM, all of them with the cursor-jumping issue. Then I tried older drivers in ARM (2.6.0-4, 2.5.0, 2.3.2) but the touchscreen were frozen. So I thought that maybe these older drivers were built with old xorg versions, so I tried to rebuild them.

I downloaded the last PKGBUILD from 2.7.3-1 from ABS (as you show me) and did the following changes (*)

- Remove the mtdev dependence
- Change pkgver=2.6.0 (and pkgrel=5, but it's not important)
- Change sha256sums=('b0e7f3991a8183a4743196c3e16d7184d439b80bf43653aa2f45b0756a6753ac'), the right value for 2.6.0 sources

I made the package, installed with pacman and... voilà, the cursor-jumping was gone!!! Moreover, I updated to esystroke 0.5.5.1 from repo and everything seems fine and the scroll is smooth. I'm really, really happy, the touchscreen problems were driving me crazy. Now all the issues are gone for me.

Please tell me if you can also solve all the issues

(*) I suppose you'll not have problems to create the pkgbuild, if you want I can post mine.

Offline

#16 2012-09-28 23:03:46

Padfoot
Member
Registered: 2010-09-03
Posts: 381

Re: xf86-input-evdev-2.7.3 issues

Hi David, rather than downgrade your evdev so far, try the following. I am using evdev-2.7.3 9 (no mtdev) and after doing the following, the cursor jumping issue is resolved. Just need to have these commands run after X is started and all is good:

$ xinput set-prop <DEVICE> "Coordinate Transformation Matrix" 0.5 0 0 0 0.5 0 0 0 1
$ xinput set-prop <DEVICE> "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1

Cheers

Offline

#17 2012-09-29 22:45:46

David López
Member
Registered: 2012-08-26
Posts: 95

Re: xf86-input-evdev-2.7.3 issues

Thanks, Padfoot, I've just checked and the Coordinate Matrix solution also works for me. I wish that futures Arch's evdev drivers don't include mtdev as a dependence.

Offline

#18 2012-10-09 15:32:42

David López
Member
Registered: 2012-08-26
Posts: 95

Re: xf86-input-evdev-2.7.3 issues

Hi, padfood. Does 2.7.3 driver (no mtdev, coordinate matrix) works perfectly for you? I'm suffering random touchscreen hangs (not very frequent, sometimes at 15 minutes and sometime at 3 hours of use) and some scroll issues (sometimes scrolling with easystroke goes fast to the end of the windows). I think that 2.7 evder driver doesn't fix very well with easystroke, I've downgraded to 2.6.0 and everything is sweet again.

There's a new easystroke 0.5.6 version (not in the arch repository yet), I wish it solves all the issues with evdev. I will test it when I have some time, please tell me if you do it.

Offline

#19 2012-10-10 06:03:53

Padfoot
Member
Registered: 2010-09-03
Posts: 381

Re: xf86-input-evdev-2.7.3 issues

Hi David,

I'm not having any issues at all. Maybe have top running in the background to see if anything is maxing out the cpu when the hang occurs?

Cheers.

Offline

#20 2012-10-15 23:03:15

David López
Member
Registered: 2012-08-26
Posts: 95

Re: xf86-input-evdev-2.7.3 issues

No way. I've just tested the new easystroke-0.5.6-1 and xf86-input-evdev-2.7.3-2 and I suffered known problems with the scrolling gesture

- scroll doesn't work at all with the mtdev driver
- scroll is useless (huge lags) with the non-mtdev driver

Downgrading to 2.6.0 without mted driver solve all the issues. The only drawback is the need to rebuilt the 2.6.0 evdev driver forced by a recent update of some package (not sure which package caused, maybe xorg-server)

PD: at least the focus problem with the mtdev driver seems to dissapear

Offline

#21 2012-10-16 06:40:03

Padfoot
Member
Registered: 2010-09-03
Posts: 381

Re: xf86-input-evdev-2.7.3 issues

Hi David,

I can only guess there is something else causing your lag issues.

I am using xf86-input-evdev-2.7.3-2 (built without mtdev support and using the coordinate matrix script), easystroke-0.5.6-1 and xorg-server-1.13.0-2 without any issues at all. Everything is working absolutely perfectly.

Cheers.

Offline

#22 2013-03-26 23:49:31

David López
Member
Registered: 2012-08-26
Posts: 95

Re: xf86-input-evdev-2.7.3 issues

I've updated to xf86-input-evdev-2.8.0 and easystroke 0.5.6-2, and I still have troubles with the scroll: it doesn't work at all with the mtdev driver, and it is not very stable with the non-mtdev driver. The lag has gone, but sometimes the scroll seems to be 'alive': I made a small easytroke movement and the scroll moves from the beginning to the end of the window. It's usable but unstable.

Downgrading to 2.6.0 without mtdev is still a solution for me.

Offline

#23 2013-03-31 09:03:21

Padfoot
Member
Registered: 2010-09-03
Posts: 381

Re: xf86-input-evdev-2.7.3 issues

Hi David,

All working perfectly here.

xf86-input-evdev-2.8.0 (built without MTDEV)
easystroke-0.5.6
co-ordinate matrix script

The scroll where it doesn't stop, I am guessing this is only in Firefox? This is the only place I get this on occassion. There is a Firefox setting in about:config that can stop this, I just haven't gone into the research to find out which.

Cheers.

Offline

#24 2013-03-31 19:46:54

David López
Member
Registered: 2012-08-26
Posts: 95

Re: xf86-input-evdev-2.7.3 issues

Actually I use chromium instead of firefox :-)

There a new easystroke version in the repos, I will test it (with and without mtdev driver) and let you know.

Edit: not a sucessful update https://bbs.archlinux.org/viewtopic.php?id=160642

Last edited by David López (2013-03-31 21:01:03)

Offline

#25 2013-03-31 22:46:29

Padfoot
Member
Registered: 2010-09-03
Posts: 381

Re: xf86-input-evdev-2.7.3 issues

I was going to try building easystroke and boost from abs (my mirror has not synced with the updates yet), but I am going to have to wait. Syncing abs, I get easystroke 0.6.0 and boost 1.53, but boost-libs 1.53 is not syncing for some reason.

Will try later.

Offline

Board footer

Powered by FluxBB