/srv/irclogs.ubuntu.com/2013/10/07/#ubuntu-mir.txt

=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== deathcrawler is now known as LockeAnarchist
dufluRAOF: Another mini-fix... https://bugs.launchpad.net/xmir/+bug/123304406:43
ubot5Ubuntu bug 1233044 in XMir "XMir fails to build: error: 'xmir_screen' has no member named 'dmps_on'" [Critical,In progress]06:43
alf_alan_g: greyback: Good morning! I remember you had a conversation about _suspend vs _connection_lost. Did you reach a conclusion?08:22
greybackalf_: hey, I was happy with alan_g's proposal to have separate signal08:23
alan_galf_: yes greyback agreed that a separate event was warranted08:23
alf_alan_g: greyback: great, thanks08:24
budgeeGood morning team08:31
budgeeI 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
budgeeie. I had to log back into Ubuntu and restart my apps after pluggin in the external.08:33
budgeeIf there is some loggin i can send through that would be useful, please let me know.08:34
budgeeps. Good morning here in SA - Good day wherever else you might be.08:34
budgeeAlso, unplugging the external worked fine - reconfigured to laptop display only with no problem.08:35
alf_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:46
duflubudgee: Try "ubuntu-bug mir"08:51
=== hikiko is now known as hikiko|lunch
tvossgood morning/afternoon/evening10:55
alan_gtvoss: hello there10:55
tvossalan_g, hey :) back in service after my vacation10:56
=== chihchun is now known as chihchun_afk
alf_tvoss: welcome back11:05
tvossalf_, thank you :)11:05
=== hikiko|lunch is now known as hikiko
=== chihchun_afk is now known as chihchun
alan_gtvoss_: welcome back (again)11:13
tvoss_alan_g, yup :)11:13
alan_gtvoss_: 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:21
tvoss_alan_g, let me think11:25
alf_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:32
tvoss_alf_, fair point, I wonder if upstart is able to handle that scenario11:33
alan_galf_: tvoss_ I'm just wondering: if some cases require handling elsewhere anyway how much Mir should try to do?11:41
tvoss_alan_g, my vote would be: as much as possible, perhaps defining a std::at_exit handler11:47
alan_gtvoss_: Ok, I've been playing with that. But with SIGSEGV we are getting into "undefined behaviour" territory and can't make guarantees11:50
tvoss_alan_g, sure, that's what I meant with "as much as possible" under usual constraints. Makes sense?11:50
alf_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 handler11:50
tvoss_alf_, yup, +111:51
alan_gtvoss_: alf_ - OK. I just hoped someone knew of a magic API that said "this endpoint only lasts as long as this process"11:52
davmor2out 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
davmor2s/wir/mir11:56
ogra_davmor2, no, but rm /home/phablet/.display-mir11:57
ogra_the switch means in the beginning that we'll just put that file in place by default11:58
davmor2ogra_: ah right so you are just enabling it like that initially then that's great11:58
ogra_lool, oh, the livecd-rootfs change wont be enough btw11:58
ogra_lool, it wont affect OTS updates ... probably a good first test scenario for the upgrade hooks :)11:59
ogra_*OTA11:59
loologra_: that's a good point11:59
ogra_and we only want to set it once indeed12:00
budgeealf_: duflu: ubuntu-bug mir bombs on package name.  What package name should I use? Output here: http://pastebin.com/HUf8qPes12:19
=== alan_g is now known as alan_g|lunch
budgeealf_: duflu: xserver-xorg-xmir ?12:20
alf_budgee: yes, try with xserver-xorg-xmir, and we will retarget to mir if needed (but probably xmir is the right package anyway)12:22
budgeealf_: done as https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/123635313:10
ubot5Ubuntu bug 1236353 in xorg-server (Ubuntu) "Xmir crashes on plugging in external" [Undecided,New]13:10
alf_budgee: great, thanks13:10
tvoss_ogra_, ping13:10
budgeealf_: the XXorgLogOld.txt has a segfault it in13:11
tvoss_ogra_, is upstart able to clean up after a service? e.g., remove a stale socket?13:11
ogra_yeah, do it in a "post-stop script"13:12
tvoss_ogra_, got a documentation link handy?13:12
ogra_tvoss_, http://upstart.ubuntu.com/cookbook/#post-stop13:13
tvoss_alan_g|lunch, alf_ http://upstart.ubuntu.com/cookbook/#post-stop13:14
tvoss_ogra_, thanks13:14
=== alan_g|lunch is now known as alan_g
alesagehi all, investigating a hang while changing wallpapers on phone, reproduces without fail under mir, any suggestions?  https://bugs.launchpad.net/ubuntu-system-settings/+bug/123473313:30
ubot5Ubuntu bug 1234733 in ubuntu-system-settings (Ubuntu) "Substituting wallpaper under mir produces blackout" [High,Incomplete]13:30
=== pete-woods is now known as pete-woods-back-
alf_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
ubot5Ubuntu bug 1234609 in Mir "unity8 crashed with SIGABRT in __gnu_cxx::__verbose_terminate_handler(), thrown from mir::shell::Surface::name()" [Critical,In progress]13:45
alesagealf_ ok although I don't get the noted crash FWIW; will wait for a resolution of your linked bug and test again13:48
alesagealf_, thx13:49
alan_gtvoss_: I'd guess pre-start would be better - the real difficulty is that the stale endpoint interferes with starting a new process13:51
alf_alesage: it could be something different indeed, but with 1234609 in the middle it's difficult to say13:52
tvoss_alan_g, I think both might be a good idea14:07
* alan_g wonders where to put an upstart script14:07
=== dandrader_ is now known as dandrader
tedgalan_g, /usr/share/upstart/sessions14:33
alan_gtedg: I meant where in which project. ;)14:34
tedgalan_g, Ah, which ever has the binaries you're executing :-)14:34
kgunnkdub: so, gerry & duflu reporting we actually didn't fix the "unable to screen blank" prob after all14:35
kgunnhttps://bugs.launchpad.net/mir/+bug/118850414:35
ubot5Ubuntu 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
kgunnkdub: ^ can you take a look today ?14:35
kgunntvoss_: o/ welcome back14:36
tvoss_kgunn, o/14:37
mlankhorstwb14:37
=== dandrader is now known as dandrader|afk
kdubkgunn, there are two issues (last i saw) that result in that error15:03
=== dandrader|afk is now known as dandrader
=== chihchun is now known as chihchun_afk
kgunnracarr: ping15:50
kgunnkdub: so, i just flashed latest, left it read only...enabled mir...and when screen idles/blanks...i can wake it no problem ?15:56
kgunnkdub: is the problem still limited to killing/restarting unity8 ?15:56
kgunnkdub: someone earlier said it was failing to "wake" when just idling...15:56
* kgunn hates bug rumors, prefers real data written down :-/15:57
kgunnkdub: or maybe its intermittent... ?15:57
kdubkgunn, i've seen a bug that happens when the screen times out, then you push power button15:57
kdubyou get 'cannot blank screen'15:57
kgunnkdub: hmmm....but i'm sitting here doing that15:57
kdubi also was seeing mir just not starting15:58
kdubwhich i'm trying to verify now15:58
kgunnkdub: i'm on mako, build 8315:59
kgunnchannel devel-proposed15:59
kgunnfwiw i also do --no-backup15:59
kdublet me verify that's what i'm using, that's what i flashed with15:59
kdubkgunn, yes, 83, with channel devel-proposed16:01
kgunnkdub: did you do --no-backup ? (wonder if that could be related)16:03
kdubyes, all these flash switches are flummoxing though16:04
kgunnkdub: ...even after i reboot, its still waking like a champ16:10
kgunnkdub: just thinking of other deltas you and i might have...i don't have a sim card in my phone16:11
kdubkgunn, mir was working for me without writable mode, so i don't think that's a factor16:12
kdubi probably just wasn't controlling for the power button state16:13
kgunnracarr: ping16:14
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader|lunch
tvoss_kdub, ping16:25
kdubpong16:25
alan_galf_: does this make sense? https://code.launchpad.net/~alan-griffiths/mir/remove-endpoint-first-when-shutting-down/+merge/18937616:26
kgunntvoss_: hey  i know Saviq asked you to look at  mir  being suddnely slow 1235190, did you have something specific you were chasing?16:30
tvoss_kgunn, I was more or less bisecting Mir changes16:31
kgunnracarr: when you get on, can you please check in with dandrader|lunch for mir input 123324516:31
kgunntvoss_: ack... if you conclude could also use help on the mir input 123324516:32
kgunntvoss_: that is, unless racarr shows up and just says "oh i know..." :)16:32
tvoss_kgunn, there are only 2 changes to mir that might affect rendering performance16:32
=== pete-woods-back- is now known as pete-woods
=== chihchun_afk is now known as chihchun
racarrMorning16:39
racarrkgunn: Yes willcheck it out in just a sec16:39
=== chihchun is now known as chihchun_afk
alan_gEvening16:40
kgunnracarr: thanks!16:40
kgunnbrb16:40
=== tvoss_ is now known as tvoss|quick_dinn
=== alan_g is now known as alan_g|EOD
racarrok back17:04
racarrdandrader|lunch: What went wrong with the input injector approach to17:04
racarr1233245?17:05
racarrkgunn: Also on my plate is #1233564 (the stuff about compositor empty queue)17:14
racarrand back to ABI stuff17:14
racarrshould I run with 1233245?17:14
racarralf_: Can you look at input-injecter-api again and at least needs fixing->abstain? I think I fixed your bits17:16
=== dandrader|lunch is now known as dandrader
dandraderracarr, 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, etc17:25
dandraders/shen/when17:25
dandraders/no/on17:25
dandraderso many typos17:25
dandraderand then the sheer number of interfaces, indirections, abstractions in mir regarding focus scared me off :)17:26
dandraderintimidating17:26
racarrok17:26
racarrbut focus doesn't fix17:26
racarrthe volume keys unfortunately17:26
racarrbecause unity8 needs to get volume keys when an app is focused17:27
racarrso we have two issues I guess17:27
dandraderracarr, but that's not importand17:27
racarrreally unity8 needs to use the event filters....17:27
dandraderimportant17:27
racarrok.17:27
dandraderfor now, according to Saviq17:27
racarrok17:30
racarrunity8 will need like an event filter17:30
racarrthat gives focus to touched surfaces17:30
racarrand that should be enough17:30
dandraderracarr, hmm. user swipes away foreground app. unity8 qml calls unfocusCurrentApplication() in unity-mir (or something like that)17:31
dandraderat some point there unity8 should get focus in place of the unfocused app17:31
dandraderwithout the user having to touch dash17:32
dandraderif I understand you correctly17:32
racarroh17:32
racarrso is it only17:32
racarrreplace:     m_mirServer->the_session_manager()->set_focus_to(NULL); //FIXME(greyback)17:32
racarrwith m_mirServer->the_session_manager->set_focus_to(shell_surface)17:32
racarrexcept17:33
racarrset_focus_To on the session manager17:33
racarrtakes17:33
racarra session17:33
dandraderman, 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
dandraders/you/out17:33
racarrmm the surface source hack17:35
racarrok I need to think about the session thing17:38
tvoss|quick_dinndandrader, the key codes you pasted into https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/123324517:40
ubot5Ubuntu bug 1233245 in unity-mir "[mir] key events not working through input devices (aka volume up/down)" [Critical,Triaged]17:40
tvoss|quick_dinnare weird17:40
tvoss|quick_dinneither it's 114 (down) and 115(up) or 24(up) and 25(down)17:41
dandradertvoss|quick_dinn, you mean here? https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1233245/comments/617:44
ubot5Ubuntu bug 1233245 in unity-mir "[mir] key events not working through input devices (aka volume up/down)" [Critical,Triaged]17:44
dandraderit's code 114 there17:44
dandradertvoss|quick_dinn, so it matches your expectations17:44
kgunnracarr: sorry, went for a run...right, hate that its stacking up...but i would say bug 123324517:56
ubot5bug 1233245 in unity-mir "[mir] key events not working through input devices (aka volume up/down)" [Critical,Triaged] https://launchpad.net/bugs/123324517:56
kgunnthen bug  123356417:56
ubot5bug 1233564 in Mir "Greeter is seen animating when pressing the side button to wake up" [High,Triaged] https://launchpad.net/bugs/123356417:57
kgunnthen api/abi17:57
racarrkgunn: Ok.17:57
racarrthat's fine :) I am just trying to get the picture17:57
kgunnracarr: no prob... its like a salvador dali painting that changes17:57
kgunnkdub: unable to blank made the list (of blockers)17:58
kgunnkdub: just to verify...you actually can see this at your desk on mako, on the the latest image ?17:58
kdubkgunn, lets sync on this17:58
kdubvia hangout17:58
kgunncool17:58
racarrkgunn: You mean unable to unblank?17:59
kgunnracarr: wrt questions to kdub...yeah unblank17:59
racarrkdub: The only times I have seen this17:59
racarris when the display was already on18:00
kgunnkdub: https://plus.google.com/hangouts/_/eb454b829a446623ced641778cf81d1c2ed71e11?pqs=1&authuser=0&hl=en18:00
racarrwhen mir tried to start18:00
racarris it possible just that18:00
racarrunblank returns an error18:00
racarrwhen the screen is already unblanked18:00
davmor2kgunn: 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 maguro18:06
=== tvoss|quick_dinn is now known as tvoss_
kdubalf_, still around?18:57
tvoss_kgunn, ping19:09
kgunntvoss_: pong19:23
dandraderracarr, so, can I help you with anything regarding those input bugs that are blocking the "unity8-mir by default" story?19:44
racarrdandrader: Back from lunch...hmm well it looks like20:02
racarrfix-inputarea is ok (thanks for reviewing) I will double check it asap20:02
racarrI think I have a plan on key events now.20:03
racarrso not off the top of my head...unless I am missing an extra bug20:03
dandraderok20:08
=== RAOF_ is now known as RAOF

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