/srv/irclogs.ubuntu.com/2014/08/11/#ubuntu-mir.txt

=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== shuduo is now known as shuduo_afk
dufluRAOF: Shouldn't "nm" show us exporting versioned symbols?06:28
RAOFduflu: Not in the default output, apparently.06:29
RAOFSee objdump -T06:29
RAOFduflu: Re bug #1355005 - presumably you tested the --vt parameter on desktop?07:44
ubot5bug 1355005 in Mir 0.6 "[regression] unity-system-compositor can't start (Unknown command line options: --vt 1)" [Critical,Incomplete] https://launchpad.net/bugs/135500507:44
dufluRAOF: Yeah checking android right now07:44
RAOFduflu: Because that's a mesa-specific option.07:44
RAOFPassing --vt 1 will fail on android, but we don't pass --vt 1 on android as far as I can tell, so…07:45
dufluRAOF: Yep. Handballed to lightdm (if at all)07:47
RAOFI don't know how Cemil was getting his device to fail :)07:48
* duflu checks the lightdm source07:49
RAOFWhat?!07:51
RAOFAs soon as I get fed up with parallel valgrind runs reliably hitting what would seem to be a race in InProcessServer setup, it's suddenly all “what do you mean? It works just fine”07:52
dufluRAOF: Temp files!07:55
RAOFduflu: Generated by valgrind?07:56
dufluRAOF: Our tests do07:56
RAOFOh, no. All of those are fine.07:56
RAOFAs demonstrated by “make test ARGS=-j200” being reliable.07:56
RAOFWell, except for very rare failures in InProcessServer, which *doesn't* make a temp file.07:56
dufluRAOF: Wow, that's the run on a quantum computer option?07:57
dufluCos of course it finds a solution then07:57
RAOFThat's the “almost all of the memory is shared, and a major component of the test time is where we (necessarily) sleep for 3 seconds or whatever>07:57
RAOFThere's no real reason not to run *all* the tests at once :)07:58
RAOFI just don't know the CMakery to make it happen by default07:58
RAOFOh!08:00
dufluRAOF: More curious is how Cemil got it working at all. If you have the latest tip of either Mir branch then USC won't build at all (bug 1355021)08:01
ubot5bug 1355021 in Mir "[regression] unity-system-compositor FTBFS against Mir 0.6/0.7: undefined reference to `...@MIR_CLIENT_8'" [Critical,In progress] https://launchpad.net/bugs/135502108:01
dufluI guess it just wasn't the latest code08:02
anpokRAOF: it fails for me too image 183..08:11
anpok(vt param issue)08:11
RAOFanpok: What's adding the vt parameter?08:11
anpokit is not part of usc-wrapper08:15
anpokoh also the logs say that lightdm does it08:16
RAOFYeah, /var/log/lightdm/lightdm.log is your winner.08:18
RAOFBut why is LightDM setting the --vt parameter for you but not for me?08:18
RAOFWhat device are you running on?08:18
* RAOF suspects lightdm's vt_can_multiseat() check is faulty.08:22
anpokn408:22
anpokhm vt is only omiited if it stays unconfigured and negative08:24
RAOFanpok: Does your n4 have a /dev/tty0 and /sys/class/tty/tty0/active?08:24
RAOFBecause that's what LightDM uses to determine whether or not to set the VT.08:24
anpokyes08:25
anpokboth08:25
RAOFOk, so that's why.08:25
RAOFThe N4's kernel would appear to have CONFIG_VT set for some reason.08:26
anpokseat_unity_start?08:28
RAOFSo: options are - add a VT option to the android backend, as it would clearly work (for some devices), change the LightDM check to not detect VT on android, or revert the change that makes unrecognised options fatal.08:28
RAOFanpok: Indeed. Calls vt_can_multi_seat()08:29
anpokbut if it gets no vt it fails..08:29
anpokis there a fallback somwhere else that would then start usc?08:29
RAOFBut it *does* get a VT08:30
anpoksure08:30
RAOFOh, it only fails if it doesn't get a VT *and* vt_can_multi_seat returns true. Otherwise it sets 0.08:31
anpokgiven a device without a config_vt kernel...08:31
RAOFWhich is “oh, I don't do VTs”08:31
anpokah ok08:31
RAOFSo, if you test on the N10 you'll never hit this, because it's apparently built without CONFIG_VT08:32
anpokand 0 means ommit08:32
RAOFCorrect08:32
alan_gRAOF: we can add a handler for --vt to USC08:33
alan_gIt's a few LOC as a workaround08:33
alan_gIf Mir handles it then USC never hears about it, otherwise it can ignore it08:34
RAOFalan_g: That's a fine workaround, but we should also get lightdm to stop passing it.08:35
alan_gYes.08:35
RAOFBecause lightdm might behave incorrectly. If, say, it expects us to be on a particular VT and we totally ignore that :)08:35
anpokhm .. configuring lightm with minimum-vt=0 is not accepted by lightdm it expects >008:35
anpokwould be the wrong setting anyhow08:36
alan_gSo, shall I put a workaround into USC/devel-mir-next? (With dirty great FIXME comments about lightdm)08:38
RAOFalan_g: Sounds like the quickest unblock.08:39
anpokhm lightdm is supposed to provide the platform parameters08:41
anpokso it should figure out which platform is going to be used08:41
anpokand only then consider vt options08:41
anpokor are we going to have start up time configured platform options?08:42
RAOFWe should probably invest in an actual configuration file at some point.08:42
anpoki mean select the platform on startup inside mir..08:43
RAOFOh, that.08:43
RAOFSee https://code.launchpad.net/~raof/mir/privatise-all-the-things/+merge/22879608:43
RAOFWhere we select the platform on startup inside mir :)08:43
anpokhm so in theory lightdm then needs to provide relevant options for all possible loadable platforms08:45
RAOFNot really; the only reason why lightdm provides the VT is that it needs to do VT handling.08:45
RAOFWe *should* have a config file so that nonvolatile options can be specified there, though.08:46
alan_gRAOF: Done09:27
alan_gduflu: have you a fix for lp:1355021 or shall I MP mine?09:28
duflualan_g: Yes, it's been up for review some time now :)09:28
* alan_g hits refresh09:29
alan_gduflu: I think "Requires.private: mirclient" is all we need, but if you know better?09:32
duflualan_g: Tried that first. Apparently it doesn't work like we thought it does09:33
dufluAnd the pkg-config docs are vague09:33
alan_gHmm, I built USC that way - but I'll take your word for it09:33
duflualan_g: Maybe I made a mistake. But that was my first idea.. private09:34
alan_gI'll retest09:35
duflualan_g: I mean doesn't work in mirserver.pc.in ... and that's where you want the fix obviously. Users of mirserver should never have any knowledge that libmirserver links to libmirclient privately09:40
alan_gduflu: Yes. That's what I mean09:42
duflualan_g: I also noticed we're missing Requires gles and egl too. But propose them separately09:44
alan_gduflu: that makes sense. "Requires.private: mirclient"  in mirserver.pc.in fixes builds of USC, qtmir, unity-mir and platform-api (the devel-mir-next branches) I think it is the way to go.09:52
duflualan_g: I can only assume I made a mistake. It failed for me... didn't add -lmirclient to the link line of usc09:53
=== chihchun is now known as chihchun_afk
alan_gduflu: care to re-check?09:54
duflualan_g: Actually I think rpath-link is nicer09:54
duflualan_g: Not really. I'm trying to finish other things today. Land whatever works09:55
alan_gduflu: it was RAOF that suggested removing rpath09:58
duflualan_g: Yeah it's a big hammer I guess. That's one disadvantage09:58
=== chihchun_afk is now known as chihchun
=== tvoss is now known as tvoss|lunch
=== MacSlow is now known as MacSlow|lunch
=== tvoss|lunch is now known as tvoss
groot_Hello guys.13:18
groot_kdub: good news :). At last I booted UT with the latest ubuntu image (8 august). But logcat shows the same errors as it did in previous image.13:19
alan_gcamako: There's a workarond for the --vt problem on USC/devel-mir-next already. And for the FTBFS at https://code.launchpad.net/~alan-griffiths/mir/fix-1355021/+merge/23027213:20
groot_Screen flickers a lot whenever I touch, probably due to EGL_BAD_MATCH error. I've the logs, can you take a look ?13:20
camakoalan_g, yep incorporating them into the branches right now.13:21
groot_here's the logcat http://paste.ubuntu.com/8017115/. If you need any other logs, let me know.13:24
kdubgroot_, good progress, flickers how?13:26
groot_kdub, all icons bounces up and down. Sometimes screen becomes white. When I press any app, it doesn't open until I touch the screen again.13:30
kdubhmm, might not have a quick fix :/13:30
groot_there's a error in logcat "call to OpenGL ES API with no current context". Maybe it's because of this or EGL_BAD_MATCH.13:32
groot_kdub: I'm patient :). Any log you need to identify the problem ?13:32
=== chihchun is now known as chihchun_afk
=== MacSlow|lunch is now known as MacSlow
=== alan_g is now known as alan_g|tea
=== alan_g|tea is now known as alan_g
racarrGuten morgen!14:53
=== alan_g is now known as alan_g|afk
=== dandrader is now known as dandrader|lunch
=== alan_g|afk is now known as alan_g
alan_g19232515:27
racarrqengho: Hi...can't find this chromium-mir-apply-patch15:32
racarryou mentioned15:32
racarrdid you take it down? Or maybe I am forming the URL wrong...15:32
qenghoOh. Hrm.15:32
racarror is it not in your public_html? I dont seem to be able15:33
qenghoOh, not a url. I can move it into the web space.15:33
racarrto ssh to chinstrap anymore15:33
racarrah15:33
qenghoracarr: Okay, now in web space.15:35
racarrqengho: Ok well I will giveit a try and see what happens :)15:37
qenghoracarr: I don't mean to dump a big problem on you. I'm debugging too. I think it's initializing too many times, and I'm testing that guess now.15:37
racarrWell I will at least get a build going so I have a working tree15:41
racarrqengho: + grep 'X-rev: untethered, sync dev patch back to release. Wanted 22454{revision:-a revision but none was specified.}' debian/patches/mir-support15:53
racarr?15:54
racarr./apply-patch-distro.sh: line 52: f: unbound variable15:54
=== dandrader|lunch is now known as dandrader
qenghoracarr: Hrm. I'm missing a blackslash.  Download again?15:56
qenghoJust fixed in place.15:56
=== alan_g is now known as alan_g|afk
racarrqengho: :) s'goin now thanks16:05
qenghoracarr: shell script within a shell script within a shell script.  Fancy, but error-prone.16:05
dandraderalf_, is the take_snapshot() method guaranteed to call the callback from a thread different from the caller?16:23
dandraderalf_, in other words: is it guaranteed to be asynchronous or could it be synchronous?16:24
qenghoHi, what can my client use to determine whether it's in a Mir session?  Env var "MIR_SERVER_NAME"?16:27
=== alan_g|afk is now known as alan_g
alan_gqengho: I'm not sure I understand the question. A Mir session doesn't exist until a client connects to a Mir server - at which point it ought to know about having connected.16:35
racarrqengho: I guess you mean like, how could you autodetect mir v. x1116:45
racarrMIR_SOCKET will not necessarily be set so I don't really know...16:47
racarrYou can see if mir_connect fails :)16:47
racarrcertainly if you can connect to X11 and Mir you probably want to connect to Mir16:47
alan_gqengho: By default a client connects to $XDG_RUNTIME_DIR/mir_socket - so that file existing would be an indication of a mir server. But the server could have supplied $MIR_SOCKET to override this location. (It is also possible for servers to do something else that the Mir code doesn't support directly but the client should know about that.)16:58
qenghoThanks.16:58
alan_gAs racarr says, if mir_connect fails then there's probably no Mir server16:58
=== alan_g is now known as alan_g|EOD
=== chihchun_afk is now known as chihchun
racarrCan we rm -rf platform-api-mirserver? did someone already17:11
racarrlooks like its still there17:12
racarrqengho: It is telling me patches/mir-support already exists and bailing out of the script17:13
qenghoracarr: Ah, right. You can "quilt delete mir-support" or edit debian/patches/series to disable the one I added.17:15
greybackracarr: +1 on  rm -rf platform-api-mirserver17:18
racarrqengho: :) thanks. I figured. I just wanted to make sure I was "following the instructions"17:21
racarrfor reproducability17:21
racarrgreyback: Ok I will submit an MP soon...I dont know if now is the time to do it but17:21
racarrI mean otherwise we will just forget lol17:21
racarrI would at least :)17:21
greybackracarr: it's far from important right now17:22
greybackbut nobody will forget it - any time you've to do anything with papi, you can't avoid seeing it :)17:22
racarrmm17:23
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
mhall119is mircast working to record videos from a device yet?22:30
ogra_that always worked ... but youo wont have enough space on the device for the raw data22:38
ogra_mhall119, http://paste.ubuntu.com/8021284/ ... still in very early stages (and i havent touched it in  months) ... my plan was to actually get from there to having netcat stream it on a port into avconv on a PC22:43
RAOFogra_: Did you look at hooking the stream up to the hardware video encoding bits?23:10
RAOFogra_: I think that our screencasting interface should be expressive enough for you to do zero-copy screencast → hardware encoder, which would give you much more space on the device :)23:10
ogra_oh, thats actually a nice idea, no, the above is just a bit of sunday afternoon scriptery from when mirscreencase was new ... i'll pick up that work after RTM again23:11
ogra_*cast23:12
camakoMir 0.6.0 release is ready for testing.... Here are the instructions to use Mir 0.6.0 : http://pastebin.ubuntu.com/7993688/23:26
camakoAlbertA, racarr, kdub ^^ ... You guys might be EoD by now, but in case you're not...23:28
camakoMir test plan --- > https://wiki.ubuntu.com/Process/Merges/TestPlans/Mir23:29

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