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

=== chihchun_afk is now known as chihchun
=== duflu_ is now known as duflu
RAOFMan, don't double-tap <tab> in gdb...06:37
* RAOF 's console scrolls through the 2MB or so of symbol names06:38
tvoss_RAOF, verbosity for the win :)06:39
RAOFAhem.06:40
RAOFCreate the pipe *before* you fork()06:40
RAOFAnd we win!06:40
RAOFAnd with that, EOD!06:43
RAOFTurns out that std::future is a quick way to large symbols.06:45
dufluRAOF: Not enough bytes in your life?06:47
dufluLater06:47
=== ricmm_ is now known as ricmm
=== chihchun is now known as chihchun_afk
anpokis anybody of you succesfully using sbuild to build mir?12:07
anpokfor armhf12:08
anpoki just got weird cmake problems - i get cmake messages like successfully found pkg-config \n egl found and then on the next line pkg-config not found (found version 0.26) and glesv2 not found...12:09
anpokhttp://paste.ubuntu.com/6802564/12:13
=== alan_g is now known as alan_g|lunch
kgunnanpok: are you following this https://lists.launchpad.net/ubuntu-phone/msg05556.html12:44
anpokyes, but I also followed the configuration steps from here https://wiki.ubuntu.com/SimpleSbuild12:46
=== dandrader is now known as dandrader|afk
=== alan_g|lunch is now known as alan_g
=== dandrader|afk is now known as dandrader
kgunnanpok: i tried week before last and i was actually able to build...but then failed the build's unit test run14:52
kgunnhmmm, kinda looks like the chroot might not have set up correctly?14:53
kgunnonly a guess14:53
alan_gHmm, I just tried cross-building and got "/usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld: cannot find /lib/arm-linux-gnueabihf/libpthread.so.0 inside" whatever that means15:00
alan_g... but zapping the "partial-armhf-chroot" fixes it15:09
dandraderis that a known problem? https://jenkins.qa.ubuntu.com/job/mir-clang-trusty-amd64-build/713/console15:09
dandrader"tests/acceptance-tests/test_protobuf.cpp:104:35: error: inheriting constructors are not supported"15:10
alan_gdandrader: I thought that was supported now15:11
* alan_g wonders which clang version this is15:11
anpokclang-3.215:14
alan_gdandrader: not a known problem, but that C++ support is fairly recent in clang. 3.4 definitely supports it.15:15
dandraderalan_g, that failed in https://code.launchpad.net/~dandrader/mir/SwitchingBundlePrint/+merge/202447. so the code is already there. maybe CI changed its clang version?15:16
alan_gdandrader: maybe. Or maybe the node is out of date. I guess #ubuntu-ci-eng can tell us15:18
dandraderalan_g, should I ask them or will you do it?15:18
alan_gI can15:18
dandraderalan_g, ok, thanks!15:18
alan_gmterry: do you know which branches were involved in robert_ansell's failed attempt to get USC working without a filesystem endpoint? I'm suspecting the problem was lp:1271655 but can't find his code.15:26
mterryalan_g, hmm, let me dig.  I remember they all had similar names15:28
alan_gmterry: thanks15:28
=== alan_g is now known as alan_g|tea
mterry<mterry> alan_g, hmm, let me dig.  I remember they all had similar names15:34
mterry<mterry> alan_g, at least lp:~robert-ancell/lightdm/private-mir-connection and lp:~robert-ancell/unity-system-compositor/private-mir-connection15:34
mterry<mterry> alan_g, I think only those two...15:34
mterry<mterry> alan_g, at the time I also had to grab mir/devel, but that's in trusty now15:34
mterryalan_g|tea, ^ sorry, had irc issue15:38
=== alan_g|tea is now known as alan_g
alan_gmterry: thanks15:42
=== dandrader is now known as dandrader|lunch
anpokkgunn: yes .. just redoing the chroot resolved it..15:54
=== jono is now known as Guest95543
alf_alan_g: I pushed the branch with the problematic tests at lp:~afrantzis/mir/mir-output-capture-basic-client-api16:28
alan_galf_: I'll take a look - which test is the problem?16:29
alf_alan_g: bin/mir_acceptance_tests --gtest_filter=MirOutputCaptureTest.* hangs in MirOutputCaptureTest.gets_valid_egl_native_window16:30
alf_alan_g: but MirOutputCaptureTest.gets_valid_egl_native_window by itself runs16:30
alan_galf_: ack. Building16:31
alf_alan_g: the last two tests MirOutputCaptureTest.create_and_release_contact_server and MirOutputCaptureTest.gets_valid_egl_native_window are similar16:31
alf_alan_g: you can get the same effect if you run either twice (with --gtest_repeat)16:31
alf_alan_g: Removing "delete capture;" from src/client/mir_output_capture_api.cpp alleviates the problem (but causes a leak, of course)16:32
alan_galf_: I can reproduce the hang (in first incantation above)16:34
alf_alan_g: The apparrent cause of the hang is the display server not stopping when told to do so, i.e., it seems that the main loop just ignores(?) our stop() call. Pressing ctrl-c unblocks it somehow16:36
alf_s/apparrent/apparent/16:36
alan_galf_: OK - just looking at where the threads are at16:37
alan_gHmm. exiting the debugger seems to unblock too16:41
alf_alan_g: it's really weird... it's even more weird that removing the "delete capture" as mentioned above "fixes" the problem... I can't see the connection (unless it is a timing issue?)16:43
alan_galf_: weird just means there's a fact we're missing16:44
kgunnalan_g: wanna have a chat now about the potential release process changes16:50
alan_gdandrader_: fginther & cjwatson figured out what happened.17:01
=== dandrader_ is now known as dandrader
dandraderalan_g, great!17:15
kdubalan_g, with ~vanvugt/mir/fix-1271853, would you be okay with me top-approving?17:17
alan_gkdub: yes, you have the right.17:18
kdubalan_g, :D was just checking if that needs-info was a blocker17:19
alan_gkdub: it would be nice to know17:19
=== jono is now known as Guest52764
xnoxSaviq: i've mixed a bug in cmake, and mir & unity8 cross-building works once again out of the box.17:37
xnoxs/mixed/fixed/17:37
ogra_dont mix the fixes :)17:38
mterrykdub, I'm running mir/devel on my mako with USC.  USC is crashing with "error binding buffer to texture".  Any clues?17:47
kdubmterry, new to me17:50
mterrykdub, it happens because eglCreateImageKHR returns EGL_NO_IMAGE_KHR in mga::Buffer::bind_to_texture()17:54
mterrykdub, this doesn't happen with trusty mir17:54
kdubmterry, let me try something17:56
=== alan_g is now known as alan_g|EOD
anpokxnox: i thought it work again but now I got that message: make[1]: Leaving directory `/«PKGBUILDDIR»/obj-arm-linux-gnueabihf'18:08
anpok   dh_install -O--parallel -O--fail-missing18:08
anpokdh_install: usr/lib/arm-linux-gnueabihf/libmirserver.so.13 exists in debian/tmp but is not installed to anywhere18:09
anpokdh_install: missing files, aborting18:09
anpokmake: *** [binary] Error 25518:09
anpokdpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 218:09
xnoxanpok: with mir or unity8?18:09
xnoxanpok: i've compiled mir_0.1.3+14.04.20140108-0ubuntu1_armhf.build as in the archive18:10
xnoxanpok: http://paste.ubuntu.com/6804190/18:10
xnoxanpok: sounds like a packaging change is needed of whichever revision shows that bug above.18:10
anpokah18:11
anpokbuilding a mir branch18:11
anpoki think i have mixture of abi verison 13 and 1418:12
kdubmterry, i see...18:15
kdub<CreateImage:1363>: Unsupported buffer format: 3.18:15
kdubthis is probably a regression of some sort18:15
kdubi havent been tinkering in this area lately, not sure what it could be at the moment18:15
mterryYar.  Is this from that alpha patch?18:15
kdubit might be, lets try backing it out and seeing if that helps18:16
kdubmterry, i can try in about...18:18
kdub30 min18:18
mterrykdub, I'll give it a go18:18
kdubmterry, at any rate, i think that robotfuel has some scripts for firing up a server and checking a client against it18:19
kdubwe should improve those to fire a server, nested server, and client18:19
mterryrobotfuel, ^ pretty please  :)18:19
* robotfuel looks at backlog18:20
mterryrobotfuel, especially since we're about to enable nested mode18:20
mterryby default18:20
kdubbecause I don't think we have a full test for nested18:20
kdubin the CI process18:20
robotfuelwhat are you trying to run?18:20
robotfuelmterry: what are you trying to run?18:20
kdub./mir_demo_server -f /tmp/socket1 & ./mir_demo_server --host-socket /tmp/socket1 -f /tmp/socket2 & ./mir_demo_client_egltriangle -m /tmp/socket218:21
mterryrobotfuel, so the problem I hit is using nested mode.  I'm trying to run unity-system-compositor (USC) and it crashes with "error binding buffer to texture".  But kdub was just saying that we don't have good test coverage for nested mode in general (which allows such regressions to slip in)18:21
mterryrobotfuel, so apparently you have a nice script for testing that may benefit from adding a nested server18:21
kdubrobotfuel, i'm just suggesting once we get the problem we're seeing fixed, we should improve the CI to protect the nested server from regressions18:22
robotfuelmterry: yes we could easily add a test for that. let me give you a link to the current one.18:22
kdubwhich me or another mir team member could help with :)18:22
kdubrobotfuel, thanks18:22
robotfuelmterry: there is this https://bazaar.launchpad.net/~chris.gagnon/+junk/mir-medium-test-runner-for-jenkins/view/head:/mir-mediumtest-runner.sh and this  https://bazaar.launchpad.net/~chris.gagnon/+junk/mir-demo-runner/view/head:/bin/mir-demo-tester18:28
robotfuelmir-demo-tester is in a all the way finish because I thought shell bindings for subunit were going to land, but they haven't yet. https://code.launchpad.net/~thomir/subunit/trunk-add-cmd-line-script18:40
robotfuels/is in/isn't18:40
mterryrobotfuel, I'm less interested in running the script myself than just making sure a nested server gets added to it to avoid regressions in the future.  Something like kdub's line above:18:49
mterry./mir_demo_server -f /tmp/socket1 & ./mir_demo_server --host-socket /tmp/socket1 -f /tmp/socket2 & ./mir_demo_client_egltriangle -m /tmp/socket218:49
robotfuelmterry: does that automatically stop the server when it's finished?18:50
mterryI doubt it18:51
kdubmterry, filed a bug https://bugs.launchpad.net/mir/+bug/127204118:57
ubot5Ubuntu bug 1272041 in Mir "mir nested server failure: what(): error binding buffer to texture" [Critical,New]18:57
mterrykdub, awesome.  I'm compiling a version of mir just before the alpha bits landed for testing.  But compiling takes a while18:58
kdubmterry, okay :) (also, you know of cross-compile-chroot for mir?)19:00
mterrykdub, I've cross compiled with pbuilder before, but it's not much faster19:00
kdubnot much use for packages, but if you're working in a mir-only world for some problems, its a real time saver19:00
kdubwell, thats an emulated cross compile, the script does a native cross compile19:01
kdubeg, a toolchain that runs on x86 that produces armhf libs19:01
mterryhmm.  I'm so wedded to the packaging workflow, but that sounds tempting19:01
kdubmterry, yeah, i just thought I'd throw it out there19:03
kdubmterry, lp:mir/devel rev 1328 is the culprit19:13
mterrykdub, aha19:14
mterrykdub, yup, that's the alpha patch I was going to test19:15
mterryanpok, ^19:15
mterrybug 127204119:16
ubot5bug 1272041 in Mir "mir nested server failure: what(): error binding buffer to texture" [Critical,New] https://launchpad.net/bugs/127204119:16
anpokre19:29
anpokxnox: yes thanks for parsing the error message19:30
anpokmterry: that happened on n10?19:36
mterryanpok, mako (n4)19:37
* mterry goes to gym for a bit19:47
mterryanpok, any luck?  Any testing I can help with?21:25
rsalvetikdub: so it seems mir is working mostly fine with flo (nexus 7 - 2013), I have just one critical issue atm21:42
rsalvetikdub: after mir/powerd turns the screen off, nothing can turn the screen on again21:42
rsalvetiso the rendering keeps working, but screen is constantly off21:43
rsalvetihad to disable powerd to have unity8/mir working with it21:43
rsalvetiand this also happens when running mir_demo_server_basic21:43
rsalvetiit works fine first time you run it, but it seems it turns the screen off automatically when you stop it21:44
rsalvetiso next time you run the screen will be completely off, as it fails to turn on the screen again21:44
rsalvetikdub: I'm just uploading the image I got here, will have the link ready in a few21:45
kdubrsalveti, cool, its encouraging mir works21:45
kdubrsalveti, taking a late lunch, be back shortly21:50
rsalvetikdub: ok21:52
anpokmterry: kdub already has a solution which i can only verify to work on none n4 devices - lp:~andreas-pokorny/mir/fix-127204122:08
mterryanpok, ooh, will test22:10
rsalvetikdub: flash http://people.canonical.com/~rsalveti/aosp/flo/, then http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/20140123.1/trusty-preinstalled-touch-armhf.zip via recovery22:16
rsalvetikdub: the android container takes ~1 min to load, still investigating why, and current mir will be broken because of hwcomposer 1.2, so if you want a working unity8 just use my ppa: https://launchpad.net/~rsalveti/+archive/ppa22:17
rsalvetiand make sure to disable powerd as well22:17
kdub rsalveti thanks23:04

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