/srv/irclogs.ubuntu.com/2013/10/02/#ubuntu-mir.txt

thomiracarr: ok, log incoming00:00
thomiracarr: http://paste.ubuntu.com/6181800/00:01
thomiracarr: I don't see any mention of the uinput device00:01
thomiracarr: which is called 'autopilot-finger' BTW00:02
thomiracarr: in that log, the input events are me unlocking unity8 with my finger00:02
thomino autopilot00:02
thomiI wonder about these two lines:00:03
thomi[EE, android-input] [EventHub]could not open /dev/input/event6, Permission denied00:03
thomi[EE, android-input] [EventHub]could not open /dev/input/event7, Permission denied00:03
thomiyeah, so when we create the autopilot touch driver, even6 and event7 appear on the /dev/input folder00:05
racarrthomi: i would say thats almost certainly it00:05
thominot sure why we get 'Permission denied' though, the permissions on those device nodes are identical to all the others00:05
racarrI guess unity8 isnt run with root, but something sets the permissions on the /dev/input nodes it needs to something it can use00:06
racarrgroup?00:06
racarrapparmor?00:06
racarrsecret-security-framework-number-900:06
thomigroup is all the same, android_input00:06
thomiwho would I talk to about apparmor?00:06
racarrI dunno00:06
thomiJamie maybe, if he's still awake00:06
racarrI bet ricmm would know more than me00:06
racarrricmm_: ^ ?00:06
racarrmaybe its a race with setting the permissions00:07
racarrand opening hte device00:07
racarrI dont know00:07
racarrwhere the permissions00:07
racarrcomes from00:07
kgunnthomi: good grief...00:12
kgunni mean how did that work prior to mir....shoulda been the same right00:12
thomikgunn: racarr, OK, I've eliminated apparmor as a culprit00:14
thomiracarr: are you able to see what would cause that permission denied error in mir?00:14
racarrits the same error you get if you urn it on the desktop without00:17
racarrpermissions to open the /dev/input devices00:17
racarrlooking00:17
thomiI see it's in EventHub.cpp:96100:17
racarrMm00:17
racarrerrno doesnt lie00:18
racarrpermission is denied00:18
racarr(kind of catchy when you say it outloud)00:18
thomibut...00:18
thomihttp://pastebin.ubuntu.com/6181858/00:19
thomiwhat. thefuck. is. goingon!?00:20
thomirobert_ancell: does mir drop priviledges after starting up?00:20
thomioops, I meant racarr ^00:20
thomilike, maybe when it loads initially, it's running as root, but then it drops to being run as a user that isn't root or in the android_input group?00:21
racarrnot that I know of00:30
robert_ancellthomi, it does not00:33
thomibums00:33
racarris it possible the devices are being probed after mir opens , mir tries to open them fails, gives up, then they get given00:34
racarrthe appropriate permissions?00:34
thomiI'll try creating the devices first, then starting mir00:34
sarnoldare there devices that refuse O_RDWR but work fine for O_RDONLY ?00:50
kgunnthomi: any luck01:17
thomikgunn: long answer: check out #ubuntu-touch scrollback. short answer, no luck at all. Have managed to stump several people much smarter than I am :-/01:18
=== jono is now known as Guest37503
kgunnthomi: i see you are basically left to contemplate the infinite in #touch...can you summarize where you are, maybe duflu in his inifinite linux device wisdom might have some tricks02:17
* duflu thinks you have the wrong name there02:17
=== ubot5` is now known as ubot5
thomikgunn: sure02:20
thomiactually, I should probably file a bug so my progress is not lost to the grey mist I'm happy to call my memory02:21
kgunnthomi: so this same thing works in SF ?02:33
thomiyup02:33
thomijust writing up a bug report. Will be done in a few minutes02:34
kgunnthomi: hmmm....by removing sf, could something not be setting wider permissions that should?02:34
dufluThank you for not continuing the tradition of bugs that only exist in IRC02:34
thomiwe looked pretty exhaustively at permissions02:34
thomiduflu: :)02:34
thomithis is a big one02:34
kgunnditto to the documenting it in a bug02:35
duflurobert_ancell: Please stop removing distro tasks. They are absolutely required where bugs are reported against distro, and fixed in distro02:42
robert_ancellduflu, none of the other bugs have distro tasks and all mir bugs affect distro. There's no need to duplicate entries02:42
duflurobert_ancell: They're not duplicate. They clearly delineate where a fix is upstream or in distro02:43
dufluLaunchpad is designed that way02:43
robert_ancellduflu, in the case of mir upstream == distro02:43
duflurobert_ancell: Not true. Our upstream fixes are usually days (or weeks) ahead of distro. And after we branch properly, months02:44
dufluHence you need separate tasks02:44
robert_ancellduflu, when it's marked fixed released it's in distro02:44
duflurobert_ancell: No, that means fix released upstream (usually as a tarball). Hence Fix Released upstream often happens after distro in reality02:45
robert_ancellduflu, in reality our releases are done automatically and straight into distro. There's no tarballs02:45
duflurobert_ancell: You can't make up your own rules different to the rest of Ubuntu. People need and expect ubuntu tasks to know what's going on02:46
robert_ancellduflu, you can, we have, there's no point making ensuring ever bug has both an upstream and ubuntu task open on it. All Mir bugs are Ubuntu bugs, we've decided to track them all in the upstream tracker02:48
thomiduflu: kgunn, anyone else who cares: this is what I've been bashing my head against all day: https://bugs.launchpad.net/mir/+bug/123394402:49
ubot5Ubuntu bug 1233944 in Mir "Unity8/Mir is unable to open autopilot uinput devices" [Critical,New]02:49
duflurobert_ancell: Anyone who uses Ubuntu and Launchpad knows that fixed in "Mir" does not mean fixed in "Ubuntu". We need to communicate more clearly and there's a simple protocol in place. Why not just make the bugs *accurate* ?!02:50
kgunnrobert_ancell: racarr (if you're on) kdub ^02:50
thomiI will purchase many drinks for the person who solves this for me02:50
duflurobert_ancell: If you want, I will do it. I do so anyway. I just can't stand working in an environment where even the information describing what we're doing is wrong02:51
robert_ancellduflu, I'd say most people who use Launchpad don't know or care about the distinction between upstream and downstream tasks. The bugs are accurate.02:51
robert_ancellduflu, no, it's a huge amount of pointless paperwork02:52
dufluIt's not huge, and it has a very clear purpose. Launchpad's bugs a multidimensional for good reason02:52
robert_ancellduflu, they were done like that because there was a large number of components that have different upstreams and downstreams. In this case that has not occurred. The software center team used this practise because it made things much easier and it matches my experience too02:53
thomiI gotta go walk in the pouring rain to clear my head for a bit. When I get back, I expect to see a bugfix waiting for me ;)02:54
thomibrb02:54
robert_ancellthomi, I'm looking at this bug but you probably know more about the input layer than me03:03
robert_ancellthomi, I'm a little unsure of what you mean in the report - does Mir never get input from these devices or only if they are created before Mir starts?03:05
thomirobert_ancell: mir is only able to open the devices if they exist before mir starts03:05
robert_ancellthomi, and you get the input events from them?03:06
thomirobert_ancell: well, I never got that far, but the open() call doesn't fail, which is what's happening in the error case03:06
robert_ancellthomi, so the bug essentially seems to be "mir fails to hotplug input devices"?03:06
thomiI guess so03:07
kgunnthomi: robert_ancell ...ok thinking aloud (and yes i'm a manager i'll try not to hurt myself)03:07
thomirobert_ancell: feel free to change the bug title :)03:08
kgunnbut...it bothers me this is "3rd party code"..so i dig around in cynagenmod03:08
robert_ancellthomi, can you show me the code that creates the devices?03:08
thomirobert_ancell: sure... one second03:08
kgunnit seems that eventhub.cpp is built into either libui or libinput03:08
robert_ancellthomi, wondering if they're created with wrong permissions and then they're updated (just a guess)03:08
kgunndepending on when the change happened03:08
thomirobert_ancell: well, we use uinput, and the uinput system creates the actual event* devices03:09
kgunnso could one of these libs that is actually in the device be causing this? with some primordial android input setup code03:09
thomirobert_ancell: http://bazaar.launchpad.net/~autopilot/autopilot/trunk/view/head:/autopilot/input/_uinput.py#L19203:10
kgunne.g. just like surfaceflinger would fight with mir over the display....maybe one of these is fighting mir for the input dev03:10
thomibasically, work out the device capabilities, and hand it all off to the kernel03:10
robert_ancellthomi, can you reproduce on the desktop or just the phone?03:14
thomirobert_ancell: I haven't tried on the desktop. Should I just run mir_demo_server, or something more complicated?03:15
robert_ancellthomi, that should be fine, you're just looking for the error message when they're created03:15
thomiok, need to install some things first...03:16
kgunnthomi: reading your instructions...cd ~/autopilot, is that on the device ?03:18
thomikgunn: yes03:18
kgunnah i see it...forget to run setup after i reflashed03:18
thomikgunn: that directory gets created when you run phablet-click-test-setup03:19
thomiyeah03:19
thomirobert_ancell: so I'm having problems testing mir on the desktop since I don't currently have a second machien to SSH into the first one, so I can't create the uinput devices after mir starts03:22
robert_ancellthomi, ah - what do I need to install to test it here?03:22
thomirobert_ancell: python-autopilot03:23
robert_ancellthomi, the archive one or a branch?03:24
thomirobert_ancell: archive is fine03:24
thomimake sure you export those mir env vars :)03:24
robert_ancellthomi, I can just run the contents of create_touch_device() to test this right?03:25
thomirobert_ancell: probably, yes03:25
robert_ancell(trying to break this down to the simplest repeatable case)03:25
thomiI usually just start the python interpreter, and write:03:26
thomifrom autopilot.input import Touch; t = Touch.create()03:26
thomisimple enough for me :)03:26
robert_ancellta03:26
robert_ancellbrb03:26
=== jhodapp is now known as jhodapp|afk
robert_ancellthomi, seems to run fine on desktop03:35
robert_ancellthomi, but u-s-c is being run as root, the shell on the phone is being run as a user account right?03:35
kgunnthomi: as part of the instructions in the bug...do you assume they've loaded your python-ubuntu-platform-api deb ?03:38
thomikgunn: ahhhh yes!03:40
thomikgunn: thanks for that03:40
thomirobert_ancell: yesh, that's correct03:40
thomikgunn: will update the bug now :)03:40
* kgunn wonders if yesh is a michael scott/office reference03:40
thomikgunn: bug updated03:42
robert_ancellheading out for 20 mins...03:42
kgunnthomi: should that same example AP test (ubuntu ui tookit) run on SF even with the new deb installed ?03:51
thomikgunn: yes03:52
thomikgunn: are you saying that it doesn't?03:52
kgunnthomi: verifying that now...03:52
=== chihchun_afk is now known as chihchun
ricmm_thomi: can you try with apparmor=0 passed to the kernel?03:53
ricmm_you can probably looking into our flash-kernel script to see how it constructs a blob with command line to flash03:54
ricmm_if that fails, make sure you put everything in the bug03:54
ricmm_and ill pick it up in the AM EST03:54
thomiricmm_: we ruled out apparmor03:54
thomiI'm about to EOD, but the bug is pretty well documented03:55
ricmm_DENIED in syslog is not enough to rule it out03:55
thomioh?03:55
ricmm_ruling it out is apparmor=0 in the kernel command line03:55
ricmm_some things are silent, or at least im told so :)03:55
thomihuh.. that's not what the apparmor guys said earlier. OK, so how do I chaneg the kernel parameter on the phone?03:56
ricmm_look into the flash-kernel script03:56
ricmm_but if you are about to EOD, go EOD03:56
ricmm_ill look into it tomorrow03:56
ricmm_midnight here03:56
thomiricmm_: 'flash-touch-kernel'?03:56
ricmm_indeed03:58
=== ricmm_ is now known as ricmm
ricmmanyways you've put enough in the bug, update with the apparmor result or just go and ill try it tomorrow03:58
thomiok03:59
thomiI'll try and figure this script out, or eat dinner, whichever happens first :)03:59
kgunnthomi: i get https://pastebin.canonical.com/9832704:02
thomikgunn: you need to be the phablet user: sudo -i -u phablet04:04
thomikgunn: adding that bit of infomration to the bug as well :)04:04
kgunngah04:04
kgunnthomi: op now i get the awesome testibilty arg prob04:06
thomikgunn: the fact that you get a warning is not necessarily a sign that something broke. post your output somewhere?04:08
=== chihchun is now known as chihchun_afk
kgunnhttps://pastebin.canonical.com/98328 thomi04:12
kgunnagain this is still just running with surface flinger04:13
kgunnstepping away to get a drink to stay awake04:13
thomikgunn: you need to download https://raw.github.com/akkana/scripts/master/termsize and run it - get your terminal back :)04:14
thomiI mean that as an aside, it won't fix your problem04:14
thomibut it will make you less suicidal while developing on the phone :)04:14
thomikgunn: hte unknown option is a red herring. Your actual problem is this: MismatchError: After 10.0 seconds test on Standard.selected failed: True != dbus.Boolean(False, variant_level=1)04:15
thomikgunn: I'm *sure* this worked for me earlier today... let me reboot & double check04:16
thomikgunn: ahhh, you need to unlock the shell before you run the test04:26
thomikgunn: yeah, that'll be it04:27
thomiOK, I gotta go help with dinner04:28
* thomi -> BBL04:28
kgunnthomi: so how to unlock the shell ?05:06
kgunnthomi: nvmd i see you updated05:09
kgunnthomi: ok...totally works05:10
thomikgunn: :)05:11
kgunnthomi: did you have any trouble with the mir logging...i'm running ok (expected failure on mir) but don't get the input log after the env setting05:21
kgunn...and yes i was sudo -u phablet -i when i set the env variables05:21
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
thomikgunn: nope, it just worked for me05:51
thomikgunn: note that if you're running unity8/mir under upstart you need to use initctl set-env,  otherwise, if you're running it directly use export05:51
robert_ancellthomi, duflu, RAOF, racarr, kdub, kgunn, alf_, hikiko, meeting in 4 mins..05:56
robert_ancellhikiko, meeting!05:59
hikikorobert_ancell, i am having a problem connecting i ll be there in 2 minutes06:04
robert_ancellhikiko, np06:04
dufluWas I the only one thinking of Brady Bunch music when the second alf appeared?06:17
robert_ancellracarr, so you wanted to talk to kdub and I wanted to talk to RAOF or alan :)06:17
racarrIn my case, I should have just talked to kdub during the day XD06:19
racarrI am so useless by the time we have these meetings ><06:19
* alf_ upgraded hangouts, let's see if it's going to be better next time06:20
dufluIt's a story of a man named Frantzis, who was bringing up some very lovely clones...06:21
* duflu goes back to real work06:21
robert_ancellbye all06:21
dufluBye robert_ancell06:21
racarrbye06:22
geomyidaecan we have a small hint about the gpu drivers? pleeeease06:55
=== chihchun_afk is now known as chihchun
dufluracarr: Still around?07:31
mlankhorstmorning07:33
duflumlankhorst: Morning. Did any of that nouveau vsync timing work land, anywhere?08:04
mlankhorstnah but maintainer is looking at it :/08:08
=== alf_ is now known as alf|xmir_devel
=== mzanetti is now known as mzanetti|otp
=== mpt_ is now known as mpt
=== mzanetti|otp is now known as mzanetti
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
dandraderalan_g, so, about that FakeEventHub MP review, ARBITRARY_TIME should be simply arbitrary_time (so one can't infer if it's const, local, global or member variable)?10:58
hikikohi, did anyone get the stop lightdm crash recently?10:58
hikikobecause I got it today and I couldnt switch VTs from ssh anymore10:59
alan_gdandrader: Yes. But one can infer it isn't a macro.11:00
dandraderok11:00
dandraderalthough one would handle a macro pretty much the same way it would a const variable.11:03
=== hikiko is now known as hikiko|lunch
=== alan_g is now known as alan_g|lunch
dandraderricmm, ping12:17
davmor2guys you possibly know this already but there are crashers for maliit and hud when you start mir12:23
jibelbug 123398812:35
ubot5bug 1233988 in maliit-framework (Ubuntu) "maliit-server crashed with SIGABRT in __gnu_cxx::__verbose_terminate_handler()" [Medium,Confirmed] https://launchpad.net/bugs/123398812:35
jibeldavmor2, is it the one you're seeing ^12:35
jibeland I couldn't retrace hud12:35
davmor2jibel: possibly,  I had a few that I couldn't retrace so far12:36
davmor2jibel: I'm trying a few things currentl'y when I get back from Lunch I'll add some debug symbols and see if I can get some info from it12:38
=== dandrader is now known as dandrader|lunch
=== hikiko|lunch is now known as hikiko
greyback_folks, I've an issue with Mir and clients which are SIGSTOP-ed. It appears that sometimes Mir considers that client dead and disconnects it.12:53
greyback_is there any way to prevent that?12:53
kgunndavmor2: i don't have an issue with assigning the maliit crash to mir if its the cause...but please do some testing on SF to compare....at least, i've seen OSK be fairly unstable in the SF config as well12:57
kgunndavmor2: hud for sure is a unity-mir/mir issue12:57
kgunnhttps://bugs.launchpad.net/unity-mir/+bug/123171312:58
ubot5Ubuntu bug 1231713 in unity-mir "HUD spyglass doesn't appear on bottom-upward swipe on unity-mir" [High,In progress]12:58
=== alan_g|lunch is now known as alan_g
greyback_kgunn: I need some Mir team help with the above query, please push it to near the top of the stack. It's causing big app-management problems12:59
davmor2kgunn: I cleared out /var/crash before starting mir so I think it is possibly just an issue with maliit but on a fresh sf boot I don't see any crashes but that isn't to say that the reboot didn't cause the maliit crash if that makes sense.13:08
davmor2kgunn: my phone is completely locked up now.  I'm about to dig into it and see what is  what.13:10
davmor2kgunn: ouch adb isn't connecting13:13
kgunngreyback_: ack.... alan_g this sounds related to how the server handles crashing shell (altho more to the second phase of restoring apps)13:13
* kgunn waits for alan_g to tell me there's code sitting on dev branch i should have merged to trunk (braces)13:14
alan_gkgunn: if you know it, why should I tell you?13:14
greyback_kgunn: the server handling crashing shell is probably unity-mir/my fault. I've idea on possible fix13:14
alan_ggreyback_: how quickly does this happen? After half an hour? Or in seconds?13:15
jibelkgunn, I don't get this maaliit crash with SF, but it is there on every boot with MIR enabled13:15
kgunnjibel: ack...can you log a specific bug to that effect (maliit crash on every mir boot)...thank you13:16
kgunngreyback_:  https://code.launchpad.net/~alan-griffiths/mir/client-dies-without-server/+merge/18779713:17
kgunnwhich i s on our dev branch....13:17
greyback_alan_g: minutes13:17
kgunndev branch most definitely breaks api13:17
kgunnso...gotta do all the paperwork first13:18
greyback_kgunn: oh interesting13:18
kgunnhttps://code.launchpad.net/~mir-team/mir/development-branch13:18
kgunn...which i'll just go ahead and start right now....13:18
alan_gkgunn: it would be good to land https://code.launchpad.net/~alan-griffiths/mir/fix-1201436/+merge/188535 too - that's got more RPC cleanup13:19
jibelkgunn, bug 123398813:19
ubot5bug 1233988 in maliit-framework (Ubuntu) "With MIR enabled: maliit-server crashed with SIGABRT in __gnu_cxx::__verbose_terminate_handler()" [Medium,Confirmed] https://launchpad.net/bugs/123398813:19
kgunnalan_g: shall i top approve? (i take it "fix nits" addresses duflu's "needs fixing")13:20
kgunnjibel: thank you113:20
kgunnor thank you! even13:20
jibelis there a know issue for unity8 using 100% CPU when the phone is idle with screen blank?13:22
alan_gkgunn: yes13:22
kgunnjibel: yes...there are actually 2 disctint bugs for that13:24
jibelI found 1233870 but not the other, do you have it handy?13:24
* kgunn wonders if i just lied to jibel...one moment13:30
alan_ggreyback_: can you get a server log from msg-processor-report? That ought tell why the server decides to disconnect13:31
greyback_alan_g: ok13:32
kgunnjibel: i knew it was a unity8 bug....but it seems there are a few more :) https://bugs.launchpad.net/unity8?field.searchtext=cpu&search=Search&field.status%3Alist=NEW&field.status%3Alist=INCOMPLETE_WITH_RESPONSE&field.status%3Alist=INCOMPLETE_WITHOUT_RESPONSE&field.status%3Alist=CONFIRMED&field.status%3Alist=TRIAGED&field.status%3Alist=INPROGRESS&field.status%3Alist=FIXCOMMITTED&field.assignee=&field.bug_reporter=&field.omit_dupes=on&field.has_patch=&fiel13:32
kgunnd.has_no_package=13:32
alan_gI suspect that something happens on the socket - but...13:32
jibelkgunn, no worries, I'll continue searching13:33
kgunnjibel: i think i was thinking of this one https://bugs.launchpad.net/unity8/+bug/121709913:33
ubot5Ubuntu bug 1217099 in Unity 8 "Unity consumes 50% CPU when screen turns off" [Undecided,Incomplete]13:33
davmor2kgunn: had to take the battery out of my phone, now digging into if there were any crash reports13:33
davmor2kgunn: the only addition to the crash count seems to be _usr_lib_arm-linux-gnueabihf_upstart-app-launch_zg-report-app.32011.crash  I'll try that script that does seem to work ish and get some info on it13:35
kgunndavmor2: cool13:36
davmor2kgunn: http://paste.ubuntu.com/6183885/  hope that is useful I think it stopped saying there were missing symbols13:47
davmor2kgunn: would there be a dbg package for this from /usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms/libqubuntumirclient.so13:52
kgunndavmor2: there must be somewhere13:53
davmor2kgunn: apt-cache search libqubuntumirclient returns nothing13:54
kgunngreyback_: ^ best way to get debug pkg for libqubuntumirclient.so ?13:54
kgunndavmor2: so...what was happening when you got this? http://paste.ubuntu.com/6183885/13:55
kgunndavmor2: looks like glib got upset somehow...13:55
davmor2kgunn: pass that was the only additional crash I found after removing the battery so I could get the device back up after it completely locked up on me13:56
kgunntedg: mind looking at this real quick http://paste.ubuntu.com/6183885/  just thot you might have an idea13:56
tedgkgunn, You don't have zeitgeist installed13:57
kgunndavmor2: ^13:58
kgunnpackaging mistake ?13:58
greyback_davmor2: the qtubuntu-android-dbgsym package, from ddebs.ubuntu.com repo13:58
davmor2tedg: this is image 7513:58
om26erdavmor2, what's the package name for bugs against Mir ?13:58
greyback_davmor2: see https://wiki.ubuntu.com/DebuggingProgramCrash#Debug_Symbol_Packages for info13:58
davmor2greyback_: thanks13:59
davmor2greyback_: I think it was more my apt-cache search foo letting me down :)14:02
greyback_davmor2: :)14:03
om26erwow unity8 takes 100% cpu probably that's the reason for slowness I see on mako14:03
davmor2om26er: https://launchpad.net/mir14:03
om26erdavmor2, I wanted the package name, but I'll find it from that link. Thanks14:03
davmor2kgunn, jibel: that's about as good a stack as I can get for the maliit issue http://paste.ubuntu.com/6183984/ jibel does that match yours?14:07
Saviqguys, you're hogging our testing vms again! ;P14:08
davmor2Saviq: I'm on a my own hardware so I doubt that :P14:09
Saviqdavmor2, it was a general remark to the Mir guys ;)14:09
jibeldavmor2, yes, it seems to match14:09
jibeldavmor2, why don't you submit the crash with apport and let the retracer do the work14:10
jibel?14:10
jibelpitti fixed them few days ago to produce usable stack traces14:10
davmor2jibel: cause it's fun :)14:10
jibeldavmor2, you have too much spare time ;)14:10
davmor2jibel: I have no spare time I have a script and installing a few dbg packages :)14:11
davmor2jibel: how are you doing that?  apport-collect/cli/bug?14:13
jibeldavmor2, apport-cli /path/to/crash on the device14:13
kgunnjibel: really...that simple huh ?14:14
tedgkgunn, So it seems the answer to your question is: people just putting data into Zeitgeist doesn't make it important enough to have.14:14
jibeldavmor2, then send and when it asks to open the browser, copy the link to the browser on your desktop14:14
tedgStupid shortsightedness14:14
kgunntedg: :)14:14
om26erkgunn, do we have a bug for 100% cpu usage of unity8 on mako or should I report one ?14:14
jibelom26er, read backlog14:15
kgunnom26er: we have it14:15
jibel*scroll14:15
kgunnom26er: we have a handful actually :)14:15
kgunndavmor2: that last one is interesting http://paste.ubuntu.com/6183984/ seems you need libmirclient dbg symbols14:15
ricmmkdub: ping14:16
om26erok14:16
davmor2kgunn: apparently I don't have some up-to-date packages so I'm updating the image and trying again, shuggin fashin packages14:16
kgunndavmor2: ack14:18
kgunndandrader: before i forget14:18
kgunndandrader: if you mp, please target this branch https://code.launchpad.net/~mir-team/mir/development-branch14:19
dandraderkgunn, sure14:19
kgunndandrader: we're using that as a staging area to prevent un-shepherded server api breaks14:19
kgunnricmm: he's west coast14:24
kgunnricmm: can anyone else help ?14:24
kgunnaltho he's prompt at ...he'll be in in 30min14:24
=== greyback_ is now known as greyback|shops
ricmmkgunn: just wanted to see where he was at with the branch to remove the vsync signal14:37
ricmmfor the cpu usage bug14:37
kgunnricmm: yep :) me too...feel free to join our standup14:37
ricmmill join it for the first few mins14:38
ricmmthx14:38
=== alan_g is now known as alan_g|tea
* ricmm tea aswell14:41
dandraderkgunn, the sleep&retry hack works, but a lot of cycles seems to be needed (i.e. a big delay between the device file showing up and udev rules getting applied to it), which is a bit unnerving14:49
=== alan_g|tea is now known as alan_g
kgunndidrocks: what's that incantation to bump the deb changelog ?14:49
kgunndandrader: have you tested a few times...is it consistent?14:49
didrockskgunn: dch -i14:49
kgunndidrocks: dang it...thot so...sorry for the ignorant interupt14:50
didrockskgunn: seems obvious isn't it? ;) (j/k)14:50
didrocksno worry, if you don't practice it regularly, yeah, it's normal that you don't remember ;)14:50
kgunndandrader: i know you were going to try-wait in a loop...guessing it tries multiple times ?14:50
kgunndandrader: wonder if your attempts slow it down ?14:51
kgunndandrader: curious, are you able to run through autpilot test ? e.g. ubuntuuitoolkit per the bug14:52
dandraderkgunn, anyway, the quick hack is not so quick in the end. aiming at the proper fix now14:52
kgunndandrader: so, not MP worthy ?14:52
dandraderkgunn, if I have to spend time debugging a quick hack it's because it's not quick anymore :)14:53
kgunndandrader: sure14:53
dandraderkgunn, and a second problem is hit:14:53
dandrader"[InputReader]  Touch device 'autopilot-finger' did not report support for X or Y axis!  The device will be inoperable."14:53
dandraderkgunn, so that might be a second hurdle waiting after the current one14:54
* kgunn goes for another cup of coffee...and considers running into the street to be hit by oncoming traffic14:54
dandraderlol14:55
alan_g /me wonders how he has lived this long14:56
ricmmkgunn: give it two more weeks14:59
ricmmthen we can all just get on a bus and do the same14:59
kgunn:)14:59
ricmmkgunn: ill skip the standup, I just saw emails from kevin that I had missed15:00
ricmmits up for review, the changes requested are trivial15:00
ricmmim sure kevin will have it ready within 1-2 hours15:01
ricmmim testing it locally now and will do my review15:01
kgunnricmm: cool...appreciate the testing15:05
hikikogood evening!15:17
=== greyback|shops is now known as greyback
mhall119kgunn: is it possible to run a Wayland session compositor on top of the Mir system compositor?15:19
kgunnmhall119: i would assume you mean in theory ?15:20
mhall119yeah15:20
mhall119and if there's been any discussion and/or plans15:20
kgunnmhall119: sure...you'd have to write a wayland-mir back end15:21
kgunnmhall119: its been discussed...like over beer...but nothing more than that15:21
mhall119ok15:21
alan_gkgunn, mhall119: FWIW we've had similar discussions about implementing Wayland using the Mir library. (IT would be "fun", but isn't currently planned or worked on.)15:24
mhall119alan_g: would that work to run an upstream Gnome-Shell-as-Wayland-compositor on top of a Mir system compositor?  I thought implementing the Wayland protocol would only let us run Wayland clients15:28
davmor2kgunn: right completely fresh install on the default SF all I have crash wise is for _sbin_ureadahead.0.crash so I will delete that now and then reboot into mir and see what appears then15:32
alan_gmhall119: Maybe. In that case the "Weston" session compositor would need to talk the protocol that the Mir system compositor uses (and currently that's the internal Mir one). For that you'd need to implement a session compositor as a Mir client.15:33
alan_gBut if the system compositor talked Wayland...15:33
alan_g* s/Weston/Wayland/15:34
kdubright, you'd have to implement a fb backend based on mir in weston15:36
pete-woodshi all, according to (http://unity.ubuntu.com/mir/installing_prebuilt_on_android.html) I should be able to run mir on nexus 7 with a special  libhybris16:11
pete-woodsquestions 1) is this true? 2) if so, where do I get it?16:11
kdubpete-woods, i think that support landed, so no special one needed anymore16:11
kdubhaven't tried in a while16:11
pete-woodskdbub: I just tried running it, and basically ran into this bug (https://bugs.launchpad.net/mir/+bug/1231917)16:12
ubot5Ubuntu bug 1231917 in libhybris (Ubuntu) "Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7" [Undecided,New]16:12
pete-woodsand figured that it must be that libhybris thing mentioned in the wiki16:12
kdubmight be that hwc isnt working for nexus 716:13
pete-woodsI don't know what hwc is (hardware compositor?), but I'm guessing I can't fix it myself16:14
kdubpete-woods, posted a suggestion on the bug16:15
pete-woodskdub: thanks for the suggestion, /system seems to be mounted ro, is there a safe way to change this?16:19
kdubmount -o remount,rw /system16:19
pete-woodsokay16:20
pete-woodskdub: I just wanted to check I wasn't going to explode stuff if I did that16:20
pete-woods:)16:20
kdubif it explodes, move it back16:21
pete-woods:)16:21
kdubalan_g, on that deactivate-notifications-when-display-off branch, changed the name to mode(MirPowerMode)16:25
kdubreads much cleaner, no new enums or confusing bools16:25
* alan_g goes to look...16:25
pete-woodssadly that removing the hwcomposer shared lib doesn't seem to help, but thanks for the suggestion16:26
kdubpete-woods, thanks for giving it a try16:27
pete-woodsnp16:28
pete-woodsI am obviously the one with most to gain from a fixed display server16:28
kdubi'm wandering around hwc code for the next bit, so there's hope i can get it working... no time promises though16:28
alan_gkdub: approved16:29
kdubalan_g, thanks16:29
pete-woodskdub: well I have my fingers and toes crossed :)16:29
kgunnalan_g: kdub alf|xmir_devel .....any takers https://code.launchpad.net/~kgunn72/mir/bump-libmirserver5/+merge/18887716:47
kgunnits an easy one16:47
kgunnkdub: you want mp 188751 top approved ? or should we wait for duflu ?16:51
kgunngoing for a run bbiab16:52
kdubkgunn, let me fix that nit, should be done by the time you get back16:52
=== alan_g is now known as alan_g|EOD
* kdub wishes mocking ioctls was easier18:13
kgunnkdub good to go ?18:16
kduboh sure18:17
kgunnracarr: you around ?18:18
kgunnracarr: don't hate me...but it'd be really really useful if you could a) review  https://code.launchpad.net/~dandrader/mir/hack_lp1233944/+merge/18888918:19
kgunnand b) test it out on a phone against an AP run per https://bugs.launchpad.net/mir/+bug/123394418:20
ubot5Ubuntu bug 1233944 in Mir "Unity8/Mir is unable to open autopilot uinput devices" [Critical,In progress]18:20
kgunnbschaefer: you got a phone?18:21
bschaeferkgunn, sadly no, i've a nexus 7 that refuses to be recognized by my laptop :(18:21
kgunn:-/18:21
kgunngreyback: ^ in case you're feeling benevolent18:22
kgunni'll try...but i go at manager speed :-|18:22
racarrkgunn: THATS IT THATS THE LAST18:25
racarrFUCKING STRAW I HAVE HAD18:25
racarr:p18:25
racarrDon't worry, you're too nice to hate.18:25
racarrum, ok let me figure out what is going on18:26
greybackkgunn: I'm in middle of other debugging session at the moment, can take it on after. In case the bi-polar racarr scares you :)18:26
kgunnracarr: and i have an interesting relationship...he rages a lot :)18:26
racarraha, no I don't mind doing this at all, I was just playing a long18:27
racarrphone is at dead battery though. so it will be a bit18:27
racarrbranch itself looks fine18:28
racarrerr18:28
racarrhmm18:28
racarrworried about opening a device multiple times now18:29
racarrok I think it will open devices multiple times potentially18:32
racarrand its not clear what will happen18:32
racarrgoing to propose a thing18:32
kgunnok18:32
kgunnaltho...shouldn't that be a well defined device interface thing (e.g. multiple open calls from a client result in 1 device handle)18:33
kgunnor some such18:33
racarrits just a file18:34
racarrso you keep on getting file descriptors to it I guess18:34
racarrif you keep on opening it by path18:34
davmor2kgunn: you have a nexus 4 right?18:35
kgunnyes sir18:35
davmor2kgunn: can you install solitare and try moving the cards around for me on mir they are really jumpy on maguro18:36
davmor2kgunn: I'm just after finding out if it is a maguro thing (which I'm expecting it is) or if it is an animation that mir isn't happy with in general18:37
kgunndavmor2: give me a few18:39
davmor2kgunn: no worries18:40
racarrkgunn: I proposed a merge in to dandraders branch18:51
racarrbut it seems like he isn't around? and this probably needs to go quick?18:51
kgunnracarr: yeah...he eod'd18:54
kgunndavmor2: hey...so...when i try to download solitare it keeps telling me err, please go sign into ubuntu1 via system settings18:55
kgunndavmor2: i can;t find that in sys setting....but used the ubuntu1 app18:55
kgunni signed in, but still gives me the same error18:55
davmor2kgunn: open the setting app,  in setting click on accounts, login to u118:56
thomimorning all18:56
kgunnthomi!18:56
thomihey kgunn, pitti tells me he found the bug18:57
thomipitty is like... super engineer. I bet it took him 2 minutes18:57
kgunnthomi: maybe 10 :)18:58
racarrkgunn: Ok I am going to repropose it sourced from my branch then someone else can review18:58
kgunnracarr: totally makes sense18:58
kgunnthen poor kdub will need to review18:59
racarrok done19:00
racarrhttps://code.launchpad.net/~robertcarr/mir/1233944-addendum/+merge/18890019:00
kgunnthomi: if you want to rebuild mir use that ^ and see if that solves it19:00
kdubdaniel will be the only one who can pull that in19:00
thomiOK. grabbing now19:01
racarrI still cant get my nexus to physically turn on...19:01
kgunnkdub: no, i think racarr retargeted it to dev branch instead of daniels ....so i guess that means we'd simply need to take both if we want them19:02
kgunnor do i have it wrong?19:02
racarrno mine contains daniels so just merge the second one19:04
kdubyeah, didn't refresh my page19:04
racarrI actually resbmitted daniels proposal sourced from my branch19:05
racarrbut im not sure what that means different than retargeting19:05
racarrmy proposal19:05
kgunnracar right so if we pull yours in daniel's comes with it i think19:05
racarryeah19:06
kgunndavmor2: ok...instructions were good, logged into u1 ok...but now, i hit the install button on solitaire and it just sits here19:06
kgunnwonder if getting an error prior to logging in properly is an issue19:07
kgunnor logging into the u1 app and the settings app19:07
kgunnis an issue19:07
davmor2kgunn: :( have you thought about joining qa?19:07
kgunndavmor2: because i find so many weird things wrong ? :)19:08
davmor2kgunn: because you break stuff as easily as I do :)19:08
davmor2kgunn: apparently there is a link being added that takes you to the settings page which will land soon :)19:09
davmor2kgunn: you may need to reboot I'm afraid (Yes the proverbial turn it off and turn it on again fix) :D19:10
thomihey mir folk - can someone point me to the pbuilder/sbuild cross compile info again? I seem to have wiped my setup19:11
kgunnthomi: you mean this http://unity.ubuntu.com/mir/building_source_for_android.html19:12
thomikgunn: I want to build packages, not raw binaries :-/19:12
kdubwe should eliminate those instructions...19:14
kdubtricky part is getting everyone bootstrapped with their cross build setups19:14
thomikgunn: racarr: are there plans to use ueventlib instead of inotify? I trust pitti when he says that it's the correct solution19:14
kgunnthomi: yes...but even pitti points to a quick hack soln19:15
thomisure19:15
kgunnuevent a longer term thing19:15
thomijust wanted to make sure this was going to get patched, and not forgotten about :)19:15
thomiI didn't mean today :)19:15
kgunnthomi: you know me by now...we'll at least have a bug indicating we're a bunch of scally wags19:16
kgunnkdub: so what are the instructions ? (i've just built per the wiki....realized i've never cross compiled mir and then installed on a device)19:17
thomiheh, ok19:17
thomiyou can do it with pdebuild/pbuilder, but I can never remember how19:17
kdubthe instructions are 'make an armhf with the needed dependencies, then use a certain cmake command'19:17
thomialso, sbuild will do it I believe19:18
thomikdub: oh, there's an easier way than that :)19:18
* thomi continues searching19:18
kgunnls19:18
kgunnoops19:18
kdubthomi, but with cross compiling?19:18
kdubnot emulated compiling19:18
thomiyeah19:18
thomioh, well, does it make a difference?19:18
kdubnot in what's produced, but in time19:19
kdubemulated compiling is slow for a development workcycle19:19
kdubits slow for a packaging one, but more tolerable19:19
kduband i know how to make a chroot :) its just the scripting of making the chroot that i haven't been able to do19:20
thomiI see. maybe I have a blinging laptop.. I never noticed it being significantly slower that native compiles19:21
kdubwell, i'd say that native and emulated compiles are roughly on par19:21
kdubbut cross compiles are faster than both19:22
kdubthomi, right now, we just run the top level script 'cross-compile-chroot.sh'... but its a bit of a hack19:26
thomiyeah... but I'm pretty paranoid about copying binaries over to system locations. If I get a package at least I can revert those changes safely19:29
thomiit turns out, the CI system produces such packages, so I'll grab them19:29
kgunnkdub: sorry if i'm being dense...so, after running  cross-compile-chroot.sh...do i just copy all the libmir*.so's over to the device in the directory /usr/lib/arm-linux-gnueabihf/19:31
kdubkgunn, that's what i usualy do... like thomi noted though doing that can cause headaches though if you're not careful19:32
kgunnkdub: :) define "careful"19:32
kdubmake sure the linkage is what you expect19:33
kgunnkdub: oh...like version numbers and the fact that android input is a static lib and all the so's probably link to it19:34
kdubwell, its a static lib, but it goes out in... libmirserver.so?19:34
kgunnkdub:  i was just gonna push everything to be certain19:35
kgunnhey...so doing this...and kind of double checking stuff....i noticed something19:37
kgunnin the ubuntu-system image....there's no libmirclientlttng.so19:37
kgunnremember last night i said logging didn't work for me...19:38
kgunnthomi: did you install seperately ?19:38
thomikgunn: not yet19:38
thomiwaiting for CI to do it's thing19:38
kgunnthomi: no i meant last night...when you were using mir logging....had you installed the libmirclientlttng.so seperately ?19:39
thomikgunn: nope19:39
thomikgunn: but I wasn't using lttng19:39
thomigah19:54
thomijenkins is down, and I can't find those instructions anywhere19:54
thomiI really don't want to have to build the package on the phone, that sounds like a bad idea19:54
racarrkgunn: Should I still try and test this autopilot stuff?19:56
racarrJust finished up input-injecter19:56
thomikgunn: found them - was looking in the wrong wiki: https://wiki.canonical.com/PES/Engineering/DevelopingWithPbuilder?highlight=%28compile%29%7C%28armhf%2919:57
thomiracarr: that would certainly help me out19:57
racarryay the red light is back on my phone19:58
racarrshould be operable soon19:58
racarrthomi: Ok ill get on it19:59
thomithanks19:59
racarrit wll be 20 minutes to upgrade, 20 minutes to build the new mir branch, etc...19:59
racarrshould I just start from cdimage-touch or is there20:00
racarra specific image20:00
thomiracarr: I'd grab the ubuntu-system image from the devel-proposed channel20:00
racarrthomi: Can phablet flash do that?20:00
thomisure20:00
thomione second20:00
racarrI think maybe I have seen this incanation before20:01
kgunnhttps://wiki.ubuntu.com/Touch/Install20:01
racarrbut I keep on downloading the images and using clockwork mod XD20:01
kgunnracarr: ^ see section 420:01
thomiyeah, what he said :)20:01
racarrphablet-flash --help has gotten worse and worse20:01
racarrand phablet-flash has gotten20:01
racarrbetter and better lol20:01
racarrok thanks :D20:01
kgunnits like phablet-flash ubuntu-system --channel devel-proposed --no-backup -d mako20:02
kgunnno backup is like --wipe20:02
kgunnand like i always saw...its always good to wipe20:02
racarroi20:02
kgunnin life and on phone flashing20:02
racarrkgunn: That could either be a very zen metaphor or a very juvenile one :p20:03
kgunnracarr: do you know who you're talking to ? :)20:04
racarrI guess that makes it double zen.20:04
racarroi :p20:04
kgunnthe product of living with a 15 yr old boy20:04
kgunnracarr: rest of the instructions here... https://bugs.launchpad.net/mir/+bug/1233944 for running AP tests20:05
ubot5Ubuntu bug 1233944 in Mir "Unity8/Mir is unable to open autopilot uinput devices" [Critical,In progress]20:05
racarrthanks20:05
racarrim cross compiling mir in parallel with the flash so it shouldn't really take that long20:06
kgunnracarr: also...missing from that bug...you have to install on the device...python-gi & unity8-fake-env20:06
kgunnto get AP to run20:06
bschaeferracarr, hey, if you get a chance, could you comment on this MP: https://code.launchpad.net/~brandontschaefer/mir/lp.1233089-fix-v-h-scroll/+merge/18866620:06
racarrkgunn: ok20:07
kgunnthomi: i flashed hours ago...those packages still not there^20:07
racarrbschaefer: Ill do that now while my phone flashes!20:07
bschaeferracarr, sweet :)20:07
thomikgunn: the littng .so? You don't need it20:07
bschaeferracarr, i know we talked about waiting on it, which we might have to, but duflu has made a comment as well :)20:07
kgunnthomi: no...the AP dependent modules20:07
kgunnthomi: python-gi & unity8-fake-env20:07
thomikgunn: oh yeah, that's why you need to apt-get install the -autopilot packae20:08
thomi*package20:08
kgunnthomi: oh my bad...20:08
thomithat's not going to get fixed until we kick sergio's ass  a bit more :)20:08
racarrbschaefer: touch_major/minor20:09
racarris used by qtubuntu20:09
bschaeferoo, soo can't use that :)20:09
racarrit uses some sort of mathematics to compute the touch "area"20:09
racarrtbh I think its all used20:09
bschaeferracarr, orientation/pressure might not be bad to remove?20:09
bschaeferdam20:09
racarrorientation20:10
racarris unused20:10
racarrpressure is used20:10
bschaeferracarr, well, now I wish I hadnt reverted this a bit ago...20:10
bschaeferracarr, alright, what about raw_x/raw_y?20:10
racarrsorrry20:10
racarrraw_x and raw_y are used :(20:10
racarrmaybe x and y aren't used20:10
bschaeferdang, id?20:10
racarror maybe if we keep x and y and offset20:10
racarrwe can remove raw_x and raw_y or something20:10
racarrID is probably only used forlogging and hashing20:11
bschaeferyeah...which is a useful one hmm I can look at trying to compress the raw_x/raw_y into an offset20:11
bschaeferbut it has to be a sizeof(float)20:11
* bschaefer doesn't know the android input stack super well :)20:12
bschaeferracarr, to bad vscroll and hscroll isn't an XOR...otherwise I could just do a union and drop 1 float20:13
racarrmm20:13
racarrtrying to put two floats in one floats sounds pretty bad though, there will be no precision20:14
bschaeferracarr, well I was thinking (yesterday at lease) that you can only have a vscroll XOR hscroll if so then you can just union those 220:15
bschaefercause it'll only ever be one, though it'll be hard to tell which direction it really is...20:15
bschaeferracarr, yes you are right though, no precision :)20:15
robert_ancellthomi, any change on the input issue?20:15
bschaeferracarr, whats size used for in the struct?20:16
racarroh you could lose one precision bit and20:16
racarrbest to avoid bit hacks though20:16
racarrbschaefer: hm?20:16
bschaeferiagree20:17
bschaeferracarr, http://paste.ubuntu.com/6185447/20:17
bschaeferline 6 in the paste...im not sure what size would be used for20:17
bschaefersize of the blob?20:17
bschaeferwell that explains it: http://developer.android.com/reference/android/view/MotionEvent.html#AXIS_SIZE20:19
* bschaefer digs through qtubuntu20:20
racarrsize of the touchpoint is my guess20:20
racarrqtubuntu doesnt really use it20:20
racarrfrom grep20:20
kgunnthink i just ran into the careful you were talking about kdub20:20
racarrmaybe you could get away with size and orientation20:20
kgunnits up..unity8 running...but nothing on screen20:20
racarrthis is kind of worrying me though20:20
bschaeferracarr, well i want to make sure if i remove something, it wont be needed in the future...20:20
* bschaefer as well20:20
racarrI think there is nothing to remove then20:20
racarrjust stuff we dont use now20:20
bschaeferracarr, as v/h scroll is somewhat needed as well...20:20
greybackkgunn: just a note, thanks to ricmm, the problem I was having with disappearing apps is solved20:20
bschaeferracarr, and we can't change the size of that strcut, as it'll break things... <sadface>20:21
racarrWell in the future we can break ABI20:21
racarrI guess we just can't right now.20:21
bschaeferracarr, sounds good, i can make a comment on that MP20:22
bschaeferracarr, thanks for the info!20:22
kgunngreyback: thats a great note!20:22
racarrgrr phone died int he middle of flashing20:22
kgunnf!...reflashing20:22
kdubyou should always leave ubuntu touch plugged in at all times ;-)20:23
racarrI know but I only have so at the end of day when my computer becomes a nexus of audio cables it always ends up unplugged20:23
racarrshould find my wall charger20:23
racarronly have so many usb*20:23
kdubracarr, the change 12233944 looks okay enough... just don't know enough to say that it won't break anything20:23
kdubnot too familiar with the code, or the problem20:24
racarrme either so we will wait on testing it to land20:24
racarrwell, I have some idea that it's ok :p but not 100% confident20:24
kdubracarr, yeah :/20:26
kdubandroid system code (like sf or the input stack) always seems like a big else-if chain based around flags to me20:27
racarrlol yes20:29
racarrmost of the android input classes have some big methods that basically is like20:29
racarrchangeState(new state)20:29
racarrwith a massive case statement20:29
racarrlol20:29
kdubmaybe vtables are just too slow for them :) better to have every object have an int, with flags set20:29
racarrI think, a lot of it is symptomatic of this sort of OO pattern of avoiding too much abstraction20:30
kduband the code switches function calls around the int flags20:30
kdub:P20:30
racarri.e. all the objects in the input stack kind of20:30
racarrcorrespond20:30
racarrto some, object that you could kind of imagine20:30
racarras a physical object or like an actor20:30
racarrbut I think trying to stick to that ideal20:30
racarrnormally just leads to object explosion20:30
racarrand the input stack would be a lot cleaner, if InputDispatcher were several more abstract components20:30
racarretc20:30
racarrOk lunch while my phone chargers so we dont have a repeat20:37
racarrbbiab20:37
kgunnthomi: can i cheat assuming you're ahead of me...what's in your pcreate proj file ?20:38
kgunndeb & deb-src urls20:39
thomikgunn: you men ~/.pbuilderrc ?20:39
kgunnthomi: the one where you create the proj20:40
thomikgunn: ummm, I'm not sure what you mean - I'm following this: https://wiki.canonical.com/PES/Engineering/DevelopingWithPbuilder?highlight=%28compile%29%7C%28armhf%2920:40
thomiessentially you run pcreate ... and then pbuild20:40
ollithomi, are you still building?20:40
thomiolli: yup :-/20:41
* olli is curious to hear if the fix helped20:41
ollidid dandrader test it locally?20:41
kgunnthomi: right, but pcreate prompts you with a text editor to enter proj location info20:41
thomiit's a race to see if pbuild or the CI process finished first20:41
kgunnsee the wiki "Create Project:pcreate" then #220:41
thomikgunn: gotchya, just leave it blank20:42
kgunn?20:42
kgunncool20:42
thomikgunn: in the past you needed additional sources.list lines, but not anymore20:42
thomieverything is in the archive these days20:42
kgunnthomi: ....and my wife says i don't follow instructions...ha20:42
thomifollowing instructions is for the weak willed anyway20:44
robert_ancellracarr, was https://code.launchpad.net/~robertcarr/mir/1233944-addendum/+merge/188900 meant to superceed Daniel's MP or be merged into it?21:03
robert_ancellAnyway, it looks sane to me as a workaround, are you abstaining since it looks like you've proposed it or you're not sure about it21:03
racarrrobert_ancell: Abstaining because I reproposed it21:05
racarrit was originally going to go in to daniels mp21:05
racarrbut then daniel is EOD21:05
racarrso I resubmitted my branch with daniels to dev branch21:05
racarrwhich is the one that should land21:05
racarrit still needs testing though21:06
racarrso dont top approve21:06
robert_ancellracarr, ack21:08
racarrwait did my flash fail again? errrrrgggg21:13
racarrit seemed to be doing so well and was ont he on device install and now lonnng black screen21:13
racarrok I need to let my phone charge for > 30 minutes apparently21:15
thomikgunn: racarr, anyone else - packages for racarr's branch are now available from here: https://jenkins.qa.ubuntu.com/view/All/job/mir-saucy-armhf-ci/77/21:59
thomidownload them to phone with wget, and install with dpkg. job done.21:59
kgunnthomi: does it actually work ?22:11
kgunndrumroll22:12
thomijust installing now22:12
ollidrumroll22:15
thomistill installing...22:15
thomiyou all understimate the crappieness of NZ "broadband"22:16
olliyou install via broadband?22:16
ollidid you build a whole new image?22:16
thominah, just downloading the new mir packages22:17
thomiand their dependencies22:17
thomi3 minutes left...22:17
olliI see, no local build22:20
olliI thought you might have done a local build and as such using "broadband" didn't compile22:20
thomi30 seconds....22:21
thomiolli: I tried, but it was faster to let the CI machinery do the build for me22:21
kgunnolli: ^ and that's a cf22:22
ollicf?22:22
ollias in cluster f?22:22
kgunnc=cluster22:22
olliI hear you22:22
kgunnolli:  and i built local using the meta chroot...which built fine, but when i installed the so's manually it didn't work22:23
kgunnso...the whole pbuilder thing is the _right_ way22:23
olliyep22:24
thomihmmmm22:24
racarrok did some chores while my phone recovered...back on board now :)22:24
ollithat doesn't sound like the cheering I was hoping for22:25
thomiso I don't see the logging output anymore22:25
thomiit works!22:25
thomibut I don't see the log messages I was looking for22:25
thomibut hey22:25
thomiit freaking works :)22:25
kgunnhells yeah22:25
* thomi runs some AP test suites22:26
kgunnjustice leaque right there22:26
ollithomi, ok, getting closer to the cheers22:26
olliso22:26
ollithomi, how is the phone performance22:26
olliany noticeable lag22:26
thomiolli: tests seem to be running quickly22:27
* kgunn almost thinks olli wants there to be lag22:27
thomiI'll run the complete test suite set and see what happens22:27
thomibut the input problem seems to be solved22:27
kgunnthomi: so ubuntuuitoolkit worked basically...any others22:28
racarrthere is definitely still lag on n422:28
kgunnracarr: i think olli meant, with this fix in did it get worse22:28
racarrnah22:29
ollijust checking22:31
thomiuh oh22:33
kgunn:-| ?22:34
thomia bunch of AP tests locked up, and now the phone doesn't respond to my touches22:34
thomias in, my actual finger22:34
thomibut unity8 is still running22:34
kgunnthomi: do you have an error like "[InputReader]  Touch device 'autopilot-finger' did not report support for X or Y axis!  The device will be inoperable."22:35
thomikgunn: nope22:36
thomibut then, for some reason, I get no mir logging at all22:36
kgunnwhat does /userdata/.cache/upstart/unity8.log say22:36
ricmmI think Mir just fried my screen22:36
ricmmI have this white-ish cloud on top of everything22:36
ricmmsuper sad22:37
kgunnricmm: GN or N4 ?22:37
ricmmN422:37
kgunnricmm: was this testing kdub 's unblank fix ?22:37
thomikgunn: http://paste.ubuntu.com/6185918/22:37
ricmmnot really just normal usage22:37
ricmmtracking some issue that required me restart mir a bunch of times22:38
racarrwe all overheat our phones a lot :/22:38
ricmmthis happened before and disappeared rather fast22:38
ricmmseems like its fading away slowly22:38
ricmmmaybe it is indeed overheated22:38
* ricmm puts it in the freezer22:38
kdubyeah, probably overheated22:38
racarrlol22:38
thomiracarr: am I going crazy? Why don't I get mir log messages anymore? I set those mir log env vars22:39
racarrkdub: Maybe the code to hack the users brain through electrical impulses out of the touch screen went bad.22:39
kdubi run mir on the phone off the usb port in my freezer22:39
kdubdon't know how all of you run it...22:39
kdub:P22:39
kgunnthomi: anything in /var/crash22:39
racarrthomi: Some of the android stuff goes to stderr I believe is22:39
racarra possibility22:39
thomikgunn: yeah, but not from today22:40
kdubricmm, usually temperature warnings will appear in logcat22:40
ricmmmaybe this means I need to stop for the day22:40
thomiracarr: this worked yesterday22:40
ricmmas its my personal phone22:40
kdubbut really, i've never overheated my phone to the point it stops working22:40
kgunnthomi: mmm, this was what i saw too...no logging22:40
ricmmit wasnt really hot22:40
ricmmits something else22:40
ricmmit was workin fine, I restart mir and the cloud was there22:40
ricmmrebooted and it was still there on the Google logo22:40
ricmmslowly fading away22:41
ricmmleft some burned dash items there as well, which are almost completely gone by now22:41
kdubvery strange22:41
ricmmwitchcraft22:41
ricmmkgunn: what kind of "team" are you running?22:41
* ricmm calls a priest22:41
kgunn:)22:41
kgunnracarr: kdub we need to help thomi on the logging situation....or at least, i guess racarr should be runnable in a moment22:42
kdublogging situation?22:43
thomikgunn: racarr: something in that branch seems to have killed logging, as strange as that sounds22:43
racarrim setting up the autopilot stuff now22:43
kgunnthomi: double check, did you echo your env variables22:43
racarrI think that's22:43
racarralmost definitely not what happened :p22:43
thomiI've now tried with both upstart and without22:43
thomikgunn: yeah, with 'initctl list-env' I can see that they're set correctly22:44
thomieven without upstart, and exporting those variables directly I don't see any logs22:45
thomiracarr: this is still correct, yes?22:46
thomiinitctl set-env MIR_SERVER_INPUT_REPORT=log22:46
thomiinitctl set-env MIR_SERVER_LEGACY_INPUT_REPORT=log22:46
racarrsetting up autopilot now22:46
racarrI believe so, I don't know what initctl does though, but the env variables are still right22:46
racarrerr how am I supposed to install the packages from CI22:48
racarrI am getting hundreds of apt errors about overwriting some file about /tmp/var/ci blabla22:49
racarr*patiently waits on apt*22:50
thomiracarr: huh?22:53
thomiracarr: dpkg -i package_name.dev22:54
thomierr, sudo ...22:54
thomiracarr: initctl is upstart22:54
racarrdpkg -i * led to disaster22:54
racarr:(22:54
racarrrunning an apt-get update an apt-get -f and22:54
racarrall that such22:54
thomiracarr: right, because you installed the -dev packages, didn't you:)22:54
racarrthomi: I guess, grabbed all the packages and dpkg -i them XD22:56
racarrdidnt have the dev packages before22:56
thomiyeah22:56
thomibut that's ok, apt-get install -f will sort it out22:56
racarrno apt wotn work because22:57
racarrit cant find the archive file for libmirserver422:57
racarrwhich it claims needs to be reinstalled ><22:57
thomiracarr: you shouldn't have done an apt-get update22:58
thominow it's trying to install newer versions :-/22:58
racarrit was the same before...22:58
thomiracarr: rm your -dev packages22:58
racarrno it can't install anything apt just immediately bails22:58
thomiand do dpkg -i *.deb22:58
racarrmm I removed the dev packages22:58
racarrand dpkg -r them22:58
thomicool22:58
racarrg libmirprotobuf0_0.0.12+13.10.20131001.1bzr1101pkg0saucy77_armhf.deb (--install): unable to install (supposed) new info file `/var/lib/dpkg/tmp.ci/postinst': File exists23:00
racarrPreparing to replace libmirserver4:armhf 0.0.12+13.10.20131001.1bzr1101pkg0saucy77 (using libmirserver4_0.0.12+13.10.20131001.1bzr1101pkg0saucy77_armhf.deb) ...23:00
racarrerr, pkg: error processing:23:00
thomidude23:01
racarrthen dependency problems23:01
thomiWTF did you do!?23:01
thomithat's totally borked23:01
thomire-flash?23:01
thomiin the mean time... why don't I get any log messages?23:01
racarrall the way down23:05
racarrI dunno I downloaded all the packages and dpkg -i * them :(23:05
racarrlol23:05
racarrapparently not very well23:05
racarrI think it might fix itself if I coudl resolve the dependencies but I cant use apt23:05
racarrapt-get download maybe23:05
racarrgrr resolved the dependnecies but this23:05
racarr /tmp.ci/postint thing23:05
racarrkeeps it from working23:05
racarrbut there is not even such a folder /var/lib/dpkg/tmp.ci/postint23:05
racarreven dpkg --forrce-all doesn't work23:08
racarrI don't know23:08
racarrI am reflashing23:08
racarras for log messages23:08
racarrI think almost certainly they aren't being captured to a file23:08
racarror the environment isn't really set23:08
racarrstart exploring, i.e. do mir demos produce logs23:09
racarris the environment really set (attach with GDB to the running process and verify)23:09
kgunni've never been able to get a log23:09
racarrdo the other mir logs work?23:09
thomiracarr: this was working yesterday23:13
thomiwith upstart, I'm totally confident that the variables are set as we expect them to be23:13
kgunnrobert_ancell: hey...i need a pointer...probably just a bzr command i lack knowledge of23:13
thomianyway, time for lunch for me23:13
kgunnhttps://code.launchpad.net/~kgunn72/mir/bump-libmirserver5/+merge/18887723:13
kgunnrobert_ancell: if you look at that ^23:14
kgunnyou'll see i attempted to replace debian/libmirserver4.install with 523:14
kgunnso on my local i did mv libmirserver4.install libmirserver5.install23:14
kgunnbut when i pushed...it didn't seem to include the libmirserver523:15
kgunnwondering if there was a step in the bzr commit i missed23:15
kgunngrabbing food brb...thomi / racarr ...i know its not perfect, but its progress lend me your thots no merging23:19
kgunnthomi: would it be worth it to reflash, enable mir, enable logging ??23:20
kgunnthen stepwise ensure logging continues working23:20
thomikgunn: I'm running more tests now, I'll keep running tests on mir over today.23:21
thomikgunn: TBH, I'm getting pretty fed up with all the various quirks/issues I'm running into23:21
thomiso I'll run the rest of the tests, and see what happens23:22
racarryay no apt suicide this time23:26
racarrno unity8 though once I touched .display-mir23:33
racarrthese packages must be ABI incompatible?23:33
racarrthomi: Which unity-mir, etc are you using with these packages23:33
thomiracarr: hmmm, says "none"23:34
thomioh FFS23:34
thomiguess what?23:34
thomiI'm not running freaking mir23:34
racarrlibunity-mir123:35
thomi0.1+13.10.20131001-0ubuntu123:35
thomirebooting now23:35
racarrit seems unlikely the unity-mir is going to work with these packages23:36
racarrkgunn: which ppa has the most recent builds of23:36
racarrunity-mir against development-branch?23:36
thomiadb shell23:36
thomioops23:37
racarrthomi: adb hell is the what the pros use23:37
thomiis this channel logged?23:37
racarrI dunno probably one way or another23:37
* thomi restrains himself23:38
racarrno adb hell is a real command23:38
racarrtry it23:38
racarr:p23:38
thomiracarr: I know23:38
racarraha23:38
racarrsorry23:38
racarrok so to test this we need an updated unity-mir and platform-api mirserver too23:38
thomiracarr: I'm referring to the burning rage I'm feeling right now, and my desire to express it verbally here, in this channel23:38
thomiracarr: surely your change doesn't break ABI?23:39
racarrno but this package doesn't contain only that change vs the23:39
racarrpackae ina rchive almost certainly23:39
racarrwell I dunno, actually even after I removed .display-mir im still not getting anything so I think it was23:40
racarrphablet-click-test-setup23:40
racarrthat broke things.23:40
racarrI shouldn't have installed the packages and run that at the same time23:40
thomikgunn: ^^23:40
racarroh hey I tried to reflash again and there are new images23:41
racarrgoing to take things STEP by step this time :)23:41
thomikgunn: this is totally fubar. I've run out of patience. I say merge it, it can't be worse than what we already have. merge it and spin up a new image23:42
thomiright now this feels like a waste of my time, at least until we get something that boots all the way23:43
racarrtheres nothing fubar about it we have just been skipping steps23:47
racarron the image, unity works, then mir works, then the new mir packages are installed and mir doesn't work23:48
racarrbut that's expected if there are any ABI changes between development-branch and what is in archive23:48

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