/srv/irclogs.ubuntu.com/2014/03/04/#ubuntu-mir.txt

mterryHrm.  Does trusty's Mir ftbfs for anyone else?02:58
* mterry wonders how close new Mir is to landing02:58
duflumterry: Like https://bugs.launchpad.net/bugs/1285955 ?03:00
ubot5Ubuntu bug 1285955 in mir (Ubuntu) "Ubuntu trusty update "glm 0.9.5.1-1" broke Mir builds" [Critical,Triaged]03:00
mterryduflu, looks like it, yeah03:01
* mterry resigns himself to building mir/devel03:01
mterryI suppose I could steal that one patch03:01
duflumterry: It's a simple patch to backport03:01
mterryduflu, thanks for the link03:01
mterryduflu, yeah, but I might as well test against latest anyway.  It's been a while since Mir dropped03:02
duflumterry: Yeah 0.1.6 grew a bit larger than other releases03:02
dufluOn the plus side, that means lots of fixes03:02
* mterry loves fixes! :)03:03
duflumterry: BTW I've made changes to the rendering interfaces in 0.1.7 and more to come. So I would not recommend building /effects/ of any sort on what we have just yet03:04
dufluBecause what we have won't exist that way for long03:04
mterryhmm, OK.  I'm just trying to track down weird nested mode behavior with split mode03:05
dufluThe good news is, changes in that area are now landing(!)03:05
duflumterry: Anything we know about? https://bugs.launchpad.net/mir/+bugs?field.tag=nested03:05
mterryduflu, no, don't think so.   I'm not even sure it's a Mir bug yet, but it's a good place to start debugging for one of my issues03:06
mterryduflu, these only show up when using split mode.  So may be a bug in my integration03:07
duflumterry: Does split mean sidestage?03:07
mterryduflu, no sorry.  I mean split greeter03:07
mterryduflu, so like an actual separate greeter process03:07
RAOFWelcome to: It Works Fine On My System, XVII08:07
RAOFduflu: So, apparently bzr lp-sumbit doesn't particularly care to respect the submit branch I try to set :)08:32
dufluHurrah08:33
didrocksRAOF: you have to set a target branch08:33
didrocksin your branch config08:33
didrocks(I know, it's stupid, but that's a launchpad "feature")08:34
didrocksI had to workaround that for daily release, so really conscious about the problem :)08:34
RAOFWhat?08:34
didrocksRAOF: what branch do you want to target against?08:34
RAOFThe docs for bzr lp-propose strongly imply that ‘bzr lp-propose lp:mir/devel’ will try to be submitted to lp:mir/devel. On the basis that it's called SUBMIT_BRANCH :)08:35
didrocksyeah, but then launchpad is trying to be smarter08:35
didrocksand think "oh, but this SUBMIT_BRANCH has this parent branch"08:35
didrocksso I'll target that…08:35
didrocksRAOF: try running: bzr config -d lp:mir/devel public_branch=~mir-team/mir/development-branch08:36
didrocksthen resubmit08:36
RAOFWe'll see next time I want to submit something; I've already retargetted.08:42
RAOFHm. google::protobuf declares itself to be not threadsafe for non-const methods. Why do we explicitly release all our locks before calling protobuf methods?08:57
dufluRAOF: Good question. I think otherwise it led to deadlocks. But that doesn't make it right08:59
dufluRAOF: Do we really have multiple threads using the protobuf objects though?09:01
RAOFIf we have a multithreaded client, certainly.09:01
dufluRAOF: Ah09:01
RAOFSuch as, say, having two separate nested outputs...09:02
dufluCritical blocking CI: https://bugs.launchpad.net/mir/+bug/128760009:02
ubot5Ubuntu bug 1287600 in Mir "./cross-compile-chroot.sh: line 83: popd: build-android-arm: invalid argument popd: usage: popd [-n] [+N | -N]" [Critical,In progress]09:02
dufluAnyone?09:02
RAOFduflu: SUre.09:06
dufluRAOF: Ta09:07
alan_gduflu: @"something should be mentioned in debian/changelog" - I don't see anything in the changelog for the changes that broke USC (mostly -r1420)09:45
duflualan_g: I just mean if it's not a standard part of the 0.1.6 release (r1433) then it needs a separate mention09:46
alan_gduflu: got it09:47
duflualan_g: At the top-level of the bullet points so it's not under the 0.1.6 release stuff09:47
alan_gAlthough IIUC kgunn was busy pulling more stuff into 0.1.6 yesterday09:47
alan_gso it might be moot09:48
duflualan_g: I reverted that. Because it included mostly my own work which I intentionally omitted from 0.1.6 wanting it to mature some more09:52
alan_galf_: does "frame" mean "buffer filled with fresh pixels we want displayed" to you?10:26
alf_alan_g: frame => "buffer filled with pixels". Whether it's "fresh" or we want it displayed is another story.10:30
alf_alan_g: i.e. these are not implied by the term 'frame' without any other context10:31
alan_galf_: thanks. Then "usable_frames()" would be reasonable for buffers we can compose?10:39
alf_alan_g: pending_frames?10:42
alan_gI don't like "pending" as it can include a frame that has been composited (either on this display compositor or one one for another output)10:43
alan_g"frames()"?10:44
alan_gcompleted_frames()?10:45
alf_alan_g: I don't agree with Daniel about using the terms 'frames'. This is a *Buffer*Stream, and I find using 'frames' confusing in this context. BufferStream::completed_buffers()? ready_buffers?10:51
alan_galf_: the reason I went for composable_buffers() was that it also supplies client buffers and I wanted to avoid any possible confusion10:53
alan_gfilled_buffers()11:10
anpok_I havent used our demos on android some time now, any ideas why clients cannot connect to demo shell11:34
alan_ganpok_: they can11:36
anpok_"Can't get connection"11:37
alan_gAre you running as the same user?11:37
anpok_yes11:37
anpok_tried with and without supplying the path to server and client. socket file is created properly11:38
alan_gIt works on my kit11:38
anpok_hm i just stopped unity8 and lightdm11:39
anpok_ok will try with devel11:39
anpok_system error thrown by asio when it tries to connect to the socket .. cannot examine the system error category but error val is 211:43
anpok_and that would be address in use o_O11:43
anpok_or no such file or directory11:44
anpok_oh ok that was all me11:46
* alan_g assumes it works on anpok_'s kit too11:48
alan_galf_: "buffers_ready_for_compositor_aka_frames()"?11:49
alf_alan_g: :)11:51
anpok_sounds reasonable11:55
anpok_hm is it intended that all motion events go to the topmost or focused surface even when those motion events did not originate from the screen region of the surface?12:10
alan_ganpok_: I think that is probably a policy decision - check the design guidelines12:13
anpok_ah ok that is the behavior of demo shell12:13
anpok_using focused application -> default_surface, which also explains why multi win behaves that way12:14
alan_galf_: happy with the latest comment? https://code.launchpad.net/~alan-griffiths/mir/add-some-intelligence-to-scheduling-compositing/+merge/20863312:24
anpok_wet_buffers() ?12:27
anpok_that would have the freshly paint pixels.. and the term buffers12:27
* ogra_ hands anpok_ a mop12:28
anpok_nah not needed, they are not leaking12:29
=== alan_g is now known as alan_g|lunch
=== alan_g|lunch is now known as alan_g
kgunnalan_g: so i saw duflu reverted our promotion branch, so re-cherry picked...14:26
kgunnhttp://bazaar.launchpad.net/~mir-team/mir/development-branch/revision/144014:26
kgunnand14:26
kgunnhttp://bazaar.launchpad.net/~mir-team/mir/development-branch/revision/143814:26
kgunnjust fyi14:26
kgunni'm supposing it was the renderable for rendering stuff he didn't want in yet14:27
alan_gkgunn: I am content to let you and duflu reach a consensus14:28
alan_gAnyway, your choices look sensible.14:34
anpok_do we have a usage scenarios behind set_inpput_rectangles?16:25
anpok_what is supposed to happen if somebody creates a surface. resizes it. then sets input_rectangles.. should the input_rectangles be resized too?16:26
kdubanpok_, is https://code.launchpad.net/~andreas-pokorny/mir/cursor-position-on-rotated-output/+merge/209076 ready to go?16:29
anpok_yes16:29
kdubcool16:31
anpok_alan_g: alf_: racarr_: kdub: I plan to propse something that would scale the input rectangles on resize, and apply the other transformations to the input rectangles (rotation and positioning) when querried through contains..?16:32
anpok_kdub: the other two things .. hot spot setting and managing rotated buffers will be done later.. hmm but should be straight forward..16:33
alan_ganpok_: would it be easier to merge the input rectangles into the surface hierarchy and not have to keep updating copies of the data?16:33
anpok_hm you mean reworking inputwindowinfo/handle?16:35
alan_ganpok_: we've far too many implementation classes representing the way surfaces interact with parts of the system. It sounds like you're struggling with keeping the input one in step with the others16:38
* alan_g is guessing as he's not looked closely16:38
anpok_true, but the problem is now internal in basic_surface::input_rectangle not being updated16:40
anpok_actually revisiting the other bug.. I wonder which portion of the android object went out of date... since the main query method goes for surface::contains anyhow16:41
anpok_so maybe I will soon provide a cleaner fix for the other bug too, which ripps out more of the InputInfo16:42
* alan_g is mildly irritated that a bug he fixed days ago on a one branch hosed his system when testing on another branch17:43
alan_galf_: do you have time to re-review before EOD? https://code.launchpad.net/~alan-griffiths/mir/nested-sessions-dont-post-buffers-until-something-happens/+merge/20910718:02
=== alan_g is now known as alan_g|EOD
racarr_ok now that im not worried about accidentally saying chromium I live here again18:28
racarr_hi everyone :p18:28
=== WebbyIT is now known as rpadovani
bschaeferracarr_, the chromium work looks awesome! :)20:08
=== veebers_ is now known as veebers
racarr_bschaefer: Thanks :)20:48
mterrymf::Shell::open_session() is turning on the display for me  :-/22:24
kdubmaybe its triggering a callback for a new surface22:25
mterrykdub, new surfaces turn on the display22:29
mterry?22:29
kdubmterry, not sure why that would happen22:35
kdubmterry, have any ideas about this in unity-system-compositor.log, "Unable to set active session, unknown client name session-0"22:35
mterrykdub, that is known (harmless for now) race, fixed by a branch of mine....22:36
mterryhttps://code.launchpad.net/~mterry/unity-system-compositor/greeter-depth/+merge/20754922:37
kdubmterry, ok22:38
kdubmterry, another question, who is in charge of turning on the display today?23:13
kdubunity8, or usc23:13
mterrykdub, a bunch of people  :)  Normal flow is powerd asks USC to turn it on23:14
mterrykdub, unity8 shouldn't be involved anymore23:14
kduband thats all landed?23:14
mterrykdub, yeah23:14
kduband this branch did that? https://code.launchpad.net/~mterry/unity-mir/drop-dbusscreen/+merge/20223623:16
kdubi'm trying to test some mir changes with the whole stack, having a hard time getting all the ducks in a row23:16
mterrykdub, no, that just removed some old unused code (unused because USC is claiming the bus unity-mir wanted, so it never got it)23:16
mterrykdub, the branch that made the switch was just enabling nested mode by default23:17
mterrykdub, USC has had a copy of that dbus_screen code for a while, it just wasn't used until it got turned on by default23:17
kdubmterry, okay, thanks23:17
mterryHuh.  SessionMediator::next_buffer turns on the display23:20
mterryI'm not sure I like that23:20

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