/srv/irclogs.ubuntu.com/2016/05/26/#ubuntu-unity.txt

RAOFrobert_ancell: Yo!00:02
robert_ancellRAOF, howdy00:02
robert_ancellRAOF, regarding bug 1583624, do you know why a Mir session would be attempting to work out what VT it is on?00:03
ubot5bug 1583624 in Light Display Manager "Mir cannot open a tty when started by lightdm" [Undecided,Incomplete] https://launchpad.net/bugs/158362400:03
RAOFHm. Because for some reason it's trying to run on bare KMS.00:05
RAOFIs unity8 being passed the --host-socket option?00:05
robert_ancellRAOF, not by LightDM00:06
RAOFWell, something should be.00:06
robert_ancellThat was my guess, some change has made it think it's no longer running under u-s-c00:06
RAOFSomething needs to tell the greeter's Mir to connect to usc rather than try to drive the hardware.00:07
robert_ancellLightDM sets MIR_SOCKET - is that no longer sufficient?00:07
RAOFI don't think that was ever sufficient?00:08
robert_ancellThat's how Unity 8 sessions work...00:08
robert_ancellLightDM picks a socket name, starts U-S-C with that then runs the sessions with MIR_SOCKET set (the greeter is just a special case of a session).00:09
RAOFrobert_ancell: Hah. https://bugs.launchpad.net/bugs/129034500:11
ubot5Launchpad bug 1290345 in Mir "The server-side use of $MIR_SOCKET is confusing" [Medium,Fix released]00:11
RAOFSo, Mir 0.21 changed the behaviour to require MIR_SERVER_HOST_SOCKET (or, equivalently, passing --host-socket=).00:12
robert_ancellThat looks like it00:13
robert_ancellSo, I'm still confused. A Mir client reads MIR_SERVER_HOST_SOCKET for the parent Mir server to connect to?00:14
robert_ancellAnd MIR_SOCKET is the "socket you should open for your children to connect to"00:15
RAOFNo; a Mir client (which uses mir_connect_sync(nullptr)) reads MIR_SOCKET.00:15
robert_ancellBut a shell (which is a Mir client in this case) reads MIR_SERVER_HOST_SOCKET?00:16
RAOFFor a Mir *server* it checks if MIR_SERVER_HOST_SOCKET is set (or, equivalently, --host-socket), and if so uses that host to nest under.00:16
robert_ancellSo it sounds like I just need to replace MIR_SOCKET with MIR_SERVER_HOST_SOCKET and it should still work.00:16
robert_ancellI will however need to keep setting MIR_SOCKET for backwards compatibility00:17
RAOFYes.00:17
robert_ancellYay for API stability ;)00:17
RAOFOf course, there's a good chance this will change again in the not-too-distant future :)00:19
robert_ancellahahahahah. *sigh*00:19
robert_ancellRAOF, that change in 0.21 was just to remove the backwards compatibility right?00:19
RAOFYes.00:19
robert_ancellDo you happen to know when the behaviour changed? I might just not bother keeping LightDM backwards compatible because it's too hard with Mir and practically it probably wont matter.00:20
RAOFHm, actually, I think that MIR_SERVER_HOST_SOCKET has *always* been the correct thing to do.00:20
RAOFAnd we just automatically set MIR_SERVER_HOST_SOCKET if we found MIR_SOCKET was set.00:20
RAOFSo, just set MIR_SERVER_HOST_SOCKET, and I'll tell you if the nested-platform-becomes-an-actual-platform rework changes things :)00:21
tsdgeosgreyback: it finished compiling :D08:36
greybacktsdgeos: yay!08:44
tsdgeosltinkl: are you going to do https://code.launchpad.net/~aacid/unity8/fix_qinputdeviceinfo_leaks/+merge/295799 too or want lpotter to?08:46
ltinkltsdgeos, yeah, I'd prefer someone else more knowledgeable of the code (lpotter or mzanetti)08:46
tsdgeosoki08:46
tsdgeoslpotter: if you're still around can you have a look at it? ↑08:47
tsdgeosltinkl: how do you feel about https://code.launchpad.net/~aacid/unity8/fix_uninitialized_use/+merge/295805 ?08:50
ltinkltsdgeos, the first 2 are obvious, the 3rd one... need some context, sec :)08:52
mterrytsdgeos, in silo 59, is there anything that would cause the CardTool tests to be slow?14:05
tsdgeosyes14:05
tsdgeosmaybe14:05
tsdgeos:D14:05
tsdgeosi mean there was a branch that made things slower14:05
tsdgeosbut i thought i had fixed cardTool to be fast again14:05
mterrytsdgeos, we failed autopkg tests because qmluitests timed out.  And running them manually, it seems slow14:05
tsdgeosmaybe i only made it on card14:05
* tsdgeos tries to remember the name of the branch14:06
tsdgeosE_TOO_MANY_BRANCHES14:06
tsdgeosyes https://code.launchpad.net/~aacid/unity8/make_dash_test_more_stable/+merge/29412714:07
tsdgeosprobably needs the same fix of tst_card on test_cardtool14:07
tsdgeoslet me have a look14:07
tsdgeosthere's only one such construct in cardTool14:09
tsdgeosmterry: is it noticeably slower than trunk14:09
tsdgeos?14:09
mterrytsdgeos, I will test... but first I wanted to let the current run finish...   it's been a long time.  like 20 min at least14:09
tsdgeoslocally?14:10
mterrytsdgeos, yeah14:10
tsdgeosthat's bad :D14:10
mterrytsdgeos, lp:~ci-train-bot/unity8/unity8-ubuntu-yakkety-landing-059 for testing14:10
mterrytsdgeos, aha, the test finished  :)14:16
tsdgeosyeah it's another of those goddam parentless findChild14:19
tsdgeoslet me go over the test that have those and make sure they didn't get slow too14:20
tsdgeosmterry: ok, pushed to the branch, should be better now14:41
mterrytsdgeos, oh thanks!14:41
* mterry will rebuild14:41

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