/srv/irclogs.ubuntu.com/2017/02/27/#ubuntu-mir.txt

alan_gdednick: this might well affect you - https://code.launchpad.net/~alan-griffiths/miral/fix-initialization-order/+merge/318353 (I can't see how this ever worked)12:44
=== hikiko is now known as hikiko|ln
=== hikiko|ln is now known as hikiko
tjaaltonbregma: hi, I still need this patch to build the xserver, maybe you have glamor disabled on your build? http://pastebin.com/YpDyBkqP16:45
bregmatjaalton, I just slap my refreshed patch into your git packaging branch and submit to a zesty pbuilder to build, but I don't believe I have -proposed in my pbuilder environment, maybe that's the difference?16:48
tjaaltonbregma: no that's not required16:49
tjaaltonah16:50
tjaaltonwell16:50
tjaaltonif you use the packaging branch then you get this patch :)16:50
tjaaltonbut it doesn't build without16:50
tjaalton"xmir-fixes.diff"16:51
bregmatjaalton, I can import that patch upstream if you prefer16:58
tjaaltonbregma: yep, please17:03
tjaaltonhad it separate since 1.18 :)17:04
bregmatjaalton, OK, give me a little while to verify17:09
tjaaltonyou can check with the packaging branch, it's uptodate now17:11
mterryHello!  Can I get some help with some odd unity8/mir behavior I'm seeing that's interrupting some snappy work?  Let me lay out scenario...17:45
mterryI'm trying to make the unity8 snap use the mir-libs snap17:45
mterryAnd so I'm pointing it at the server-platform bits there17:45
mterryBut Mir is trying to load library from system...17:46
mterryHere's a pastebin where I've printed out each dlopen as we intercept it in some ld-preload trickery we have17:46
mterryhttp://pastebin.ubuntu.com/24079316/17:46
mterryAlbertA: ^ ?17:46
mterryYou can see it finds the server platform in mir-libs17:46
mterryBut later on it tries to load from system, gets shunted into snap by our ld-preload hacks, and then isn't found17:47
mterryIt's loading the client platform just fine thoug17:48
alan_gmterry: that sounds like something that Saviq was asking about. So: you're trying to connect to a host server (USC) that's using drivers from system?17:50
mterryalan_g: yes -- and that is a ticking time bomb, but I would expect it to work in this case, where the versions match17:50
Saviqbug #166512317:50
ubot5bug 1665123 in Unity8 Session Snap "Mir graphics platform determined based on host server outside of snap" [High,Triaged] https://launchpad.net/bugs/166512317:50
alan_gmterry: agreed, this isn't a supported scenario.17:51
Saviqmterry, is /snap/unity8-session/x7/usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-mesa-kms.so.12 there? should it be there?17:52
mterrySaviq: it's not there in this testing snap I'm making where I'm trying to use mir-libs instead17:52
mterrySaviq: I had thought that bug was just about version mismatch, but now I see it dives deeper17:52
mterryalan_g: ... well Mir team won't support a snap that doesn't use mir-libs.  But now the Mir team won't support a unity8 that does?17:53
alan_gmterry: there are *a lot* of unanswered questions about how we can support Mir on snaps.17:54
Saviqmterry, MIR_SERVER_PLATFORM_PATH doesn't help?17:55
alan_gSo: Mir team can't support snaps (yet)17:55
alan_gSaviq: no17:55
mterryalan_g: understood...  but but we've had several meetings where the Mir team said mir-libs was the answer17:55
mterrySounds like the guidance is that the Personal team is blocked on Mir team17:55
alan_gmterry: Mir team says "both server and client should use mir-libs" - but that's not what USC is doing.17:55
mterryI mean, not *blocked* blocked.  We can run something on the screen, I'll just stop using mir-libs17:56
mterryalan_g: there was talk of Mir team providing an implicit :mir-libs interface on Ubuntu 16.04 that pointed at USC libraries to solve this17:57
Saviqyeah, we need more meets like that, it doesn't seem to be the answer AFAICT... there's just too much ABI dependencies there still17:57
mterryalan_g: that way same guidance (use mir-libs interface) would work in all places17:57
mterryBut I had hoped in mean time, we could use it as long as versions matched17:57
mterrySounds like I'll avoid it for now until it works better17:57
alan_gmterry: well... I don't think nesting will work that way either.17:58
alan_gWe have plans that resolve a lot of these issues. But not in the 0.26 series.17:58
* alan_g knows that doesn't help you now17:59
mterryYeah, this is disappointing after fighting with the Mir team to avoid the long-term problems of mir-libs, but settling on it because it was the only solution that seemed to work in short term.  But now it doesn't even help with the short term problems.  So...18:00
alan_gmterry: the way we get nested working is https://trello.com/c/TzcWYzxM/498-remove-guest-platforms18:01
mterryI don't have access to that, but no biggie, understood there's work in progress18:01
mterryHopefully mir-libs will eventually solve our middle-term problems18:02
alan_gIMO it is the least painful option, but far from ideal.18:03
alan_gAnd not pain free18:03
AlbertAmterry: so this is unity8 snap on top of classic?18:09
AlbertAwith usc started by classic?18:09
mterryAlbertA: unity8 snap on top of 16.04 yes, with deb-based USC18:10
mterryi.e. the only currently supported way to run unity8 snap18:10
mterryHmm, I can use a symlink trick to solve this in short term...18:12
AlbertAmterry: so, isn't this the issue in your particular example?18:13
AlbertA"MIKE dlopen /usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-mesa-kms.so.12 -> /snap/unity8-session/x7/usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-mesa-kms.so.12"18:13
AlbertAmaybe the shim preload should redirect mir libs as well...18:14
mterryAlbertA: yeah I'll just set up a symlink in our snap to point at mir-libs version -- that can get us working in short temr18:14
AlbertAright18:14
mterryAlbertA: symlink will do same.  I'd prefer to avoid adding more code to our preload18:14
mterryTrying to drop that hack  :)18:14
AlbertAmterry: yep18:14
bregmatjaalton, merged in that patch, build-tested and verified on zesty18:39
tjaaltonbregma: great, thanks18:40

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