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

eruditehermitis there an input channel for ubuntu-x?01:48
RAOFWhat do you mean?01:49
eruditehermitfor touchpad and keyboard questions01:49
RAOFYes; #ubuntu-x :)01:49
eruditehermitI read that multitouch touchpads might work01:49
eruditehermitin 12.0401:49
eruditehermitI tried letting ubuntu do the right thing but then my mouse doesn't work at all01:50
eruditehermitso I had to revert back to psmouse proto=exps01:50
RAOFWhat's your touchpad?01:51
eruditehermitwell it appears as AlpsPS/2 ALPS DualPoint TouchPad in xinput list01:51
eruditehermitI am using a Sony VIAO SA 2011 model01:51
RAOFIs there a launchpad bug about this?01:52
RAOFcnd is the person most likely to be helpful with touchpads.01:52
cndactually, sforshee may be the best first line of defense :)01:52
cndsforshee wrote the multitouch patches for the ALPS touchpads for Linux01:53
RAOFYeah, I guess he *was* doing the actual re work :)01:53
cndthe more people who do input stuff, the more I can shove off onto others01:53
cndRAOF, would you like to work on input stuff :)01:54
RAOFNot particularly :)01:54
RAOFActually - you can have me on input, but only as long as you ensure I never need to touch the SIGIO context.01:55
cndRAOF, meh, I can live with that :)01:55
eruditehermitwhat does it mean if the mouse pointer doesn't even appear01:55
cnderuditehermit, what did you try doing?01:55
cnderuditehermit, the mouse pointer hides when you don't move it01:55
cndso it likely means that you aren't moving it :)01:56
RAOFcnd: You know that basically every line of the input stack gets called from the gorram SIGIO context, right? :)01:56
eruditehermitcnd, Running 12.04 if I boot without kernel params for psmouse I cannot see or use my mouse at all01:56
cndRAOF, no, only the input modules basically01:56
eruditehermiteven if I move it no mouse pointer appears01:56
cndmost of the xserver input stack is run in normal context01:56
cnderuditehermit, that's odd01:56
eruditehermithowever if I boot with psmouse proto=exps, I can use my mouse but with limited functionality01:57
* RAOF is just bitter that his pointer barrier work *is* unexpectedly called in the SIGIO context.01:57
cndRAOF, ewww01:57
RAOFIndeed.01:57
RAOFThis is why people report "sometimes the X server freezes when I try to reveal the launcher" - because I'm sending events from SIGIO.01:58
eruditehermitcnd, xinput list-props says Device Enabled 101:58
eruditehermitwhat should I try?01:58
cnderuditehermit, it sounds like you have a kernel driver issue01:58
cnderuditehermit, are you able to ping sforshee earlier in the day?01:59
eruditehermitI can try01:59
cnderuditehermit, actually, the best thing would be to file a bug01:59
cndubuntu-bug linux01:59
cndthen subscribe seth forshee01:59
eruditehermitcnd, is there a way to determine the actual hardware in the touchpad?02:00
cnderuditehermit, if it's not detecting the make and model automatically, then there's no easy way02:01
cnderuditehermit, do you know that it's an ALPS trackpad?02:01
eruditehermitnot sure02:01
eruditehermitIt is telling me02:01
eruditehermitAlpsPS/2 ALPS DualPoint TouchPad02:02
eruditehermithowever I wanted to confirm that it is actually true02:02
cnderuditehermit, then it probably is ALPS02:02
cndI've not heard of accidental identifications02:03
eruditehermitok02:03
cndit would require a device to almost purposefully look like a different one02:03
eruditehermitwell in that case02:03
eruditehermitthat is what I have02:03
eruditehermitI have a Sony VPCSA-290X02:03
cnderuditehermit, sforshee should know best then, he's worked on the ALPS driver quite a bit02:04
eruditehermitok02:04
eruditehermitI will talk to him and file a bug report tomorrow02:06
eruditehermitis there a way to check that any events are even being picked up by the driver?02:07
cnderuditehermit, there are lots of diagnostic tools :)02:17
cndwhen you file a bug report, a utouch-evemu recording would be helpful02:17
cndhttps://wiki.ubuntu.com/Multitouch/Testing/uTouchEvEmu#Debugging02:17
eruditehermitcnd, ok will do02:27
eruditehermitthanks!02:27
cndnp :)02:27
RAOFDear X: I hate you, and your asynchronicity.  No love, Chris.05:30
Sarvattwhy the heck do I get flooded with this just closing my lid and reopening it http://kernel.ubuntu.com/~sarvatt/evtest.txt05:36
RAOFThat's a lot of events for closing+opening :)05:37
Sarvatti always come back to tons of new windows opened these days05:37
RAOFToo sensitive touchpad?  Is it reading the screen or something? :)05:37
RAOFGood.  That seems to now dependably pass the tests.  Will it do so in a chroot, though.  That is the question!06:00
RAOFNew question: Do these passing tests mean that the server (a) works, and (b) won't crash on me?  Tune in next time to find out!06:09
RAOFHm.  Well, that *has* fixed both the crashes and the potential deadlocking.  Now, about that runaway memory usage…06:45
seb128does anyone here know if cnd got anywhere with the gtk mouse wheel scrolling issue09:46
seb128or with the scroll increment being buggy on i386 rather09:47
seb128?09:47
FernandoMiguelI only have buggy scrool with mouthpad... usb mouse is fine.... but I'm on x6409:49
tjaaltonseb128: no idea09:50
eruditehermitsforshee, please ping me when you are awake09:54
eruditehermitthank you in advance09:55
=== chrisccoulson_ is now known as chrisccoulson
=== yofel_ is now known as yofel
FernandoMiguelevening22:19
cndRAOF, did your pointer barrier stuff get into ubuntu, and is it being used?22:26
cndI'm curious to know what new functionality exists on my desktop :)22:26
RAOFcnd: It is in Ubuntu, and it is being used.22:32
RAOFIt's how the launcher reveal works.22:33
RAOFSo it's only really being used if you've got the launcher to autohide.22:33
cndahh22:33
cndRAOF, so what is the algorithm that we settled on?22:33
cnddo you have to move a certain distance?22:33
cndor with a certain speed?22:34
RAOFTo parts:22:34
RAOFThe barrier is entirely transparent if you hit it above a certain speed.22:34
RAOFOnce you hit it, it generates events, and the client can then release the barrier at it's will.22:35
RAOFYou *may* be able to correlate “generates events” with me bitching about stuff being called in the sigio context :)22:35
cndheh22:36
cndI hope you aren't trying to generate events on the heap in SIGIO :)22:36
RAOFNo.  I was blissfully unaware that I was being *called* from SIGIO, and so was sending events to clients from the handler.22:37
RAOFThis works amazingly often.22:38
cndahh22:38
cndyeah, SIGIO almost always works22:38
cndsounds like we need to fix SIGIO :)22:38
RAOFAs in: it didn't fail once on *my* machine.22:38
RAOFBy ‘fix’ do you mean ‘use a real input handling thread, like nature intended’?22:40
cndheh22:40
cndRAOF, do you remember how someone at nokia was attempting to do that?22:40
RAOFSignals: 100% of the pain of multithreading, plus a whole lot of stupid restrictions!22:40
cndapparently they hit some nasty problems the further they dug22:40
RAOFYeah, tiago, right?22:41
cndmaybe22:41
cndso I guess the work has been abandoned, sadly22:41
cndI think they hit issues when they would update the pointer sprite and/or sprint rendering from the input thread22:41
seb128cnd, stop chatting and fixing scrolling ;-)22:41
cndseb128, I am just about to upload!22:43
seb128\o/22:43
seb128cnd, thanks22:43
cndseb128, did you see my bug?22:43
seb128cnd, I just got dobey asking about it :p22:43
cndI subscribed you22:43
cndheh22:43
seb128cnd, no ...22:43
cndseb128, I just created it an subscribed you about 10 mins ago22:43
seb128let me check emails22:44
cndseb128, I just uploaded22:45
seb128cnd, ok, great, https://bugs.launchpad.net/ubuntu/+source/libxi/+bug/949465 right?22:45
ubottuLaunchpad bug 949465 in libxi (Ubuntu) "XIScrollClass increment value incorrectly handled on 32-bit machines" [High,In progress]22:45
seb128cnd, thanks a lot for fixing it, and sorry for being pingy about it ;-)22:46
cndseb128, nah, np :)22:46
cndseb128, I'm going to send the patch to xorg-devel now22:47
cndwho should I Cc so gtk devs are aware?22:47
seb128gtk-devel-list@gnome.org22:47
seb128if you want to Cc them22:48
cndseb128, I'm wary of cross subscribing22:48
cndan entire list22:48
cndbut if you think that's the best way, it's not a big deal22:48
seb128cnd, mclasen@redhat.com then22:48
seb128should be enough22:48
cndok22:49
cndRAOF, bryceh: I'm about to upload a new xserver with updated input stack from 1.12 and a fix for bug 92940823:36
ubottuLaunchpad bug 929408 in xorg-server (Ubuntu) "X does not send multitouch touch end events properly" [High,In progress] https://launchpad.net/bugs/92940823:36
cndanything you need me to add in?23:37
brycehcnd, I notice there's a couple patches on the upstream xserver that look worth including23:37
cndbryceh, input related, or otherwise?23:37
* RAOF would *like* to include a fix for barriers, but that's not yet baked.23:38
brycehinput, yes23:38
brycehhang on23:38
bryceh2416ee4a015068359807a10f433e8c54192c78a9 and 38000e7d1f958f5944e641de3e716944a5876d4123:39
brycehfixes for bug fdo #38313, which afaict doesn't affect us, but hard to say for sure23:39
brycehor I should say, s/doesn't affect us/hasn't been reported to us/23:39
cndbryceh, already got them23:40
cndlocally in the branch I'm cooking at least23:40
brycehcnd, RAOF, we seem to have a slew of xserver crashes amongst inputty stuff23:40
brycehcnd, excellent23:40
cndbryceh, do they look like one or two bugs?23:40
cndor many?23:40
cndbtw, there's currently a memory leak in the server when using gestures23:41
cndwhich is what I'm fixing for bug 92940823:41
brycehcnd, it sort of feels like there's invalid memory and bad pointers floating about23:41
ubottuLaunchpad bug 929408 in xorg-server (Ubuntu) "X does not send multitouch touch end events properly" [High,In progress] https://launchpad.net/bugs/92940823:41
brycehi.e., they're not simple NULL pointer deref issues, but oddball stacktraces23:42
cndhmmm23:42
cndRAOF, could they be because of your SIGIO issue?23:42
cndor has that already been fixed?23:42
RAOFSome of that *might* be me, yes.23:42
brycehI *suspect* that a lot of these are dupes of the same underlying issue23:42
cndI think we should assume they are due to the SIGIO issue until it's fixed and we still see it23:43
cndbecause the signature of a SIGIO issue is random corruption :)23:43
brycehRAOF, bug #948858 might be yours?23:43
ubottuLaunchpad bug 948858 in xorg-server (Ubuntu) "Xorg crashed with SIGSEGV in WriteToClient()" [Medium,New] https://launchpad.net/bugs/94885823:43
brycehRAOF, "Unity crashed when moving the cursor to the top left corner"23:43
RAOFYup, entirely possible.23:44
brycehseparate from these crashes, we're also seeing a bunch of SIGABRT bugs, that have crap for traces.  Anyone have a clue on those?23:44
cndbryceh, why are the traces bad?23:44
brycehbug #948733 for example23:44
ubottuError: Launchpad bug 948733 could not be found23:44
brycehcnd, they are all like this:23:44
brycehStacktrace:23:44
bryceh #0 0x00a20416 in ?? ()23:44
bryceh No symbol table info available.23:44
bryceh Cannot access memory at address 0xbfc714f023:44
cndhmmm23:45
cndcould be memory corruption again?23:45
RAOFMaybe?23:46
brycehI haven't seen bug reports with stacktraces like those since maybe a few weeks ago, and there's probably a dozen or so since, if that helps scope things23:46
cndRAOF, if it makes you feel any better, our first implementation of the X gesture extension had the same problem :)23:47
RAOFI guess a stacktrace like that could be calling off into random memory...23:47
cndwe were emitting gesture events from within the sigio context23:48
RAOFcnd: Yeah, I think it's a fairly common thing to want to do.23:48
* RAOF has fixed the WorkQueue to make this possible.23:48
brycehshould I just close them out (assuming there's not something obvious in the traces) and have them re-report after your upload(s)?  Or think they're worth keeping around for further study?23:48
cndperhaps we should add a check in WriteToClient for whether we are in SIGIO context or not23:48
RAOFcnd: Not a terrible idea; add a flag to something, hidden behind DEBUG?23:49
cndbryceh, by close them out do you mean ask for confirmation in latest xserver and moving to incomplete?23:49
cndso they autoexpire after 60 days?23:49
cndRAOF, I wouldn't even hide it behind a flag23:49
brycehcnd, I could do that, but I meant close out as in mark fixed and tell them to file new bugs if they still get crashes23:49
cndRAOF, it's not like a check would be heavy weight right?23:50
cndbryceh, it irks me to think about bugs that are marked as fixed when we don't really know they are23:50
cndor at least don't have the submitters verifying23:50
RAOFcnd: True.23:50
cndbut waiting for the expiration will entail 60 days of bugs hanging around that are probably fixed23:51
cndI don't know how much that factors into your bug wrangling :)23:51
brycehnah if they're incomplete without response they're excluded from my view23:52
brycehI suspect a lot of these crashes are one-time one-off  things though, mostly without reproduction steps, so hard to definitively know they're fixed23:52
cndyeah, even if you're sure23:53
cndas in, think you're sure23:53
brycehon the plus side, apport seems to be catching these crashes ok, so if they're not fixed, people will be able to easily file new ones23:53
brycehanyway, setting to incomplete is fine by me, I'll make it so23:54
cndperhaps with a boilerplate message of: We think your bug has been fixed, but it is not possible to verify based on the information in this bug report. We are moving this bug to fix released. Please re-open if you encounter the bug again."23:54
* bryceh nods23:54
cndhooray!23:56
cndmy integration test passes on the server I'm about to upload23:56
cndbryceh, RAOF: just double checking, you don't have anything else to consider for the upload?23:56
brycehnope23:56
brycehhmm, I could also dupe the bugs up.  that might be tidier23:57
cndyeah23:58
cndthough it makes it harder for someone to reopen their specific bug if they hit it23:59
cndif they hit it again, that is23:59
cndthey have to undupe, and then reopen23:59
cndbut maybe we want them to file a new bug anyways?23:59
brycehthey wouldn't need to reopen, just undupe23:59

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