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

thomikgunn: OK, it's landed in trunk, I updated the SS00:06
RAOFMmm.\06:04
RAOFA piglit run is an excellent way to trigger those radeon multihead glitches!06:08
alf_RAOF: glad you can reproduce them, is this with pure xmir, or with the multimonitor-stabilize branch?06:13
RAOFalf_: Pure xmir.06:13
RAOFThe multimonitor-stabilise code looks fine (but not tested on this glitchy radeon yet)06:14
RAOFActually, I had some thoughts about how to remove the rest of the mir_wait_for()s, which we should do to prevent those EQ overflows.06:17
alf_RAOF: +1, if it can be done reasonably06:27
RAOFalf_: Oh, has nested gbm got itself magically fixed while I was otherwise engaged, or is that still up for grabs?06:30
alf_RAOF: not fixed, mlankhorst tool a look at the code, and cleaned up the paths we should be taking (ping him for the cleanup). He said the code could work in theory, but for some unknown reason it doesn't...06:34
RAOFalf_: Heh. That was what I concluded when I looked at it in Lexington :)06:35
RAOFalf_: I think *something*'s closing a handle when it shouldn't, but I didn't start to track it down.06:35
=== chihchun_afk is now known as chihchun
alf_Saviq: How do I start unity8 manually on the phone? E.g. after a crash, or if I want to run with gdb or valgrind?08:19
mlankhorstRAOF: meh just hack the kernel to not re-use gem handles08:21
alf_jibel: Hi! How do I start unity8 manually on the phone? E.g. after a crash, or if I want to run with gdb or valgrind? So far I have 'export QT_QPA_PLATFORM=ubuntumirclient' and the 'unity8' but that crashes with http://paste.ubuntu.com/6191320/08:22
alf_Saviq: ^^08:23
jibelalf_, Hi, I use upstart with 'start unity8', the job is in /usr/share/upstart/sessions/unity8.conf08:33
jibelbut it apparently only does an exec unity808:33
alf_jibel: is that with the phablet user?08:34
jibelalf_, yes sorry, as phablet08:34
jibelsudo -i -u phablet08:35
jibelthen start unity808:35
alf_jibel: thanks! also, I don't seem able to ssh into the phone, although I can ssh locally in the phone, and network is working. Have you come across that?08:35
=== sil2100_ is now known as sil2100
pete-woodshey guys, random question, I have a library (libusermetrics) that unity8 is using, it listens to dbus signals from a system dbus service08:39
pete-woodsunder mir, it doesn't seem to react to the signals any more08:39
pete-woodscan anyone think of anything stupid I could have done that would tie it into x/surface flinger?08:39
pete-woodsit's using the qt dbus libraries08:40
jibelalf_, no, I generaly use adb08:41
Saviqalf_, alan_g, hey guys, can you please have a look at bug #1235159 and bug #123500009:34
ubot5bug 1235159 in mir (Ubuntu) "Mir fails to start if there's a stale socket" [Undecided,New] https://launchpad.net/bugs/123515909:34
ubot5bug 1235000 in unity8 (Ubuntu) "Unity8 wont start on Mir when screen is blanked" [Undecided,New] https://launchpad.net/bugs/123500009:34
alf_Saviq: sure09:34
alan_gSaviq: 1235159 is a consequence of fixing https://bugs.launchpad.net/bugs/121623709:37
ubot5Ubuntu bug 1216237 in mir (Ubuntu) "Mir silently overwrites and reuses /tmp/mir_socket, rendering the previous server useless" [Medium,Fix released]09:37
Saviqalan_g, yeah, I mentioned that in the description09:37
Saviqalan_g, but couldn't we find out that the socket is stale? or would that be unity8's / unity-mir's responsibility?09:38
alan_gSaviq: Of course it is *possible* to find out. But it does complicate things - what is the use case that requires it?09:41
Saviqalan_g, it happens in connection with the "can't unblank" issue09:41
Saviqalan_g, starting unity8 with mir when screen is off results in that ↑09:42
Saviqalan_g, then, when you kill it and want to try again, the socket's preventing it from starting09:42
alan_gSaviq: so, a possibly simpler solution would be an atexit handler that deletes the socket?09:44
Saviqalan_g, sure, if that's not in place yet?09:44
alan_gSaviq: I believe not - although it would depend on how violently the process is killed09:45
Saviqalan_g, yeah, so not reliable enough at times09:46
Saviqalan_g, one other idea would be for the upstart job to delete it on startup09:46
Saviqalan_g, arguably when the unity8 job starts, there should not be a mir socket lying around09:46
alan_gSaviq: arguably the mir socket shouldn't outlive the process - there must be more Mir can do to clean up. I'll look into it this afternoon.09:48
Saviqalan_g, thank you09:49
alan_galf_: is the blanked screen one something you've got a handle on?09:49
alf_alan_g: I am not very familiar with that part of the android code, but I will give it a try, when I am done with https://bugs.launchpad.net/mir/+bug/123460909:52
ubot5Ubuntu bug 1234609 in Mir "unity8 crashed with SIGABRT in __gnu_cxx::__verbose_terminate_handler()" [Critical,In progress]09:52
alan_galf_: me neither. Thanks09:52
alf_Saviq: what part of unity8 exactly depends on libmirserver? That is, if I change libmirserver (breaking ABI), what other libraries do I need to rebuild to try it out?10:29
alf_Saviq: the rdepends I see are libunity-mir1 and libubuntu-application-api-mirserver110:34
Saviqalf_, yeah, sounds right10:34
Saviqgreyback, anything else ↑ ?10:34
gemahi, any mir dev around at this time?10:34
gemaor anyone using mir on their phone daily10:35
greybackalf_: that's it10:35
alf_Saviq: greyback: thanks10:36
Saviqgema, alf_ and alan_g are devs10:36
gemaSaviq: ack10:37
alan_ggema: what's up?10:37
gemaalf_, alan_g I have observed a big degradation in performance overnight to the point that hhis morning my phone was almost non responsive10:37
gemaalan_g: is this something you guys are aware of?10:37
gemaalan_g: and my batery was almost completely drained, as well10:38
ogra_gema, did you log in and check with top whats eating your device ?10:38
ogra_(very unlikely thats Mir)10:39
gemaogra_: no, I didn't I was on the move this morning when this happened10:39
gemaogra_: mir is the only thing I have enabled yesterday that is super new10:39
gemaogra_: I have been leaving my phone overnight since day one and doing same test cases as yesterday night in the morning10:39
gemaogra_: ok, so your theory is that there is some other process at 100%10:40
gemaogra_: the only reason I am blaming mir is because the transitions were super slow , the gallery would come up white screened, etc10:40
gemaogra_: by the time it was a brick and I checked at home, top looked ok10:41
ogra_gema, there are knoen issues with unity8 and suspend under Mir10:41
gemaogra_: what does suspend mean in this context?10:41
ogra_?10:41
gemaI haven't suspended the phone, does it go into suspend mode after a while or.. ?10:42
ogra_your device is always suspended unless the screen is on10:42
gemaogra_: but it can take calls10:42
ogra_yes, that bit isnt suspended10:42
gemaogra_: so it is not totally suspended10:42
gemaogra_: can I adb into it if it is suspended?10:42
ogra_arm allows to keep single devices unsuspended10:42
ogra_it is suspended10:43
gemaogra_: ok10:43
ogra_if you connect a cable USB (and adbd) are unsuspended10:43
alf_gema: there was a bug about unity8 + mir taking 100% cpu, it seems to be fixed in the latest devel-proposed image (80)10:43
gemaalf_: ack, will move to that one then10:43
ogra_(and everything you need to use adbd ... which means the whole system wakes up in this case10:43
ogra_)10:43
gemaogra_: ack10:43
gemaalf_: thanks, will try system settings on that one and keep it running for a day or so to see if it degrades10:45
gemaalf_: in fact today is friday, I am going to run it over the weekend :D10:45
alf_gema: even better :)10:46
gemaalf_: thanks!10:46
gemaogra_: whilst I have your attention, do you know if this change is on image 80: http://bazaar.launchpad.net/~indicator-applet-developers/indicator-messages/trunk.13.10/revision/38310:47
gemaogra_: or where do I check for it10:47
ogra_if you click on "back to branch summary"  you should see if it was merged some time10:50
om26ergema, I talked about the slowness with Saviq yesterday as well. He was not seeing it but I see it, very clearly10:50
Saviqom26er, I'm seeing it now, too10:50
Saviqom26er, gema, top shows nothing hogging the CPU, but there's definitely something wrong with unity8@mir there10:51
ogra_gema, and at the top of this branch you see that the package was released only 31min ago ... so will likely be in the next build10:51
ogra_(last commit that is)10:51
om26erSaviq, I can even note the slowness in a progress indicator If I look closely10:51
gemaSaviq: good that you are seeing it, it's a bit sneaky to put a finger on it10:53
gemaSaviq: I have been trying :/10:53
gemaogra_: ack, thanks10:54
Saviqogra_, have you seen the device not waking up properly under Mir? I can ping it, but adb is not working nor does the shell come up?10:54
ogra_Saviq, nope, havent had that yet10:54
Saviqogra_, it's what tsdgeos says in -touch10:55
ogra_Saviq, tsdgeos cant reboot10:55
Saviqogra_, I think mine might be the same, really, only I misattributed it10:55
gemaogra_: I couldn't reboot in the end either10:55
om26eryeah, reboot does not work for me as well. have to press the power button for 10secs to bring it back to life11:00
Saviqalf_, for me it's very easy to reproduce gema's and om26er's slowdown - just run calculator app autopilot test suite - after it's finished everything just crawls :/11:03
Saviqalf_, top is silent, so is iotop11:03
Saviqswap isn't touched11:03
gemaom26er: do you have a bug number?11:05
om26ergema, no, didn't report it (yet)11:06
gemaom26er: ack, I am reflashing by now, please let me know number whenever you have it11:06
om26ergema, same here, reflashing. I'll report a bug now11:07
gemaom26er: ack11:07
om26erSaviq, Should I report for unity8 or Mir ?11:07
Saviqom26er, both, please11:07
Saviqalf_, restarting just unity8 helps - so there's something going on between unity8 and mir for sure11:08
om26ergema, bug 123519011:17
ubot5bug 1235190 in mir (Ubuntu) "[mako] Unity8 on Mir got slow" [High,New] https://launchpad.net/bugs/123519011:17
gemaom26er: thanks11:19
om26ernp11:19
gemaom26er: confirmed :D11:19
gemaSaviq, alf_: bug 12351911:20
ubot5bug 122009 in vino "duplicate for #123519 ** ERROR **: file vino-preferences.c: line 108 (vino_preferences_dialog_get_password_from_keyring)" [Critical,Fix released] https://launchpad.net/bugs/12200911:20
gemaoh, not that one11:20
Saviqnope ;)11:20
gemabug 123519011:20
ubot5bug 1235190 in mir (Ubuntu) "[mako] Unity8 on Mir got slow" [High,Confirmed] https://launchpad.net/bugs/123519011:20
gema:D11:20
alf_gema: thanks11:21
om26ergema, can you try this: go to system settings there try to change the wallpaper, when the picker appear tap 'cancel' CRASH!!11:22
om26erit seems if an app tries to exit itself system hangs because the same problem happens in the video player when I tap it close button (the one on the extreme left)11:23
gemaom26er: what happens is that if you have an extra app open, the flow goes to that app instead of going back to system settings11:23
gemaom26er: can you try having only system settings open?11:23
om26ergema, I only had system settings opened. no other apps were opened.11:24
gemaom26er: ok, let me try that11:24
gemaom26er: doesn't crash for me but it takes two clicks to get rid of the gallery for some reason11:25
gemaom26er: I am on image 80, btw11:25
om26erI am on 80 as well(just flashed) and the crash is pretty consistent.11:26
Saviqom26er, I think lool mentioned settings crashing around wallpaper selection11:29
Saviqom26er, please apport-bug it and affect mir11:29
loolgoal is trying to identify the top issues (Mir or other things needing porting to Mir) that prevent most tests from failing; I'm sure there's commonality in the AP regressions we're seeing across the board11:34
om26erSaviq, that's bug 123519511:37
ubot5bug 1235195 in mir (Ubuntu) "[Mir] Unity8 crashes when an app tries to exit itself" [High,New] https://launchpad.net/bugs/123519511:37
Saviqom26er, can you apport-bug it so that we get the traceback?11:37
Saviqom26er, I mean apport-bug /var/crash/blah.crash11:38
Saviqom26er, or maybe apport-collect now? is it possible to send the .crash post-factum?11:38
=== ubuntu is now known as Guest69991
om26erSaviq, I attached the .crash file. having hard time reporting a bug using apport-bug file.crash since I have to pull the file first to my laptop.. and apport does not seem to like that11:48
Saviqom26er, why do you have to pull that file over?11:50
Saviqom26er, apport-bug is there just fine on the device?11:50
om26erSaviq, apport bug is supposed to open a browser link, isn't it ?11:50
Saviqom26er, it will print it out for you11:51
Saviqom26er, just copy-paste to your desktop11:51
om26erSaviq, yeah. it worked with apport-cli :)11:53
jibelom26er, ubuntu-bug falls back to apport-cli if there is no display, if it doesn't it is a bug in apport11:55
om26erok. reported a new bug https://bugs.launchpad.net/mir/+bug/123520911:58
ubot5Error: ubuntu bug 1235209 not found11:58
=== hikiko is now known as hikiko|lunch
om26erits private while the retracer runs11:59
alan_galf_: when you've got the headspace, would you take a look at https://code.launchpad.net/~alan-griffiths/mir/mir_lifecycle_connection_lost/+merge/18902112:04
alf_alan_g: sure12:04
=== alan_g is now known as alan_g|lunch
dandraderping kgunn12:30
kgunndandrader: pong12:30
dandraderkgunn, so, did the guys try the autopilot tests on galaxy nexus?12:30
dandraderkgunn,  did they work?12:30
kgunndandrader: yes...found out someone was picking up wrong12:31
kgunndandrader: product variable...was using tuna instead of maguro12:31
kgunndandrader: thomi fixed it in the ap plugin12:31
dandraderah, great. so I wasn't crazy afterall :)12:32
kgunndandrader: nope...you no crazy :P12:33
kgunnok...brb12:33
=== alan_g|lunch is now known as alan_g
=== hikiko|lunch is now known as hikiko
ollialan_g, dandrader, do we have somebody looking at https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/123324513:09
ubot5Ubuntu bug 1233245 in unity8 (Ubuntu) "[mir] key events not working through input devices" [High,Incomplete]13:09
olliSaviq, just mentioned it as an issue for AP tests that "type"13:09
dandraderolli, can start on it right away, if it's a priority13:10
ollidandrader, got other high priorities?13:10
* dandrader as just getting started on https://bugs.launchpad.net/unity-mir/+bug/123457013:10
ubot5Ubuntu bug 1234570 in unity-mir "With Mir - When an app is closed next app on 'Recent apps' opens" [High,In progress]13:10
dandraders/as/was13:10
olliSaviq, is 1234570 less important?13:11
Saviqdandrader, that'd be what you call an interrupt ;)13:11
Saviqolli, ↑13:11
dandradernot really, still flashing my device with the latest stuff13:11
olliSaviq, iow: ok for dandrader to look at 1233245?13:12
Saviqdandrader, if you could look at the keyboard input, that would be nice - either with autopilot or the volume up/down keys - should effectively be the same issue13:12
Saviqolli, yes13:12
ollik13:12
* olli is tired13:12
ollidandrader, thx!13:12
ollican you have it fixed in say... -1h ;)13:12
dandraderSaviq, olli np, will switch to the keys bug then13:12
ollithx man13:13
dandraderhehehe. unfortunately my time machine is broken at the moment :)13:13
olliso fixing that might be an even higher prio13:14
alf_alan_g: what's the purpose of the time limit in test_server_disconnect.cpp ?13:33
alf_alan_g: (in MyTestingClientConfiguration)13:33
alan_galf_: To stop the test running forever (but maybe it isn't needed...)13:34
alf_alan_g: the problem I see is that if the timeout occurs we don't have a condition to check success/failure13:35
ollidandrader, kgunn just mentioned that racarr might be looking into that as well, pls coordinate when he is online13:36
alan_galf_: then we won't have had a callback and we fail13:36
alan_g243+ EXPECT_CALL(mock_event_handler, handle(mir_lifecycle_connection_lost)).Times(1).13:36
alf_alan_g: ahh, missed that, thanks13:37
alan_galf_: np13:37
greybackdandrader: please test unity-mir trunk for bug 1234570, I should have fixed that13:39
ubot5bug 1234570 in unity8 (Ubuntu) "With Mir - When an app is closed next app on 'Recent apps' opens" [High,Triaged] https://launchpad.net/bugs/123457013:39
dandradergreyback, ah, good to know13:41
dandraderwill leave a note on the bug itself13:41
kgunngreyback: do i need to get that on the "ask sheet" :)13:46
greybackkgunn: yep13:47
kgunngreyback: shall i say pull all trunk or cherry ?13:47
kgunni said trunk...13:51
alan_ggreyback: Can I get your opinion? Re getting apps to save state when the server goes away. rcimm suggested sending "mir_lifecycle_state_will_suspend", but I've proposed a new event "mir_lifecycle_connection_lost" in https://code.launchpad.net/~alan-griffiths/mir/mir_lifecycle_connection_lost/+merge/18902113:54
greybackkgunn: there's only 1 commit, so trunk13:56
greybackalan_g: why would an app need to distinguish the two events? In both cases, it should save it's state and prepare to be killed13:57
alan_ggreyback: Well, I did it that way because I wanted to call "raise(SIGTERM)" for the latter13:59
alan_ggreyback: And I am doing that in a default event handler14:00
greybackalan_g: the only distinction I see from the app's perspective is that, with "mir_lifecycle_state_will_suspend" it has 3 seconds to save its state, whereas with "mir_lifecycle_connection_lost" does it have any such time guaranteed?14:02
greybackbecause a suspended app may be killed at any time. We don't guarantee it will be resumed14:02
alan_ggreyback: From my perspective "mir_lifecycle_connection_lost" allows the app to decide to save and then exit, or to drop the existing connection and try to connect again14:04
alan_gbut maybe that is too flexible14:04
greybackalan_g: if it is possible to drop existing connection and try reconnecting, then I support having a different signal. I wouldn't use 'lifecycle' in the name though for that case14:07
dandraderolli, Saviq please ignore me. I was running under SF :/14:07
ollidandrader, ignored14:07
Saviqdandrader, thing is, it started working for me suddenly...14:07
dandraderSaviq, did you restart unity8?14:08
Saviqdandrader, yeah, like a few times14:08
Saviqdandrader, am restarting all the time due to bug #123519014:08
ubot5bug 1235190 in Mir "[mako] Unity8 on Mir got slow" [Critical,Confirmed] https://launchpad.net/bugs/123519014:08
alan_ggreyback: There's nothing in Mir that require the process exits - it is "just" the connection that has gone bad. (Of course, the server may well be gone for a while.)14:10
alan_ggreyback: Although defaulting to "raise(SIGTERM)" makes the Mir examples behave better when the server dies.14:11
greybackalan_g: sure, I just got the impression that reconnecting to new Mir server instance wasn't possible, that Mir held some client state it couldn't do without. If reconnect possible, I say it's better solution than kill/respawn14:11
alan_ggreyback: Mir holds client state against the connection, clear down the connection and you can start again14:13
dandraderSaviq, are you sure you're not running under SF? :)14:13
Saviqdandrader, just checked, yes :)14:14
alan_gWe have tests with multiple, independent connections from one client14:15
greybackalan_g: ok, well I approve the added signal. For my info, what client state does Mir hold? Surface geometry?14:15
alan_ggreyback: The connection has info about the display and a collection of surfaces, the surfaces have geometry and buffer info14:17
greybackalan_g: ok, what I expected. Thanks14:17
alan_ggreyback: do you want to suggest another name for the event?14:19
greybackalan_g: it isn't really related to lifecycle, so maybe just "mir_connection_lost" ?14:20
alan_ggreyback: Well, it is part of the MirLifecycleState enum passed to the MirLifecycleEventCallback14:21
greybackalan_g: ok, "mir_lifecycle_connection_lost" will do14:22
dandraderSaviq, do you know what turns the screen on and off when you press the power button?14:26
Saviqdandrader, powerd14:27
dandraderSaviq, so powerd listens directly to the /dev/input/event files, right?14:27
Saviqdandrader, more or less, yes14:28
=== alan_g is now known as alan_g|tea
=== alan_g|tea is now known as alan_g
=== dandrader is now known as dandrader|lunch
davmor2kgunn: quick test, Under mir, open the terminal popup the keyboard.  No rotate the phone, now open the keyboard again do both sides of the keyboard work15:15
kgunndavmor2: definitely skim osk bugs for rotation (and restest with SF...there were lots of issues previously)15:20
=== dandrader|lunch is now known as dandrader
davmor2kgunn: very quickly if I do /home/phablet/.display-mir (reboot) and then do ps aux |  grep unity-system-compositor I should see it there right?16:00
kgunndavmor2: nope16:00
kgunndavmor2: your only means to see if mir is running on touch16:01
kgunndavmor2: is to ps aux | grep surfaceflinger16:01
kgunndavmor2: if you do not see it...then you're running mir16:01
davmor2kgunn: ah that showed nothing16:01
davmor2kgunn: thanks I had this horrible feeling that maybe part of it wasn't installed when I didn't see unity-system-compositor16:02
kgunndavmor2: yeah, bit of a negative test...cause on touch, mir is in the unity8 process16:02
davmor2kgunn: ah right okay that makes sense :)16:03
davmor2kgunn: also is there a way to get screenshot yet?  I'm assuming not but thought I would double check16:08
kgunndavmor2: not yet...its kinda anti-security in a way....we're talking about how to add for "special" apps to use for debug and such16:09
kdubcan't you cat the fb? i thought that trick still worked16:11
dandraderracarr, ping16:14
racarrMorning16:45
alan_gEvening16:49
* davmor2 resorts to using cheese as a screenshoter for mir. Thinking outside the box :D16:50
dandrader_racarr, have you started working on that yesterday? https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/123324516:55
ubot5Ubuntu bug 1233245 in Mir "[mir] key events not working through input devices" [Undecided,In progress]16:55
=== dandrader_ is now known as dandrader
alan_gkdub: I was targetting the wrong branch. Please re-review https://code.launchpad.net/~alan-griffiths/mir/mir_lifecycle_connection_lost/+merge/18937517:00
kdubdone17:00
alan_gquick! ;)17:01
alan_gHave a good weekend!17:01
=== alan_g is now known as alan_g|EOW
=== jdrab_ is now known as jdrab
racarrdandrader: I think I will start working on it ASAP17:26
dandraderracarr, because I'm on it17:26
racarrthe problem is unity8 can't really get focus the way things are set now17:26
racarrso I was planning to add a new component in unity-mir "KeybindingEventFilter"17:26
racarrwhich lets you like17:26
dandraderracarr, I'm thinking along the lines of adding an input filter for such key events in unity-mir17:26
racarrbind_key(keycode, surface)17:26
dandraders/input/event17:26
racarrand uses the input-injecter17:27
racarrnot yet quite landed17:27
racarrto inject them to the shell surface17:27
racarryes. I think using an input filter is the way to go17:27
racarrbut I think we should inject them to the shell surface so the rest of the shell17:27
racarrcan handle as normal17:27
racarrbind_events_to_surface(std::function<bool(MirEvent const&)> consumes_event, std::shared_ptr<msh::Surface> const& target)17:28
racarrdandrader: Does that make sense?17:30
racarrthe input injecter api which you can merge from ~robertcarr/mir/input-injecter-api17:30
racarris very simple just, surface->inject_input(shared_ptr<InputInjecter>, MirEvent)17:30
racarrInputInjecter comes from the_input_injecter()17:31
dandraderby "inject them to the shell surface" you mean letting those volume key events reach shell's qt event loop in the same way as any other event17:31
dandraderthen yes17:31
dandraderracarr, ^17:31
racarrdandrader: Yes17:40
racarrif that can be done just directly through Qt I guess that is fine17:40
racarrbut there isnodirect17:40
racarrMirEvent->Qt translation code17:41
racarrbecause it goes through the ubuntu-platform-api17:41
racarrand the Event struct there17:41
racarrso I think using the InputInjecter, and injecting it on to the channel and the client reads it just like normal17:41
racarrwill be the best way17:41
dandraderracarr, sure17:42
racarrok sounds good to me17:43
racarrone thing to watch out for17:43
racarris scan codes are not mapped to key codes17:43
racarron the server side17:43
racarrbut I think there is some AINPUT_KEY_VOLUME_DOWN scancode or such17:43
racarrthat you can safely use17:43
racarrok I am going to start reproducing crashes here https://docs.google.com/a/canonical.com/document/d/1b-X9tN2Q9c_5r39XzA-Ppebbjuin5zVf9SkAGMcdp9Q/edit#17:45
racarrand hopefully pick one off17:45
=== dandrader is now known as dandrader|afk
racarryay think I found the problem in hold-surface-alive18:29
=== dandrader|afk is now known as dandrader
mlankhorst]18:52
racarrLunch!18:59
racarrwill be verifying the fix to hold-surface-alive when I get back then using that environment18:59
racarrto reproduce some more bugs19:00
racarrBack19:45
racarrricmm: taskcontroller.h:57:5: error: ‘upstart_app_launch_app_failed_observer_t’ does not name a type upstart_app_launch_app_failed_observer_t failureCallback;19:59
racarrdo you know what I need?19:59
dandraderracarr, build from trunk20:01
dandraderracarr, lp:upstart-app-launch20:02
racarrdandrader: Thanks :D20:05
dandraderracarr, MirEvent takes the key code from android::InputEvent as it is, unmodified20:25
dandraderracarr, so AKEYCODE_* are used/valid there20:26
dandraderracarr, but those keycodes are not exported by mir headers20:26
racarrdandrader: you should be able to use KEY_VOLUMEDOWN and KEY_VOLUMEUP on the scancode20:27
racarrfrom linux/input.h20:27
dandraderracarr, ok, but I wonder what's the use of those mir key codes20:28
dandraderat the moment, it seems they're unusable20:28
racarryes20:28
racarrxkb_mapper should be used20:28
racarron the server side20:28
racarrto put xkb keysyms in the keycode20:28
racarrbefore the event filter20:28
dandraderracarr, and why we wanna use xkbcommon instead of whatever comes with android-input20:42
dandraderracarr, it's more powerful or better suited for desktop use cases?20:43
* dandrader just skimmed through the subject20:43
racarrkdub: I am getting lots of could not unblank display on startup21:20
racarrand it seems like maybe some other people are too21:20
racarrany idea?21:20
kdublogcat & dmesg?21:21
racarrkdub: what is logcat?21:22
kdubandroid-chroot; logcat21:22
racarrah21:23
racarrD/hwcomposer( 2561): hwc_blank: Doing Dpy=0, blank=021:23
racarrE/hwcomposer( 2561): hwc_blank: failed. Dpy=0, blank=0 : Operation not permitted21:23
racarrI/ServiceManager(  695): service 'display.qservice' died21:23
racarrI/ServiceManager(  702): Waiting for service SurfaceFlinger...21:23
racarrI/ServiceManager(  702): Waiting for service SurfaceFlinger...21:23
racarrI/ServiceManager(  702): Waiting for service SurfaceFlinger...21:23
racarrI/ServiceManager(  702): Waiting for service SurfaceFlinger...21:23
racarrI/ServiceManager(  702): Waiting for service SurfaceFlinger...21:23
racarrI/ServiceManager(  702): Waiting for service SurfaceFlinger...21:24
racarrI/ServiceManager(  702): Waiting for service SurfaceFlinger...21:24
racarraren't you suspiscious21:24
kdubyep, something has wrong permissions21:27
kdubperhaps...21:27
racarrsomething21:28
racarris unblanking the display21:28
kdubracarr, if you run the mir demos as root vs phablet, see if that has the same problem21:28
racarrmm21:28
racarrI think it will, the thing is the display really is unblanked21:28
racarreven when unity8 isnt running21:28
racarrnor sf21:29
racarrbut the backlight is on...21:30
racarrkdub: Err, running the mir demos as root21:31
racarralso gives can not unblank display21:31
racarroperation not permitted21:31
kdubhow did it get in that state?21:31
racarrI dunno.21:32
racarrseems like probably unity8 crashes on boot21:32
racarrbecause it never comes up21:32
kdubi just flashed pending, didn't see the problem21:34
kdubwell, this21:34
kdubphablet-flash ubuntu-system --channel devel-proposed --no-backup21:34
racarrmm, that's what I did but then I rebuilt the world21:35
racarrI am sure something went wrong21:35
racarrtoo many variables right now...ill dig21:35
kdubi'm trying to rebuild the world too21:36
racarrkdub: Best of luck on your voyage :p21:37
racarrI think I may have just not installed platform api to the right path21:37
racarrbut I think maybe if mir crashes leaving the screen unblanked21:37
racarrthen it can fail to unblank the screen on startup and wont come back?21:38
racarryay ok it works21:38
racarrswas just papi misinstall21:38
* kdub feels like i'm a poorly-drawn seafarers in a 15th century sea chart21:38
kdubi'm now navigating through the straits of platform-api too21:38
racarryay and hold surface alive fix works21:39
racarrso...the surface isn't inevitably alive21:39
racarrwow I didnt use the screen so it turned off21:41
racarrthen I pressed the power button and it came back on21:41
racarris this really mir21:41
racarrwow21:41
racarrit is :D21:41
racarr:p21:41
racarrkdub: https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/123500021:43
ubot5Ubuntu bug 1235000 in unity8 (Ubuntu) "Unity8 wont start on Mir when screen is blanked" [High,Confirmed]21:43
racarrcant make sense of it yet though21:44
racarrhow do I run touch apps from the command line22:15
racarrI thought it was something about desktop file hint22:15
racarrbut not working22:15
racarrI need to not use upstart because I am trying to run it in GDB with electric fence22:16
racarrI guess I could run it with electric fence in upstart then attach in GDB22:16

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