button1 gets stuck after a while
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
Critical
|
Ara Pulido | ||
Precise |
Fix Released
|
Critical
|
Ara Pulido | ||
Saucy |
Fix Released
|
Undecided
|
Unassigned | ||
X.Org X server |
Fix Released
|
Medium
|
|||
ubuntu-nexus7 |
Fix Released
|
Critical
|
Unassigned | ||
xorg-server (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
distro bug 1015183
after using the tablet for a while, the touchscreen fails to register button clicks anymore, since the "button" appears to be stuck "down".
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Timo Aaltonen (tjaalton) wrote : | #1 |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Timo Aaltonen (tjaalton) wrote : | #2 |
..it's a bug in the xserver.
Changed in newark: | |
importance: | Undecided → High |
Changed in newark: | |
assignee: | nobody → Timo Aaltonen (tjaalton) |
importance: | High → Undecided |
Changed in newark: | |
importance: | Undecided → Medium |
Changed in newark: | |
status: | New → Confirmed |
importance: | Medium → Critical |
tags: | added: nexus7 |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Chris Wayne (cwayne) wrote : | #3 |
Note this is easy to reproduce after running xrotate
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Timo Aaltonen (tjaalton) wrote : | #4 |
My findings show that it's trivial to reproduce with unity by opening menus quickly (indicator menus for instance). Can't reproduce it with plain metacity. One way to mitigate the issue is to use the gui in a more "relaxed" manner :) That should make it harder to hit the race condition with input grabs.
and the issue seen after using xrotate to switch to portrait mode is something else (cursor jumping here and there), since it works fine after rotating back to landscape.
information type: | Proprietary → Private Security |
information type: | Private Security → Public |
tags: | added: mobile |
affects: | newark → ubuntu-nexus7 |
tags: | added: touch |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Jani Monoses (jani) wrote : | #5 |
lilstevie on #ubuntu-arm says they saw the same behaviour on the Transformer Prime when running Unity.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#6 |
I'm able to "lock up" the Unity session by opening menus quickly by using a touchscreen. Seems as if there's a grab active. I can see the tooltips from launcher icons, interact with focused apps, but that's it.
Can't reproduce with plain metacity, because the menus open so quickly with it, whereas with Unity on this hw the effects slow it down so that the race is hit.
Tried several of the recent patches on top of 1.13, but they haven't helped. Now I see there are newer patches available. I'll give them a try. Filed this one for tracking this particular issue.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#7 |
tried patches from 56558 and 55738, also "Sync TouchListener memory.." from Carlos Garnacho, didn't help.
Changed in xorg-server: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in ubuntu-nexus7: | |
assignee: | Timo Aaltonen (tjaalton) → Daniel d'Andrada (dandrader) |
Changed in ubuntu-nexus7: | |
status: | Confirmed → In Progress |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Daniel d'Andrada (dandrader) wrote : | #8 |
I'm able to reproduce the issue in a reasonably reliable manner on a Dell XPS L502X laptop (it has a touchscreen) by rapidly tapping on the indicators in the top right corner of the screen.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#13 |
I just repeatedly tap on the top-most icon (the one which has the Ubuntu logo) of Ubuntu's launcher in a touchscreen. Those taps alternately open and close the dash (a fullscreen window that shows icons for applications, media and other files). Eventually those taps stop having any effect. I.e., the launcher no longer gets ButtonPress and ButtonRelease events out of them.
I've added a wealth of logging (see xorg.log attachment) to try to understand what's happening on the server. From looking at it could see the following:
From touches 2 to 26, launcher is the first window in the list of listeners. From touch 27 onwards, the root window is the first one. Problem is, from touch 27 onwards, xserver fails to pass the touch ownership down to the launcher window because there's always an older pointer-emulated touch (touch 26) lying around which it apparently can't get rid of (i.e. properly process).
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#14 |
Created attachment 70064
log output of the "repeated tapping on ubuntu logo launcher icon" use case
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#15 |
Do cross-check with Bug 56557 as well, this can cause issues if any grabs are activated on the root window and I wonder if that influences the behaviour here
Changed in ubuntu-nexus7: | |
status: | In Progress → Confirmed |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Brendan Donegan (brendan-donegan) wrote : | #9 |
Hi Daniel,
Don't use In Progress to mean you are trying to reproduce the bug, only if you are actually working on fixing it.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Daniel d'Andrada (dandrader) wrote : | #10 |
I was actually working on fixing it, but a couple of days ago I've moved to work on something else. Thus the status change.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Brendan Donegan (brendan-donegan) wrote : | #11 |
Sorry if the above comment seemed rather blunt - I was only trying to discover if you've changed the status to Confirmed because you're no longer working on it? If you are still working on it then it should remain at 'In Progress' - and thanks either way :) !
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Victor Tuson Palau (vtuson) wrote : | #12 |
Assigning to the Desktop team as Daniel is being move to work on something else
Changed in ubuntu-nexus7: | |
assignee: | Daniel d'Andrada (dandrader) → Canonical Desktop Team (canonical-desktop-team) |
Changed in ubuntu-nexus7: | |
assignee: | Canonical Desktop Team (canonical-desktop-team) → Canonical X.org (canonical-x) |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#16 |
(In reply to comment #4)
> Do cross-check with Bug 56557 as well, this can cause issues if any grabs
> are activated on the root window and I wonder if that influences the
> behaviour here
Yes, they are at least closely related (most likely have the same cause) as a pointer-emulated touch gets "stuck" because of failed resource lookups in RetrieveTouchDe
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#17 |
Created attachment 70422
log output of use case with patches from bug 56557 applied
With the 4 patches mentioned in bug 56557 applied (comments 3 and 4), the bug (missing ButtonPress and ButtonRelease events) manifests itself already on the second tap on the touchscreen.
Again, due to a failure in RetrieveTouchDe
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#18 |
New set of patches, please try those on top of the current set you already tested.
http://
http://
http://
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#19 |
Created attachment 70656
log output of use case with patches from Comment 7 also applied
This is the log output I get with this new set of patches (from Comment 7) applied on top of those mentioned in Comment 6.
Again, the same problem.
The first tap on the icon with the ubuntu logo in the launcher (top left corner of the screen) works fine and displays the dash (a fullscreen window showing application icons, etc). The launcher now has a active pointer grab.
Upon the second tap on the ubuntu icon, xserver fails to deliver events to that listener (laucnher's active pointer grab) because the corresponding RetrieveTouchDe
"""
(II) TouchBeginDDXTouch: ddx id 0, touch 2 - returning with emulate pointer == 1
[ 2859.473] (II) ProcessTouchEvent: TouchBegin, master pointer, touch 2
...
[ 2859.474] (II) RetrieveTouchDe
[ 2859.474] (II) dixLookupClient: failed! - rid & SERVER_BIT
[ 2859.474] (II) - Not delivering to listener 1105199104 because his delivery data couldn't be retrieved.
"""
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
silentrunner (silentrunner) wrote : | #20 |
Is there a way to reset or free this lock via command line, so you do not have to log out/restart.
One could use this as a "snippet" for onboard since this seems to work during that condition.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Oliver Grawert (ogra) wrote : | #21 |
sadly no, once it is stuck, it is stuck
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
silentrunner (silentrunner) wrote : | #22 |
you probably thought everything through, but i can't help to ask. would it help as a temporary solution to disable multitouch and allow single touch input only. Then distinguishing only between single click (long as right click) and dragging.
tags: | added: qa-manual-testing |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#23 |
We are also experiencing this bug with other touch screen software, not Unity related. The underlying X problem seems to be identical. Has a solution been found?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Carsten Haitzler (raster-rasterman) wrote : | #24 |
- demionstration that its xallowevents() failing to pass the button press after bug state is triggered Edit (2.4 KiB, text/plain)
I can reproduce this bug with 100% reliability in E17.
http://
well ok - i'm using svn development, but i think last release (0.17.1 and efl 1.7.5) should produce the bug too as i noticed this issue just before 0.17 release too. install that (sorry source - there are ppa's but i dont know if there's an arm build. i compiled). i also have set up my n7 to run in portrait mode by default (~/.xsession sets it up).
now its installed, select enlightenment as your desktop (u may have to ln -s enlightenment.
DONT TOUCH that arrow... yet. notice u can click on most things and they work... now press that top-left arrow. its the "start button"... up comes a start menu... u can interact with it... and after that... clicks cease to work. this is 100% reliably reproduces on my nexus7/... it ALSO happens on my exopc too. so this is a general issue with xorg/xinput etc.
anyway - now i've spent some time digging into what's going on, and here's the low-down. wm's use passive button grabs (XGrabButton) for focus handling. they then do an XAllowEvents to allow the button grab to proceed to a child. after some sequence of mouse grabbing is done by popping up that menu, XAllowEvents ceases to ever work again (it never forwards a held button press event ever agin) for the duration of the xserver lifetime. i wrote a "test case" (attached) to show that the parent gets the events, simply calls xallowevents and it never goes to the child window ever again. this test client works fine until the "bug is triggered" then fails. (i shut down the wm but kept x alive and ran the test client to "prove this" - it works fine until the bug is triggered). unfortunately at this point i have yet to make a simple "trigger the bug" client, BUT i am sure it has something to do with a combination of:
1. button press handled after an xallowevents allowed it through
2. an xgrabpointer (unlikely an xgrabkeyboard).
3. some combination of user events (eg mouse/finger not being releases while the above allowevents and grab is going on).
after this "magic sequence" which also likely is race-condition sensitive, the xservers internal input handling is "busted" and xallowevents are broken until an xserver restart (restarting wm doesn't fix it - nor does totally killing the wm and bringing up test clients in its place as above).
so i'll have to say "sorry" in that i'm going to waste some peoples time by only having "more info" without a simple "reproduction case" in a simple contained src blob. i'd hope to have that, but currently don't. what i DO have is a 100% reliable "big fat bulky" reproduction case (e17+efl) AND... i have a simple test client to prove/show what the "stuck" thing is (allowevents of button press fails forever after triggering of the bug). given some more time/weekends i might be able to make such a client. the above was a saturday spent hunting for "what on earth is wrong", so...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#25 |
Nope, the bug is still there. Rasterman reproduced it with E17 and commented on the downstream bug:
https:/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#33 |
can you test this branch here please? http://
Last 5 commits (currently), starting with 2cd9c4f709f105b
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Timo Aaltonen (tjaalton) wrote : | #26 |
please test the xserver from this ppa once it's built, it has a few proposed fixes merged from the upstream bug:
Changed in ubuntu-nexus7: | |
assignee: | Canonical X.org (canonical-x) → Timo Aaltonen (tjaalton) |
status: | Confirmed → Incomplete |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Patola (patola) wrote : Re: [Bug 1068994] Re: button1 gets stuck after a while | #28 |
It failed:
Build status
[image: [FAILEDTOBUILD]] Failed to build on
hamsa<https:/
- Started 18 minutes ago
- Finished 11 minutes ago (took 7 minutes, 43.4 seconds)
- buildlog<https:/
KiB)
On Thu, Feb 14, 2013 at 3:58 AM, Timo Aaltonen <email address hidden> wrote:
> please test the xserver from this ppa once it's built, it has a few
> proposed fixes merged from the upstream bug:
>
> https:/
>
> ** Changed in: ubuntu-nexus7
> Status: Confirmed => Incomplete
>
> ** Changed in: ubuntu-nexus7
> Assignee: Canonical X.org (canonical-x) => Timo Aaltonen (tjaalton)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> button1 gets stuck after a while
>
> To manage notifications about this bug go to:
> https:/
>
--
Cláudio "Patola" Sampaio
IRC: ptl - Yahoo: patolaaa
Campinas, SP - Brazil.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Timo Aaltonen (tjaalton) wrote : | #27 |
bah, messed up with the patch, will fix it soon
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#34 |
unfortunately still able to reproduce it :/
I needed these commits on top of 1.13.2 to be able to compile with the new patches:
cc79107a5b60d29
fe59774c55e5d42
91ab237358c6e33
9ad0fdb135a1c33
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Timo Aaltonen (tjaalton) wrote : | #29 |
new build is there, but I was able to test it myself and it's still broken.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Patola (patola) wrote : | #30 |
On Thu, Feb 14, 2013 at 11:19 AM, Timo Aaltonen <email address hidden> wrote:
> new build is there, but I was able to test it myself and it's still
> broken.
>
Same here. However, it really seemed that the bug took longer than usual to
appear.
Should I keep this repository "just in case" (the bug will be solved on it
first, I suppose) or it might wreck my Ubuntu anytime?
--
Cláudio "Patola" Sampaio
IRC: ptl - Yahoo: patolaaa
Campinas, SP - Brazil.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#35 |
You'll need all of http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#36 |
Sorry, to clarify: you need that 1.13 branch linked above AND the patches from Comment 11
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#37 |
Created attachment 74845
evemu-record from the touchscreen
attached the evemu dump from reproducing the bug by hitting the unity indicators quickly a couple of times.
I'll try the more complete 1.13 build next.
Changed in ubuntu-nexus7: | |
status: | Incomplete → Confirmed |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Timo Aaltonen (tjaalton) wrote : | #31 |
Patola: shouldn't wreck, but maybe disable to be safe.
Carsten: I built e17 0.17.1 and libs 1.7.5 from this ppa: https:/
and couldn't reproduce the bug with xserver 1.13.99.901. Is the e17 release fresh enough? It did have the mobile profile to select, so guess it support touch..
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Timo Aaltonen (tjaalton) wrote : | #32 |
also, I have the deb's built for raring armhf here if someone wants to try reproduce the bug with them:
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Patola (patola) wrote : | #38 |
Is this bug still going to be worked on? It was a surprise to see that Ubuntu "phablet" did not use X. Is this why this bug has not been resolved yet? What is the status of "complete Ubuntu under Nexus 7" vs. "Ubuntu Phablet under Nexus 7"?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Timo Aaltonen (tjaalton) wrote : | #39 |
upstream has a testcase for this now, should get fixed within the next week..
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#40 |
Ok, analysis of the bug as follows. To trigger this bug, we need the following client stack:
* touch client with a passive touch grab
* core client with a passive button grab in GrabmodeSync
* optional: core client with button mask on window
The touch client must reject the touch.
As the touch grab activates, all events are sent to the touch client, and stored in the touch event history. When the client rejects, the events are replayed on the next client.
The replayed TouchBegin will trigger the core passive grab, and switch the device's processInputProc to EnqueueEvent().
BUG 1: because touch event history replaying calls DeliverTouchEvents directly, EnqueueEvent is side-stepped and no events end up in the sync'd queue. Later, when the client calls XAllowEvents no events are there for syncing, ComputeFreezes() exits early and the emulated motion/release events are not sent to the client.
Fixing that is possible so that EnqueueEvent is honoured. Tricky though, because it will have a number of side-effects, see below.
BUG 2: because the TouchEnd never ends up in the history (by design) no release event ends up in the queue. So when replaying, the emulated button release is missing. Not sure yet how to fix this.
BUG3: If there's the optional third client, it's implicit passive grab currently does not get released. That's the easiest one to fix.
Side effects of the first bug:
If we use EnqueueEvent() for event history replaying, we will replay touch events into the sync buffer, but not actually process them. If there is at least one touch client below the client with the sync passive core grab, it cannot get touch events until the grabbing client calls XAllowEvents. If that touch client has the ownership mask set, that behaviour is against the protocol spec.
Coincidentally, this bug already exists anyway, it's just gone unnoticed so far because touch clients appear to be generally above the normal clients.
To be compliant with the touch specs, we need to wrap EnqueueEvent to still handle touch events for clients with the ownership mask even if the device is currently synced.
Changed in xorg-server: | |
status: | Confirmed → In Progress |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#46 |
Branch available for testing here. I think this fixes the issue but I've been unsuccessful getting this backported to a 1.13 ubuntu server.
http://
If you can test this, that'd be much appreciated.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#47 |
Hi Peter, I think your recent patches do fix the issue.
I compiled your server and a fresh xinput evdev 2.7.3. I confirmed TouchBegin TouchEnd were being sent with a brief xinput test-xi2 test.
# xdpyinfo |grep -E '(vendor|version)'
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 11399902
X.Org version: 1.13.99.902
My usual scenario to experience this problem is:
run Chrome
xwininfo [tap root screen, get window id of chrome window]
xev -id 0x.... [use window id of chrome window]
tap screen a few times to see xev notify events
ctrl-C
on screen, touch a UI button
the press activates the UI button
screen switches to new page <-- ButtonRelease is dropped somewhere from here
the new UI button underlying where my finger just pressed is stuck down
^--- to here
With these same testing steps above I cannot get a stuck button on your new xserver branch. It seems that the ButtonRelease event arrives correctly.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Dominik Röttsches (drott) wrote : | #41 |
FWIW, I have described what might be another reproduction of this case in bug 1144560, using a simple gtk app, and an evemu-recording.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#48 |
Thanks John, much appreciated.
First patchset, minor changes for preparation:
http://
http://
http://
http://
http://
http://
http://
Second patchset, the actual meat:
http://
http://
http://
http://
http://
http://
http://
http://
http://
http://
http://
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Dominik Röttsches (drott) wrote : | #42 |
Timo, would you have an updated build in a ppa for testing the patches that Peter uploaded?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Timo Aaltonen (tjaalton) wrote : | #43 |
Not yet, I'm trying to build 1.14 without the video-abi breaking stuff + the input patches, so that the tegra driver could still be used.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#49 |
Ok I've tested them as well by building 1.14rc minus the video abi changing stuff (and commits on top of them), and added the touch branch. This allowed me to test on the nexus7 & tegra3 blob.
Looks like it's much better now, although sometimes the touch appears to get somewhat hung but can recover from it later on, and when this happens also generates messages like
[ 5101.196] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event.
on the logfile. The buffered actions prior to the hang are replayed after waiting for a while. At this stage it's quite easy to crash the server.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#50 |
do you have a good backtrace for the crashes? random, or always the same spot? Is it regular in response to some interaction? can it be caused by the backports?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#51 |
Created attachment 76003
backtrace
Here's the backtrace, seems to be the same every time.
Way to reproduce here:
1. open an app, so there's a window around
2. attach an external pointer device
3. tailf the X logfile
4. hit the panel indicators frantically with the touchscreen, until the touch input is locked
5. move the window with the other pointer device
6. see how some "[Xi] ..." messages appear on the logfile
7. repeat the steps until..
8. .. when the touch input is locked the logfile will get these Xi messages after every touch.. when this happens keep hitting the screen until it crashes, can take a couple of minutes :)
so, it's only after using the other pointer device for a grab when the touch input grab is released. Also, while in step 8 I noticed that the multitouch gestures of unity seemed to work, while the panel menus failed to react. Also, Onboard seemed to work as well. So, while locked I can drag a window with a three-touch gesture but not by a single touch drag from the titlebar.
Not sure what backports you mean, this is 1.14 with your branch, but ajax's video abi commits reverted so the blob (and thus unity) work.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#52 |
Created attachment 76034
valgrind spam that occurs when following tjaalton's instructions
I can reproduce this on x1.14 with my macbook pro in the manner tjaalton described. It didn't need the video abi revert.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#53 |
did you rebuild the drivers too? just wondering, because I used to get a similar crash on my backports but only when running against the system drivers, not against the upstream ones.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#54 |
I still crashed even if I rebuilt the drivers against the patched xorg-server, so it's not that.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#55 |
It seems that the ubuntu patches for synaptics trigger it, most likely not these:
02-do-not-
- makes synaptics no longer match input.keyboard
101_resolution_
- Add resolutiondetect atom and config option, to add a way to disable autodetect
115_evdev_
- uncomment 50-synaptics.conf
118_quell_
- only affects tools
124_syndaemon_
- only affects syndaemon
But these change some things around:
103_enable_
- sets RTCornerButton default to 2, and RBCornerButton default to 3
104_always_
- always sets up tap buttons in set_default_
106_always_
- guess :-)
128_disable_
129_disable_
- both disable 3 touch actions, to make three-touch gestures work
Presumably one of those default tweaks would cause it. I'll try to nail it down.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#56 |
well I'm not using synaptics, so it's not the same crasher then?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#57 |
crashes unpatched too, after all :)
I guess I didn't hammer enough on the touchpad like a 3 year old
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#58 |
The crash is in xorg-server by the way, not in the driver, and seems to involve memory freed in xorg-server. It just seems more likely that it involves multitouch handling in xorg-server in general, and is not a bug in a specific driver.
Either that or there are 2 different bugs in evdev and synaptics that both cause a similar backtrace in xorg-server, this somehow seems less likely to me. :)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#59 |
can you bisect the server then? I honestly don't know where it triggers and given that it's 19 patches it'll be easier to bisect than figure it out otherwise.
fwiw, I've pushed the rebased branch (only a few squashes and reshuffling), please make sure you pull first.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#60 |
for reference, 1.13 server branch (at time of writing 1.13.3 release) crashes just as hard.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Dominik Röttsches (drott) wrote : | #44 |
Timo, any updates on this one?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#61 |
Thanks a lot for the hard work here. We see the same issue in Sugar, the UI is basically unusable with touch as we have a "global" grab.
I tested the patches from comment 19 against xserver-1.14.0, they do solve the problem, and I cannot see any new issues introduced by them.
I also tested to 1.13.3. In order to do that I first had to backport a few commits:
* Update the MD's position when a touch event is received
* Don't use GetTouchEvents when replaying events
* Don't use GetTouchEvents in EmitTouchEnd
Then I added the patches from comment #19, and things are now working equally well there.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
George Stephanos (gaf-stephanos) wrote : | #45 |
Well?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#63 |
Created attachment 77097
backtrace
the backport seems incomplete, since it's trivial to crash the server with unity by switching between opening the dash or indicator menus
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Timo Aaltonen (tjaalton) wrote : | #62 |
You should get the updates from the upstream commit, there's not much to add. Backporting the patches to 1.13.x results in other issues, which is why they can't be pushed to raring yet.
Changed in oem-priority: | |
assignee: | nobody → James M. Leddy (jm-leddy) |
Changed in oem-priority: | |
importance: | Undecided → Medium |
importance: | Medium → High |
tags: | added: rls-r-incoming |
Changed in oem-priority: | |
status: | New → In Progress |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#66 |
The backported patches on 1.13.3 (from comment #32) have now been in OLPC's development builds for over a week and we haven't seen any adverse effects.
I've also done some testing on 1.14.0. I can make this crash (with no backtrace) simply by going a bit crazy on the touchscreen for a few minutes, both before and after this patch series. A problem for another day.
Based on this I would vote for going ahead with the merge of this patch series into master.
I also found a related bug with both 1.13.3 and 1.14.0 (both before and after these patches), and posted a patch here:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Maxxer (lorenzo-milesi) wrote : | #64 |
when I click on the Ubuntu icon (top-left) and unity appears, then the touch becomes a mouseover and I cannot click anymore. is it due to the same bug? thanks
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Yu Ning (yuningdodo) wrote : | #65 |
@Maxxer, I have exactly the same issue with you on a laptop with touchscreen. When this issue happens if I click on some other places I occasionally saw a mouse cursor blinking on the "Ubuntu icon", where I clicked before it run out of order. So it seems like it lost a "button release" event for that touch action.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#67 |
first valgrind error is on
int emulate_pointer = ! !(ev->device_
So I guess it's safe to assume that ev is garbage..
Other writes seem to be related to ev too, judging from the valgrind output I guess random stuff gets overwritten.
Looking at SetTapState output:
0 -> 1
1 -> 10
moving state stuff
10 -> 2
2 -> 10
moving state stuff
10 -> 2
and then a few more 2 -> 10 and 10 -> 2 with moves until valgrinds starts complaining and xserver starts crashing:
(II) SetTapState - 10 -> 2 (millis:3928387395)
==25788== Invalid read of size 4
==25788== at 0x24236E: ProcessOtherEvent (exevents.c:1519)
==25788== by 0x264CAE: ProcessPointerEvent (xkbAccessX.c:751)
==25788== by 0x166641: PlayReleasedEvents (events.c:1217)
==25788== by 0x16DED4: ComputeFreezes (events.c:1297)
==25788== by 0x16E2E3: AllowSome (events.c:1725)
==25788== by 0x16E495: ProcAllowEvents (events.c:1785)
==25788== by 0x15DC45: Dispatch (dispatch.c:432)
==25788== by 0x14C5B9: main (main.c:295)
==25788== Address 0x122336b0 is 16 bytes before a block of size 152 free'd
==25788== at 0x4C2BA6C: free (in /usr/lib/
==25788== by 0x806D84A: sna_mode_wakeup (sna_display.
==25788== by 0x161F3B: WakeupHandler (dixutils.c:426)
==25788== by 0x2AF6E3: WaitForSomething (WaitFor.c:224)
==25788== by 0x15D9A0: Dispatch (dispatch.c:361)
==25788== by 0x14C5B9: main (main.c:295)
This is with the patches from comment #19 + daniel drake's patch
Digging more, looking up the InternalEvent struct..
int emulate_pointer = ! !(ev->device_
Now this is a function that is looking verrrrrrrry suspicious for type == ET_TouchOwnership..
I think it would make sense to have ET_TouchOwnership handled directly by ProcessTouchOwn
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#68 |
Created attachment 77621
Call ProcessTouchOwn
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#69 |
Valgrind came up with this complaint on 1.13.3 with the backported patches:
==15921== Invalid read of size 4
==15921== at 0x1D0A00: DeliverTouchEvents (exevents.c:1297)
==15921== by 0x1D2589: ProcessOtherEvent (exevents.c:1611)
==15921== by 0x1567C1: TouchEventHisto
==15921== by 0x1D0EBB: TouchPuntToNext
==15921== by 0x1D11EB: TouchRejected (exevents.c:1196)
==15921== by 0x1D28B5: ProcessOtherEvent (exevents.c:1223)
==15921== by 0x1E7DAB: ProcessPointerEvent (xkbAccessX.c:751)
==15921== by 0x204DC5: mieqProcessDevi
==15921== by 0x1570A7: TouchListenerAc
==15921== by 0x1D6AD3: ProcXIAllowEvents (xiallowev.c:128)
==15921== by 0x1D2BD5: ProcIDispatch (extinit.c:406)
==15921== by 0x13CC0D: Dispatch (dispatch.c:428)
==15921== Address 0xc6a0bac is 4 bytes inside a block of size 68 free'd
==15921== at 0x482E5B0: free (vg_replace_
==15921== by 0x14C129: DeletePassiveGrab (grabs.c:336)
==15921== by 0x1527FD: doFreeResource (resource.c:873)
==15921== by 0x152F7F: FreeResource (resource.c:903)
==15921== by 0x14C49F: DeletePassiveGr
==15921== by 0x144A7D: ProcUngrabButton (events.c:5640)
==15921== by 0x13CC0D: Dispatch (dispatch.c:428)
==15921== by 0x132035: main (main.c:298)
I picked the fixes from 57301 to 1.13 too: Xi: fix touch event selction conflicts (#57301), and the commit before that to make it apply.
This brings 1.13 dix and Xi to the 1.14 equivalent minus pointer barriers, as far as I can tell, but then I was getting the following segfault:
==1748== Invalid read of size 4
==1748== at 0x4831DCC: memcpy (mc_replace_
==1748== by 0x156959: TouchConvertToP
==1748== by 0x1D0FA3: DeliverTouchEmu
==1748== by 0x1D0C5F: DeliverTouchEvents (exevents.c:1920)
==1748== by 0x1D25B1: ProcessOtherEvent (exevents.c:1611)
==1748== by 0x1E7E03: ProcessPointerEvent (xkbAccessX.c:751)
==1748== by 0x1423B1: PlayReleasedEvents (events.c:1214)
==1748== by 0x146D13: ComputeFreezes (events.c:1294)
==1748== by 0x146F6B: AllowSome (events.c:1722)
==1748== by 0x1470BF: ProcAllowEvents (events.c:1785)
==1748== by 0x13CC0D: Dispatch (dispatch.c:428)
==1748== by 0x132035: main (main.c:298)
==1748== Address 0xcaa1284 is 156 bytes inside a block of size 280,000 free'd
==1748== at 0x482E5B0: free (vg_replace_
==1748== by 0x1570E3: TouchListenerAc
==1748== by 0x146D6F: ComputeFreezes (events.c:1282)
==1748== by 0x146F6B: AllowSome (events.c:1722)
==1748== by 0x1470BF: ProcAllowEvents (events.c:1785)
==1748== by 0x13CC0D: Dispatch (dispatch.c:428)
==1748== by 0x132035: main (main.c:298)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#70 |
Note: macbook pro (synaptics) seems to work just fine with the 1.13.3 backports, so it looks like it's a separate bug due to different behavior on a true touch device. The valgrind backtraces were on arm/tegra, which also enables a software keyboard.
The easiest way to crash on ubuntu's xserver on the tegra is by making sure valgrind is running with --free-fill=fe so the freed memory is always reset to an invalid value.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Till Kamppeter (till-kamppeter) wrote : | #71 |
- touch-fix.patch Edit (2.0 KiB, text/plain)
I have partial (full?) success:
I have rebuilt the current Raring package of xorg-server (1.13.3-0ubuntu5) with the following two patches:
(found via https:/
2. http://
and after that clicking via touch screen on the Lenovo Thinkpad Twist works reliably. Only remaining problems are (but the touch click ability does not get lost by them):
a. In Chromium when you create a new tab, the new tab contains icons for web apps (at least the app store and perhaps some examples). These icons cannot be clicked by touch, only with a mouse. All the rest in Chromium is clickable by touch.
b. Touch clicks do not work in XBMC, but after using and leaving XBMC with an external mouse on the normal desktop touch-clicking works again.
These are probably separate bugs which got revealed by the now working touch click.
Complete patch for xorg-server is attached.
Changed in xorg-server (Ubuntu): | |
importance: | Undecided → Critical |
milestone: | none → ubuntu-13.04 |
status: | New → Confirmed |
tags: | added: patch |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Till Kamppeter (till-kamppeter) wrote : | #72 |
For the previous comment: I tested on the Lenovo Thinkpad Twist, an Intel-based convertible. See also bug 1015183.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Till Kamppeter (till-kamppeter) wrote : | #73 |
Possibly bug 1099289 is a duplicate of this one.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#99 |
Created attachment 78124
touch-fix.patch
I have partial (full?) success (on the Lenovo Thinkpad Twist, an Intel-based convertible, see also https:/
I have rebuilt the current Ubuntu Raring package of xorg-server (1.13.3-0ubuntu5) with the following two patches:
(found via comment #17)
2. http://
and after that clicking via touch screen on the Lenovo Thinkpad Twist works reliably. Only remaining (minor) problems are (but the touch click ability does not get lost by them):
a. In Chromium when you create a new tab, the new tab contains icons for web apps (at least the app store and perhaps some examples). These icons cannot be clicked by touch, only with a mouse. All the rest in Chromium is clickable by touch.
b. Touch clicks do not work in XBMC, but after using and leaving XBMC with an external mouse on the normal desktop touch-clicking works again.
These are probably separate bugs which got revealed by the now working touch click.
Complete patch for xorg-server is attached.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Till Kamppeter (till-kamppeter) wrote : | #74 |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#100 |
Created attachment 78125
touch-fix.patch
Sorry, patch is not complete. Here is the correct one.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#101 |
ok, thanks to Maarten's debugging we've found the issue. listener->grab is not copied but rather referenced, leaving the grab stale once it was deleted. Reproducible test case is simply:
XGrabButton()
pointer-emulating touch down
XUngrabButton()
trigger touch update/end
This doesn't necessarily crash, but once you run through valgrind to reset memory after freeing it we have a reliable crasher.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Till Kamppeter (till-kamppeter) wrote : | #75 |
I have built xorg-server with my patch also on the Nexus7 now and it works perfectly there with the desktop and all applications, too, and on the Nexu7 XBMC and Chromium's web apps work with touch.
It also seems to fix the Nexus 7.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#102 |
I have built xorg-server with my patch also on the Nexus 7 (armhf) now and it works perfectly there with the desktop and all applications, too, and on the Nexus 7 XBMC and Chromium's web apps work with touch.
It also seems to fix the Nexus 7.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Patola (patola) wrote : Re: [Bug 1068994] Re: button1 gets stuck after a while | #76 |
On Wed, Apr 17, 2013 at 6:15 AM, Till Kamppeter
<email address hidden>wrote:
> I have built xorg-server with my patch also on the Nexus7 now and it
> works perfectly there with the desktop and all applications, too, and on
> the Nexu7 XBMC and Chromium's web apps work with touch.
>
> It also seems to fix the Nexus 7.
>
Do you have the .deb so others can test it?
Thanks!
--
Cláudio "Patola" Sampaio
IRC: ptl - Yahoo: patolaaa
Campinas, SP - Brazil.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Till Kamppeter (till-kamppeter) wrote : | #77 |
I have uploaded a test package (xorg-server 1.13.3-
sudo apt-get update
sudo apt-get upgrade
Does this fix your touch screen click problem?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Till Kamppeter (till-kamppeter) wrote : | #78 |
- xserver-xorg_1.13.3-0ubuntu5_armhf.tar.bz2 Edit (13.0 MiB, application/x-tar)
Unfortunately, the PPA does not build packages for the Nexus 7 (armhf platform). Therefore I attach a patch with the binary .deb packages which I have built and tested on my Nexus 7. I did not see the problem occur with them, so they most probably fix this bug.
Please install the packages with
dpkg -i *.deb
You usually will need to install only xserver-common and xserver-xorg-core. Install the other packages only if you have an old version of them installed which conflicts with the new xserver-common and/or xserver-xorg-core.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Patola (patola) wrote : | #79 |
On Wed, Apr 17, 2013 at 7:48 AM, Till Kamppeter
<email address hidden>wrote:
> Unfortunately, the PPA does not build packages for the Nexus 7 (armhf
> platform). Therefore I attach a patch with the binary .deb packages
> which I have built and tested on my Nexus 7. I did not see the problem
> occur with them, so they most probably fix this bug.
> (...)
>
> ** Attachment added: "xserver-
>
> https:/
>
FINALLY!!!!!!
It is working, I've spent about 20 minutes trying to make it stop working
to no avail. So, your patch seems to have resolved the problem.
Congratulations, I don't think I should tell you how important is this
bug... Thank you very much!
For me, it will make the difference between playing for a few seconds and
actually using desktop ubuntu on a tablet.
Thank you again!
Best regards,
--
Cláudio "Patola" Sampaio
IRC: ptl - Yahoo: patolaaa
Campinas, SP - Brazil.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Patola (patola) wrote : | #81 |
On Wed, Apr 17, 2013 at 7:48 AM, Till Kamppeter
<email address hidden>wrote:
> Unfortunately, the PPA does not build packages for the Nexus 7 (armhf
> platform). Therefore I attach a patch with the binary .deb packages
> which I have built and tested on my Nexus 7. I did not see the problem
> occur with them, so they most probably fix this bug.
> (...)
>
> ** Attachment added: "xserver-
>
> https:/
>
FINALLY!!!!!!
It is working, I've spent about 20 minutes trying to make it stop working
to no avail. So, your patch seems to have resolved the problem.
Congratulations, I don't think I should tell you how important is this
bug... Thank you very much!
For me, it will make the difference between playing for a few seconds and
actually using desktop ubuntu on a tablet.
Thank you again!
Best regards,
--
Cláudio "Patola" Sampaio
IRC: ptl - Yahoo: patolaaa
Campinas, SP - Brazil.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Maxxer (lorenzo-milesi) wrote : | #80 |
Thanks @Till, I tried now with your packages on my N7 and now i cannot repro my bug anymore (opening unity)!
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Maxxer (lorenzo-milesi) wrote : | #82 |
sadly after some time of usage the issue (at least mine) comes up again: the touch becomes a "mouseover" and I cannot click anymore.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Maxxer (lorenzo-milesi) wrote : | #83 |
reinstalled packages, ubuntu working for several minutes so far without issues. I had a dist-upgrade after the first dpkg -i, maybe it had something overwritten?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Till Kamppeter (till-kamppeter) wrote : | #84 |
Maxxer, the N7 package has the version number 1.13.3-0ubuntu5, which is the same as one of the official (not fixed) package. It is possible that dist-upgrade replaces it by the official package.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
debb1046 (debb1046) wrote : | #85 |
package from #77 seems to fix it for me (Samsung Ativ smart PC pro). Thanks much.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#103 |
ok, I'll be honest. this is a giant mess where we potentially access dangling pointers and sorting this out is nasty. my attempts to do so today have failed badly. fix will come, but not too soon I'm afraid
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Maxxer (lorenzo-milesi) wrote : | #86 |
I don't know if it's related but when I do a right click I cannot return to normal behavior anymore. Anyone else ?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Till Kamppeter (till-kamppeter) wrote : | #87 |
Maxxer, how do you do a right click? With the mouse? Special touch gesture?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
debb1046 (debb1046) wrote : | #88 |
I used onboard's click helper to make a right click with the touchscreen. Unfortunately, I then make the same observation as Maxxer
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Maxxer (lorenzo-milesi) wrote : | #89 |
Like debb said, using the on screen keyboard
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Till Kamppeter (till-kamppeter) wrote : | #90 |
Yes, I can reproduce this, using the right-click emulator of onboard makes the touch clicking fail. Probably I did not see this earlier as I rarely use the right click. Seems that my suggested patch is only a partial fix.
Perhaps we have to wait for 1.14 with touch screen support, or for the retirement of X for the desktop in favor of Wayland or MIR.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Patola (patola) wrote : | #91 |
On Thu, Apr 18, 2013 at 5:07 AM, Till Kamppeter
<email address hidden>wrote:
> Yes, I can reproduce this, using the right-click emulator of onboard
> makes the touch clicking fail. Probably I did not see this earlier as I
>
Yeah... I was also able to replicate it, whenever I use the right-mouse
from onboard the mouse click gets lost. But since you fixed the left-click
bug, why are you so pessimistic about this other bug? Wouldn't the same
modifications be doable with this one?
Best regards,
--
Cláudio "Patola" Sampaio
IRC: ptl - Yahoo: patolaaa
Campinas, SP - Brazil.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Till Kamppeter (till-kamppeter) wrote : | #92 |
- xorg-server_1.13.3-0ubuntu7~ppa1_armhf.tar.bz2 Edit (13.0 MiB, application/x-tar)
Test tarball from comment #78 updated.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Patola (patola) wrote : | #93 |
On Thu, Apr 18, 2013 at 6:04 AM, Till Kamppeter
<email address hidden>wrote:
> Test tarball from comment #78 updated.
>
> ** Attachment added: "xorg-server_
>
> https:/
>
Right click bug still there... (installed the new xserver debs and
rebooted)
--
Cláudio "Patola" Sampaio
IRC: ptl - Yahoo: patolaaa
Campinas, SP - Brazil.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Till Kamppeter (till-kamppeter) wrote : | #94 |
Patola, I do not really know about the internals of touch, I am working on the printing part of Linux. As I bought a laptop with touch screen recently, I wanted to get it to work and started discussing the problem with Maarten Lankhorst (mlankhorst), the maintainer of the xorg-xserver source package, on IRC and he gave me some hints, including updating to 1.14 and applying a huge patch, but before doing this I followed some less invasive hints from him, and this made the simple touch left click reliably working (my package from comment #71, comment #74, comment #77, and comment #92). I asked Maarten yesterday whether he could apply this to Raring, but he says that there are still a lot of problems, like crash of his Nexus 7 and on the linked Freedesktop bug today a comment (https:/
---------
ok, I'll be honest. this is a giant mess where we potentially access dangling
pointers and sorting this out is nasty. my attempts to do so today have failed
badly. fix will come, but not too soon I'm afraid
---------
So someone really knowing about how this works has to fix it, or Ubuntu has to decide for the Wayland/MIR switchover for the desktop early in the next cycle.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Till Kamppeter (till-kamppeter) wrote : | #95 |
Patola, my updates of today are only to include an update of the official package from last night and to get a correct version number on the Nexus 7.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Till Kamppeter (till-kamppeter) wrote : | #96 |
Created a Blueprint about convertibles and the Ubuntu desktop with touch screen:
https:/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Maxxer (lorenzo-milesi) wrote : | #97 |
thanks for your efforts Till.
At least it's now mostly usable, as you noted right-click is not used very often, at least by me.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#104 |
Yes, I can see how time consuming this must be. Thanks for continuing to work on it, at OLPC we can promise you some testing once code is ready.
In the mean time I will add the latest 2 patches to our development builds for further testing:
Xi: Do not handle ET_TouchOwnership in ProcessTouchEvent
dix: copy event in TouchConvertToP
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Nick Meacham (nickman529) wrote : | #98 |
Wait how do I go about installing the fixed stuff
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#105 |
Please have a test of this branch here:
http://
I'm not 100% sure yet if there's a memleak introduced - haven't done the required checks yet. but it fixes the crasher caused by the invalid memory dereference.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#106 |
Peter, I have tested your new branch on the Lenovo Thinkpad Twist now. I do not get any crashes and left clicking by tapping is absolutely reliable for me. Right-clicking via onboard does not work for me though. If I activate the right-click mode and tap, the tap is interpreted as left click (right-click mode ignored). At least I do not get a stuck-left-button effect by the right click. I do not get any crash nore a stuck-button effect at all, independent what I am doing. What is missing now is a fix for the right click.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#107 |
Thanks for continuing to work on this.
I believe the touch-grab-
Running xev, I can see that clicking and holding the mouse button doesn't actually trigger any events. Only when I release, ButtonPress and ButtonRelease appear in quick succession.
If nobody beats me to it, I'll bisect this later this week. Also, the above test was done on xserver-1.13.3, I should also test on a newer version to make sure there aren't any other factors at play.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#108 |
Daniel, Peter, I am using the the full GIT branch touch-grab-
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#109 |
Thanks for testing. Sugar's paint app is http://
It is probably more meaningful to do the xev test though. Click the mouse button and hold, you would expect a ButtonPress event to show immediately, but it doesn't. And do that under sugar, in case the global touch grabs are affecting things.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#110 |
Daniel, on my 1.14 I do not see any problem, also when testing with xev. Both with the external mouse and my finger on the touch screen I see ButtonPress events when I press and hold the mouse button or when I put my finger onto the screen and I get ButtonRelease events when I release the mouse button or take my finger from the screen. This works all correctly for me.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#111 |
Till, can you run this under valgrind please to make sure I didn't introduce any memory leaks?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#112 |
Peter, how do I run the xorg server under Valgrind? I have a Ubuntu Raring system.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#113 |
Another touch problem: If I run Chromium browser and try to drag and drop one of the tabs using the touch screen, the left button gets stuck down and it does not get even unstuck if I continue working with the external Bluetooth mouse. I can only kill the session.
It also happens sometimes that X crashes but without any message in /var/log/syslog.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#114 |
Created attachment 78472
/etc/X11/X-valgrind
For valgrinding xserver you want to install the xserver-
I enabled auto valgrinding by creating /etc/X11/X-valgrind with the contents of this adjustment, make the file executable and then point the /etc/X11/X symlink to it. It will append the log to /var/log/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#115 |
Also with 1.14 XBMC behaves as in comment #39, not reacting to touch clicks. Looking more deeply into XBMC's behavior, the mouse cursor is put into the lower right corner of the screen when touch-clicking an arbitrary place, perhaps all touch clicks are registered with the coordinates of the lower right corner.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#116 |
I have set up running X under Valgrind now. I have installed
xserver-
valgrind
xserver-
xserver-
xserver-
xserver-
libdrm2-dbg
libdrm-intel1-dbg
ThenI have installed Maarten's script, made it executable, and linked it. After that I have restarted X via
sudo restart lightdm
X is mnuch slower now, probably due to Valgrind's work.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#117 |
First observation under Valgrind:
onboard pops up when touch-clicking an input field, but onboard is non-functional. Independent whether I touch-click the keys or use my external mouse, the keys do not react. No changes of the key's color, no character appearing in the input field. Also right-clicking does not work as one cannot operate the right-click button.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#118 |
Created attachment 78475
Xorg-valgrind.
My Valgrind log as of now.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#119 |
Installed libunwind8-dbg to improve Valgrind log, then restarted lightdm, logged in, and now onboard works.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#120 |
Created attachment 78476
Xorg-valgrind.
Update of Valgrind log.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#121 |
I have more experience with the onboard-aided right click (same running under Val;grind or without Valgrind):
Touch-clicking the right-click key on onboard makes it turning grey. After that doing one touch click on the desktop background does nothing. A second touch click on the background makes the right-click menu open and onboard disappear.
Right-clicking in Chromium does not work. The second click only makes onboard disappear but does not pop up the right-click menu of Chromium.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#122 |
Same with the double-click emulation button of onboard: It also executes the double-click only on the second touch click (tested with Nautilus).
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#123 |
Created attachment 78483
Xorg-valgrind.
Finally I succeeded to make X crashing again, I opened several programs (Firefox, Chromium, Thunderbird, Calculator, digikam), did some clicks in them, and closed them again. Then I opened LibreOffice Writer via the Launcher and got a window asking to recover a previous document which was not correctly closed. I rejected and when I answered the question whether I really want to reject with "Yes", X crashed.
Valgrind log attached.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#124 |
Created attachment 78484
Xorg-valgrind.
With LibreOffice Writer I can reproduce the crash reliably. Right after login I touch-click its icon in the Launcher, get the dialog to recover the document of the previous session, I reject, and as soon as I click "Yes" to confirm, X crashes, and X crashes fast enough so that LibreOffice does not clean up the document which I have rejected. In the next session I will get asked again.
If you cannot reproduce the crash as you do not have a broken document, try starting a new document and then "kill -9" LibreOffice. On the next session it should ask you for recovering your document.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#125 |
Note: In the last two comments (and also in my other tests), I did all operations by touch clicking (if not otherwise stated).
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#126 |
Created attachment 78485
Xorg-valgrind.
X crashes as well if I do the described steps with LibreOffice using my external Bluetooth mouse for all clicks and not the touch screen.
Valgrind log attached.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#127 |
(In reply to comment #47)
> I believe the touch-grab-
> a problem with mouse input. In Sugar's Paint application, I can't paint
> anything by moving the mouse around with the button held down.
>
> Running xev, I can see that clicking and holding the mouse button doesn't
> actually trigger any events. Only when I release, ButtonPress and
> ButtonRelease appear in quick succession.
I have reproduced this by checking out the git branch in question and building it directly, so it was not a side effect of my earlier attempt (above) where I had backported this to 1.13.3.
The problem can be reproduced very easily: xinit /usr/bin/xev (running over ssh from another machine, to be able to see stdout)
Move the mouse cursor to the top left (where the xev window is). Click and hold the mouse button, and keep holding. No output from xev. Now release the mouse button, ButtonPress and ButtonRelease arrive at the same time. No touch input is needed to see this problem.
A few churns of "git bisect" later I have tracked this down to:
3e1515898545b0e
commit 3e1515898545b0e
Author: Peter Hutterer <email address hidden>
Date: Thu Apr 18 10:32:11 2013 +1000
dix: drop DeviceIntRec's activeGrab struct
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#128 |
Created attachment 78643
Xorg-valgrind.
Another crash, this time I was visiting http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#129 |
Created attachment 78644
Xorg-valgrind.
Another crash: Still visiting http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#130 |
the libreoffice hint helped a lot tracking this down. New branch posted (top commit b8a2de82e36dd92
). Please give this a test. looks like my test box here is happy and valgrind doesn't see any leaks (yet)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#131 |
Created attachment 78801
nexus valgrind log for latest attempt
Still a bit buggy. On the nexus7 I can cause it to drop events in the same way still..
What I do is touch the ubuntu dash icon in upper left, then release finger and make a dragging motion with the dash icon. I'm not 100% sure if the touch was fully released, or it just stopped registering my finger. But this (still) results in the following spam from xserver:
[Xi] Virtual core pointer: Failed to get event 8 for touchpoint 1
[Xi] Virtual core pointer: Failed to get event 8 for touchpoint 1
[Xi] Virtual core pointer: Failed to get event 8 for touchpoint 2
source device 7: history size 100 overflowing for touch 12
(history size overflowing repeated a lot, for touch 12 and 13)
Stopping lightdm doesn't crash any more and shows no leak. Only thing that may or may not be relevant is a still reachable warning:
==3663== 16,384 bytes in 4 blocks are still reachable in loss record 245 of 246
==3663== at 0x482D4B8: calloc (vg_replace_
==3663== by 0x216F23: WriteToClient (io.c:1017)
==3663== by 0x142667: WriteEventsToClient (events.c:5982)
==3663== by 0x142747: TryClientEvents (events.c:1968)
==3663== by 0x144905: DeliverEventToI
==3663== by 0x144A99: DeliverEventsTo
==3663== by 0x144D51: ProcSendEvent (events.c:5411)
==3663== by 0x13B9D5: Dispatch (dispatch.c:432)
==3663== by 0x130D2F: main (main.c:295)
Full log for the session is attached as vg.nexus
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#132 |
Peter, I have tried your new snapshot (comment #70) and so far I did not get crashes. Touch operation without right-clicking works well for me now. The right-click emulation via Onboard is still broken, though.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#133 |
(In reply to comment #70)
> the libreoffice hint helped a lot tracking this down. New branch posted (top
> commit b8a2de82e36dd92
> ). Please give this a test. looks like my test box here is happy and
> valgrind doesn't see any leaks (yet)
I would like OLPC to help with this testing, but the xev problem in comment #67 is getting in our way. Have you had a chance to investigate this yet?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#134 |
daniel - xev behaves normally for me in the last branch. is it still misbehaving for you?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#135 |
Yep, reproduced with HEAD b8a2de82e3, bisection identifies the first bad commit as 3e15158985.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#136 |
tried to bisect this, but I can't see any difference in the xev output before or after that commit. Tested several revisions after (and 3e15158985) and xev works as expected.
fwiw, my test box here is Ubuntu 12.10 with the server branch above, rest as-is. mouse used is a trackpoint, which for all purposes looks like a mouse.
test case was xinit /usr/bin/xev -- /opt/xorg/bin/Xorg -retro, then clicking+dragging into the xev window. events as expected.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#137 |
> ==3663== 16,384 bytes in 4 blocks are still reachable in loss record 245 of
> 246
> ==3663== at 0x482D4B8: calloc (vg_replace_
> ==3663== by 0x216F23: WriteToClient (io.c:1017)
> ==3663== by 0x142667: WriteEventsToClient (events.c:5982)
> ==3663== by 0x142747: TryClientEvents (events.c:1968)
> ==3663== by 0x144905: DeliverEventToI
> ==3663== by 0x144A99: DeliverEventsTo
> ==3663== by 0x144D51: ProcSendEvent (events.c:5411)
> ==3663== by 0x13B9D5: Dispatch (dispatch.c:432)
> ==3663== by 0x130D2F: main (main.c:295)
This appears to be present in 1.14.0, not introduced by this series.
I raise a white flag on the other issue though, like the bug Daniel sees I cannot reproduce it here.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#139 |
(In reply to comment #76)
> tried to bisect this, but I can't see any difference in the xev output
> before or after that commit. Tested several revisions after (and 3e15158985)
> and xev works as expected.
Thanks for testing - I have now looked closer.
The patch removes a field from struct _GrabInfoRec. That is an ABI change, what does it affect? It does seem to break stuff outside of the xserver according to my initial test.
If I readd the field, even though it is now unused, xev works again.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#140 |
oh, right. sorry, I forgot to mention this - it is indeed a ABI break so you have to recompile the drivers (or add the now-unused field back in). Maarten, this could also be the reason for your bug?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#141 |
Pushed the branch with a fix to keep the ABI, please test de12ce91d8e44ab
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#142 |
I built it, and changing between dash and indicators soon hangs with this on the log:
[ 3110.957] (EE) BUG: triggered 'if (!pGrab)'
[ 3110.957] (EE) BUG: ../../dix/
[ 3110.957] (EE)
[ 3110.957] (EE) Backtrace:
[ 3110.957] (EE)
gdb doesn't give anything, just the usual WaitForSomething etc
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#143 |
(In reply to comment #80)
> Pushed the branch with a fix to keep the ABI, please test
> de12ce91d8e44ab
Built this and can't see any problems after a quick test. I'll ship this in upcoming OLPC development builds for wider testing.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#144 |
I have a lenovo S10-3t with full keyboard, synaptics touchpad and cando 2 touch screen that I'd like to try this on. I have ubuntu 13.04 on it. What are the git commands to access de12ce91d8e44ab
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#145 |
Sorry, I found the files on the pages referenced above, so don't need any reply.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Ben Tagger (bentagger) wrote : | #138 |
Don't know if this will help but...
When button 1 locks up for me (primary click), I can still use keyboard and, strangely, navigate perfectly through the settings menu - just can't click on anything else...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#146 |
Is make check failing for anyone else with v3?
(EE) test device: not enough space for touch events (max 5 touchpoints). Dropping this event.
(EE) test device: not enough space for touch events (max 5 touchpoints). Dropping this event.
(EE) test device: not enough space for touch events (max 5 touchpoints). Dropping this event.
/bin/bash: line 5: 26164 Segmentation fault MALLOC_PERTURB_=15 ${dir}$tst
FAIL: touch
Program received signal SIGSEGV, Segmentation fault.
TouchInitTouchPoint (t=t@entry=
243 ti->valuators = valuator_
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#147 |
I still need help compiling the test branch of xserver on ubuntu 13.04. If I try to compile it, detailed here http://
TIA
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#148 |
(In reply to comment #85)
> Is make check failing for anyone else with v3?
caused by a patch merged into master (and thus picked up on v3), fix is here:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#149 |
paul:
add-apt-repository ppa:canonical-
apt-get update
apt-get dist-upgrade
apt-get build-dep xorg-server
will get you 1.14 + necessary build dependencies. Copy the debian directory from xserver 1.14, and comment out each patch that fails to apply in debian/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#150 |
(In reply to comment #88)
Hello.
I would like to provide testing for this bug if possible but I'm not exactly clued up on compiling xorg-server from scratch. I figure it could be useful to have a none-standard (ie not a laptop or tablet device) low-end hardware test case but if it's unlikely to be useful then please let me know.
One thing I've noticed is that once this bug has triggered (rendering most GTK applications and the unity dash unusable), Nautilus continues to function normally with the touch screen. Can anyone else confirm this on a standard Ubuntu 13.04 installation?
Anyway, I can see the branch you're talking about and can clone the git repository no problem.
> Copy the debian directory from xserver 1.14, and comment out each patch that fails to apply in debian/
I'm not certain which directory / patches you're referring to here, could you point me in the right direction?
I can duplicate this bug every time with a custom application which uses a GtkToolPalette. It appears to trigger every time I tap a category which produces a smooth roll-out animation - the hardware is pretty low end so I suppose this additional load triggers a race condition? I can trigger the bug in other normal uses but this one is guaranteed every time.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#151 |
grab http://
and xorg-server_
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#152 |
(In reply to comment #90)
Thank you, Maarten. I can patch and compile that copy but for some reason I'm getting a compilation error with the de12ce91d8e44ab
> REGION_
> REGION_
> REGION_
> REGION_
> window.c:421:5: error: the comparison will always evaluate as ‘true’ for the
> address of ‘box’ will never be NULL [-Werror=address]
Any ideas?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#153 |
sorry guys, please take the compilation errors to the list. This bug is confusing enough with >90 comments and I'd like to keep off-topic stuff to a minimum.
pushed a new version of the branch after fixing a cursor refcounting issue that crashed my server when dragging and email in thunderbird. new branch tip is 9a5ad65330693b3
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#154 |
That fixed up the background corruptions and hangs on armhf/nexus 7, but I'm still seeing a stuck mouse button, and [ 77305.765] [Xi] Virtual core pointer: Failed to get event 8 for touchpoint 1.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#155 |
nm, bg is still corrupt when running in valgrind :(
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#156 |
fwiw, the latest branch got merged into master. It's still buggy but an improvement over the previous state.
commit c76a1b343d6a56a
Merge: 891123c 9a5ad65
Author: Keith Packard <email address hidden>
Date: Thu May 23 19:58:36 2013 -0600
Merge remote-tracking branch 'whot/touch-
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#157 |
Thanks for all your work on this. At OLPC we've been testing the branch but have been a couple of commits behind the tip. Anyway, I think its still worth contributing the test result: no problems seen.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#158 |
I would like to be any help I can with this bug fix. I am able to test on an 18.5" Winmate M185D as well as a 10" Winmate device (W10ID3S-PCH1). I am currently running Unity 13.04 and can make any necessary changes to the system. Please let me know what I can do to test and how to do it. I feel a bit over my head, but am willing to learn in order to be helpful.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
SunnyDrake (beebop) wrote : | #159 |
suffering from same issue :(
my tablet x86 tested distros
android-x86 - all ok
bodhi 2.3 - E17 same issue, after theme choose lc not works
ubuntu
-- unity mouse0 hang after 1-4 clicks
-- awn (Avant Window Navigator if im not mistaken) ... strange but no hungs .. just works
-- netbook-remix some controls works, some not (Qt framework issues?)
plasma active (KDE+Qt)
-- kubuntu .. not working, some icons can be clicked(+right sidebar rotates and drags) but dragging down main menu fails
-- basyskom-
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
James M. Leddy (jm-leddy) wrote : | #160 |
This change looks pretty big, is there any chance that we can SRU this for precise? The reason I ask is because it's a LTS release and we have a fair amount of hardware that is failing here: http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#162 |
Wondering if anything has been happening in a while...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#163 |
Peter fixed a load of stuff and it got merged in xserver master. Unfortunately there have not been any development releases of xserver master since that happened, but that will come in time.
If you are still seeing problems, and are definitely using xserver master, then I suggest explaining your problem here (if you are sure that you are seeing the same issue), or opening a new bug report (if it seems like your issue might be unrelated).
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#164 |
The fix for bug #66720 looks relevant, commit 8eeaa74bc241acb
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#165 |
Nope, and I noticed a BUG on !pGrab in FreeGrab, I'll try it a bit more on monday.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#166 |
(In reply to comment #99)
> Peter fixed a load of stuff and it got merged in xserver master.
> Unfortunately there have not been any development releases of xserver master
> since that happened, but that will come in time.
>
> If you are still seeing problems, and are definitely using xserver master,
> then I suggest explaining your problem here (if you are sure that you are
> seeing the same issue), or opening a new bug report (if it seems like your
> issue might be unrelated).
Thanks for the sumary! I was just wondering. Thanks!
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#167 |
(In reply to comment #101)
> Nope, and I noticed a BUG on !pGrab in FreeGrab, I'll try it a bit more on
> monday.
merged as 0e3be0b25fcfeff
as for the rest, I really need something that's reproducible.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#161 |
I am quite new to ubuntu. How do i apply the patch to my system?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#168 |
I think the changes to onboard to use xinput2 directly may have fixed the remaining issue I was having. When I checked out onboard from trunk and used it on my nexus7 things worked, and nothing got stuck.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#169 |
Maarten, I have checked with the new onboard ("bzr branch lp:onboard") now on an up-to-date Saucy with xserver packages from the x-staging PPA and I do not get a stuck-mouse-button effect any more.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Glenn Watson (gw-c) wrote : | #170 |
What are the steps to test this regarding the two comments above? I'm assuming:
1) Download and flash the latest saucy preinstalled image.
2) Add the x-staging PPA and do an update/upgrade.
3) Use the newest onboard <--- How do I do this?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#171 |
I did further testing over longer time and no stuck button. Its seems that with the current X from the x-staging PPA and the current Onboard from the onboard PPA the problem is solved.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#172 |
Thanks for testing. I'm going to close this one as fixed since we definitely fixed quite a few bugs in this patch set. If there's something left please file a new bug so we can narrow down the new (old? :) issues.
Changed in xorg-server: | |
status: | In Progress → Fix Released |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Till Kamppeter (till-kamppeter) wrote : | #173 |
This is fixed in the X version in the x-staging PPA. Will this fix make it into Saucy (and so make tablet mode of convertibles usable)?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Anderson Lizardo (lizardo) wrote : | #174 |
I got this bug on my laptop running 13.04 (BTW I think bug #946417 is a duplicate of this one). It causes the touchscreen to not work after several clicks.
I tried running the X from x-staging PPA (add-apt-repository ...; apt-get update; apt-get dist-upgrade; service lightdm restart). After I login, the screen shows a background for some seconds and then a blank screen. ~/.xsession-errors shows these lines:
[several lines about loading/starting plugins...]
compiz (core) - Info: Loading plugin: unityshell
gnome-session[
gnome-session[
gnome-session[
gnome-session[
Do I need to use any other PPA to avoid the compiz crash?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Anderson Lizardo (lizardo) wrote : | #175 |
Hi again,
After some investigation, I found that the compiz segfault was due to an undefined symbol:
compiz (core) - Debug: dlopen failed: /usr/lib/
I downgraded libxfixes3 to 1:5.0-4ubuntu5.
Will try to compile myself, but if you could backport it to raring, I would appreciate.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Anderson Lizardo (lizardo) wrote : | #176 |
I gave up and simply upgraded to saucy. So far, I did not have any touchscreen issues, so I've not tried the x-staging PPA for saucy yet.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Timo Aaltonen (tjaalton) wrote : | #177 |
the nexus7 either works or not, there might still be a chance of hitting another race but closing anyway
Changed in xorg-server (Ubuntu): | |
milestone: | ubuntu-13.04 → none |
status: | Confirmed → Fix Released |
Changed in ubuntu-nexus7: | |
assignee: | Timo Aaltonen (tjaalton) → nobody |
status: | Confirmed → Fix Released |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
xcalin (xcalin16-gmail) wrote : | #178 |
This also affects me on Asus S400CA with Ubuntu 13.04
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#179 |
will the .deb package provided https:/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Maarten Lankhorst (mlankhorst) wrote : | #180 |
This is reportedly fixed in saucy, I've set up a preliminary backport of the saucy xserver in ppa:ubuntu-
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Ara Pulido (ara) wrote : | #181 |
We have confirmed that the current s-lts-backport fixes the issues as we have seen them.
So, marking as Fix Released for Saucy and we will wait for 12.04.4 for a fix in Precise.
Thanks!
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
LJ (the-mr-lj-88) wrote : | #182 |
Will there be a fix for 13.04 64-bit as well?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Timo Aaltonen (tjaalton) wrote : | #183 |
LJ: no, too big set of patches to backport
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
LJ (the-mr-lj-88) wrote : | #184 |
ok, so upgrading to 13.10 is the only option?
no longer affects: | oem-priority/raring |
Changed in oem-priority: | |
status: | Invalid → Confirmed |
assignee: | James M. Leddy (jm-leddy) → Ara Pulido (apulido) |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Ara Pulido (ara) wrote : | #185 |
Tracked on Precise for 12.04.4
Changed in oem-priority: | |
status: | Confirmed → Fix Committed |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Ara Pulido (ara) wrote : | #186 |
12.04.4 is now released. Marking as Fix Released in the OEM priority project
Changed in oem-priority: | |
status: | Fix Committed → Fix Released |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
vasya (vasiliy-boytsov-d) wrote : | #187 |
In ubuntu 14.04 everything seems to be normal.
But when i tried kubuntu 14.04 there was a big similar to this. I can tap the screen but there is no click event. Also some of the windows are "running away" if you're clicking on them. (similar button-stuck behaviour on suse (especially when I tried toucegg (in terminal there was one key repeated constantly))).
My device is acer W700.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
mackie vr (mackie-vr) wrote : | #188 |
Hi all,
Would really love to get my N7 running ubuntu normally.
I just tried a dist upgrade and the issue still remains in Raring.
Please can someone provide more instructions on getting this fix into the N7 ?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Timo Aaltonen (tjaalton) wrote : | #189 |
raring is EOL, and later versions don't have a working tegra3 X driver anymore, so you're out of luck
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Luca Z (luca-zerb) wrote : | #190 |
I'm on 13.04 on a Nexus7 too and I really would love to find a way to apply these patches, even manually.
Is someone willing to point me to the right direction?
Thank you in advance!
there's a thread on xorg-devel@ about turning off support for multitouch by default, and the discussion led to the main input developer reproducing the issue himself. We might have a patch early next week.