/srv/irclogs.ubuntu.com/2014/05/01/#ubuntu-mir.txt

duflubschaefer: SDL demos working better now?02:52
bschaeferduflu, been digging into other issues with it atm :(02:53
bschaeferduflu, hopefully soon!02:53
dufluRAOF: Did the packaging branch change in utopic?... https://code.launchpad.net/~mir-team/mir/trunk-0.1.9/+merge/217290/comments/51861405:55
RAOFNot as far as I'm aware?05:56
RAOFduflu: https://code.launchpad.net/~ps-jenkins/mir/utopic-proposed05:59
RAOFLooks like jenkins isn't landing such things to lp:mir?05:59
dufluBah, I'll land it anyway05:59
dufluSince landing nothing or anything else would make us inconsistent05:59
dufluI already verified the only diff to development-branch was the changelog06:00
dufluSo low risk06:00
Saviqduflu, stuff's in trunks now07:06
Saviqduflu, that step (pushing to trunk) needs to be explicitly triggered after packages migrated to release07:07
dufluSaviq: Oh wow. Something that happened 17 hours ago just showed up07:07
dufluOK07:07
Saviqduflu, well, it only migrated 2h ago07:08
Saviqand there was no one to push the button, is all07:08
dufluSaviq: Cool. Everything is *clean* again07:10
Saviqduflu, kk07:10
alan_ggreyback: do you have an opinion on https://code.launchpad.net/~alan-griffiths/mir/spike-shell-namespace/+merge/216332?08:49
greybackalan_g: I've kept my silence mainly as I don't have a strong opinion. It would indeed be an improvement on today's situation.08:51
alan_galf_: FYI we've a CI issue to bug ChrisGagnon about when he surfaces: https://launchpad.net/~chris.gagnon/+archive/mir-demo-tester/+packages says 'mir-demo-tester' is only available for trusty under chrisgagnon's ppas09:07
dufluAh good. I was about to mention...09:07
dufluAnyone got bright ideas not already mentioned in: https://bugs.launchpad.net/mir/+bug/1293944  ?09:17
ubot5Ubuntu bug 1293944 in Mir "Mir deb packages with versioned names cannot be installed simultaneously any more" [Medium,Triaged]09:17
dufluThat's really a bug that's not solved until multiple releases are out...09:17
=== alan_g is now known as alan_g|lunch
=== alan_g|lunch is now known as alan_g
racarr__Morning13:55
mterrykgunn, is there not an open bug about Mir and deleting its stale sockets before using them?13:59
kgunnmterry: there is14:00
mterrycouldn't find one searching for 'socket'14:00
kgunnmterry: actually...there was a fix for cleaning up sockets on a nice shut down....14:01
kgunnwhich landed14:01
kgunnthere is another bug14:01
kgunnfor aborted mirs leaving stale socket14:01
kgunnlemme dig14:01
kgunnalf_: ^ we should address this with the core log upload/exception right ?14:02
alan_gkgunn: isn't alf_ on a public holiday?14:03
kgunn:) dang it...yes14:03
kgunni forgot...almost everyone is off today and tomorrow14:03
kgunnin europe14:03
* alan_g feels left out14:03
kgunn:)14:03
alan_gmterry: there's a closed one14:04
mterryalan_g, huh.  I would think stale sockets from crashes still are of interest.  Can't we just do whatever fuser does to tell if it's stale or not and delete if so?14:08
alan_gmterry: we do14:09
mterryalan_g, ah nice...  I was testing yesterday and kill -9 left a socket that USC couldn't handle14:09
mterryalan_g, did that land in latest Mir or is that a bug?14:09
* alan_g has to go look14:10
alan_gmterry: it was fixed at -r 1560 on development-branch. Which is in 0.1.9 (according to lp:1285215)14:14
mterryalan_g, ah.  Well I will reflash and retry then.  I love when things are fixed right before I ask about them!  :)14:15
alan_gYou're lucky - I'm of the opinion that if you "kill -9" you're responsible for cleaning up the mess.14:16
kgunnmterry: robru's email indicated that the latest mir landing 0.1.9 will appear in image#7 which should be later today14:17
mterrykgunn, it's available from devel-proposed now14:20
kgunnmterry: ok, i could not find a bug covering the abort stale socket...so if you still hit that, definitely file a bug14:21
mterrykgunn, alan_g is claiming it's fixed?  I'm testing now14:21
alan_gkgunn: mterry the bug is 128521514:22
mterryalan_g, well, kill -9 isn't that different from a crash eh?14:22
alan_gmterry: it is - we can (and do) process SIGABRT, SIGSEGV etc14:23
mterryalan_g, ah cool14:23
alan_gSIGKILL is special - we can't intercept it in a handler14:23
mterryalan_g, yup.  But you're saying that the fix handles even that case?14:24
mterry(by cleaning up on startup?)14:24
kgunnah...it was fix-released...14:24
alan_gYes. in 0,1,9 which will appear in image#714:24
kgunnalan_g: yeah...for some reason i thot we hadn't addressed the abort case, i just got lost :)14:25
alan_gkgunn: you're thinking of bug 1235159 (fixed in 0.0.15)14:26
ubot5bug 1235159 in mir (Ubuntu) "Mir fails to start if there's a stale socket" [Medium,Fix released] https://launchpad.net/bugs/123515914:26
alan_gdednick: in case you think I've forgotten about you... I've a branch that allocates an FD server-side and passes it out to the client here: lp:~alan-griffiths/mir/spike-passing-out-client-fds/ - the code's still a bit manky and probably not immediately useful to you. But it is progress.14:39
* kgunn goes to look up "manky"14:39
dednickalan_g: ah. i was meaning to ask you about it :)14:39
dednickalan_g: thanks, i'll take a look14:40
alan_gkgunn: "dirty and unpleasant"14:40
mterryalan_g, kgunn: yay, socket reusing seems perfect14:41
=== alan_g is now known as alan_g|tea
kgunnmterry: thanks for that validation!14:41
camakomterry, I'm the lucky owner of the enhancement request you've made abt lifecycle event callbacks in a nested config. Can you help me understand the scenario in a bit more detail?14:45
mterrycamako, sure14:46
mterrycamako, and hi!  Not sure I've met you before?14:46
camakomterry, hi.. No I don't think we've met.. I'm new to the mir team14:46
=== alan_g|tea is now known as alan_g
mterrycamako, so the use case is this: I have a greeter for the phone.  Design wants the greeter to show a little animation when the greeter shows up (both on boot and on screen-on).  The unity-system-compositor (USC) already tries to send its child sessions (greeter & unity8) lifecycle events on screen on/off.  So I thought "OK, I'll listen to that"14:48
mterrycamako, but turns out that nested mirservers don't get those events14:48
mterrycamako, because while mirclient has an API for registering callbacks (in the MirConnection class)14:49
mterrycamako, mirserver can't get access to a MirConnection pointer.  I believe the intention is that it could get one via HostConnection14:49
mterrycamako, but HostConnection is never actually defined in the public headers14:49
camakomterry, so unity8 is running a nested server right?14:51
mterrycamako, (the reason it needs to be public is because those callbacks are registered in platform-api, so if platform-api can't see them, it can't register the callbacks)14:51
* alan_g has to have a closer look at the "in process" client support. I really should be the same API as "out of process" clients have.14:51
alan_g*It14:51
mterrycamako, unity8 is yeah.  As is the greeter (I'm working on the set of branches that deals with splitting the greeter out of the unity8 executable and into its own process)14:51
mterryalan_g, agreed14:52
mterrycamako, also welcome!  :)14:52
camakomterry, so as things currently stand you have both unity8 and greeter in the same process.. Is greeter a (mir) client of unity8 (mir nested server)?14:53
camakomterry, sure..14:53
mterrycamako, today on image #7, greeter and unity8 are part of the same process, part of the same code base.  In my branches, to land at a nebulous future date, greeter and unity8 are two processes, but basically both running the same code, just different qml.  So they'll still both be nested server clients of USC14:54
camakomterry, got it.. So in a bare bones scenario a nested server needs to get lifecycle events from the system server14:55
camakois my understanding right?14:56
mterrycamako, that would be nice yeah.  The API exists in Mir to send them out, but nested clients of the USC can't register their own callbacks to hear the signals14:56
alan_gmterry: I don't know if it helps in the architecture you have but...14:57
camakomterry, ok thanks that helps... Let me read some code, and I'll ping you if I have more questions...14:57
alan_gYou can use the normal "out of process" client API in the same process as a server (we have a bunch of tests that do this) simply by getting a socket from the server and connecting over it.14:57
mterryalan_g, would that be a second connection to the server or would I then be acting as a "standalone" mir server and a separate mir client?14:58
mterrycamako, sure, sounds good!  :)14:58
alan_gmterry: You're already spinning up a server right? But you're connecting my some "internal" mechanism I've not looked into.15:00
alan_gIf instead you connect over a socket then you have the "client" API15:00
alan_gYou just call mir_connect("fd:/$fd_number")15:01
mterryalan_g, well I think we are connecting via an existing socket.  But mirserver doesn't really expose that fact when in nested mode, yeah.  So you're thinking that I could simultaneously do a mir_connect?15:01
mterryright15:01
mterryalan_g, OK...  That might unblock me at least.  I can try.  But the bug still stands that I'd have to do such a workaround15:02
alan_gmterry: this is an "instead" of, not "as well as" idea15:02
mterryalan_g, whaddya mean?15:02
mterryalan_g, if this is sufficient, you don't care about the mirserver connection exposing?15:03
=== chihchun_afk is now known as chihchun
alan_gmterry: I don't know (never dug into) the "internal client" code. But if you don't mind being an "external client" in the same process instead you can use the above approach.15:04
mterryalan_g, right. I may do that as a short term fix to unblock me.  But I was just saying above that ideally mirserver would just work for this case15:05
fginthergreyback, apologies for the delay in getting those devel branches added.15:23
racarr__Do you guysn want to opaquify client library structs15:27
racarr__I started thinking about child surfaces which would require changing surface parameters15:28
alan_gracarr__: it is on the "TODO" list15:28
racarr__and I made the cursor configuration an opaque struct (seems likely to break otherwise with addition of rgba data etc)15:28
racarr__and u m15:28
racarr__it just seems like a good time to do it15:28
* alan_g waits for kgunn to point to the right blueprint15:28
racarr__We can first: Add getters/setters, second: port downstreams three: opaquify structs15:29
racarr__so not much churn for other people15:29
alan_gAgreed. (that's the "stable intermediate forms" pattern.)15:29
racarr__Ok I will just submit an MP when I have time unless someone else gets to it first.15:30
racarr__I thought it had come up in the past but couldnt quite remember15:30
alan_gLOL15:30
alan_gIt has - we discussed it in December/London15:31
racarr__Mm15:31
alan_gWe just haven't got to it yet15:31
greybackfginther: no worries15:32
kgunnracarr__: you now own "opaquify clients"15:36
kgunnhttps://blueprints.launchpad.net/ubuntu/+spec/client-1410-mir-converged15:36
kgunnalan_g: btw, had a note to myself to ask...are we done with "better and proper update notifications for surfaces" after all the surface rework ?15:36
racarr__kgunn: :D15:37
alan_gkgunn: I guess we are. At least it's done on the surface side. (But we're not making use of it on the compositor side - yet.)15:38
kgunnthat was my understanding as well...there, but yet to be harnessed15:39
alan_gI think greyback may have started using it15:39
=== josharenson is now known as josharenson|bike
fginthergreyback, while testing I found that the platform-api/devel build fails http://s-jenkins.ubuntu-ci:8080/job/platform-api-devel-utopic-amd64-ci/2/console15:57
fginthergreyback, I'm ready to enable the jobs, but just wanted you to know there might be some failures initially15:58
greybackfginther: that's ok, that failure is expected16:37
=== alan_g is now known as alan_g|EOD
fginthergreyback, ok, I'll proceed with deploying the jobs. Please ping the ci channel if you find strange failures after the switch16:38
greybackfginther: excellent, thank you for doing it!16:38
racarr__kgunn: I just realized opaquify clients17:41
racarr__may be something else lol17:41
racarr__i.e. make clients opaque17:41
racarr__nvm17:42
racarr__read on launchpad17:42
=== slvn_ is now known as slvn|away
=== josharenson|bike is now known as josharenson
racarr__Lunch!19:05
racarr__Back19:40

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