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

=== thomi_ is now known as thomi
=== shuduo_afk is now known as shuduo
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== shuduo is now known as shuduo_afk
=== shuduo_afk is now known as shuduo
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
alan_gHi RAOF - you got home OK?09:32
RAOFalan_g: Indeed I did.09:32
RAOFOnly delayed by a little bit.09:32
alan_gGood09:33
alan_gWhere are we with the changes to support Mir nested mode on mesa?09:34
RAOFalan_g: I've just realised why they make i965 explode in a heap with mesa 10.0, and am about to upload some packages to the archive.09:39
* alan_g didn't hear the explosions09:40
RAOFThey were localised.09:40
RAOFOh, I guess that I should check that nested actually works, too.09:42
alan_gRAOF: that would help. (I think anpok was trying to use it yesterday - without success.)09:43
anpok.. hm yes it failed when creating a pbuffer surface in the nested compositor09:44
anpoki looked at building u-s-c with the partial chroot script of mir09:44
anpokhow do you build that for ubuntu touch?09:46
alan_ganpok: I haven't, but it is small enough that I'd start by building on the device09:46
* alan_g worries that the evil script is going to start spreading09:47
anpokhmm too cute to be evil09:47
RAOFusc doesn't need to link to any of the hybris-y bits, does it?09:48
anpokonly qt5 core and qt5dbus is added09:48
RAOFI think you *should* be able to use an honest-to-god armhf chroot.09:48
alan_gMir and dbus09:48
anpokand mir/build/ make install into the chroot  works good09:48
anpokbut the cmake config files of qt5 are evil09:49
RAOFInstall qemu-usr-static and “mk-sbuild --arch=armhf trusty” should get you something working.09:49
alan_ganpok: do you need usc to test your nested changes? It would involve fewer variables to stick to the mir examples.09:52
RAOFUnless you're actually working on usc you should be able to use mir_demo_server_shell; that's what I'm testing nested with.09:53
anpoktwo instances of mir_demo_server_shell09:53
anpokah09:53
anpokthen i'll move usc back to the other end of the stack..09:54
RAOFSo, um, why is the Nested platform trying to create a 1,1 pbuffer surface?09:58
RAOFBecause that's never worked on the mesa Mir platform.09:59
* alan_g briefly wonders what a "1,1 pbuffer surface" is before tuning out...09:59
RAOFMight make more sense as a 1×1 pbuffer surface?10:00
anpokalan_g: offscreen EGL surface with width and height attributes 1,110:00
alan_gwhat does it need that for?10:01
anpoki only debugged through release mode binaries and thought that the pbuffer allocation function was some empty fallback.. but that might just be a side effect of the release binary10:01
=== shuduo is now known as shuduo_afk
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== greyback is now known as greyback|lunch
=== chihchun is now known as chihchun_afk
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== greyback|lunch is now known as greyback
alan_ggreyback: how's this feel as a message passing API? (Obviously not hooked up to anything yet) https://code.launchpad.net/~alan-griffiths/mir/message-passing-api/+merge/19842215:34
=== alan_g is now known as alan_g|tea
=== shuduo_afk is now known as shuduo
=== alan_g|tea is now known as alan_g
=== shuduo is now known as shuduo_afk
greybackalan_g: looking...15:51
greybackalan_g:  surface_callback Callback function to be invoked when request completes = called when surface realized?15:59
alan_ggreyback: when the call it's passed to completes. (Unrealized creation or realization16:01
=== dandrader is now known as dandrader|lunch
greybackalan_g: I'm trying to decide if having Mir define messages to be of type "key:value" is a good idea. What do you think?16:28
alan_gwhy would mir define messages that it treats as opaque?16:29
greybackalan_g: true. That was my obvious counter-argument :)16:31
greybackalan_g: but it would enforce a style between shell and client16:31
greybackalan_g: yeah leave it16:31
kgunni thot the reason for a notion of msg was to have some versioning control to it ?16:32
alan_ggreyback: I originally outlined some structure to the messages, but after the feedback I got in London I decided that Mir should stay out of that16:32
alan_gkgunn: the question is whether that is envelope or content16:33
alan_gthere should be versioning and structure - but Mir doesn't need to know16:34
kgunnalan_g: got it...so the versioning is extra-mir16:35
kgunnits really shell/papi responsibility16:35
kgunn?16:35
alan_gkgunn: there's loads of stuff: protocol id, version, structure that Mir can ignore. (Even if we have a canonical example in "shellinator")16:37
greybackkgunn: yep, shell&papi will define their own versioned messaging scheme16:41
kgunngreyback: alan_g ...ok...was just thinking RAOF was promoting the idea mir would have a bit of awareness there...16:43
kgunnpersonally...i'm a fan of fully opaque16:43
kgunnjust trying to keep an open mind16:43
kgunnas people seemed to have traversed this ground with x16:43
greybackyep, I think it best to keep it opaque16:44
alan_gkgunn: greyback - that experience is good for the unity8 protocol. But IMO Mir can and should ignore it.16:45
alan_gAnything Mir needs to know about the shell can tell it.16:45
kgunnalan_g: greyback ...yep, it totally makes sense to me...just trying to elicit any pitfalls16:45
kgunnracarr: ^16:46
racarrMornnning16:47
anpokin london the discussion went in a direction about adding extensibility to mir to be able to keep those portocols opaque, but defined in a way that others could make use of them16:47
racarrRight, that's animportant bit about having versioning/identified protocols16:48
tvossalan_g, greyback protobuf supports on the fly message generation and extraction, too. I would think that we should stick with one way of marshalling, with Mir being able to ignore messages (treat them as opaque)16:48
greybackracarr: +116:49
alan_ganpok: their needs to be protocol negotiation and versioning - the question is whether Mir or a shell handles it. I see only problems in Mir doing so.16:51
alan_gOf course, shellinator and unity8 are free to do something compatible.16:53
anpokthought we ended with .. we might do that later.. (providing extensibility in some form)16:54
tvossalan_g, by protocol you mean payload versioning (up to the higher level shell from my pov) or would you also like to version to the framing (size + type) for example?16:55
alan_ganpok: I thought about it since and decided that Mir isn't the "we" that controls the protocol negotiation/versioning/structure16:55
anpokyup I agree in best case we get away without the need for control..16:56
greybacktvoss: has protobuf good versioning support? Just thinking worse-case where we'd need a non-backward compatibile change16:56
alan_gtvoss: I initially intended that, but after the discussion that led to in London I decided that Mir should do the simplest thing and leave it to the next layer in the stack16:56
tvossgreyback, yup, it supports forward and backwards versioning16:57
greybacktvoss: ok thanks, will look that up16:57
tvossgreyback, ack, look at cap'n'proto, too16:58
* greyback loving that project name16:59
* tvoss too16:59
alan_gThe simplest thing Mir can do that will work is to shift bytes between processes. It doesn't care if the shell uses protobuf or cap'n'proto16:59
mlankhorstset sail for epic fail16:59
alan_gmlankhorst: you know where we're going?17:00
tvossalan_g, I tend to agree17:00
=== tvoss is now known as tvoss|test
=== tvoss|test is now known as tvoss|dinner
* alan_g wonders what tvoss tended to agree to17:01
mlankhorstto the bottom!17:01
racarrI can't parse this conversation anymore :p17:06
racarrthe joys of IRC17:06
racarrI think the simplest thingMir can do that will work is omitIPC and require shells to export a protocol17:08
=== dandrader|lunch is now known as dandrader
racarrsoI dont think that is what we are aiming for17:08
anpok hm try | sort | uniq17:08
racarraha17:09
anpokracarr: i think i misunderstood you, what are we aiming for?17:18
racarranpok: Well, I just mean, I don't think "the simplest thing that Mir can do that will work"17:19
racarris always the right thing for the combined architecture of Unity8 and Mir17:20
anpokunderstood ..17:22
alan_gracarr: I think we may have different values for "work". But do you have any objection to this approach?17:23
racarralan_g: I think it shoves work to differing shells (and now papi/differing client implementations)17:39
racarrthat could easilybe solved at the mir level with a protocol description language and a code generator17:39
alan_gWhy should Mir be responsible for dictating a protocol description language?17:42
* alan_g thinks a PDL is a good idea, but where does it belong in the stack?17:44
racarralan_g: Because it's the 'lowest-common-denominator' for compatibility?17:47
racarrI'm not sure ;)17:47
anpokalan_g: in the shell creation framework/library?17:49
anpokbrb17:49
alan_ganpok: racarr I'm concerned that we get into a tarpit of alternate ways to provide a PDL and don't deliver what unity8 (or the proxy - greyback) needs right now,17:53
racarralan_g: That's fair.17:57
=== alan_g is now known as alan_g|EOD
racarrI will try and finish my email on the subject today17:58
racarri'd like to talk to Mr.RAOF17:58
alan_g|EODracarr: ack17:58
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== jono is now known as Guest63303
robert_ancellracarr, so I hear I can now run u8 on desktop... :)20:45
kgunnrobert_ancell: the rumors are true20:56
robert_ancellkgunn, any idea when packages will hit the archive?20:56
kgunnhmm.... robert_ancell nothing changed in mir, i think it was just unity-mir and platform-api...and all that's needed is in trunk20:57
kgunnso a couple of days i'd guess20:58
kgunni'll fwd you the mail20:58
kgunnif you need20:58
robert_ancellI got the email20:58
robert_ancellIt seems qtubuntu it probably the big one20:58
robert_ancellso it's in flight then?20:58
robert_ancellalso, racarr said "It will be necessary to run as root for now" - is there a plan to make this work non-root, or should I continue to add support to lightdm so we can run a u-s-c+u8 combo on desktop?21:00
kgunnrobert_ancell: waiting on RAOF to land some mesa patches to enable nested mir...then usc can be used21:02
kgunnand spoke to mterry & greyback earlier this morning...there shoulnd't be need for anything else afaict21:02
robert_ancellOh, I see. The shell needs to be run as root until we can get it to run in u-s-c then?21:03
kgunnexactly21:03
kgunnand robert_ancell yes you are correct the qt5.2 is kind of a big thing...21:03
kgunnnot completely sure why 5.2 is a pre-req tho21:04
kgunnfrom this morning i think 5.2 will be in archive mid Jan (?)21:04
kgunnplatform guys will know best21:04
racarrrobert_ancell: The basic deal with 5.2 as a prereq is qtubuntu only selects an opengl elsl context and selecting a desktop context produces strange issues21:11
racarrbut qt on the desktop is compiled with desktop gl21:11
robert_ancellaha21:11
racarrin 5.1, it emits shaders that dont work with GLES21:11
racarrbut in 5.2 it emits shaders that happen to work21:11
racarrand things are worked around until qtubuntu is fixed21:11
racarr:)21:11
robert_ancellracarr, do the desktop drivers have problems with gles/egl?21:11
racarrno should be fine21:12
racarrsomething is rather weird in Qt with Desktop GL, v.GLES21:12
racarrI can't claim to understand it21:12
robert_ancellkgunn, is RAOF on leave?23:04
kgunnrobert_ancell: nope23:04
kgunnrobert_ancell: he was on a little early...and looked like he was on late yesterday....23:04
kgunnhe might be jet lagged :)23:04
robert_ancellyeah, I thought so23:05
kgunnrobert_ancell: feel free to poke him continuously on mesa patches :)23:05

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