=== chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun === deathcrawler is now known as LockeAnarchist [06:43] RAOF: Another mini-fix... https://bugs.launchpad.net/xmir/+bug/1233044 [06:43] Ubuntu bug 1233044 in XMir "XMir fails to build: error: 'xmir_screen' has no member named 'dmps_on'" [Critical,In progress] [08:22] alan_g: greyback: Good morning! I remember you had a conversation about _suspend vs _connection_lost. Did you reach a conclusion? [08:23] alf_: hey, I was happy with alan_g's proposal to have separate signal [08:23] alf_: yes greyback agreed that a separate event was warranted [08:24] alan_g: greyback: great, thanks [08:31] Good morning team [08:33] I just plugged in an external monitor to my X301 and Xmir ?? appeared to crash and then restart with the external correctly recognised. I was able to use displays to change the location of the external and launcher placement and am typing this message now using the configuration. [08:33] ie. I had to log back into Ubuntu and restart my apps after pluggin in the external. [08:34] If there is some loggin i can send through that would be useful, please let me know. [08:34] ps. Good morning here in SA - Good day wherever else you might be. [08:35] Also, unplugging the external worked fine - reconfigured to laptop display only with no problem. [08:46] budgee: https://bugs.launchpad.net/xmir/+filebug , please include at least the Xorg log of the crashed run (probably /var/log/Xorg.*.log.old). Note that xmir multimonitor support is under development, so not all issues have been ironed out yet. [08:51] budgee: Try "ubuntu-bug mir" === hikiko is now known as hikiko|lunch [10:55] good morning/afternoon/evening [10:55] tvoss: hello there [10:56] alan_g, hey :) back in service after my vacation === chihchun is now known as chihchun_afk [11:05] tvoss: welcome back [11:05] alf_, thank you :) === hikiko|lunch is now known as hikiko === chihchun_afk is now known as chihchun [11:13] tvoss_: welcome back (again) [11:13] alan_g, yup :) [11:21] tvoss_: beyond using another process can you think of any way to remove the Mir endpoint when Mir dies with prejudice? (kill -9 and the like) [11:25] alan_g, let me think [11:32] alan_g: tvoss_: Do we care about the SIGKILL case (which we can't catch in-process)? We could handle at least SIGSEGV and SIGABRT in process. The only other solution I can see is handling this in a wrapper script (e.g. unity-system-compositor.sleep). [11:33] alf_, fair point, I wonder if upstart is able to handle that scenario [11:41] alf_: tvoss_ I'm just wondering: if some cases require handling elsewhere anyway how much Mir should try to do? [11:47] alan_g, my vote would be: as much as possible, perhaps defining a std::at_exit handler [11:50] tvoss_: Ok, I've been playing with that. But with SIGSEGV we are getting into "undefined behaviour" territory and can't make guarantees [11:50] alan_g, sure, that's what I meant with "as much as possible" under usual constraints. Makes sense? [11:50] alan_g: tvoss_: mir can catch all of the signals that are caused by internal malfunction, so it makes sense to do the little it can (probably just unlink("/tmp/mir_socket") and _exit()) in the handler [11:51] alf_, yup, +1 [11:52] tvoss_: alf_ - OK. I just hoped someone knew of a magic API that said "this endpoint only lasts as long as this process" [11:56] out of interest when wir becomes the default on the phone will there be the ability to do /home/user/.display-surfaceflinger for comparison of issues? [11:56] s/wir/mir [11:57] davmor2, no, but rm /home/phablet/.display-mir [11:58] the switch means in the beginning that we'll just put that file in place by default [11:58] ogra_: ah right so you are just enabling it like that initially then that's great [11:58] lool, oh, the livecd-rootfs change wont be enough btw [11:59] lool, it wont affect OTS updates ... probably a good first test scenario for the upgrade hooks :) [11:59] *OTA [11:59] ogra_: that's a good point [12:00] and we only want to set it once indeed [12:19] alf_: duflu: ubuntu-bug mir bombs on package name. What package name should I use? Output here: http://pastebin.com/HUf8qPes === alan_g is now known as alan_g|lunch [12:20] alf_: duflu: xserver-xorg-xmir ? [12:22] budgee: yes, try with xserver-xorg-xmir, and we will retarget to mir if needed (but probably xmir is the right package anyway) [13:10] alf_: done as https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1236353 [13:10] Ubuntu bug 1236353 in xorg-server (Ubuntu) "Xmir crashes on plugging in external" [Undecided,New] [13:10] budgee: great, thanks [13:10] ogra_, ping [13:11] alf_: the XXorgLogOld.txt has a segfault it in [13:11] ogra_, is upstart able to clean up after a service? e.g., remove a stale socket? [13:12] yeah, do it in a "post-stop script" [13:12] ogra_, got a documentation link handy? [13:13] tvoss_, http://upstart.ubuntu.com/cookbook/#post-stop [13:14] alan_g|lunch, alf_ http://upstart.ubuntu.com/cookbook/#post-stop [13:14] ogra_, thanks === alan_g|lunch is now known as alan_g [13:30] hi all, investigating a hang while changing wallpapers on phone, reproduces without fail under mir, any suggestions? https://bugs.launchpad.net/ubuntu-system-settings/+bug/1234733 [13:30] Ubuntu bug 1234733 in ubuntu-system-settings (Ubuntu) "Substituting wallpaper under mir produces blackout" [High,Incomplete] === pete-woods is now known as pete-woods-back- [13:45] alesage: this sounds like it's related to https://bugs.launchpad.net/mir/+bug/1234609 which has a lot of duplicates (like the one you mention 1235195) [13:45] Ubuntu bug 1234609 in Mir "unity8 crashed with SIGABRT in __gnu_cxx::__verbose_terminate_handler(), thrown from mir::shell::Surface::name()" [Critical,In progress] [13:48] alf_ ok although I don't get the noted crash FWIW; will wait for a resolution of your linked bug and test again [13:49] alf_, thx [13:51] tvoss_: I'd guess pre-start would be better - the real difficulty is that the stale endpoint interferes with starting a new process [13:52] alesage: it could be something different indeed, but with 1234609 in the middle it's difficult to say [14:07] alan_g, I think both might be a good idea [14:07] * alan_g wonders where to put an upstart script === dandrader_ is now known as dandrader [14:33] alan_g, /usr/share/upstart/sessions [14:34] tedg: I meant where in which project. ;) [14:34] alan_g, Ah, which ever has the binaries you're executing :-) [14:35] kdub: so, gerry & duflu reporting we actually didn't fix the "unable to screen blank" prob after all [14:35] https://bugs.launchpad.net/mir/+bug/1188504 [14:35] Ubuntu bug 1188504 in Mir "Nexus4: Mir server dies when display goes to sleep ("error posting with fb device") and can no longer start ("could not unblank display")" [Critical,Triaged] [14:35] kdub: ^ can you take a look today ? [14:36] tvoss_: o/ welcome back [14:37] kgunn, o/ [14:37] wb === dandrader is now known as dandrader|afk [15:03] kgunn, there are two issues (last i saw) that result in that error === dandrader|afk is now known as dandrader === chihchun is now known as chihchun_afk [15:50] racarr: ping [15:56] kdub: so, i just flashed latest, left it read only...enabled mir...and when screen idles/blanks...i can wake it no problem ? [15:56] kdub: is the problem still limited to killing/restarting unity8 ? [15:56] kdub: someone earlier said it was failing to "wake" when just idling... [15:57] * kgunn hates bug rumors, prefers real data written down :-/ [15:57] kdub: or maybe its intermittent... ? [15:57] kgunn, i've seen a bug that happens when the screen times out, then you push power button [15:57] you get 'cannot blank screen' [15:57] kdub: hmmm....but i'm sitting here doing that [15:58] i also was seeing mir just not starting [15:58] which i'm trying to verify now [15:59] kdub: i'm on mako, build 83 [15:59] channel devel-proposed [15:59] fwiw i also do --no-backup [15:59] let me verify that's what i'm using, that's what i flashed with [16:01] kgunn, yes, 83, with channel devel-proposed [16:03] kdub: did you do --no-backup ? (wonder if that could be related) [16:04] yes, all these flash switches are flummoxing though [16:10] kdub: ...even after i reboot, its still waking like a champ [16:11] kdub: just thinking of other deltas you and i might have...i don't have a sim card in my phone [16:12] kgunn, mir was working for me without writable mode, so i don't think that's a factor [16:13] i probably just wasn't controlling for the power button state [16:14] racarr: ping === dandrader is now known as dandrader|afk === dandrader|afk is now known as dandrader|lunch [16:25] kdub, ping [16:25] pong [16:26] alf_: does this make sense? https://code.launchpad.net/~alan-griffiths/mir/remove-endpoint-first-when-shutting-down/+merge/189376 [16:30] tvoss_: hey i know Saviq asked you to look at mir being suddnely slow 1235190, did you have something specific you were chasing? [16:31] kgunn, I was more or less bisecting Mir changes [16:31] racarr: when you get on, can you please check in with dandrader|lunch for mir input 1233245 [16:32] tvoss_: ack... if you conclude could also use help on the mir input 1233245 [16:32] tvoss_: that is, unless racarr shows up and just says "oh i know..." :) [16:32] kgunn, there are only 2 changes to mir that might affect rendering performance === pete-woods-back- is now known as pete-woods === chihchun_afk is now known as chihchun [16:39] Morning [16:39] kgunn: Yes willcheck it out in just a sec === chihchun is now known as chihchun_afk [16:40] Evening [16:40] racarr: thanks! [16:40] brb === tvoss_ is now known as tvoss|quick_dinn === alan_g is now known as alan_g|EOD [17:04] ok back [17:04] dandrader|lunch: What went wrong with the input injector approach to [17:05] 1233245? [17:14] kgunn: Also on my plate is #1233564 (the stuff about compositor empty queue) [17:14] and back to ABI stuff [17:14] should I run with 1233245? [17:16] alf_: Can you look at input-injecter-api again and at least needs fixing->abstain? I think I fixed your bits === dandrader|lunch is now known as dandrader [17:25] racarr, Saviq said that such approach doesn't suffice. that we need unity8/shell to be the focused surface shen it's no foreground so that things like key events generated from autopilot reaches it, etc [17:25] s/shen/when [17:25] s/no/on [17:25] so many typos [17:26] and then the sheer number of interfaces, indirections, abstractions in mir regarding focus scared me off :) [17:26] intimidating [17:26] ok [17:26] but focus doesn't fix [17:26] the volume keys unfortunately [17:27] because unity8 needs to get volume keys when an app is focused [17:27] so we have two issues I guess [17:27] racarr, but that's not importand [17:27] really unity8 needs to use the event filters.... [17:27] important [17:27] ok. [17:27] for now, according to Saviq [17:30] ok [17:30] unity8 will need like an event filter [17:30] that gives focus to touched surfaces [17:30] and that should be enough [17:31] racarr, hmm. user swipes away foreground app. unity8 qml calls unfocusCurrentApplication() in unity-mir (or something like that) [17:31] at some point there unity8 should get focus in place of the unfocused app [17:32] without the user having to touch dash [17:32] if I understand you correctly [17:32] oh [17:32] so is it only [17:32] replace: m_mirServer->the_session_manager()->set_focus_to(NULL); //FIXME(greyback) [17:32] with m_mirServer->the_session_manager->set_focus_to(shell_surface) [17:33] except [17:33] set_focus_To on the session manager [17:33] takes [17:33] a session [17:33] man, I spent quite a bit trying to find you how does unity-mir distinguish apps surfaces from the unity8 one :) (looked at qtubuntu, platform-api....) [17:33] s/you/out [17:35] mm the surface source hack [17:38] ok I need to think about the session thing [17:40] dandrader, the key codes you pasted into https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1233245 [17:40] Ubuntu bug 1233245 in unity-mir "[mir] key events not working through input devices (aka volume up/down)" [Critical,Triaged] [17:40] are weird [17:41] either it's 114 (down) and 115(up) or 24(up) and 25(down) [17:44] tvoss|quick_dinn, you mean here? https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1233245/comments/6 [17:44] Ubuntu bug 1233245 in unity-mir "[mir] key events not working through input devices (aka volume up/down)" [Critical,Triaged] [17:44] it's code 114 there [17:44] tvoss|quick_dinn, so it matches your expectations [17:56] racarr: sorry, went for a run...right, hate that its stacking up...but i would say bug 1233245 [17:56] bug 1233245 in unity-mir "[mir] key events not working through input devices (aka volume up/down)" [Critical,Triaged] https://launchpad.net/bugs/1233245 [17:56] then bug 1233564 [17:57] bug 1233564 in Mir "Greeter is seen animating when pressing the side button to wake up" [High,Triaged] https://launchpad.net/bugs/1233564 [17:57] then api/abi [17:57] kgunn: Ok. [17:57] that's fine :) I am just trying to get the picture [17:57] racarr: no prob... its like a salvador dali painting that changes [17:58] kdub: unable to blank made the list (of blockers) [17:58] kdub: just to verify...you actually can see this at your desk on mako, on the the latest image ? [17:58] kgunn, lets sync on this [17:58] via hangout [17:58] cool [17:59] kgunn: You mean unable to unblank? [17:59] racarr: wrt questions to kdub...yeah unblank [17:59] kdub: The only times I have seen this [18:00] is when the display was already on [18:00] kdub: https://plus.google.com/hangouts/_/eb454b829a446623ced641778cf81d1c2ed71e11?pqs=1&authuser=0&hl=en [18:00] when mir tried to start [18:00] is it possible just that [18:00] unblank returns an error [18:00] when the screen is already unblanked [18:06] kgunn: this is probably already a bug but under mir whenever you select a text input point there is a random character deposited in the test field on maguro === tvoss|quick_dinn is now known as tvoss_ [18:57] alf_, still around? [19:09] kgunn, ping [19:23] tvoss_: pong [19:44] racarr, so, can I help you with anything regarding those input bugs that are blocking the "unity8-mir by default" story? [20:02] dandrader: Back from lunch...hmm well it looks like [20:02] fix-inputarea is ok (thanks for reviewing) I will double check it asap [20:03] I think I have a plan on key events now. [20:03] so not off the top of my head...unless I am missing an extra bug [20:08] ok === RAOF_ is now known as RAOF