/srv/irclogs.ubuntu.com/2012/03/02/#ubuntu-x.txt

Sarvatthttps://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/944415/comments/300:08
ubottuLaunchpad bug 944415 in xserver-xorg-input-synaptics (Ubuntu) "Input stops responding" [Undecided,New]00:08
Sarvattdang now it's hung 4 times in the past 5 minutes00:11
Sarvatttesting out http://bazaar.launchpad.net/~bregma/utouch-geis/lp-937021/revision/20900:40
Sarvatterr https://code.launchpad.net/~bregma/utouch-geis/lp-93702100:41
* Sarvatt shoots in the dark since disabling geis from unity yet again seems to fix it00:41
Sarvatthmm, xutils-dev could use going into backports01:05
brycehSarvatt, agreed01:06
brycehSarvatt, or even just FFe it in?01:06
* Sarvatt looks into whats needed for that01:06
brycehI know we have a few things wanting the newer version, does it have any deps itself we can't meet easily?01:06
Sarvattnope01:06
brycehany potential side effects or conflicts?01:07
Sarvattthere were one or two releases of xutils-dev that build-dep'ed on xutils-dev that would have caused a headache but that was fixed a year ago01:07
Sarvattcan't see how it could conflict or have side effects if its in -backports, people would have to willingly enable that and wouldn't screw with updates, it'd just let people backport newer drivers or X to old releases01:10
Sarvattah it doesn't look automated, thought it was for some reason01:11
Sarvatthmm failsafeX is busted, no input02:10
brycehyeah I need to figure that out02:29
Sarvattsforshee: so, are you using the macbook air and want it stable, or are you just looking to get it fixed? I can send you unity packages that actually work if you need to be productive on it in the meantime if the latter :)03:57
sforsheeSarvatt, I can usually get it to happen if I load up a long page in chromium and scroll with the touchpad, but at times it does seem to stop happening for a while04:36
sforsheeit also seems to happen sometimes after resume if I suspend by closing the lid04:37
sforsheeI don't need an immediate workaround, it's not my main machine and I can avoid it pretty well, I just want to see it fixed04:38
* Sarvatt nods04:42
Sarvattjust wanted to be sure, i use this machine as my primary one and need it working :)04:42
Sarvatti haven't seen it from closing the lid yet, thats strange04:43
Sarvattbut i dont suspend on lid close so maybe that explains it04:43
Sarvattthat seems like it might not be the same bug though04:43
sforsheefor a while there was a bug where the machine wouldn't suspend when the lid was closed, and when I opened the lid it definitely looked the same04:47
sforsheenow it's on the text console rather than the desktop, but it's still similar in that the only thing that updates is the mouse pointer04:48
sforsheeheh, I just opened the lid and got the freeze. What to I look at to verify it's the same problem?04:49
Sarvattsforshee: i'm 100% sure you're hitting the same problem and it really seems higher up in the stack like in utouch-geis https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/94441504:52
ubottuLaunchpad bug 944415 in xserver-xorg-input-synaptics (Ubuntu) "Input stops responding" [Undecided,New]04:52
Sarvattfrom your other bugs compiz backtrack04:52
Sarvattbacktrace04:53
Sarvattbah04:53
Sarvattits late, why am i awake :)04:53
sforsheeSarvatt, this time the stacktrace is different04:56
sforsheeit's going through intel_update_renderbuffers()04:57
Sarvattso yeah suspend sounds like a different problem then04:57
Sarvattbugs all around!04:57
Sarvattintel_update_renderbuffers(), can you pastebin it?04:58
sforsheeyeah, just a minute04:58
Sarvattthink i can point you at that bug04:58
Sarvattsounds like the other big bug we're hitting in mesa at the moment04:59
sforsheehttp://pastebin.ubuntu.com/864587/05:00
Sarvattok no thats different, its just trying to draw, the mesa problem was an actual crash05:01
Sarvattnothing in ~/.xsession-errors that time?05:01
sforsheethere was, but I forgot to save it. D'oh.05:02
sforsheei should be able to produce it again with a little effort05:02
Sarvattme too, same machine and all05:03
Sarvattbut cant seem to hit it.. 10 s3's so far05:04
sforsheeyeah, I don't see it that often anymore05:04
Sarvattmaybe something in /var/log/lightdm/x-0.log?05:05
Sarvattjust got http://paste.ubuntu.com/864594/ but it resumed fine that time05:06
sforsheeI'm not finding what I saw in .xsession-errors anywhere in /var/log, although x-0.log does show the 'unable to find touch point' messages05:07
Sarvattoh duh, i'm using a unity with geis support ripped out that actually works05:08
Sarvattthats probably why i can't reproduce it05:08
Sarvatti'll mess with it tomorrow, its too late here, thanks for the pointers :)05:09
sforsheeyeah, I need to go to bed too05:09
sforsheethanks for looking!05:09
sforsheeSarvatt, a little something for tomorrow morning: http://pastebin.ubuntu.com/864597/05:14
sforsheethat's .xsession-errors from the freeze after s305:15
Sarvattwth is up with all the g-s-d xrandr spam05:15
Sarvatti dont get that05:16
* Sarvatt wonders what he's changed locally now05:16
sforsheethe xrandr spam isn't there before s3 but is afterwards, whether or not it freezes05:19
=== yofel_ is now known as yofel
sforsheeSarvatt, cnd: just got the desktop freeze coming out of s3 again. I posted some information I collected to bug 938770.15:30
ubottuLaunchpad bug 938770 in xserver-xorg-input-synaptics (Ubuntu) "Desktop becomes completely unresponsive" [High,Confirmed] https://launchpad.net/bugs/93877015:30
cndsforshee, if you do "unity --replace" does it fix things?16:09
sforsheecnd, yes, "unity --replace" does fix it17:41
FernandoMiguelalias compizB='DISPLAY=:0 compiz --replace &'17:41
FernandoMiguelalias compizC='DISPLAY=:0 compiz --reload &'17:41
FernandoMiguel:D17:41
cndsforshee, then it's probable that a touch is not getting rejected or accepted properly17:42
cndsforshee, please let me know if you figure out a reliable way to reproduce it17:42
sforsheecnd, I can reproduce it pretty reliably on this machine, but not on any others17:43
sforsheein fact, it just happened when I opened the lid17:43
cndsforshee, ok, see if you can figure out a series of steps that always or usually makes it happen17:44
sforsheecnd, always is tough. I can usually get it by scrolling in chromium using gestures, although it might take a while to trigger it17:45
sforsheebut once in a while it becomes very hard to reproduce17:45
cndsforshee, I wonder if it occurs when you accidentally lightly brush a third finger while scrolling?17:46
sforsheehmm, you might be right17:47
sforsheetwo for two so far17:48
cndheh17:48
cndsforshee, are you momentarily touching a third finger?17:49
cndor dragging it along too17:49
cndi.e. would it be seen as a tap17:49
sforsheei can trigger it with a 3-finger drag17:50
cndsforshee, any 3-finger drag?17:51
cndI mean to say, it triggers always when you do a 3-finger drag?17:51
sforsheespecifically over a chromium window, it doesn't do it with a 3-finger drag over the desktop17:52
sforsheeexcept now I can't :(17:52
cndsforshee, what about over other windows?17:53
sforsheecnd, my system got completely hosed, I'm rebooting now17:54
cndok17:54
sforsheeoddly, if i do a 3-finger drag over a blank desktop it acts like it's dragging a window17:55
sforsheeit's not happening with libreoffice calc, nor with firefox17:57
sforsheebut it happens immediately with chromium17:57
cndsforshee, chromium installed from the precise archives, correct?18:04
cndsforshee, do you have ginn running?18:05
sforsheecnd, yes18:05
cndps aux | grep ginn18:05
sforsheecnd, sometimes it gets in a state where I can't trigger it even with chromium however18:05
cndsforshee, as soon as I get a new version of X synaptics uploaded to precise, I'll be switching to work on this bug18:06
cndhopefully I'll be able to reproduce it too18:06
Sarvattsforshee: did you have more macs than just the air?18:07
Sarvattwondering if its happening on other bcm5974's too18:07
sforsheeSarvatt, I also have a macbook pro with the bcm597418:07
sforsheeI just tried a minute ago and reproduced it18:07
cndSarvatt, sforshee: when the bug occurs, does the whole desktop lock up?21:10
cndas though unity is hung?21:10
Sarvattcnd: yeah, it looks fine but you cant interact with anything, the cursor does change between a pointer and a text entry line when you move it over things though21:11
sforsheecnd, pretty much, the only thing that works at all is that the mouse pointer moves21:11
Sarvattvt switch then switch back to vt7 and its black with just a cursor21:11
cndyeah, so I think that may be bug 94262521:11
ubottuLaunchpad bug 942625 in unity (Ubuntu) "Unity hangs when touching my touchpad/trackpad" [Undecided,Confirmed] https://launchpad.net/bugs/94262521:11
cndwe have a wallpaper fix21:11
cndwe're trying to figure out the underlying root cause21:11
cndthe wallpaper fix is really adding proper error handling, so it's needed anyways21:12
Sarvattawesome, i'll check that out and see if it is21:13
Sarvatthopefully it doesn't need new nux and all the other stuff21:14
Sarvattoh cool r2047 is in https://launchpad.net/~unity-team/+archive/staging21:15
Sarvattgoing through and finding all of the dupes will be fun, they're splattered across all of the drivers and unity and compiz and the kernel21:17
Sarvattgot it running now, lets see how this goes21:29
Sarvattwow 175 manual tests in checkbox-unity, seriously?21:31
Sarvattshould randomize the test questions so everything gets some coverage because thats nuts21:32
Sarvattcnd: that does indeed look like the fix21:40
Sarvattselect 1121:40
Sarvattprint *data21:40
Sarvatt$1 = {id = 4, device_id = 64176, window = 172, touches = 3, timestamp = 4764291, focus_x = 1129054208, focus_y = 1139212288, bound_x1 = -2594, bound_y1 = 5313, bound_x2 = 1465,21:40
Sarvatt  bound_y2 = 6572}21:40
cndSarvatt, what are you printing?21:41
Sarvatt#11 GeisAdapter::GestureStart (cookie=<optimized out>, gesture_type=<optimized out>, gesture_id=<optimized out>, count=<optimized out>, attrs=<optimized out>)21:41
Sarvatt    at /build/buildd/unity-5.4.0/plugins/unityshell/src/GeisAdapter.cpp:13621:41
Sarvatt        data = 0x4b763d021:41
Sarvatt        self = <optimized out>21:41
Sarvattthat fix did -  if (data->touches == 3)21:42
Sarvatt+  if (data->touches == 3 && data->window != 0)21:42
cndyeah21:42
Sarvatt3 touches and window = 172 when its stuck21:42
cndthat's the root window case21:42
cndwhich is fixed elsewhere21:43
cndI'm currently trying to figure out why data->window would ever be 021:43
Sarvattcnd: awesome, ya added a synclient property for clickpad? \o/22:00
cndSarvatt, yep22:00
cndsynclient ClickPad=122:01
Sarvattso much easier to tell people that instead of explaining how to use xinput properties22:01
cndSarvatt, yeah, though I'm not sure how well it works when there are more than two trackpads22:02
jcristaubadly.22:03
cndfor people who use a magic trackpad with a laptop22:03
Sarvattthis unity is looking good so far, it does indeed look worked around in 5.6.022:06
Sarvattcnd: is it normal none of the 3 finger gestures work?22:11
cndSarvatt, I'm working on that right now :)22:11
cndthere's a bug somewhere in the stack22:12
Sarvattoh cool22:12
cndwhere a rejected touch isn't being rejected fully22:12
cndor something like that22:12
cndand this causes future touch event handling to be wrong22:12
Sarvatt4 finger is kinda iffy too, sometimes it does a right click when i'm not pressing and have tap to click disabled22:13
cndyeah22:13
Sarvattfirst time using any of this22:14
cndwe have the stack in place, just need to debug it now :)22:14
cndit's close, I think we're about 2 or 3 bug fixes from it working properly22:14
cndI need to figure out if unity/utouch is not accepting/rejecting touches properly22:15
cndor if the server isn't not handling accept/reject properly22:15
cndthat's the next step22:15
cndSarvatt, if you're interested in watching the recognizer, run: GRAIL_DEBUG=1 unity --replace22:16
Sarvattheh22:18
SarvattWarning: failed to get previous touch value22:18
Sarvattbut it doesn't die now22:18
Sarvatti get that from every single gesture22:18
SarvattWarning: failed to get previous touch value22:19
SarvattWarning: failed to get previous touch value22:19
SarvattGRAIL ERROR (../../src/v3/recognizer.cpp:ProcessEvent:691): touch 305 failed to be rejected22:19
SarvattGRAIL ERROR (../../src/v3/recognizer.cpp:ProcessEvent:691): touch 306 failed to be rejected22:19
SarvattGRAIL ERROR (../../src/v3/recognizer.cpp:ProcessEvent:691): touch 307 failed to be rejected22:19
SarvattGRAIL ERROR (../../src/v3/recognizer.cpp:ProcessEvent:691): touch 308 failed to be rejected22:19
Sarvattonly grail debug i've seen so far22:19
cndhmm... that's not good :)22:19
cndthat sounds like you have an old utouch-geis installed22:20
cndactually, that doesn't make sense22:20
Sarvattah need a daily?22:20
cndnm22:20
cndI don't know why it would fail to be rejected22:20
cndbut let me try to resolve the bug I can reproduce here first :)22:20
Sarvatthttp://paste.ubuntu.com/865832/ all i've seen so far22:21
Sarvattno worries sorry to distract you22:21
cndnah, no distraction :)22:21
cndjust letting you know the order in which I'm tackling stuff22:22
Sarvattonly doing 4 finger swipes up and down in the log, every gesture that does actually go through gives 4 errors22:23
cndok, I found the problem in the X server22:28
cndbut I know this area of code22:28
cndand there have been lots of issues with the logic here22:28
cndI hope I don't break anything else with a fix :)22:28
cndI'm going to make this fix, and propose an xorg-gtest testcase to go with it this time22:29
FernandoMiguelmy touchpad is terribly jumpy today :\22:32

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!