/srv/irclogs.ubuntu.com/2015/10/15/#ubuntu-mir.txt

=== ValicekB_ is now known as ValicekB
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
* alan_g reproduces something that looks like lp:1502782 \o/10:57
alan_g...and the stack is complete @!"$£11:00
anpok_without any library unloading?11:01
alan_ganpok_: not sure yet. Only just found a formula for reproducing.11:03
anpok_we do keep the platform alive within server settings11:04
anpok_+library11:04
anpok_and the platform is also stored in display_server..11:05
anpok_(maybe a problem of the driver shutting down..)11:05
alan_gAh, but AndroidHardwareSanity plays "silly bugger" with SetUpTestCase() and a static member variable.11:05
anpok_alan_g: btw, can you reproduce it only on krillin?11:06
alan_ganpok_: only tried on krillin so far11:06
anpok_me couldnt on mx411:06
anpok_ok11:06
alan_gFWIW: $ gdb --args bin/mir_integration_tests --gtest_filter=AndroidHardwareSanity.* --gtest_repeat=211:06
alfrobert_ancell: Hi!11:23
robert_ancellalf, hi!11:23
alfrobert_ancell: I filed a bug (enhancement really) for lightdm https://bugs.launchpad.net/lightdm/+bug/150642611:24
ubot5`Ubuntu bug 1506426 in Light Display Manager "LightDM needs better log file rotation" [Medium,Triaged]11:24
alfrobert_ancell: Looking at some other packages, I guess this should be handled at the packaging level11:24
alfrobert_ancell: (if we use logrotate)11:25
alfrobert_ancell: but I wanted to hear what your thoughts are on it11:25
robert_ancellalf, I don't know the best way to do this but we should probably match other packages. Being done in the packaging sounds good to me.11:25
robert_ancellI don't think LightDM wants to grow a super-sophisticated logging system11:26
robert_ancellWhat does Xorg do?11:26
alfrobert_ancell: I agree. I took a look at upstart, it ships upstart.logrotate file with some rules. I don't know how well logrotate would interact with lightdm moving old log files to *.old.11:29
robert_ancellalf, we can look at disabling that if it's not necessary with logrotate11:29
robert_ancellIt was just a cheap method of keeping the previous log11:29
alan_gkdub: is there something about what AndroidHardwareSanity.display_can_post_overlay uses that is dubious (seen on krillin)?11:31
alan_gWorks: $ gdb --args bin/mir_integration_tests --gtest_repeat=8 --gtest_filter=AndroidHardwareSanity.*:-AndroidHardwareSanity.display_can_post_overlay11:31
alan_gFails: $ gdb --args bin/mir_integration_tests --gtest_repeat=2 --gtest_filter=AndroidHardwareSanity.display_can_post_overlay11:31
alan_gprobably bug 150278211:32
ubot5`bug 1502782 in Mir "CI segfault in mir-mediumtests-runner-mako after AndroidHardwareSanity tests" [Medium,Confirmed] https://launchpad.net/bugs/150278211:32
kdubalan_g, right, it pulls in the drivers, and trying to tear down and start up the drivers in the same process tends to be problematic in the driver code11:33
alfrobert_ancell: do you have time to take a look, or should I?11:35
robert_ancellalf, if you have the time please do11:35
alan_gSo you think this may be unrelated to the bug and just an effect of --gtest_repeat?11:35
alfrobert_ancell: ok, and I should propose all changes (including packagin) against lp:lightdm?11:36
robert_ancellalf, yes please11:36
alfrobert_ancell: ack11:36
kdubalan_g, right, last time I looked, it was the repeating that was the problem11:37
* alan_g wonders if AndroidHardwareSanity is the only integration test case that loads drivers...11:38
alan_gkdub: Curious that it is triggered by that one test (when repeating the rest of the test case seems to work)11:39
kdubIt should be the only integration test that loads the drivers11:39
alan_gConfirmed11:41
anpok_hm interesting .. is also that it only happens with basic .. here.11:42
anpok_nm, client in use does not matter11:42
anpok_it is just more easier to reproduce with it11:46
=== alan_g is now known as alan_g|lunch
zzarrhello! will XMIR be implemented in OTA-7? (if not will it in OTA-8?)12:59
=== alan_g|lunch is now known as alan_g
alan_gzzarr: Xmir won't be usable in OTA-7. I doubt it will be working well for OTA-8, but there is some progress happening.13:04
zzarrokey, alan_g, I wondered because a developer (don't remember a name) showed an image of a Nexus 4 running Firefox and GIMP13:07
* alan_g left the AndroidHardwareSanity.* in a loop script over lunch and came back to a core file.13:07
alan_gzzarr: that's a WIP, not ready for general use. Most of the work there missed OTA-7 and not all of it is finished. There's a couple of weeks to land stuff for OTA-8 and IMO not everything will be ready in that timeframe.13:09
zzarrokey, thanks alan_g, but there's always a OTA-9 after OTA-8 and the hope is still there ;)13:11
alan_gzzarr: yes, it will certainly come but there's a lot of issues to trace through the software stack and only a few hands with time to spend on it. And depending on your intended usage there are other solutions (like gtk-mir).13:14
zzarrI have a ASUS ChromeBook Flip, is it possible to install MIR/Unity8 and XMIR if I install Ubuntu 15:10 and libhybris in a dualboot with the help of a android driver for the RK3288 SoC13:15
zzarrI know there's a gtk Java version, how do I install it on my MX4?13:16
alan_gzzarr: I've no idea about support for Chromebook hardware. Installing stuff on a phone is problematic. Maybe this is some help? http://accu.org/index.php/journals/215813:20
zzarrmany questions... but I really would like a Unity8 environment on the ChromeBook (since it can fold like a tablet)13:20
zzarrokey13:20
zzarrthanks13:21
zzarralan_g, do you know how they will make the convergence work? I mean in a more technical aspect, will the desktop be a lxc inside the Phone system (lika an system app) and run desktop applications within that lxc? (in order to maintain OTA support)13:28
alan_gzzarr: I'm able to answer that.13:30
alan_gzzarr: I'm *not* able to answer that.13:30
zzarrokey, alan_g, thanks in any way :D13:32
alan_gkdub: anything spring to mind? https://bugs.launchpad.net/mir/+bug/1502782/comments/513:33
ubot5`Ubuntu bug 1502782 in Mir "CI segfault in mir-mediumtests-runner-mako after AndroidHardwareSanity tests" [Medium,Confirmed]13:33
kdubalan_g, maybe check dmesg and /system/bin/logcat to see if there are any complaints?13:36
alan_gkdub: http://paste.ubuntu.com/12789072/13:41
kdubthat "failed to close ion client" is some sort of driver problem, probably what's going on13:41
kdub*probably related to the error13:42
alan_gIs the (EGL_NOT_INITIALIZED) likely to be something13:48
alan_gkdub: *something* is racy - I've hacked in a small sleep at the end of the test and it runs nicely.13:50
kdubalan_g, the not initialized message doesnt concern me, although hard to rule it out completely13:51
kdubalan_g, we've had some problems in this area with this device only (quirk in mga::DeviceQuirks)13:53
kdubiirc, repeatedly opening and closing that module had some problems that we couldn't fix from the mir's side... and running it repeatedly within the same process like that will still try to open() and close() the module13:56
alan_gkdub: I'm restarting the process (while loop in the shell)13:57
kdubi guess though that I don't trust the synchronization of this module around open() and close() with the kernel13:58
kdubwe could have an "if" dependent on that quirk that will introduce a sleep there14:00
kduba bit of a workaround, but we don't have the sources for the module to try a root-cause/proper fix14:00
alan_gduflu added a "mako" tag, so I'm not sure it is krillin only14:02
alan_g...although every instance I've seen in CI is krillin. So I think that's wrong14:03
kdublet me see if I can reproduce on mako14:06
kdubeh, there is a problem there too14:07
alan_g:(14:08
alan_g+    test_buffer.reset();14:09
alan_g+    std::this_thread::sleep_for(std::chrono::milliseconds(10));14:09
anpok_alan_g: that helps?14:18
anpok_quit14:18
anpok_wrong terminal14:18
alan_ganpok_: yes14:18
* alan_g doesn't find it a very satisfying solution. kdub does it help mako too? (https://code.launchpad.net/~alan-griffiths/mir/workaround-1502782/+merge/274564)14:20
* kdub is mid upgrade of the build, so wont know for a bit yet14:21
kdubbuild system14:21
alan_gnp just hoped you were set up14:22
* alan_g plugs in mako14:23
anpok_alan_g: I am tinkering with that on the mir_demo_server shutdown issue..14:48
=== dandrader is now known as dandrader|afk
alan_ganpok_: does any of it help with the  mir_demo_server shutdown?16:07
* alan_g wishes mako was faster16:07
anpok_alan_g: that didnt help for the mir_demo_client_basic issue..16:44
anpok_alan_g: i wrapped the buffer allocator and added an object that will add a sleep after the allocator destruction..16:45
alan_ganpok_: thanks.16:45
anpok_didnt help.. but I also removed our global static ShardLibrary that currently keeps the graphics platform alive to not have the segfault on application exit.. but still no further clues..16:46
=== alan_g is now known as alan_g|afk
=== dandrader|afk is now known as dandrader
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== chihchun is now known as chihchun_afk

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