/srv/irclogs.ubuntu.com/2013/07/22/#ubuntu-mir.txt

robert_ancellduflu, bug 1203207 is the Main Inclusion Request for mir02:08
ubot5bug 1203207 in mir (Ubuntu) "[MIR] mir" [Undecided,New] https://launchpad.net/bugs/120320702:08
duflurobert_ancell: Oh. Very confusing acronym02:11
robert_ancellyes02:11
* duflu begins to struggle with a new keyboard. Very slow02:15
=== robert_ancell_ is now known as robert_ancell
RAOFOh, why the new keyboard?02:51
dufluRAOF: Because I've been using the old one to death... for 10+ years.02:55
dufluThat said, I'm now back on it. I think I need a different new keyboard02:56
RAOFFair suck of the sav.02:57
dufluIs that a Rudd'ism?02:57
RAOFI'm pretty sure it's not?03:00
RAOFIsn't that a stereotypical Strayaism?03:00
dufluMaybe. But I never heard any like that before Rudd03:00
robert_ancellRAOF, were you making a .symbols file for libmirserver as well as libmirclient?03:22
RAOFrobert_ancell: No?03:26
RAOFWould you like me to be?03:26
robert_ancellRAOF, ok, just wanted to check. I'm going to look at enabling that03:27
robert_ancellRAOF, do you have a branch for the client .symbols file?03:27
RAOFNot on Launchpad, no.03:27
robert_ancellgo on...03:27
robert_ancellyou know you (I) want you to03:27
RAOFI can push it up, but it doesn't work, because something's exporting a bunch of C++ drivel we don't want exported.03:28
* RAOF does so.03:28
robert_ancellnot working is my specialty03:28
robert_ancellthomi, is there a reason why jenkins polls the MPs and can't just have a hook on the bzr repo to know when new ones come in?03:31
* robert_ancell gets somewhat impatient with Jenkins03:31
thomirobert_ancell: you probably know bzr better than I do, but I don't think you can do that03:32
thomirobert_ancell: my understanding is that a MP really has nothing to do with bzr03:32
robert_ancellyeah, I guess03:32
thomirobert_ancell: if launchpad had that functionality we could03:32
thomibut... no one is landing new launchpad functionality :)03:32
robert_ancellpoll faster dammit! :)03:32
thomirobert_ancell: it should be pretty fast03:33
thomirobert_ancell: what makes you think that it's slow?03:33
robert_ancellI'm pretty impatient03:33
robert_ancellI just want the server to double check my results in minutes and push :)03:33
robert_ancellRAOF, woah, big old pile-o-patches to mesa :)03:35
RAOFYup.03:35
RAOF'tis what has been consuming my time :)03:35
thomirobert_ancell: it may be that what you're actually waiting on is the build time, rather than the poll time03:35
RAOFrobert_ancell: Enjoy lp:~raof/mir/mirclient-symbols03:43
robert_ancellRAOF, ta03:44
dufluRAOF: If you never start/use X, Mir only needs the Mesa stuff upstreamed to work, right?03:46
RAOFduflu: Correct.03:47
dufluThat will be nice to be able to build/run Mir without any PPAs03:47
thomiRAOF_: any ideas where I get the swrast video driver from? I'm trying to use xvfb for something, and it's complaingin at me04:27
dufluthomi: It's part of Mesa.... libgl1-mesa-dri:amd64: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so04:36
RAOF_duflu is correct.04:52
=== RAOF_ is now known as RAOF
tvossgood morning :)05:11
tvossRAOF, good morning :)05:13
RAOFtvoss: Aloha.05:13
duflutvoss: Morning (v2)05:44
tvossduflu, good morning :)05:44
dufluWoo, another Perth Canonicaler05:44
tvossRAOF, hah, debian rules for the intel driver enables both sna and uxa and --with-default-accel=uxa06:16
RAOFtvoss: Not as of http://bazaar.launchpad.net/~mir-team/mir/xf86-video-intel-fixup/revision/196 ?06:18
dufluSo, does SNA win at runtime?06:18
RAOFMaybe it just needs a rebuild?06:18
dufluOh, of course not, if default==UXA06:18
tvossRAOF, yeah, I'm looking at the source package from the system-compositor-testing ppa06:18
RAOFtvoss: The recipe https://code.launchpad.net/~mir-team/+recipe/xf86-video-intel-xmir should nest xf86-video-intel-fixup as the packaging. But it looks like the last autobuild failed to upload, so I've prodded a rebuild.06:19
tvossRAOF, ack, thanks06:19
alf__duflu: @distinguish-locked-buffers, could you please briefly explain why need to differentiate between the two kinds of consumers?06:29
duflualf__: Because bypass requires that you can and will have two compositor buffers acquired at once, and each acquire gives you a new one. A snapshot on the other hand is always shared and never "progresses" the buffer queue06:31
alf__duflu: For normal (non-bypass) usage though, we need to be able to (potentially) share compositor buffers. For example, if a window is between two outputs.06:35
alf__duflu: and it has to be rendered on both06:35
duflualf__: Yes I will be covering the shared case... and will adapt as multimonitor evolves06:36
tvoss_RAOF, where did you copy the package to? does not show up on system-compositor-testing06:39
RAOFHaven't copied the package at all; just triggered a build from the recipe in mir-team/staging06:40
tvoss_RAOF, hmmm, upload failed06:48
duflualf__: I'm not entirely comfortable implicitly guaranteeing that successive compositor_acquires will return the same buffer multiple times. I think you should either try to call it only once, or flag the intended use or required buffer number06:49
dufluThat would be safer, and clearer06:49
RAOFtvoss_: Oh, of course. No change on the xf86-video-intel-vladmir branch means no change in version number. Should be fixed by tweaking the recipe, which I've done and hit the "build" button for.06:50
tvoss_RAOF, thx06:51
tvoss_RAOF, got some time for a chat?06:51
RAOFduflu, alf__: Your talk reminds me that I'll need to discuss some buffer issues regarding GLX passthrough, once I've finished upstreaminginginginginging.06:51
RAOFtvoss_: In a little bit? I'd like to finish all this upstream pushing first.06:51
tvoss_RAOF, yeah, sure :)06:51
tvoss_RAOF, just ping me06:52
duflualf__: compositor_acquire(int age) ?06:52
alf__duflu: How do you think we should deal with the "surface rendered on multiple output" scenario? The current strategy (as implemented by the MultiAcquisitionBackBufferStrategy) tries to minimize having out of sync information on different screens, while keeping performance reasonable. I am sure there are other mechanisms, but we should think about the conflicting constraints and prioritize/compromise. See https://code.launchpad.net/~afrantzis/m07:07
duflualf__: I think the compositor should either guarantee one compositor_acquire per surface per frame, or it should include extra info to tell the buffer stream if it can/should recycle the previous one07:09
dufluMaybe pass a serial/frame number into acquire07:09
duflualf__: In fact, compositor_acquire(int frameno) would eliminate the need for a separate snapshot_acquire07:12
alf__duflu: we don't currently have the concept of a single frame across all outputs, since we render each output in its own thread, following different timings.07:13
duflualf__: Yes, good point.07:14
tvoss_RAOF, seems like the recipe finished successfully07:14
duflualf__: What's the motivation for spreading composition across multiple threads?07:15
dufluJust trying to be a little faster?07:15
duflu... because it might break down when we have to manage whole-display transformations/effects07:16
dufluNot sure07:16
alf__duflu: Main point is consistently rendering at each output's refresh rate07:18
duflualf__: Right. Be fast to ensure you can keep up. Makes some sense07:18
RAOFWell, also because you can't ensure that there aren't beats in the two refresh ticks.07:19
alf__duflu: it's not just about performance... RAOF got there first ^^^ :)07:19
dufluWhat's a "beat"?07:20
RAOFhttp://en.wikipedia.org/wiki/Beat_%28acoustics%2907:20
dufluOh, right, a (heart) beat to throttle the client07:20
dufluActually, no, I don't see how that's related07:21
RAOFIf you've got two ticks (a and b) with slightly different frequencies - as you likely will with two different vblank signals - then there'll be times when there is an arbitrarily small gap between a tick from a and a tick from b.07:22
RAOFSo if you try and render both in the same thread you'll find that for any non-zero frame render time you'll be missing frames some of the time.07:23
alf__duflu: RAOF: and also even if vsync rate is exactly the same, the starting offset of the vsync cycle is not guaranteed to be the same on different outputs. For example, one output's vsync may happend in the middle of the vsync cycle of another output (v0+8ms)07:24
dufluOK, I don't fully need to understand the reasoning on that right now. I'm not seeking to make composition single threaded... It's just nice to know why it's not07:26
dufluAnd regardless, performance will be higher and support for multiple GPUs closer to reality with multiple threads07:27
=== 45PAA6HVN is now known as tvoss
RAOFtvoss_: Finished the frantic upstreaming; can we chat post Zoë-bath?08:12
tvoss_RAOF, for sure :)08:13
tvoss_RAOF, saw your mails on the xorg-devel list08:13
=== pete-woods1 is now known as pete-woods
freeflyingdo we still have 2 cursors issue with staging mir ppa?08:54
tvossfreeflying, yup08:58
freeflyingtvoss: sounds cool, will give it try08:58
tvossfreeflying, you might want to use the system-compositor-testing ppa, though08:58
tvossfreeflying, staging revs too fast right now08:59
freeflyingtvoss: my laptop has a built-in touch screen, so concern of the 2 cursors issue :)08:59
tvossfreeflying, I don't think anyone has tested that :) but: all input handling is done by X anyways09:00
tvossRAOF, can I just copy over the intel driver from staging to testing?09:03
RAOFtvoss_: Yes.09:07
tvoss_RAOF, okay, just installed from staging, running fine with SNA enabled by default09:07
tvoss_RAOF, to verify: copy with binaries is correct?09:08
RAOFCorrect.09:09
tvoss_same series, too?09:10
RAOFYes.09:12
tvoss_RAOF, copied09:18
RAOFCool.09:18
freeflyingtvoss_: 2 cursors issue is still in system-compositor-testing with my laptop10:05
tvoss_freeflying, right :) we abuse it right now as a watermark10:07
tvoss_freeflying, if you feel adventerous, I can give you a deb that removes the second cursor10:07
freeflying tvoss_ yes plz :)10:08
=== Guest84306 is now known as Debolaz
kgunndidrocks: is everything in order ? (i should say "at the moment" :)12:59
didrockskgunn: we still have this ati issue, right? Is it worked on?13:00
didrockskgunn: on the MIR, see my answer and please run the "check-mir" command on them :)13:00
didrockskgunn: finally, we need to find people to maintain all those new rdepends in main13:00
kgunndidrocks: uh-oh...thought we clear those...bug# ?13:00
didrockskgunn: seems we didn't (it didn't move): bug #120307013:01
ubot5bug 1203070 in Mir "unity-system-compositor doesn't start on some ati card (with opensource driver)" [High,Confirmed] https://launchpad.net/bugs/120307013:01
didrocksand I can confirm this morning's test is still failing13:01
kgunnbregma: do you or any of your team have a machine with ati locally ?13:03
kgunnwrt https://bugs.launchpad.net/mir/+bug/120307013:03
ubot5Launchpad bug 1203070 in Mir "unity-system-compositor doesn't start on some ati card (with opensource driver)" [High,Confirmed]13:03
kgunnjust wondering for easier debug13:03
bregmakgunn, not me, and I don;t think any of my team since we had to borrow one to track a problem a few months ago (but I'll check, just in case)13:03
kgunnotherwise...can bschaefer work with robotfuel today ?13:03
kgunnbregma: thanks13:04
bregmaactually, I lie, there is a machine in my house with an ATI card but it's still running 10.04 and I doubt I could upgrade it without political difficulty :)13:05
robotfuelkgunn: I asked which card it was in the bug, I have xmir working on ati cards that I've tested.13:10
robotfueldidrocks: ^13:11
kgunnbregma: :D13:11
kgunntell "her" its for a good cause :))13:11
didrocksrobotfuel: did you see what I wrote in the description? RAOF already did a first pass13:12
mlankhorstmeh my nv50 is failing entirely :P13:12
kgunnbregma: well....seems maybe its a specific card13:12
kgunnmlankhorst: bah!...or not13:12
didrocksanswered anyway ;)13:12
didrockskgunn: tell me once you finished the MIR btw + found maintainers for the rdepends we are not upstream for13:13
kgunndidrocks: rdepends == who's gonna own xorg/mesa patches right ?...can we assume its RAOF for now?...i will work to get another name & will be explicit when/if this changes13:26
kgunnthat ok ?13:26
didrockskgunn: I meant the other one, you added (and rightly) opened a MIR against those13:27
didrocksthe new MIR build-dependencies13:28
didrocksMir13:28
didrocksthat we have to MIR (just adding complexity :p)13:28
kgunndidrocks: ah glog, glmath13:29
didrockskgunn: exactly13:29
didrockskgunn: we need a team subscribed to the bug13:29
didrockswho will fix those if we have/critical issues in ubuntu13:29
didrocks(as it's supported by canonical)13:29
didrocksliburcu, systemtap…13:30
kgunnolli__: ^13:30
kgunnits like system "stuff"13:30
didrockslibgflags needs a MIR as well13:30
didrocksbut wasn't opened: https://bugs.launchpad.net/ubuntu/+source/google-glog/+bug/115184413:30
ubot5Launchpad bug 1151844 in google-glog (Ubuntu) "[MIR] google-glog" [Undecided,Fix committed]13:30
didrocksas seems gflag had a +1 from mterry :p13:30
tvossdidrocks, I think we had a gflags MIR before13:31
didrockstvoss: yeah, it's that one13:31
tvossdidrocks, ah okay13:31
didrockstvoss: it was merged in the google-glog one13:31
didrocksjust didn't read through the ack :p13:31
kgunntvoss_: i'm running your one off fine....but pts giving me guff at the moment....complaining about php (which i know i had previously....arrggg)14:50
tvoss_kgunn, okay, the one you have does not clean the list of damaged regions :) and you should see increased cpu usage by usc14:51
=== ogra_` is now known as ogra_
racarrFirst GPU hang of the week woo17:39
racarrwhat is the shell class that listens to surface configuration requests from the client and I guess approves/dissaproves them18:30
racarrI cant think of anything other than the super unsatisfying like18:31
racarrSurfaceConfigurator, or things like that that tell you18:31
racarrnothing18:31
kdubSurfaceRequestGatekeeper18:35
racarrkdub: closer maybe but I still dont like it somehow18:40
racarrmaybe the_surface_attribute_selector()18:40
racarrValue SurfaceAttributeSelector::select_value(Surface, Attribute, RequestedValue)18:41
kdubstill pretty vague :)18:42
kdubsounds like you're trying to name it 'what does this do for mir' when it might be a class that describes something mir does for hte shell?18:44
racarrmm18:44
kdubracarr, also keep in mind that we'll need something similar to that class for surfaces and connections, i think18:45
kdub(thinking of denying framebuffer reconfiguraiton requests)18:45
racarrkdub: This chain of thought reminds me of an earlier thought I had18:46
racarrif the shell needs something like that for18:47
racarrevery setter on msh::Surface18:47
racarrthen perhaps the shell should be implementing18:47
racarrmsh::Surface18:47
kduboh indeed :)18:47
kdubi thought thats where we're heading18:47
kgunnracarr: yeah, i think mterry had been thinking for greeter like shell (internal mir client)...but after a chat with robert18:47
racarrkdub: Eh 50/50 ;)18:47
kdubor rather, it sholud get a msh::Surface-like interface18:47
kgunnracarr: it seems like mterry is going to just be able to be a regular client18:48
kdubwe will probably want to keep a 'switchboard' class inbetween18:48
racarrkgunn: Ok. Great :)18:48
racarrkdub: right.18:48
kgunnracarr: yeah...so even if its confusing...bottom line...less work for you i think :)18:48
kdubdirecting the signals between 'shell cares' and 'shell doesn't care' to the 'new class' we're takling about and the rest of the mir system respectively18:49
racarrkgunn: I think I get it now. I think I had just misinterpreted something earlier and thought this had already happened18:50
racarrkgunn: Went through gerry with the major shell items left/dandrader about OSK I think there are only 2 that are blocking for the next while so im hoping to get proposals today18:51
=== dandrader is now known as dandrader|afk
kgunnracarr: awesome ! thanks...those are our collective #1's on the shell-mir integration....its great to see it coming together18:55
=== dandrader|afk is now known as dandrader
xjuniorhey, switch back to X for a while should be just comment out unity from 10-unity-system-compositor.conf, right?20:30
kgunnxjunior: yep...http://unity.ubuntu.com/mir/debug_for_xmir.html20:32
xjuniorkgunn: XMir is a little slow lately, and I would need X for a few days. Uncommenting that is just crashing when initializing lightdm20:33
xjuniorit initializes, then gives me a popup saying it's going to start in low graphics mode20:34
kgunnxjunior: hmmm - honestly i have never heard of that causing an issue for anyone....20:34
smspillazbehold your first non-toolit non-demo client http://i.imgur.com/9Heamzv.jpg20:34
smspillaz*toolkit20:34
kgunnmight wanna file a bug and share your logs20:34
xjuniorkgunn: is there an automated way of doing it?20:34
kgunnxjunior: not really...20:37
kgunnxjunior: i gotta run...20:37
xjuniorso, X starts to fail with the following:20:40
xjunior"LoadModule: "dri2""20:40
xjunior"Module "dri2" already built-in20:40
xjunior"20:40
xjuniorthen unloads a bunch of methods and crashes20:40
xjuniorboom, that's it20:40
xjuniorit works with XMir, though20:41
kgunnbregma: robert_ancell  https://bugs.launchpad.net/mir/+bug/120307020:41
ubot5Launchpad bug 1203070 in Mir "unity-system-compositor doesn't start on some ati card (with opensource driver)" [Critical,Confirmed]20:41
xjuniorkgunn: is thet for me?20:41
kgunnxjunior: no sorry :)20:42
xjuniorno worries ;) I wish it was20:42
xjuniorI have a intel card, btw20:42
kgunntoo many conversations :)20:42
tvossxjunior, I'm working on the slowness issue20:43
xjuniorthat's fine :) It means people are testing it a lot20:43
kdubsmspillaz,  cool20:57
racarrsmspillaz: Oh yay it works20:57
kgunnbregma: invited you just if you wanted to join...totally optional20:59
tvosssmspillaz, ping21:04
smspillazracarr: I told raof I made a bet with you that I would get the mir client finished and working (my definition of working: I can navigate to play a video, hence I can conveniently leave out keyboard input) before my project supervisor starts reviewing the wayland stuff21:04
smspillazso I made a bet with you21:04
smspillazmmkay21:04
xjuniortvoss: that's nice. What's the actual issue?21:05
tvossxjunior, I'm deep in debugging the damage extension right now, but it's caused by some weird interaction in xmir-window.c21:06
smspillaztvoss: pong21:06
tvossI'm currently compiling an xserver that reverts http://cgit.freedesktop.org/xorg/xserver/commit/?id=8d7b7a0d71e0b89321b3341b781bc8845386def6 which caused hassle elsewhere, too21:06
tvossxjunior, https://gerrit.chromium.org/gerrit/#/c/474/1/x11-base/xorg-server/files/1.9.3-no-damage-report.patch21:07
tvosssmspillaz, hey there :) how goes?21:07
tvosssmspillaz, nice work on the xbmc stuff :) did you get it to work with Mir, yet?21:07
xjuniortvoss: nice!! is there an URL where I can see the xmir-window.c file?21:07
xjuniormore for curiosity than anything21:07
tvossxjunior, I'm working with the source package from the system compositor testing ppa21:08
smspillaztvoss: see the image I just posted :p21:08
smspillazno input yet but that's pretty easy, just need to copypasta21:08
smspillazthe xkbcommon stuff21:08
tvosssmspillaz, sorry, not in my scrollback :)21:08
bschaefersmspillaz, awesome :), also hello!21:09
smspillaztvoss: http://i.imgur.com/9Heamzv.jpg suprise!21:09
* tvoss wonders if he can pledge for a second edge21:09
xjuniorare you getting a ubuntu edge?21:09
tvossyup21:10
racarrtvoss: You should switch to marketing21:10
tvossracarr, why is that?21:10
racarr"Pledge for a second edge"21:10
racarrit rhymes and everything21:10
tvossyeah, now that you say it:)21:10
xjuniorReally loved the design. The price is a little salty to get it in Brazil (it would get additional 90% taxes)21:10
racarryou just have to imagine an athlete saying it over a gingle21:10
racarrand then drinking a bottle of gatorade21:11
tvosssmspillaz, \o/21:12
smspillaztvoss: though to be fair xbmc is pretty easy to port21:12
smspillazonce you avert your eyes21:12
smspillazto the #define kludge21:12
smspillazthat is CWinEvents21:12
smspillazand then also all of the21:12
smspillazIInterfaces21:12
tvossokay, wuick logout21:13
racarrI came up with a way to implement the latest input workaround purely in unity/platform API rather than having to make a new kind of event filter in Mir!21:14
racarrthe audience can hold21:14
racarrtheir applause21:14
smspillaztvoss: the mir client api is a little odd to work with at the moment, but it was better than the dlopen'ing some function that uses varargs because the client interfaces are autogenerated and can't be looked up at runtime21:15
smspillaz(in wayland)21:15
tvosssmspillaz, odd in what respect?21:16
smspillaztvoss: its a bit hard to explain all in one session21:17
tvosssmspillaz, yup, feel free to file some bugs21:18
smspillaztvoss: trust me, its better than that : https://github.com/smspillaz/xbmc/blob/5903875e5904c9174be6d9a82a6638817628f2be/xbmc/windowing/WaylandProtocol.h21:19
tvosssmspillaz, heh :)21:20
tvossxjunior, running a test-case now, might take some time :)21:23
xjuniorcool man, hope you get it :)21:29
xjuniordo you do some sort of automated performance test?21:29
tvossxjunior, it's not performance, somewhere an update gets lost21:30
xjuniorgotcha21:30
tvossanyway, time for bed :)21:30
tvossI'm on it, will give you an update tomorrow21:30
kdubrobert_ancell, ping21:33
robert_ancellkdub, hello21:33
robert_ancellRAOF, some good feedback on the X patches!21:59
robert_ancellRAOF, Is lightdm 1.7.2-0ubuntu2 stuck in the -proposed queue?22:39
robert_ancell1.7.6-0ubuntu2 rather22:44
RAOF_robert_ancell: Maybe?23:18
RAOF_robert_ancell: Not that I can see?23:21
=== RAOF_ is now known as RAOF
robert_ancellRAOF, https://launchpad.net/ubuntu/+source/lightdm says it's been in proposed for 8 hours23:22
RAOFrobert_ancell: It's probably blocked waiting on autopilot tests?23:48
robert_ancellRAOF, it doesn't have any..23:48
RAOF...23:49
racarrtest_shell_control_of_surface_configuration.cpp23:49
RAOFIt might cause a retrigger of _other_ autopilot tests?23:49
racarracceptance test files are hard to name23:49
thomiI'm no expert, but I believe that it'll wait in proposed until the entire stack is known to be good23:50
thomiwhich means *all* the tests passing, for all projects23:50
thomithis is done to avoid half-broken stacks being pushed to distro23:51
thomibut this is all Didiers stuff, so I could well be wrong23:51
RAOFThat seems unnecessarily brutal?23:51
thomiRAOF: not really23:54
bschaeferthomi, that could be true, as there is a failing test in power pc thats blocking a release atm :(23:54
thomiRAOF: once you release into distro, *everyone* gets it23:54
thomiRAOF: and if you break the desktop, hordes of angry geeks on horseback surround your house23:54
RAOFI mean, you should be able to be more granualar; a failing unity test shouldn't block everything23:55

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