/srv/irclogs.ubuntu.com/2014/01/31/#ubuntu-mir.txt

=== duflu_ is now known as duflu
alan_galf_: anpok - any ideas for a "better interface"? https://code.launchpad.net/~mterry/unity-mir/alpha-greeter/+merge/204069/comments/47668008:26
anpokhm they could decorate the exsting policy, all they need is just selecting alpha when needed and supported - thats effectively just find_if09:01
anpoklike in the translucent server example09:01
dufluOn the issue of translucency... I recently discovered that making a client translucent was a big enough hit to rendering time that it could trigger clone mode frame drops, sometimes with a single client. Alpha blending is still relatively expensive, even on a Haswell desktop09:05
alan_gThat's a bigger hit than I was expecting09:05
anpokduflu: how big was the client?09:05
dufluanpok: 1920x120009:05
anpokoh09:06
duflualan_g: It was mostly due to the clone mode bug I have a fix proposed for. After that's resolved, full screen blending has no visible performance hit09:06
alan_gExcellent09:07
anpokbut still it means that the blending of one output took longer than the update rate of the other output09:07
anpokmaybe we should allow clients to provide opaque rects together with the buffer09:07
dufluKind of. The issue with the clone mode bug is that we potentially have zero (or very little) rendering time at all09:08
anpokalan_g: i could image a better interface09:08
anpokalan_g: something like select( Requires(Exactly(1280x768), Try(OpaqueBuffer));09:09
anpokbbl09:09
alan_ganpok: worth discussing with greyback & mterry when you're back?09:10
anpokalan_g: duflu: I would like to add something like a generic report->trace_time_span("string_id", { start,duration} );09:10
anpokbut still wondering where and how to visualize09:11
anpokalan_g: i think so..09:11
anpokduflu: but the translucent greeter is translucent everywhere..09:12
anpokduflu: maybe we should use the screencast feature for that09:12
dufluanpok: I feel that measuring time spans is best hidden inside the report implementations. The interfaces should always just be begin... and end...09:12
dufluNot least because the Null report should be Null09:13
alan_ganpok: I'm not sure that interface is the easiest to use - usually you'd want something like "Trace trace(report, "ID");09:13
dufluAFK, wireless kbd issues09:13
dufluwfASJL:09:13
anpokduflu: agreed but, we dont have that many possible measure points - maybe that is enough - and i just have issues following the code flow.09:13
duflufscas09:13
anpokand i wonder if we could make that not affect the performance at all without instrumenting the build09:15
dufluanpok: That's the point of defaulting to a null report with minimal parameter passing :)09:17
dufluEek, I forgot what the old keyboard was like09:17
alf_duflu: @async-page-flips, I don't get where I am mistaken... after we schedule a page flip we draw to a buffer that is still potentially being scanned out (since we don't wait for the page flip to complete). We can't touch a buffer that is currently on screen after a page flip, before the next page flip occurs, scanning out is not an instantaneous process.09:23
duflualf_: Preparing for EOW, but let me see if I can find an answer before that09:25
duflualf_: Mesa/EGL/GBM still has separate front and back buffers (obviously). The existence and rendering of the back buffer is kind of implied. But after we have called gbm_surface_lock_front_buffer we hold the locked buffer until the flip has definitely completed. This prevents the buffer from being recycled and rendered to as a back buffer while it's visible.09:37
dufluAside from anything else... if you do accidentally render to the scanout buffer you will see ugly tearing09:38
dufluAt least I do09:38
dufluBut if you can prove it wrong, that would be appreciated.09:39
dufluPlus, I know the algorithm is complicated. Even *if* it is bug free, I don't expect us to digest and approve it quickly09:40
* duflu runs away09:40
sil2100alf_: hi! Any luck with the mir unit-tests hanging up on armhf?10:49
alf_sil2100: no... I can't reproduce them locally at all, and I have no idea what could be hanging so consistently in the builders10:50
sil2100Troublesome...10:54
sil2100hm hm10:54
=== alan_g is now known as alan_g|dentist
=== dandrader is now known as dandrader|afk
=== alan_g|dentist is now known as alan_g|lunch
=== dandrader|afk is now known as dandrader
=== alan_g|lunch is now known as alan_g
kgunnsil2100: i also build lp:~mir-team/mir/trunk-0.1.4 natively and ran unit tests just fine14:14
kgunnsil2100: can we gain access to the calxeda machines ? don't know what else to do14:15
kgunnsil2100: curious, i used image 155 that was in devel-proposed....is that a valid configuration to try and replicate what's happening on the calxeda ?14:16
sil2100kgunn: the thing is that we have no idea what triggered that, as it was passing fine earlier - who knows if those wouldn't pass now... did you guys check the code for some obvious race conditions?14:17
sil2100kgunn: we tried poking people about access to the devices, but it seems it's not as easy as we thought14:17
kgunnsil2100: are the logs still out there ? (i don't think so as silo 005 got reused)14:18
kgunnsil2100: we've spent loads of time before christmas cleaning up tests14:18
kgunnsil2100: so doubt there'd be anything "obvious"....but if there are some logs that might indicate a particular test that would be interesting14:19
sil2100kgunn: I think the logs are still there, but there was not much useful logs - just that it was hanging on, I think, the 3rd unit test14:20
kgunnsil2100: do you know what changed ?? that could have possibly made the unit test start to fail ?...e.g. if it was passing on tuesday...what went into the build between now and then ?14:20
sil2100kgunn: nothing, the PPA was in a clean state, so the problem had to be there earlier I guess? Let me find the logs14:20
sil2100kgunn: it started hanging up here https://launchpad.net/~ci-train-ppa-service/+archive/landing-005/+build/553375214:21
kgunnsil2100: thanks14:21
kgunnsil2100: hang on....i thot you said mir was failing...that's unity-mir14:22
sil2100Ah, wrong link!14:22
sil2100One moment14:22
sil2100;)14:22
* sil2100 ashamed14:23
sil2100kgunn: https://launchpad.net/~ci-train-ppa-service/+archive/landing-005/+build/553545314:23
kgunnsil2100: no worries...i stay permanently "ashamed"  :)14:23
=== dandrader is now known as dandrader|lunch
=== dandrader|lunch is now known as dandrader
=== greyback_ is now known as greyback|food
=== greyback|food is now known as greyback
kgunnsil2100: you still there ?17:14
kgunnsil2100: any chance we can get a silo ?17:14
kgunnsil2100: we've got a potential fix for the calxeda unit test hang17:15
sil2100kgunn: !17:16
sil2100kgunn: still here :)17:16
sil2100kgunn: let me clean up some silos though17:16
kgunnsil2100: thanks and no problem...17:16
kgunni know its getting late there17:16
kgunnbbiab17:26
sil2100kgunn: ok, so I think it won't be so easy... it seems platform-api is right now blocking the slot, so until it's not released we won't be able to fill mir in17:39
=== dandrader is now known as dandrader|afk
=== alan_g is now known as alan_g|EOW
=== dandrader|afk is now known as dandrader

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