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

=== Trevinho_ is now known as Trevinho
RAOFIn today's fun compiler-bug feature, clang-3.5 doesn't correctly destroy cross-thread capture-by-copy variables in lambdas!01:33
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== duflu_ is now known as duflu
dufluping mlankhorst06:56
=== chihchun_afk is now known as chihchun
mlankhorstpong07:24
RAOF Would you prefer Factory? :)07:33
anpokgood morning mir07:46
mlankhorstalso good morning08:37
mlankhorstduflu: ?09:01
duflumlankhorst: I've found a situation where drmModePageFlip never completes. Is that allowed?09:02
mlankhorstwhen, exactly?09:02
duflumlankhorst: Schedule page flip (but don't wait), put screen to sleep09:03
dufluIt might be coming on wakeup, but Mir crashes before then :P09:03
dufluHmm, it was a while ago. Let me retest09:04
mlankhorsthm interesting, never checked that. :P09:04
mlankhorsti guess it might depend on the driver09:04
duflumlankhorst: Yes, twas intel09:04
mlankhorstdid you write a testcase? I can make one probably09:05
mlankhorstwould need the arguments to drmModePageFlip though09:05
duflumlankhorst: I need to retest to refresh my memory. I got distracted since the ping09:09
mlankhorst:/09:36
duflualf_: You did overlapping DisplayBuffer construction/destruction to minimize visual interruption on config changes, right?10:24
alf_duflu: How do you mean overlapping?10:28
duflualf_: When we do config changes... the old DisplayBuffers still exist when the new ones are constructed. So for a while you have 2 DisplayBuffers pointing to each CRTC10:29
duflu.. which is safe right now. But not for my future changes10:29
alf_duflu: I don't remember exactly now, but I think I had a problem when deleting the existing display buffers first, but this was in the first steps so it may not be a problem still10:31
duflualf_: Yes deleting the old ones first solves my problem. But the "black screen pause" during config changes is much longer10:32
* mlankhorst pokes duflu again10:34
duflumlankhorst: Looking more like it might be a Mir bug. I won't bother you again till I'm more sure10:34
mlankhorstokay10:34
mlankhorstI thought as much :)10:34
duflualf_: Whether intentional or not, overlapping the new and old DisplayBuffers seems useful. It makes mode changes appear more instantaneous with much less black screen time.10:40
dufluI will try to keep it that way10:40
dufluAlthough it would be nice if mesa::Display was smarter and didn't reconstruct DisplayBuffers at all10:41
dufluThat would require more work10:41
dufluAwesome. After all that I achieved a two-line fix today. But at least it's fixed10:45
Saviqhey folks, do you have some machinery to generate the commit message for merging from devel to trunk?11:12
Saviqas we're looking at lp:unity8/devel for the new release process :/11:12
alan_gSaviq: duflu and kgunn are the guys to ask. I think kgunn had a script - but I'm not sure it's bug free.11:15
Saviqalan_g, thanks ;)11:15
* alan_g lost interest the Nth time the process changed11:16
alan_ganpok: alf_ any opinions on how to implement parse_name() in https://code.launchpad.net/~alan-griffiths/mir/some-tidy-up-of-config-options/+merge/203384?11:37
anpokhm11:54
anpok{name.begin(), name.find_first_of(',')}11:55
anpokbut then name or begin as it is called now, needs to be a string11:55
alan_gyes11:56
anpokfirst time I saw strcspn11:56
=== chihchun is now known as chihchun_afk
alan_gThat's why I'm unconvinced it is clearer11:57
anpokso even with two methods and the short puzzler of substr kdbus proposal is faster to read11:59
anpokfor the average mir code digester11:59
* alan_g had to look up what substr(0, std::string::npos) does - the string functions are a minefield of strange indexing rules12:04
alan_gBut if everyone else thinks it clearer I guess we'll do it hte consensus way12:05
anpokhm i am not everyone :)12:11
alan_gWell put your opinion in a review and I'll tally the votes12:14
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== alan_g is now known as alan_g|lunch
=== alan_g|lunch is now known as alan_g
=== dandrader is now known as dandrader|bbl
alf_alan_g: Setting a new function for mir_connect_impl for a test will affect all tests that follow too, right?15:04
alan_galf_: I seem to remember some mechanism to reset it. (But not any detail)15:06
alf_alan_g: ok, thanks, I will take a deeper look15:07
ricmmdo you guys know15:46
ricmmif there is some kind of timeout15:46
ricmmfor session authorization?15:46
kgunnalan_g: ^ ricmm 's query15:46
alan_gnot in Mir15:47
alan_gricmm: ^15:47
ricmmok15:48
ricmmthanks15:48
=== greyback is now known as greyback|food
=== greyback|food is now known as greyback
=== alan_g is now known as alan_g|EOD
=== dandrader|bbl is now known as dandrader
kdub_do we have a place for code shared between the tests and the examples?19:59
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== seb128_ is now known as seb128

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