/srv/irclogs.ubuntu.com/2012/04/25/#ubuntu-touch.txt

speakmanAnyway to test current work of "pixel perfect" scroll in Chromium? I'm on MacBook Air. Interresting work! :)07:57
tvossspeakman, we do not have a ready to use ppa yet, but stay tuned :)08:03
=== MacSlow is now known as MacSlow|lunch
speakmantvoss: I'm staying very tuned (I just tuned you guys in) - just let me know if there's anything I can do to help or test! :)12:05
tvossspeakman, awesome, thanks for your help :) I'll let you know once we have packages available12:06
SatorisThe upstream merge request is here: http://chromiumcodereview.appspot.com/977302412:07
SatorisIf you feel adventurous, you can try compiling it.12:07
speakmanThanks! Satoris; I'll give it a shot!12:08
SatorisJust so you know: building Chromium is not a trivial task...12:09
speakmanI figured :)12:09
SatorisThe patch works only on Precise. Other releases are too old.12:10
speakmank, so apt-get source chromium && patch ... && build?12:11
SatorisNo, you need Chromium trunk.12:11
speakmanok12:12
SatorisChromium wiki has build instructions which are quite good.12:12
speakmanYep, I though you meant the chromium version in Precise. I think I misinterpreted you. Sorry. :)12:12
SatorisAlso note that Chromium can not be built on 32-bit machines. It is too big.12:13
SatorisThe platform you build on needs to be 64 bit Precise and the source the newest head.12:13
speakmank, thanks!12:17
speakmangclient sync'ing now. Wonder if my 40GB SSD partition on MBA will be enough?12:27
SatorisProbably yes.12:28
speakmanok, lets see. In this speed (~200kB/s) it will take a couple of weeks...12:30
=== MacSlow|lunch is now known as MacSlow
speakmanbtw, I'm happy this is happening on chromium and not firefox since the later has very slow rendering in Linux. Do you know why Ubuntu keep delivering with Firefox preinstalled and not Chromium?12:32
speakmanbtw - I don't have any particual gestures in Ubuntu Precise at all. Are there supposed to be any per default, or do I have to install any packages manually to have the guestures mentioned here https://wiki.ubuntu.com/Multitouch ?13:23
speakmanRunning 12.04 newly updated on MacBook Air 11"13:24
speakmana 2012 MBA that is13:24
bregma12.04 has 3- and 4-touch gestures in Unity by default, have you tried those?13:34
speakmanbregma: do you mean 3- and 4-finger guestures? I've tried those listed in the link, but none seem to work.13:39
bregmawell, that doesn't sound right13:39
bregmaI know Satoris has everything working on a Macbook, but evidently he's gone for the day13:40
bregmacnd might have some insight, but I'm not sure if he's around today13:40
speakmanOk, any idea which tool should be installed and running for gestures to work? I can always try to debug it myself if I could only get a hint where to start.13:41
bregmano tool, they should just work13:49
speakmanok, built-in into Unity?13:49
bregmayes13:50
speakmank, thanks13:50
bregmaif you install the utouch-geis-tools package, you should be able to run the geisview tool to see if other gestures are recognized by the system13:50
bregmayou need to give it the ID of a window you'll do gesture over, otehrwise it will assume the root window and will fail because Unity has already grabbed the gestures in the root window13:51
speakmanClasses added: Flick, Drag, Pinch, Rotate, Tap, Touch13:54
speakmandidn't complain about root window being busy, weird?13:54
speakmanmight be related: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/88914413:55
ubot5Ubuntu bug 889144 in unity (Ubuntu) "Three-finger window drag no longer works" [Medium,Triaged]13:55
cndspeakman, so when you try a four-tap the dash doesn't show?13:56
speakmancnd: nope13:56
cndspeakman, and you're in unity 3d?13:56
speakmanAre there any packages that might conflict? If I remember correctly, I think I tried to installed a few packages while trying to get the multitouch working.13:57
speakmancnd: unity 3d, yes13:57
cndthere shouldn't be any conflicts13:57
speakmanok13:57
cndspeakman, can you pastebin your /var/log/Xorg.0.log file?13:57
speakmanMore reports with the same issue:; https://bugs.launchpad.net/ubuntu/+source/unity/+bug/93117113:58
ubot5Ubuntu bug 931171 in unity (Ubuntu) "no multitouch gestures?" [Low,Confirmed]13:58
speakmancnd: sure, w813:58
speakmanIt's huge: http://paste.ubuntu.com/945725/14:03
speakmancnd:  ^14:03
speakman("RandR disabled" hm?)14:04
cndok, that looks fine14:04
speakmanoops, five lines above: "RandR 1.2 enabled, ignore the following RandR disabled message." :)14:04
speakmancnd: look at the bottom - still looks fine?14:04
cndoh right14:05
speakmanRow 555 and below14:05
cndlooks like there have been problems :)14:05
speakman:D14:05
cndI've not seen that bug before14:06
cndit's saying that it reached touchscreen pointer emulation code, but your device isn't a touchscreen14:06
cndso that's a bug14:06
tvossquick summary of my day: restoring my harddrive14:06
speakmanOk. According to the bug reports on Launchpad I'm not alone with gestures not working in Precise. Not sure they have the same bug though.14:07
cndspeakman, if you can reproduce it, install xserver-xorg-core-dbg and then log out and back in14:07
speakmantvoss: crash?14:07
cndspeakman, there are many reasons why gestures may not work, some of them expected :(14:07
tvossspeakman, yeah ... forgot my power cable yesterday and wanted to get up too quickly14:07
speakmancnd: It's absolutely reproducable; I've never got gestuers working :) Installing...14:07
speakmantvoss: :(14:08
speakmanHm. Still downloading Chromium source. Wonder if it will restart from scratch if it gets interrupted? But I consider this a bigger issue so canceling the source clone.14:09
cndI'm going to verify that the utouch-qml sru is correct, then help speakman with his troubles, then work on architecture documentation and a crazy idea for legacy trackpad gesture handling14:15
cnddandrader, bregma: standups!14:15
dandraderpreparing an SRU for utouch-geis14:15
dandraderand working on a new port of the geisv2 api in unity using the accept/reject stuff14:16
speakmancnd: is logging out enough or should I reboot?14:16
cndspeakman, logging out is enough14:16
cndit restarts the X server14:16
bregmaI'm working with dandrader on the SRU, playing with test cases, and looking at #98753914:16
bregmabug 98753914:17
ubot5Launchpad bug 987539 in utouch-geis (Ubuntu Precise) "Grail backend does not populate device X and Y axis attributes" [Medium,Triaged] https://launchpad.net/bugs/98753914:17
bregmaand redoing my Debian package proposals, maybe I can get a sponsor at UDS14:18
cndbregma, since I'm gone tomorrow, can you handle the weekly report?14:21
speakmancnd: I've restarted X, was tail -f'ing my Xorg.0.log and trying to perform some gestures, and then Xorg suddenly died and left me at login screen.14:22
cndspeakman, hrm...14:23
cndthat's not good14:23
cndspeakman, pastebin your /var/log/Xorg.0.log.old14:23
speakmanGot some similiar errors in Xorg.0.log again, but it's the same backtrace as before -dbg package was installed. How do I make sure I'm running the dbg version?14:23
cndspeakman, btw, you can use pastebinit to quickly pastebin a file14:23
cndspeakman, the dbg package merely installs the symbols14:24
cndwhat version of the xserver are you running?14:24
cndwhat package version14:24
speakmanAlready using pasteinbit - don't think it would work else way :D14:24
cndheh14:25
speakmancnd: xserver-xorg-core 2:1.11.4-0ubuntu10.114:25
cndok14:26
cndthere's a possibility it is a regression introduced in that package14:26
speakmanMust leave office atm, back in a few minutes. I'll post pastebin urls before leaving14:26
speakmancnd: this is .old: http://paste.ubuntu.com/945751/14:27
cndspeakman, are you on x86_64?14:27
bregmacnd, no problem on the report, especially if people copy me on their reports (hint hint everyone)14:27
cndoh right, it's in the log14:27
speakmancnd: this is current: http://paste.ubuntu.com/945753/14:27
cndbregma, I'll forward them if not14:28
speakmanI'm on x86_6414:28
speakmanI really have to leave, will be back in a ~15minutes or something.14:28
cndk14:29
cndI'll be analyzing your log to see what might be going wrong14:29
cndspeakman, for some reason your touches appear to be marked as pointer emulating touches14:52
cndwhich should only occur for touchscreens14:52
cndspeakman, please run "xinput list bcm5974" and pastebin the output14:53
cndhmm.. no, that wouldn't fully explain it14:56
cndI wonder if you're hitting some sort of memory corruption bug14:57
speakmanback...14:57
speakmanhere's xinput list in case of interrest: http://paste.ubuntu.com/945792/15:00
cndthat looks good15:01
cndspeakman, when you try to perform a gesture, what applications are open?15:01
cndwhat windows are you performing the gesture over?15:01
speakmani just got terminal window full screen right now for example15:08
cndspeakman, gnome-terminal?15:09
speakmanyes15:09
speakmananything in particular you want me to try?15:09
cndspeakman, I might give you a package to install to give us more info15:10
speakmansure15:10
cndwill you be around for another 20 mins?15:10
speakmanyep15:10
cndok15:11
=== dandrader is now known as dandrader|lunch
cndspeakman, please install this: http://people.canonical.com/~cndougla/utouch/xserver-xorg-core_1.11.4-0ubuntu10.1_amd64.deb15:19
cndreproduce the issue15:19
cndthen pastebin your Xorg.0.log15:20
speakmanon my way...15:23
speakmanhttp://paste.ubuntu.com/945839/15:29
speakmanCan you see that Xorg.0.log is created by this new instance? Or will it always start over when Xorg is restarted?15:30
cndit will be overwritten15:33
cndspeakman, but that particular paste is identical to your previous one15:34
cndit may have switched DISPLAY numbers15:34
cndyou can do: ps aux | grep X15:35
speakmank15:35
cndand look for the argument that is like ":<number>"15:35
cndthat's the display number15:35
cndthen you want to paste the /var/log/Xorg.<number>.log15:35
speakmanyep, daniel@mba:~$ env | grep DISPLAY15:35
speakmanDISPLAY=:1.015:35
cndyeah15:36
cndso pastebin Xorg.1.log15:36
speakmanhttp://paste.ubuntu.com/945846/15:36
speakmanshould I try some gestures too?15:36
cndyes15:37
cndcause there's no errors in that log :)15:37
speakmanI can't make any errors in the log no matter what15:44
speakmanbut gestures still doesn't work :)15:44
cndhmmm15:45
speakman[ 11462.492] Build Date: 23 April 2012  10:28:29AM15:45
speakmandidn't you just build a new xorg?15:45
cndthat might be a red herring15:45
cndI had a build lying around15:45
cndI added a patch15:45
cndso it didn't rebuild the whole thing15:46
cndspeakman, I built with optimizations disabled15:46
cndlet me rebuild with optimizations15:46
cndmaybe that's affecting things15:46
speakmanok15:46
cndotherwise, the change I made was merely to print out a stack trace when a bug occurred15:47
cndit should have had identical functionality to the version in the archive15:48
speakmanOk, maybe I just can't trigger the bug anymore?15:49
speakmanMaybe I havn't had the bug for a time, but kept pushing the wrong log to pastebin?15:49
speakman(still no errors...)15:50
cndwell, the log with the errors shows the -0ubuntu10.1 version15:52
speakmanok?15:53
cndso it is likely a real bug15:53
speakmanyes, Xorg.0.log is only ~1.5h old15:53
speakmanwhats your timezone btw?15:53
cndPDT15:54
cndspeakman, have you dragged a window around using the titlebar?15:54
cndI may have an idea15:54
speakmanno, i havn't. Using three fingers or just single-click and hold while dragging?15:56
cndhmm15:57
cndspeakman, well, download and install the xserver again15:57
cndit's been rebuilt with optimizations15:57
speakmanok16:00
cndspeakman, I'll be back in about 20-30 mins16:03
speakmanok, I'm running the new xserver now and still can't trigger any bugs :(16:05
cndspeakman, you can try reinstalling the xserver from the archive to see if you can reproduce16:29
cndwe could also move on and try to figure out why gestures aren't working16:30
cndfor that, we need to start unity with a special debugging environment variable16:30
cndin a terminal, do:16:31
cndGRAIL_DEBUG=-1 unity 2>&1 | tee /tmp/unity.log16:31
cndusually that will kill and restart unity16:31
cndsometimes unity may die again16:32
cndso you have to re-run the command16:32
speakmanNow running with the grail debug stuff16:34
speakmanWhat do you want me to do? :)16:36
cndspeakman, try performing gestures16:36
cndlike a four touch tap16:36
cndyou should see tons of output spewing down your terminal16:36
speakmanlol, no nothing. :)16:37
cndhmmm16:37
cndthat's odd16:37
cndany errors in your X log? :)16:37
speakmanexcept for "e"'s. For each four finger tap it will put an 'e' in the terminal window :)16:37
cndhmm... that's very strange16:38
speakmanNope, silent...16:38
cndspeakman, is ginn running?16:38
cndps aux | grep ginn16:38
speakmanyes16:38
cndinteresting16:38
speakmanyes again :)16:38
cnddo you use ginn?16:38
speakmanhow do I know that?16:39
cndyou don't then :)16:39
cndsudo apt-get remove ginn16:39
cndthen log out and back in16:39
cndsee if gestures work16:39
speakmanon my way :)16:39
speakmanOk, now back in unity16:40
speakman(but not with the GRAIL_DEBUG set)16:40
speakmannow things are happening16:41
cndgood :)16:41
speakmanNow I can move a window using three fingers16:42
speakmanbut its VERY sensitive!16:42
cndwe need to stop punishing people who install ppa:utouch-team/daily with a ginn that autoruns at startup and may grab ahead of Unity :(16:42
speakmandoes not relate to the speed of the cursor! it's WAY faster16:42
cndyeah, that's sort of a known issue16:42
speakmanok16:42
cndI don't have a good answer for that, tbh16:43
cndI've thought about it16:43
cndthe problem is that we are trying to emulate the speed of trackpad to cursor movements16:43
cndbut that's embedded deep in the X server16:43
cndusing algorithms that can be replicated outside the X server16:43
cndour gesture code for moving windows is currently too simplistic16:44
cndand will change speed depending on the resolution and size of your trackpad16:44
cndspeakman, I suggest filing a bug against unity and subscribing the utouch-bugs team16:44
speakmanfiling a bug for what? :)16:45
cndfor the window moving gesture being too fast16:46
cndif it's an issue for you16:46
cndI've kind of been hoping that while it's not good, it's not a huge deal for most people...16:46
speakmanah k, yes it's a big issue :)16:50
speakmanSo, is there a gesture to move back and forward in the browser?16:51
cndspeakman, no, not yet16:54
cndspeakman, so about your X issue, I still don't know what could be wrong16:58
cndif you can reproduce it again, let me know16:58
bregmamerge proposal emails seem really delayed today17:57
=== dandrader|lunch is now known as dandrader
cndbregma, why is export-dynamic needed?18:15
bregmaotherwise the mock X11 symbols are not used to satisfy the symbols in subsequently loaded libraries like libutouch-frame (and... bang)18:16
cndwhy not?18:16
cndisn't that how normal libraries work?18:17
bregmano18:17
cndor are you saying that the utouch-frame libs are attempting to load the real x libs?18:17
bregmayes, that18:17
cndok18:17
bregmanormally symbol resolution is a DAG18:18
bregmawe seem to have broken UDD :(18:36
cndbregma, hmm?18:51
bregmathe automated UDD uploader has been balking on some utouch packages for a while now...  it's not just our stuff, evidently the UDD uploader is pretty buggy18:54
bregmaso, the code in lp for Ubuntu does not match the packages in Ubuntu18:55
bregmanot _our_ problem18:56
bregmahttp://package-import.ubuntu.com/status/18:57
cndyeah19:02
cndI've heard there are some issues there19:02
bregmawe don't usually use UDD so we didn't notice19:04
cndthe desktop team has also given up on UDD19:18
bregmaUDD is useful if you're packaging an external source but is more limited if you're packaging something with the upstream maintained in launchpad19:27
bregma.. holy crow, worms ate my day, I got nothing done I set out to do this morning19:30
cndheh19:39
cndI feel like that every day19:39
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== therion__ is now known as therion_

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