/srv/irclogs.ubuntu.com/2014/07/21/#ubuntu-mir.txt

=== chihchun_afk is now known as chihchun
duflucamako: I'm kind of hoping we can add more fixes and performance improvements to RTM yet. You can see them targeted for a "0.5.1": https://launchpad.net/mir/+milestone/0.5.106:51
duflu(it's the same set as is tagged rtm14)06:52
camakoduflu, sounds good.. Though #1345533 is about hwc which tends to be device specific.06:56
duflucamako: *shrug* I don't have one of them to test with06:57
camakoduflu, me neither :-)...06:57
camakoduflu, also I wasn't sure about #1316867 since it has to do with DRM and rtm is android...06:59
duflucamako: Oh, yes. Worth having in a stable branch but not relevant to Android06:59
dufluKinda.. It's relevant to all platforms. Just starting with DRM06:59
dufluBut that one in 0.6 in time for utopic is enough07:00
camakoduflu, also it has to do with the fatal_error branch which is causing controversy... :-)07:00
camakoduflu, #1240909 would be nice but would like to see a solution in devel first.. Don't wanna hold up rtm for it... We can always backport...07:07
duflucamako: Well if you think there will be a 0.5.2 then no problem. Otherwise double buffering offers potentially the biggest performance improvement yet to land, so it's worth trying to get in ASAP07:09
dufluI mean the biggest improvement in responsiveness07:09
camakoduflu, yeah +1 on the responsiveness!07:10
camako... #1343074 has already been committed.07:10
dufluBecause Ubuntu touch is 8-buffered (3 in the client + 3 in the nested server + 2 in the native server). The double branch will get that down to 6-ish07:11
dufluMinus 1 to calculate best case input lag. It's still not great07:11
dufluHmm, could even be more. I'm not familiar with the Android page flipping we use07:12
dufluActually, I confused the numbers. Lag is 2 + 2 + 1 = 5 right now.  The double branch gets that down to 1+1+1 = 307:13
dufluAlmost halved07:13
dufluDelay between client and screen will be at least 32ms less07:13
camakoIt's pretty significant.. No doubt..07:14
dufluAnd hopefully there are other unrelated improvements coming soon07:14
dufluActually, I think we might be weeks away from out-performing Android on the same hardware07:16
dufluJust got to tweak some things07:16
camakoduflu, @ releasing 0.5.2 and even beyond, I fully expect that to happen.... until the device receives a final image which is weeks away.07:17
camakothe rtm device that is07:17
=== renato is now known as Guest23306
alan_gany more review comments for this? https://code.launchpad.net/~mir-team/mir/cursor-spike-phase-7-name-some-cursors/+merge/22524209:08
alf_duflu: @double, Could you elaborate on 115+ if (used_buffers > min_buffers() && max_buffers > 1), I am not sure I get the intent.09:32
duflualf_: That's when the minimum requirement drops (framedropping turned off). That code pre-dates the same check now present in the framedropping toggle.09:33
dufluMight be redundant now09:33
dufluBut still good to keep09:33
alf_duflu: wait, I think I may have completely misunderstood the MP... isn't this MP's goal to change the queue size depending on client demand? Or does it only change the queue when changing between non-framedropping and framedropping?09:38
duflualf_: That is now the only indicator of demand09:38
duflu... which is pretty new yes09:38
alf_duflu: so it just switches between a fixed size of 2 buffers for non-framedropping and 3 buffers when allow_framedropping(true) ?09:40
duflualf_: Yes. Much simpler than earlier versions09:40
alf_duflu: Simpler, yes, but is it sufficient? The fixed 2 buffer queue reduces latency, but it also uncoditionally drops all the benefits triple buffering brings (like the ability to deal with frames occasional missing the frame time limit)09:56
duflualf_: Yes, it is sufficient in all testing so far. There is an argument to make it configurable sure09:57
duflualf_: Forgive me for preparing to go offline soon09:57
alf_duflu: Enjoy!09:59
alan_gcamako: we've three MPs for 0.5 failing "mysteriously" in CI - is this something you're looking into?10:25
* alan_g hopes to make 0.5 "someone else's problem"10:26
camakoalan_g, yea I saw that... Sure I can look into it.10:27
camakoalan_g, or more like ask fginther who recently prepared the jenkins config for 0.510:28
alan_gcamako: you can also try cihelp on #ubuntu-ci-eng (which will probably end up at fginther too)10:30
ogra_did you guys test the latest Mir and sysstem-compositor uploads on manta ? seems it is unbootable ...10:56
ogra_http://paste.ubuntu.com/7829641/10:56
ogra_I/hwcomposer( 2071): Using 2560x1600 60Hz resolution for 'fb0' from modes list10:57
ogra_I/hwcomposer( 2071): unblank ioctl failed (display already unblanked)10:57
ogra_W/libEGL  ( 2071): eglTerminate() called w/ 1 objects remaining10:57
ogra_E/libEGL  ( 2071): validate_display:263 error 3001 (EGL_NOT_INITIALIZED)10:57
davmor2kgunn: you about?  Manta is broken since the landing of 0.5.0 by the look of it.  It gets to the google logo and no further.13:57
kgunndavmor2: i'm here, hmmm, is that news? i experienced that last week during our testing and i was told that was due to something else13:58
kgunndavmor2: it was on irc, i think i recall someone saying it had to do with telephony stuff (?)13:58
alf_kgunn: good to hear it's not just me, I though I had broken the device14:03
davmor2kgunn: it works fine in 136 pre 0.5.0 and then breaks in 137 http://paste.ubuntu.com/7829641/ and http://davmor2.co.uk/~davmor2/syslog  is the only info I have from it which seems according to ogra_ to point to egl14:05
davmor2kgunn: I only got back today so hit it testing something else.14:06
davmor2kgunn: also wouldn't the flo play up too if it was the telephony stack?14:06
ogra_kgunn, seems hammerhead broke at the same time ... i think they use the same driver14:06
ogra_(at least thats what rsalveti claimed (the brokeness))14:06
kgunnogra_: not the same driver....in fact N7==N4 on driver14:07
rsalvetinot the same driver, but could be broken the same way14:07
ogra_ok14:07
rsalvetibug 1345533 for hammerhead14:07
rsalvetino bots anywhere14:08
ogra_yeah, they went on a group vacation it seems14:08
ogra_super special group offer14:08
rsalvetidavmor2: can you check /var/log/lightdm/unity-system-compositor.log14:08
rsalvetion the broken image14:08
rsalvetihahah14:08
davmor2rsalveti: sure give me a few14:09
kgunninteresting before egl failure in that log i see "I/hwcomposer( 1015): unblank ioctl failed (display already unblanked)"14:09
kgunnoh...that's just unblanking14:09
kgunnnvmd14:09
ogra_the next lines are more worrying14:10
kgunnogra_: yeah, but it looks like egl succeeded...then its bailing subsequent14:11
ogra_right ... but we had no android changes during that time14:11
ogra_image 136 had an android update ...14:12
ogra_137 had the new Mir ...14:12
ogra_the former image works flawless ... the latter doesnt14:12
rsalveti /var/log/lightdm/unity-system-compositor.log will tell any mir specific error14:13
davmor2right guys back with you now14:13
davmor2rsalveti, kgunn: http://davmor2.co.uk/~davmor2/unity-system-compositor.log14:17
rsalvetiright, similar but different14:18
rsalvetia bunch of calls are now triggering an exception in case of errors14:18
rsalvetiin this case it's  display_on14:18
rsalvetion nexus 5 it was vsync_on14:19
kgunncamako: ^ you following?14:19
rsalvetiso yeah, indeed mir causing the issue14:19
camakoyeah14:20
camakokgunn14:20
kdub_hmm14:22
davmor2kgunn: if you and your team need info from a broken device just ping me as this manta now no longer turns off it will be available for logs etc if you need any that rsalveti didn't cover :)14:24
* kdub_ can look, seems more important than the optimization stuff i was looking at this morning14:25
kgunnkdub_: thanks14:25
kdub_also though, I have to whine that we don't have a nexus 5, and only test the nexus 4 in CI14:25
kdub_:)14:25
kdub_so I'll poke around the n1014:25
kgunnkdub_: i keep forgetting your on CST now :)14:25
kgunni was waiting to bother you cali time :)14:26
kgunncamako: i distinctly recall testing on manta....for mir0.5...did you ?14:26
kgunncamako: altho...not sure i tested post alan's add14:27
camakokgunn, not on manta14:28
kdub_MI is EST, I now get the jump on the texans!14:29
kgunnkdub_: oh wow...didn't realize that14:29
kgunnEST14:29
=== dandrader is now known as dandrader|afk
=== greyback is now known as greyback|away
kdub_the problem is only on startup?14:52
rsalvetiyes14:52
rsalvetihart to know if it'll happen later on though, as it's not even able to start14:53
kdub_I have an idea of what's going on14:53
rsalvetifrom what I saw in the diff the difference is that now those errors are critical14:53
kdub_working on confirming14:53
rsalvetiwhich wasn't the case before14:53
rsalvetibut they were always there14:53
kdub_right, I think that some restructuring changed it14:54
rsalvetiright14:54
kdub_does the n4 have the problem?14:55
AlbertAkdub_: no it works fine here with mir 0.5.014:56
kdub_ah, I have a very good idea then14:56
rsalvetinops14:56
kdub_bug yet too?14:58
kdub_if not i'll file one14:58
kdub_oh 134553314:58
rsalvetithat's for n515:01
rsalvetifor manta I'm not sure we have one15:01
kdub_probably same issue15:01
=== dandrader|afk is now known as dandrader
=== greyback|away is now known as greyback
davmor2kdub_: n4 and n7 both work fine n10 and n5 seem to be hit by it15:20
=== desrt|ses is now known as desrt
=== chihchun is now known as chihchun_afk
=== dandrader is now known as dandrader|lunch
=== alan_g is now known as alan_g|EOD
greybackracarr__: hey quick confirmation form you: there's no api for a client to know its position on screen is there?17:12
racarr__greyback: Nope17:20
greybackracarr__: thanks17:20
racarr__np :)17:23
racarr__lunch17:27
=== dandrader|lunch is now known as dandrader
kdub_davmor2, rsalveti : lp:~mir-team/mir/fix-1345533-0.5 has been checked on the nexus10, and will likely fix the n5 too17:37
kdub_but I don't think the mir team has a n517:38
davmor2kdub_: nor do I over to rsalveti for that I think18:09
kdub_davmor2, ah, thought you had one, sorry18:10
davmor2kdub_: I have the n1018:11
rsalvetikdub_: will check n5 later today18:18
rsalvetido we have it in a silo or similar already?18:18
rsalvetijust to be easier to grab the packages :-)18:19
rsalvetikdub_: not sure if that will fix n5 though18:20
rsalvetias the exception was a different one18:20
rsalvetior is display_on also triggering the vsync_signal_on?18:21
rsalvetiif so, then yeah18:21
AlbertArsalveti: right turn_screen_on() calls hwc->blank(...) and hwc->eventControl(..., HWC_EVENT_VSYNC,...)18:26
rsalvetigreat then :-)18:27
davmor2back to the are there packages available?18:38
davmor2kdub_: ^18:43
AlbertAdavmor2: no not yet...18:53
AlbertAcamako will probably set up the silo when he comes online18:53
davmor2AlbertA: ah cool thanks18:58
kdub_rsalveti, right, the fix should catch/ignore either problem (vsync/blank)20:54
AlbertAracarr__: ping20:57
racarr__AlbertA: pong20:58
AlbertAracarr__: is there a way to know if an input event has been handled on the nested case?20:59
AlbertAbasically if I install a eventfilter20:59
AlbertAin the server20:59
AlbertAcan a client in a nested scenario consume the event so that my filter doesn't run?20:59
racarr__sorry not quite parsing21:00
racarr__whhere is the filter? where is the client?21:00
racarr__(host/nested)21:00
AlbertAso imagine unity system compositor21:00
racarr__ok21:00
AlbertAinstalls an event filter21:00
AlbertAi.e. an append to the composite_filter21:00
racarr__ok that will be like the first thing ever21:01
racarr__to see events basically21:01
AlbertAok21:01
racarr__before shell21:01
racarr__etc21:01
AlbertAso it's there a way for me to know if the a client like unity8, consumed a key event?21:01
racarr__except...lol I wonder if21:01
racarr__unity821:01
racarr__input filters probably dont work in unity8 right now21:01
racarr__but not an urgent problem21:02
racarr__um no.21:02
AlbertAok21:02
racarr__currently all events are handled21:02
racarr__there is some infrastructure for handling/not handling events21:02
racarr__but not on the client side21:02
racarr__there is also some design documentation that...we should one day have an accept/reject model21:02
racarr__do we need it?21:02
AlbertAwell21:03
AlbertAit's for a minor thing21:03
AlbertAthere's this power dialog21:03
AlbertAthat shows up if you hold up the power key for 2s21:04
AlbertAbut USC has policies21:04
AlbertAto shutoff display on power key up (after a power key down)21:04
AlbertAso we had to add hacks to ignore that if hits the 2s...etc21:04
AlbertAso that USC does not shut off display21:04
racarr__ah21:04
AlbertAand instead unity8 can show the power off dialog21:04
racarr__yeah21:05
AlbertAbasically I would want an ack or something21:05
AlbertAthat unity8 consumed power key up21:05
racarr__robert_ancell: wanted to let you know header with mir cursor names landed so you should be able to add gtk cursor support21:26
racarr__when...the fancy strikes you :)21:26
robert_ancellracarr__, nice. Are there plans for custom cursors too?21:26
racarr__robert_ancell: Yeah. it just needs protocol + add mir_cursor_configuration_from_rgba_pixels_function_names_are_so_long_:(22:06
racarr__etc22:06
racarr__next time I get bored + don't feel bad doing something that has no upcoming deadline lol22:07

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