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

mterryrobert_ancell, heyo.  So I started on a dbus api branch for the greeter.  But...  I ran into some problems, partly terminology, partly unsure if u-s-c is just very incomplete now00:23
robert_ancellmterry, hi00:23
mterryrobert_ancell, I have some IRC questions, but if interested, my simple branch is here: https://code.launchpad.net/~mterry/unity-system-compositor/greeter-api/+merge/17359200:23
mterryrobert_ancell, so (A) mir::Surface vs mir::Session inside of Mir.  Let's say I want the object that equals the whole user session image.  What is that called in Mir?00:24
mterrymir::Session seemed to be app-oriented, but contain sub surfaces00:24
robert_ancellmterry, mir::Session is a single connection to Mir. In the case of a shell/XMir they only have one mir::Surface. So mir::Session is the object that uniquely defines a user session00:25
mterryrobert_ancell, hmm, OK.  Each session is assigned a name.  The only place I could see that being set was creating ApplicationSessions, which seemed to be the app name.  What might those user mir::Session names be?  (I'm trying to see how to find a given session based on user name)00:27
robert_ancellmterry, lightdm gives them a name so it can recognise them when they reconnect. At the moment it's just '0', '1', ...00:27
robert_ancellthough there is now a new feature where we get the PID for each session, so might switch to that00:28
mterryrobert_ancell, I couldn't find anything in mir or u-s-c that related to users, uids, or names00:28
robert_ancellmterry, the ID is passed to XMir with the -mir flag xserver_local_get_mir_id() in lightdm00:29
robert_ancelland that's used in the mir_connect call00:29
robert_ancellsee SystemCompositor::set_active_session for accessing that name - mir::shell::Session::name()00:30
robert_ancellmterry, u-s-c doesn't know about users, but lightdm does. So I think the greeter is going to have to get that mapping from or via lightdm00:31
mterryrobert_ancell, ok00:32
dufluThis is crazy01:34
* duflu checks NBN rollout schedule01:34
thomirobert_ancell, all: the mir docs upload job is broken. It's a known issue, and will be fixed in the next 24 hours - I'm just waiting on a new SSH keypair from Francis.01:45
robert_ancellthomi, ta01:45
thomiso the docs won't get updated, but I'm on it :)01:45
robert_ancellmterry, still there?01:46
mterryrobert_ancell, yeah01:46
robert_ancellmterry, was thinking more about the transition, can you do a call?01:46
mterryrobert_ancell, err, not easily01:48
robert_ancellmterry, ok, np01:48
robert_ancellmterry, the session being logged into needs to show  when the user starts authenticating for that session right? Is there a reason lightdm doesn't pick that up and notify u-s-c?01:50
robert_ancellAre there more complicated cases where we need to synchronize the greeter with u-s-c?01:51
mterryrobert_ancell, not yet, but that puts u-s-c support into lightdm, which may not be ideal from an abstraction POV01:53
robert_ancellmterry, I'm thinking this would just be contained to seat-unity.c, which would be acceptable in that sense01:54
mterryrobert_ancell, there's already special unity support?   I see, that wouldn't be any worse then01:54
mterryrobert_ancell, so sure, no need to involve the greeter then01:54
mterryrobert_ancell, and that means we don't have to poke a DBus hole for the lightdm user01:55
robert_ancellmterry, yeah, the "unity" seat type is named like that so we can put whatever is appropriate in there01:55
robert_ancellmterry, correct, we'd just use the link that lightdm has already to u-s-c which would be simpler01:55
robert_ancellIt would be more difficult if we need a more complex interaction, but I'm not seeing that at present01:55
mterryrobert_ancell, is there a u-s-c branch of lightdm for me to look at?01:55
robert_ancellmterry, it's on trunk now01:55
mterryk01:55
smartboyhwrobert_ancell, mterry http://paste.ubuntu.com/5857176/ ?02:03
smartboyhwFreshly pulled from bzr02:03
robert_ancellsmartboyhw, you need a modified version of mesa, best got from https://launchpad.net/~mir-team/+archive/system-compositor-testing02:04
smartboyhwrobert_ancell, I do have that ppa installed02:04
smartboyhwrobert_ancell, I think that it is the problem of a new X version in archive02:04
robert_ancellRAOF, ^ Do those recent naming changes match up in the PPA?02:05
robert_ancellsmartboyhw, you might be hit by this change http://bazaar.launchpad.net/~mir-team/mir/trunk/revision/82102:05
robert_ancellheh, in saying that. I just compiled and I'm hitting the same problem :)02:06
smartboyhwrobert_ancell, HAH HAH HAH02:07
RAOFrobert_ancell: Just back from a run; I'll check in a moment.02:10
duflurobert_ancell, smartboyhw: system-compositor-testing will not only have likely linkage problems, but crashes too: https://bugs.launchpad.net/bugs/119726002:32
ubot5Ubuntu bug 1197260 in Mir "Mir GL clients are crashing with SIGSEGV inside gl* calls" [Critical,Fix released]02:32
smartboyhwduflu, uh02:33
dufluSeems RAOF has updated staging but not system-compositor-testing yet02:33
RAOFOh, that would be right.02:33
dufluUgg, more raring FTBS regressions02:36
dufluFTBFS02:36
robert_ancellRAOF, what's stopping up updating X in the PPA to 1.14?02:41
RAOFrobert_ancell: It already is 1.14 in staging; I'm in the process of fixing XMir on hybrid systems, then I'll update the testing-ppa too.02:41
robert_ancellRAOF, ok02:42
robert_ancellthomi, is the raring mesa in https://launchpad.net/~mir-team/+archive/system-compositor-testing/+packages still coming from the autolanding system? Can we disable it if not?02:42
robert_ancellracarr, around?02:46
smartboyhwrobert_ancell, you are in ~bug-control right?02:51
robert_ancellsmartboyhw, LP doesn't seem to have a group called that...02:52
smartboyhwrobert_ancell, ~ubuntu-bug-control?02:52
robert_ancellsmartboyhw, that doesn't seem to exist either02:53
smartboyhwrobert_ancell, just the Ubuntu Bug Control team...02:53
robert_ancell~ubuntu-bugcontrol02:54
robert_ancellLP says I am an indirect member of that team, yes02:54
smartboyhwrobert_ancell, alright.02:55
thomirobert_ancell: hmmm, will take a look. I didn't think we autolanded anything in there, but it seems we do03:02
dufluthomi: Please keep raring open in staging at least. I'm using it :)03:09
thomiduflu: it looks like it's not even building in raring03:10
thomiI'll leave it along, since I didn't even know it was enabled, unless robert_ancell asks me to disable it again, in which case he wins ;)03:11
robert_ancellthomi, ok, I'll delete the package, and bug you if it turns up again :)03:11
dufluthomi: I'm talking about PPAs. I believe we already banished raring from autolanding and CI03:11
dufluBecause I remember the argument :)03:11
thomiduflu: yeah, I'm talking about PPAs as well - the system-compositor-testing PPA in this instance03:12
thomiI remember this argument as well, I also seem to get mixed instructions about raring support, so I'm not really sure what to do about that, beside give priority to the last request03:13
dufluthomi: I only ask that you don't delete it from staging03:13
dufluAlthough if I want a stable machine then one could argue I'm stupid for using PPAs03:14
thomiduflu: ok, I'm not going to delete it from anywhere, but you'll need to upgrade to saucy and join the cool kids one day ;)03:14
dufluthomi: I have several saucy machines. But I like raring03:14
robert_ancellRAOF, any ETA on updating the system-compositor PPA?05:10
RAOFrobert_ancell: Everything's building in mir-team/staging now.05:14
robert_ancellRAOF, k05:14
tvossthomi, ping05:32
tvossRAOF, ping05:34
thomitvoss: Hi05:41
tvossdidrocks, ping05:54
RAOFtvoss: Pong.05:58
didrockstvoss: pong06:00
tvossdidrocks, hey there :) any update on the unity-gmock branch?06:01
tvossdidrocks, also: a review of https://code.launchpad.net/~thomas-voss/platform-api/add-location-service-api-take-2/+merge/17345706:01
tvosswould be highly appreciated06:01
didrockstvoss: it's building as we speach06:01
didrockstvoss: will have a look06:01
tvossdidrocks, thanks :)06:01
didrockstvoss: do you know if bregma got to the nux branch btw?06:01
tvossdidrocks, nope, no idea. Will ping him today06:02
didrocksthx06:02
didrockstvoss: hum, you didn't fix the MP since I pinged you, right?06:05
didrockshttps://code.launchpad.net/~thomas-voss/platform-api/add-location-service-api-take-2/+merge/173457/comments/38794806:06
tvossdidrocks, forgot to push ;)06:06
didrocks:)06:07
tvossdidrocks, pushed06:11
didrockstvoss: thanks, looking06:11
didrockstvoss: I don't understand your package naming convention06:13
tvossdidrocks, why not?06:13
didrockslibplatform-hardware-api1-hybris installs libubuntu-platform-hardware-api106:13
tvossdidrocks, yup, I would like to fix it, but in another MP06:13
didrocksI guess your intend is that it's the platform hybris flavor?06:13
didrockstvoss: hum, you are introducing those new packages, wouldn't it be better to fix them right now?06:14
didrocksrather than delivering another package that will have again a transition path needed?06:14
tvossdidrocks, I would rather prefer to have that MP land as is in accordance with the rest of the packaging setup06:14
tvossdidrocks, and clean it up in one go06:14
didrockstvoss: can we wait to land that one + cleanup the same day then?06:15
didrocks95 This package provides the hybris implementation of the hw-access parts of the Platform API.06:15
didrocks-> this is > 80 characters, won't fit in some UIs06:15
didrocks(same with -headers)06:16
didrockstvoss: please look at the lintian warnings, you have quite a lot on the -doc package as well06:17
tvossdidrocks, can I just split the lines?06:17
didrockstvoss: sure, as long as it's not the short description, this is possible06:17
tvossdidrocks, dpkg-buildpackage gives me the lintian warnings?06:17
didrockstvoss: debuild or bzr bd does06:17
didrockstvoss: you can launch manually as lintian *.deb06:17
didrockstvoss:          libplatform-hardware-api1-hybris | libplatform-hardware-api1,06:20
didrocksok… let's wait for the package reshaping for that one… :)06:20
didrockstvoss: just summed that up as https://code.launchpad.net/~thomas-voss/platform-api/add-location-service-api-take-2/+merge/173457/comments/38839206:21
tvossdidrocks, for the comments: I wonder why this mp raises those concerns as the previous one that landed actually introduced the changes you are commenting (if I understand correctly)06:42
dufluRAOF: ping06:43
RAOFduflu: Fong.06:43
dufluRAOF: Why don't I see, or why don't we need to set_crtc to a new DRM FB ID when the display's buffer object changes?06:44
didrockstvoss: the new packages are added in that MP, isn't it?06:45
didrockstvoss: the splitting in 2 packages06:45
RAOFduflu: Because we drmModePageFlip instead.06:46
RAOF(See kms_page_flipper.cpp06:47
RAOF)06:47
didrockstvoss: the unity build failed, can you try to have your branch merged against trunk to ensure you have the barriers fix?06:47
tvossdidrocks, nope, that's the branch you already approved :)06:50
didrockstvoss: that doesn't make the arg invalid. I'm reviewing 30+ branches a day, can do mistakes :)06:51
tvossdidrocks, fair point :) I was just confused06:51
tvossdidrocks, I fixed the lintian warnings and addressed your comments06:54
didrockstvoss: looking good, let me look at a last rebuild06:55
RAOFAaaand everything's deadlocked in the kernel again.06:55
tvossRAOF, \o/06:55
tvossdidrocks, updated the unity mp06:56
didrockstvoss: so, approved with a missing long description fix (would be nice to do that) and waiting on the followup MP to get both landing06:58
didrockspulling unity06:58
tvossdidrocks, I will take the package renaming discussion to ricmm and rsalveti once they are awake07:00
didrockstvoss: great :)07:02
dholbachgood morning07:26
didrockstvoss: hum, still has the same issue than with my branch07:34
didrocksfor unity07:34
didrocksno target check-headless07:34
didrockstvoss: did you try running bzr bd on your branch?07:34
tvossdidrocks, it fails locally, too07:39
=== 36DAAZP3C is now known as tvoss
tvossdidrocks, still building locally :)08:44
tvossgreyback, ping08:44
didrockstvoss: waow, you need ccache I guess :)08:45
tvossdidrocks, yup08:47
tvossdidrocks, I need a distcc cloud :)08:47
=== xd is now known as Guest32052
didrocksheh08:49
didrocksI did that some years ago on my machine08:49
didrocksand then, became lazy08:49
ogra_get faster hardware :P08:49
tvossogra_, why not juju deploy massive-distcc-cloud08:50
greybacktvoss: pong08:50
ogra_tvoss, heh, feel free ....08:50
tvosskatie_, ping09:00
katie_tvoss, hi09:01
tvosskatie_, can you add me to the hangout?09:01
katie_tvoss, i'm in the hangout09:01
katie_sure09:01
tvossdidrocks, so there is no target check-headless, and make check fails due to an assertion in g_main_loop09:16
didrockstvoss: yeah, the check-headless target is only generated when unity successfully detected gtests and so on09:16
didrocksfrom what I saw in cmake09:16
=== yofel_ is now known as yofel
tvossdidrocks, yeah, looking into that, too09:17
tvossdidrocks, found the issue, final dpkg-buildpackage run to check that all is good09:54
didrockstvoss: ah, excellent! tell me once you pushed :)09:54
=== dholbach_ is now known as dholbach
tvossdidrocks, package build successful, pushed the changes10:35
=== hikiko is now known as hikiko|lunch
=== hikiko|lunch is now known as hikiko|
didrockstvoss: built fine here as well, please link to the bug and make a MP11:40
didrockstvoss: oh, please add the version in google-mock build-dep11:40
didrocksthe only remaining one for new gmock is thus nux now11:40
tvossdidrocks, done: https://code.launchpad.net/~thomas-voss/unity/new-gmock/+merge/17345011:44
=== greyback is now known as greyback|food
=== alan_g is now known as alan_g|lunch
=== alan_g|lunch is now known as alan_g
greyback_kdub: ping13:37
xjuniorMorning guys. Since yesterday I'm not being able to start X/XMir14:22
xjuniorit starts to initialize (I even see Mir's big arrow at the top-left corner)14:22
xjuniorThen crashes. Anybody having this issue?14:22
greyback_xjunior: first I've heard of it. Would you mind following this guide on helping us figure out such problems: http://bazaar.launchpad.net/~mir-team/mir/trunk/view/head:/doc/debug_for_xmir.md14:31
xjuniorsure!14:32
greyback_xjunior: appreciated, thank you14:35
smartboyhwHmm RAOF isn't here, so I can't ask him on the progress on building new X version14:36
xjuniorgreyback_: the logs in /var/logs/lightdm seem way more useful than Xorg.0.log14:37
xjuniorgreyback_: found this14:37
xjuniorSwitching to Mir session 014:37
xjuniorLogging to /var/log/lightdm/x-0.log14:38
xjuniorCan't launch X server X -core, not found in path14:38
xjunior:P14:38
smartboyhw:O14:38
greyback_xjunior: did you pin the xmir packages, as described in http://unity.ubuntu.com/mir/installing_prebuilt_on_pc.html ?14:39
xjuniorxserver-xorg was removed by an update14:39
xjuniornot manually14:39
xjunioryep14:39
greyback_interesting.14:39
xjuniorgreyback_: I didn't install that mir-demos package though14:39
xjunioris it important? what's that?14:39
smartboyhwxjunior, try installing xserver-xorg and see what will it remove...14:40
xjuniorI installed following another step-by-step14:40
greyback_xjunior: a set of mir-demos, not vital IMO (only recommended as it pulls in all libmir* packages)14:40
xjuniorso, xserver-xorg has unmet dependencies14:40
smartboyhwxjunior, what unmet dependencies?14:40
smartboyhw!paste | xjunior14:40
ubot5xjunior: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.14:40
xjuniorxserver-xorg-core (>= 2:1.11) but it is not going to be installed14:41
xjuniorxserver-xorg-video-all but it is not going to be installed or xorg-driver-video14:41
smartboyhwxjunior, if you install xserver-xorg-core what shows up?14:41
xjuniorboom14:41
smartboyhwxjunior, ?14:41
greyback_xjunior: you're not the first with the issue: https://lists.ubuntu.com/archives/ubuntu-devel/2013-July/037450.html14:42
xjuniorxserver-xorg-core : Depends: libmirclient1 (>= 0.0.6bzr828saucy0) but 0.0.6bzr798saucy0 is to be installed14:42
smartboyhwAh, I remembered that14:42
smartboyhwxjunior, :O14:42
xjuniorsmartboyhw: :D any idea?14:42
smartboyhwxjunior, um, I14:43
smartboyhw'm looking @ the PPA14:43
xjunioris there a base pack I can remove to uninstall everything, then I install all over again?14:43
smartboyhwWhat happened it seems14:43
greyback_xjunior: I'd first apt-get update, then try to install xserver-xorg-core, and then follow apt's recommendation to "apt-get -f install" - hopefully it'll downgrade the mirclient package and let you re=isntall xorg14:43
xjuniorgreyback_: I've done dozens of apt-get update last hour14:44
tvossxjunior, best approach would be to purge the ppa from your system, reboot and readd the ppa14:44
smartboyhwgreyback_, xjunior the new xorg RAOF uploaded lists libmirclient bzr828 as dep14:44
ogra_sounds like you had saucy-proposed enabled ...14:44
xjuniorapt-get -f install didn't help =/14:44
ogra_never ever do that14:44
tvossxjunior, sudo ppa-purge ppa:mir-team/system-compositor-testing14:44
smartboyhwBut, obviously the PPA only has bzr79814:44
smartboyhwIt's PPA's fault14:44
tvosssmartboyhw, mind filing a bug against mir?14:44
xjuniorogra_: I have what?14:44
smartboyhwtvoss, let the bug reporter file the bug himself14:45
ogra_xjunior, do you have the saucy proposed archive enabled ? (you shouldnt)14:45
tvosssmartboyhw, ah sorry, I thought you had encountered the issue, too14:45
xjuniorogra_: I don't think I do14:45
ogra_k14:45
ogra_(it is just that we had someone yesterday who had that and X was completely removed due to that)14:45
xjuniortvoss: ok, so I'll purge, update, upgrade and reboot?14:46
tvossxjunior, ppa-purge does the job of update and upgrade, only reboot should be required after that14:46
xjuniornice14:47
smartboyhwWell, hopefully someone will move latest mir into the testing PPA14:47
ogra_heh, hopefully Mir will land in the archive soon instead14:48
xjuniorsmartboyhw: do you think it will happen yet today? I don't mind waiting14:48
smartboyhwxjunior, not sure, I need to ask RAOF14:48
smartboyhwWho isn't here14:48
ogra_australia sleeps :)14:48
smartboyhwYeah14:49
smartboyhwI did meet him earlier in the afternnon14:49
smartboyhw*afternoon14:49
tvossxjunior, mind if I file a bug against Mir?14:49
xjuniorslackers :)14:49
xjuniortvoss: be my guest :) I wouldn't know how to do that14:49
xjuniorogra_: couldn't find package list for PPA: mir-team14:49
xjuniorsystem-compositor-testing14:49
kgunnbregma: ping14:51
kgunnxjunior: https://launchpad.net/~mir-team/+archive/system-compositor-testing14:52
xjuniorogra_: well. that's odd14:52
xjuniorbut the ppa's source list was all commented out14:52
xjuniorit's doing its job now. I'll wait until tomorrow to try again the ppa.14:54
kdubmorning folks14:59
kdubgreyback_, pong14:59
xjuniorogra_, tvoss, smartboyhw: back to g'old xorg15:02
smartboyhwxjunior, good, wait for a few days then:)15:02
tvossxjunior, yup, filing the bug now :) we usually update the ppa during my mornings15:03
smartboyhwHeh, the two pointers thing is quite annoying for me, ogra_ when will the fix land?15:03
xjuniorsmartboyhw: I'm trying to get the PPA back and actually pay attention to what it upgrades15:03
greyback_kdub: hey, let me unping you for a bit :)15:04
smartboyhwtvoss, BTW why do you guys mark 0.0.6 as done but without actually releasing it?:P15:04
tvossxjunior, for your tracking pleasure https://bugs.launchpad.net/mir/+bug/119939915:05
ubot5Ubuntu bug 1199399 in Mir "System-Compositor-Testing PPA's Mir/XMir out of sync" [Undecided,New]15:05
xjuniorthanks a bunch, tvoss15:05
tvosssmartboyhw, not entirely sure, best if you check with robert_ancell or duflu15:05
xjuniortvoss: I re-enabled the PPA, apt-get update, installed unity-system-compositor15:06
xjuniornow apt-get upgrade15:06
xjuniorit doesn't want to remove my stuff now15:06
xjuniorlet's see where this takes me15:06
tvossxjunior, let's see :915:07
* smartboyhw raises eyes at xjunior 15:07
xjunioralright15:07
xjuniorit seem to have installed and didn't remove anything15:08
xjuniorbut xserver-xorg-core is being kept back15:08
xjuniordo y'all work at canonical, tvoss, smartboyhw ?15:09
tvossxjunior, I'm working at Canonical, yes15:09
smartboyhwxjunior, not me15:09
smartboyhwI'm a Ubuntu member though15:09
xjuniorok, it broke again :)15:09
xjuniorgot it15:09
smartboyhwxjunior, ouch15:09
xjuniorat least it's consistent. I like consistency15:09
smartboyhwxjunior, great15:10
smartboyhwWell let's get that sorted shall we15:10
smartboyhwtvoss, ^15:10
tvosssmartboyhw, xjunior I think it's best to wait for RAOF to put the ppa in a consistent state again15:10
smartboyhwtvoss, yeah15:11
greyback_kdub: unping for now.15:11
xjuniortvoss: indeed. I could track all that with you guys, but I'm working on an android app in that computer. can't be without it for now15:12
smartboyhwxjunior, backup:p15:12
xjuniorsmartboyhw: absolutely :)15:12
xjuniorgit FTW15:12
xjuniorI know you guys like bazaar, though :P15:12
smartboyhwSorry, it's bzr+nano FTW for me15:12
smartboyhwgit is OK too15:13
smartboyhwNo SVN plz15:13
xjuniorSVN was great in the past.15:13
xjuniorsmartboyhw: hey, which advantages do you see of bzr over git?15:13
smartboyhwxjunior, less commands? Easier merging? Cleaner CLI?15:13
xjuniorGot it…15:15
xjuniordon't fully agree with all of them, but cleaner CLI is very likely to be true ;)15:15
xjuniortvoss: do you guys work remotely at canonical?15:16
smartboyhwxjunior, well probably due to my age I don't like too complicated things (albeit I know quite a lot on packaging and QA and sort)15:16
kdubgreyback_, ok :)15:17
xjuniorsmartboyhw: I never actually tried bzr, so I can't say much. I admit I had a lot of difficulties with git in the beginning, but after I learned it it's just an awesome tool15:17
smartboyhwI like cleaner tools15:18
xjuniorspecially if you've developed in C, or C++. The object model is quite interesting15:18
smartboyhwAnd I appreciate those who made it15:18
xjuniorindeed. I'll take some time to try out bzr for sure15:18
tvossxjunior, yup15:19
xjunioris it my impression, or does Mir/XMir looks sharper than Xorg alone?15:19
* smartboyhw does want to join Canonical (or better still Google) one day15:19
ogra_Google means you need to move ... Canonical doesnt :)15:21
tvossogra_, +1 :)15:21
smartboyhwogra_, I would rather move there to work15:21
=== om26er_ is now known as om26er|dinner
xjuniorthat's a big thing15:21
xjuniorI'm a former ThoughtWorker. Worked there for some years. Left because I wanted to be more home.15:22
smartboyhwIf I work @ Canonical, the only thing I wouldn't want to touch is Mir:P15:23
* smartboyhw rather likes kernel or QA15:23
xjuniorreally? Seem like an interesting project15:23
smartboyhwWell, maybe talk about it 10 years later or so15:23
smartboyhwStill too young to be employed:P15:23
xjuniorI see where you're coming from.15:23
smartboyhwxjunior, where?15:24
xjuniorsmartboyhw: I mean, about rather working with Kernel and QA15:24
smartboyhwxjunior, oh15:24
smartboyhwWell, these are more *fun*15:24
xjuniorJust different kind of work. I like visual things… I'd work with Mir/Unity15:25
xjunioralso a big fan of dev-tools15:25
* smartboyhw likes sticking to a terminal15:26
bregmakgunn, pong15:31
kgunnbregma: hey...i was chatting w tvoss earlier...he was indicating now valgrind is up on arm...but now runs oom15:31
kgunnbregma: i was trying to square this with what you were originally proposing15:32
kgunne.g. disabling the test15:32
kgunnfor arm15:32
bregmakgunn, valgrind on qemu gets OOM on startup, but it runs fine on my N715:32
kgunnbregma: ah...so to parse it finer...disable for qemu ?15:33
bregmano, the problem is actual tests are deadlocking on at least the N7, I'm proposing to just not run the integration tests on ARM because they exercise the Android drivers15:34
bregmaat least in the packaging, in Jenkins it's a different story15:34
=== dandrader is now known as dandrader|afk
ChrisTownsendHey all, I followed the directions here: http://unity.ubuntu.com/mir/installing_prebuilt_on_pc.html and now my system is in a bad state.  After plymouth, I see a big mouse cursor and then a black screen with a steady cursor in the upper left part of the screen.  Also, I cannot switch to any VT's.  Any ideas?15:42
bregmaChrisTownsend, the big cursor is a good sign...  but it sounds like you have a broken Xorg somewhere, check /var/log/Xorg.0.log and /var/log/lightdm/* for signs of trouble15:45
ChrisTownsendbregma: The problem is I cannot do *anything* right now.15:45
alan_gChrisTownsend: can you ssh in from another box?15:46
ChrisTownsendI suppose I can boot a live stick and mount that partition and check.15:46
bregmawell, you can reboot into safe mode, too15:46
ChrisTownsendalan_g: Umm, I'm not sure what the IP is and I can't check.15:46
* ChrisTownsend Tries recovery move15:47
ChrisTownsendErr, mode15:47
bregmaif you can use recovery mode to comment out the type=unity line in /etc/lightdm/lightdm.conf, you should be good to go15:49
ChrisTownsendbregma: Alright, I'll see if I can do that.15:50
smartboyhwbregma, when is that big cursor going to disappear?15:50
=== dandrader|afk is now known as dandrader
ChrisTownsendbregma: I don't have the line "type=unity" in /etc/lightdm/lightdm.conf15:51
ChrisTownsendbregma: I think I found it in /etc/lightdm/lightdm.conf.d/10-unity-system-compositor.conf15:53
smartboyhwChrisTownsend, that's correct15:53
ChrisTownsendYay, it works15:54
ChrisTownsendbregma: Thanks15:54
smartboyhwIt should:) ChrisTownsend now you're back at your normal X15:54
bregma...and all you need to do is figure out why lightdm doesn;t come up!15:55
ChrisTownsendOh, I see.  Well...15:55
bregmasmartboyhw, is one cursor is good, more is better15:56
smartboyhwbregma, well, that's a bug actually15:56
smartboyhwBut it will take sometime to fix15:56
smartboyhwI don't know the ETA15:57
bregmait has to be gone by mid-August15:57
smartboyhwDISCLAIMER: I'm NOT on the Mir Development Team or associated by Canonical by anyway, so don't ask me when it will fixed:P15:57
smartboyhwbregma, I think the guys will be able to fix it by then15:57
bregmaright now we're sort of using the supernumerary cursor as a kind of watermark to indicate the Mir system compositor is running15:59
smartboyhwbregma, yeah15:59
ChrisTownsendStrange, it seems that the non Mir version of xserver-xorg-core is being held back.16:05
ChrisTownsendSo, the version of xserver-xorg-core in the Mir PPA depends on libmirclient1 >= 0.0.6bzr828saucy0, but the version of libmirclient1 in the PPA is 0.0.6bzr798saucy0.16:08
ChrisTownsendAny ideas when this will be fixed?16:09
tvossChrisTownsend, bug is filed: https://bugs.launchpad.net/mir/+bug/119939916:10
ubot5Ubuntu bug 1199399 in Mir "System-Compositor-Testing PPA's Mir/XMir out of sync" [Critical,Confirmed]16:10
tvossChrisTownsend, RAOF will take care of it as soon as he comes nline16:11
=== om26er|dinner is now known as om26er
dandradercan I parallel-build (e.g. -j10) with cross-compile-chroot.sh?16:18
kdubdandrader, it won't accept the parameter16:21
dandraderkdub, so, when cross-compiling, I have to stick to one thread?16:21
kdubthe script is more useful for understanding how to set things up and for CI purposes16:22
kdubdandrader, all it does really is set up the partial arm chroot, cmake, make16:22
dandraderkdub, ah, ok, so I can just call make directly16:22
kdubso you can go into the build directory and make -jX there16:22
dandraderkdub, ok, thanks!16:23
greyback_Anyone with XMir finding typing gets strange after a few hours? If I type 10 characters quickly, the first 9 come out reasonably fast, but the last after a delay of almost1/2  a second16:50
greyback_tvoss: ever heard of that? ^^16:50
kgunngreyback_: i had16:54
greyback_kgunn: Xorg memory usage seems to be growing slowly too.16:55
kgunnit seemed (seems) to relate to having a google hangout & flash having been run16:55
kgunnat least some deduction around that16:55
greyback_I've not had a hangout today16:55
kgunnbut honestly...it corrected itself sometime ago...16:55
greyback_but if that reproduces it, great16:55
kgunnyeah...yours might be new16:56
alan_ggreyback_: I've seen the same occasionally, but only without XMir.16:56
alan_gNever found a pattern16:57
greyback_well I've not experienced this before. I switched to XMir just today.16:58
=== olli_ is now known as olli
xjuniorgreyback_, kgunn: I experienced a lot of memory leak in hangout, but that's happening in OSX as well.17:18
xjuniorI blame google17:18
kgunnxjunior: yeah...i've heard all sort of complaints about hangouts in recent updates (but strangely....its rock solid for me)17:19
greyback_xjunior: but I've not used hangout today, so something else is the culprit17:19
xjuniorkgunn: my laptops are always on, also I use hangout daily for hours. I guess that helps to perceive the leak17:20
kgunngreyback_: fwiw, i had that issue for like 1 day....but then magically disappeared as an issue17:20
greyback_kgunn: well I'm logging it: https://bugs.launchpad.net/mir/+bug/119945017:20
ubot5Ubuntu bug 1199450 in Mir "[xmir] Inputs slowing, last event of a stream of events greatly delayed" [Undecided,New]17:20
greyback_I can't give more info than that unfortunately17:21
xjunioris it just my impression or ubuntu/unity details looks sharper when running on XMir?17:23
ChrisTownsendtvoss: Ack, thanks17:27
=== dholbach_ is now known as dholbach
om26erwhen do we move to mir on mako as default ?17:44
kgunnbregma: have you seen the oom for arm mir builds happen on pandas ?18:45
kgunnricmm_: ^18:45
kgunnbregma: or was it only on the qemu ?18:45
kdubsome of our functions are only used in example code, sorta frustrating19:10
kdubunless...19:10
kdubwell, i suppose some of what the shell team is using could be touching those19:10
racarrrecessitating client_ocus_notifications is running in to insane test failures...19:55
racarrsome of the changes in session mediator ended up doing something very weird in the tests... :(19:56
kdubsession mediator?19:56
kdubracarr, with input tests, there's this bug https://bugs.launchpad.net/mir/+bug/119674419:59
ubot5Ubuntu bug 1196744 in Mir "intermittent acceptance test bug in TestClientInput" [Medium,New]19:59
=== TheDrums_ is now known as TheDrums
racarrkdub: Ill investigate ater I ifnish client-focus-notiications20:25
kdubracarr, i'm curious the path the notification takes through the system20:26
kdubbut maybe I should just be patient until an MP :)20:26
racarrkdub: Same as surface states20:40
testingmirHi All! I am testing 13.10 with Mir (from PPA). Got an AMD/ATI card, r600.20:49
testingmirHow do I verify that Mir is actually running? Dash is much slower (unaccelerated?) compared to vanilla 13.10.20:50
testingmirAnything interesting that I should try out, like testing app?20:51
mlankhorstsounds more like the mesa regression thing20:52
mlankhorstin 9.1.X we reverted a bunch of patches to fix it, but the mesa in mir ppa probably doesn't have it20:53
mlankhorstoh wait ati.. all memory is pinned in system memory unless you're using a recent drm-next kernel20:53
testingmir /usr/lib/nux/unity_support_test -p   shows  that llvmpipe is running, "Gallium 0.4 on llvmpipe (LLVM 3.2, 128 bits)".20:53
testingmirHow do I verify that Unity runs under Mir?20:54
* testingmir running Linux 3.10.0-2-generic.20:55
bschaefertestingmir, a sign is there is a second cursor, also "ps aux | grep mir" should tell you if mir is running in the background20:55
bschaefertestingmir, also checking your /var/log/Xorg.0.log could help you know why your driver failed to load20:56
testingmirbschaefer: no 'mir' process is running, so this is not Mir. This is a fresh 13.10 installation (today's CD image), and the system booted OK with the radeon driver).20:57
bschaefertestingmir, have you followed: http://www.olli-ries.com/running-mir/20:57
bschaefer?20:57
ChrisTownsendtestingmir: Unfortunately,if you installed today, the Mir PPA is out of sync: https://bugs.launchpad.net/mir/+bug/119939920:58
ubot5Ubuntu bug 1199399 in Mir "System-Compositor-Testing PPA's Mir/XMir out of sync" [Critical,Confirmed]20:58
bschaeferthere's also that problem :)20:59
testingmirbschaefer: I configured my 13.10 with those instructions, http://www.olli-ries.com/running-mir/ (fresh install of 13.10)20:59
bschaefertestingmir, I would wait until tomorrow unfortunately, for that ppa to get fixed up21:00
bschaefer(hopefully by tomorrow!)21:00
ollibschaefer, isn't it ps auf | grep unity-system-compositor?21:00
testingmirChrisTownsend: I see. On my initial boot of the system, I managed to see an oversize curson as soon as Mir got started, then a blank screen.21:00
ollitestingmir, sorry for the messed up PPA, we are all waiting for RAOF to get up and fix it21:01
bschaeferolli, yeah that will tell you if unity system compositor is running, the other way I said will pick up if the mir server is running21:01
ChrisTownsendtestingmir: Yep, that's what I had too.  Wait for the PPA to get updated as bschaefer said.21:01
testingmirbschaefer: ok. Is there a way to easily revert to the vanilla 13.10 for now, and try out Mir again tomorrow? Shall I ppa-purge when I need to switch?21:01
bschaefertestingmir, yup! at the bottom of ollis blog, purge the ppa :)21:02
* bschaefer re-reads the blog just to be sure21:02
testingmirbschaefer: nice. Olli's page is good. Thanks!21:03
bschaefertestingmir, cool, yup :). np! Good luck tomorrow :), you can also check with the bug to see if its been resolved!21:04
ollimterry, ping21:19
mterryolli, hi21:20
ollihey mterry is there a BP for the system compositor/flicker free boot work?21:20
mterryolli, I'm not sure, I believe robert_ancell is working on that21:21
mterryrobert_ancell, did you see the question?  Looks like you logged in twice21:21
mterryrobert_ancell_, ^21:22
ollimterry, I thought kgunn told me you are looking into getting mir in at boot time as system compositor21:22
robert_ancell_mterry, been having network connection problems, seems better now21:22
olliwell, let me refine... you are working on the transitions21:22
robert_ancell_mterry, can you repeat?21:22
mterryolli, I've been helping test it, but not doing the work work21:22
mterryolli, yeah, I'm looking at how to let the greeter transition into the session right now21:23
ollirobert_ancell_, do we have a BP for mir as system compositor/flicker free boot21:23
robert_ancell_olli, https://blueprints.launchpad.net/ubuntu/+spec/client-1303-mir-system-compositor21:23
olliawkward21:23
* olli could have found that himself21:23
robert_ancell_:)21:23
ollithanks robert_ancell_21:23
robert_ancell_too many blueprints!21:23
ollinah, didn't bother looking21:24
olli;)21:24
mterryrobert_ancell_, speaking of transitions, so I was looking at the current Mir API that u-s-c uses.  Notably, FocusSetter::set_focus_to21:24
mterryrobert_ancell_, do you want a new API proposal that's more targeted, like FocusSetter::set_underneath (or something better named) or something more generic, that lets a client reorder the stack in general?21:26
ollikgunn, is there a BP that specifically addresses input device compatibility between X & Xmir?21:26
robert_ancell_mterry, my gut feel is something more generic would be appropriate21:26
kgunnolli: i think so...but need to dig21:26
kgunnolli: altho, its probably something akin to "make sure input devices work"21:26
olliheh21:27
ollioki21:27
mterryrobert_ancell_, maybe in FocusSequence21:27
kgunnand i suspect we'd want to be a bit more specific21:27
robert_ancell_mterry, oh, sorry - I was thinking you meant the lightdm -> u-s-c API21:27
mterryrobert_ancell_, oh, for that, I was thinking we can be more specific, since it's closer to the feature21:28
robert_ancell_racarr, ^ mterry needs to set the surface below the active one, what sort of API do you recommend for that?21:28
robert_ancell_mterry, I was pushing for the shell just providing the sort function so you could handle cases like this easily. But no-one listens to me :)21:28
robert_ancell_shell = u-s-c in this case21:29
mterryrobert_ancell_, for lightdm->u-s-c I was thinking a new message ID that meant "set_next_session" to mirror the "set_active_session"21:29
robert_ancell_mterry, yeah, that sounds about right21:29
mterryrobert_ancell_, but can't seem to implement that in u-s-c with current Mir API, so would like some guidance from you or racarr21:30
robert_ancell_mterry, racarr has been the one working on that API, so I'll have to defer to him at the moment. My feel is based on the current API we should just have a set_above / set_underneath21:31
racarrrobert_ancell_: mterry: Was picking up lunch :)21:38
racarrI think I agree set_above/set_underneath21:38
racarrWhat is the case here?21:38
kgunnbregma when can we expect to have the arm valgrind tests disabled & close out that "entering saucy" bug ?21:38
* kgunn looks for a brighter future away from ppa hell21:39
bregmakgunn, working on the gmock thing first, arm is queued next21:39
kgunnbregma: thanks....think it'll be before weeks end ? (trying to balance how much tinkering we need to do on ppa automation)21:40
bregmadefinitely21:40
bregmahopefully by end of tomorrow for the lot21:40
kgunn\o/21:41
ollirobert_ancell_, can you pls update me when the PPA is good again (mail)21:44
robert_ancell_thomi, the version of u-s-c in the testing PPA is using one version older than libmirserver - is there a new version being built currently?21:45
ollijono has a post waiting on that21:45
robert_ancell_olli, will do21:45
ollirobert_ancell_, thx21:45
thomirobert_ancell_: on a call, one moment21:45
mterryracarr, sorry, my service is spotty apparently.  The use case for set_above/set_underneath is the greeter wanting to superimpose its surface on top of the user's session surface21:58
mterryracarr, along those same lines, is there easy support for adding transforms like "blur this surface" to surfaces?21:58
kdubmterry, no support for that yet22:00
mterrykdub, understood22:05
racarrmterry: The greeter is always above the session surface right?22:12
racarrSo you can give the greeter, DepthId{1}22:12
racarrnd show/hide it22:12
racarrthen give all the user sessions DepthId{0}, then you can raise the user sessions, etc22:12
racarrbut the greeter will always be on top22:12
mterryracarr, I didn't notice the API to futz with DepthId22:13
kdubms::SurfaceController needs some refinement, i think22:14
racarrmterry: you can override the_surface_builder and assign them at construct time. it's slightly awkward perhaps (just in that the interface name is wrong)22:14
racarrmterry: Let me find an example22:14
racarrmterry: lp:~robertcarr/+junk/with-depth-ids22:15
racarrunity-mir/surfacebuilder.cpp22:15
racarrI have an intermittent test failure and I don't even know how to figure out if it's in the client or the server :( the client seems to block endlessly in one of mir_connection_release/mir_connection_sync22:18
racarrbut adding22:18
racarrany prints or turning on logging makes it go away22:18
mterryracarr, hrmm..   I'm not sure I fully understand DepthIds22:19
racarrlikewise gdb (even ignoring the difficulty of attaching to the child process)22:19
racarrmterry: If there are two surfaces with DepthId X and Y and X > Y22:19
racarrthen X will always be on top of Y22:19
racarryou can call22:19
racarrraise(Y), and Y will be moved to the top of all surfaces with DepthId <=Y22:19
mterryracarr, always meaning, even if I use FocusSetter::set_focus_to or some such?22:19
racarrbut still be under X22:20
racarrmterry: Yes22:20
racarrits like Layers22:20
mterryracarr, OK.  I remember looking at them in the API, but they only were used at creation.  It makes sense now that you say I can override the surface builder22:21
racarrexcellent :)22:22
kdubracarr, that hang you mention... in what tests?22:23
racarrkdub: create_surfaces/create_surfaces_async22:28
racarrit seems to also be in the input tests22:28
racarrbut I am trying to fix it in these first22:28
racarrkdub_: Mine ends up being a deadlock on the client side mir connection22:39
racarrit gets to MirSurface::release_surface which acquires the recursive lock on the MirSurface22:40
racarrthen calls MirConnection::release_surface22:40
robert_ancellRAOF_, I've just copied over the staging mir, mesa and u-s-c into the compositor testing PPA, any reason why I shouldn't have done that?22:41
racarrwhich trys to acquire the lock, but blocks because an RPC thread is22:41
racarrhas called MirConnection::handle_event22:41
racarrtaking the lock22:41
kdub_hmm, with the input ones, i have a fix i've been using (it was the difference between surface creation/input callback registration)22:41
racarrbut MirConnection::handle_event tries to call22:41
kdub_haven't hit that one though22:41
racarrMirSurface::handle_event22:41
racarrbut the Surface is already locked from the22:41
racarroriginal thread22:41
racarr*deep breath*22:41
robert_ancellthomi, RAOF, others, the system-compositor PPA seems to upgrade now, can you check if you can run XMir from it?22:42
robert_ancellkgunn, ^22:42
kdub_racarr, that sounds like it would be plausible though for the other deadlock22:43
RAOF_robert_ancell: Not that I'm aware of.22:45
=== RAOF_ is now known as RAOF
robert_ancellRAOF, can you test the updated PPA asap? We have been in a broken state overnight22:46
RAOFWhat blew up?22:46
RAOFI tested the new X bits in the staging PPA, then copied them to -testing. Which shouldn't have blown up -testing.22:47
robert_ancellRAOF, xorg depended on an old version of Mir I think, I can't remember the exact mismatch22:47
* robert_ancell looks through his logs22:48
RAOFHm. Xorg may have depended on a *new* version of Mir, I guess.22:48
robert_ancellRAOF, yeah, that was it22:48
thomirobert_ancell: hey, sorry - that was a long call22:48
thomirobert_ancell: the problem resolved itself?22:48
RAOFOk. Time to actually generate a symbols file for libmirclient, so this doesn't happen again.22:49
robert_ancellthomi, I rebuilt u-s-c in the -testing PPA so it matched, though the staging PPA still seems mismatched22:49
thomiI wonder if autolanding failed22:49
* thomi checks22:49
robert_ancellthomi, does it wait until the mir build completes, or is published? Since it's one version behind perhaps it doesn't wait long enough to rebuild22:50
thomirobert_ancell: no, the autolanding stuff uses it's own internal archive22:51
thomiso anything that's been autolanded is avaialble22:51
robert_ancellto clarify - u-s-c 0.0.1bzr33saucy0.144 is built against mir 0.0.6bzr831saucy0 , but 0.0.6bzr832saucy0  is the latest (7 hours old)22:51
thomirobert_ancell: I'll have to ask about that23:00
racarrkdub_: That was in fact the first hang :) I may have a seperate input hang, or perhaps yours is related and the client bit just appears to solve it23:01
racarrin the key hndling tests, there is  race between the InputRegistrar in the test fixture saying "Surface ready for input"23:01
kdub_right23:01
racarrwhich happens right after the ms::Surce being creted23:01
racarrand the23:01
racarrsurface actually receiving23:01
racarrkeybord focus23:01
racarrwhich happens after the msh::Surface has been created later in the shell23:02
racarrso key events are being dropped on23:02
racarrthe server side23:02
racarrIll change the test fixture to ...do something better23:02
robert_ancellRAOF, thomi, are you able to test the system-compositor-testing PPA? I need some confirmation before I can announce it fixed23:03
RAOFLooks like it *should* work from my end, but I get terrible bandwidth from the archive. thomi, can you pull from launchpad at > 30kbsec?23:04
* RAOF is testing, but it'll take a while to verify.23:05
robert_ancellRAOF, thanks23:07
kdub_racarr, i have a branch that pulls the pipe based cross ipc synchronization out of some of the integration tests that fixes that test fixture input race23:10
kdub_just not sure if we want to make that the way all our tests with fork()'s in them have sync yet :)23:10
thomiRAOF: I'm on mobile broadband until this afternoon :(23:18
RAOFWe win the bandwidth award!23:19
* RAOF has noticed people doing what appears to be feeding fibre into the pits in the next street. C'mon NBN. Rollout here!23:21
racarrkdub_: I think I have fixed it in the server side23:22
racarrthe notification "its ok to inject input" is now done right before returning the SurfaceId from the_frontend_shell23:23
racarrand it's all fine23:23
jono_olli, hey23:35
jono_is the PPA fixed now?23:35
jono_ahhh RAOF, are you on the PPA issue?23:35
RAOFjono_: Yes.23:36
jono_RAOF cool, when it is resolved can you ping me, I will be afk for a bit and then I can move forward with a post I was going to make23:36
jono_thnaks23:36
RAOFWell, robert_ancell queued the rebuilds. I'm checking that it works now, hampered by my 30kb/sec bandwidth to Launchpad.23:36
jono_thanks23:36
jono_30kb/sec23:36
jono_wow23:36
jono_raging23:36
robert_ancelljono_, if you're using the PPA, please update and check23:37
robert_ancelljono_, I think it works, I just need confirmation23:37
jono_robert_ancell, I removed the PPA when I couldn't boot earlier ;-)23:37
robert_ancelljono_, :(23:37
jono_it turned out that X was removed23:37
robert_ancelljono_, you did a dist-upgrade without checking?23:37
jono_when I installed xorg everything worked again23:37
jono_robert_ancell, indeed, I got lazy with everything working so reliably23:38
jono_I won't make that mistake again :-)23:38
robert_ancelljono_, yeah, I've been burned by cases like that before23:38
jono_ok gotta go and work out23:38
jono_trying to get my fat ass in shape :-)23:38
robert_ancellWe really need a "are you really really sure" message if ubuntu-desktop is marked for uninstallation - that would stop these cases23:38
RAOFHm. Has my scheduler died again?23:40
bschaeferyay the mir ppa i working again23:43
bschaefers/i/is23:43
RAOFbschaefer: The system-compositor-testing PPA?23:45
bschaeferRAOF, yup23:45
RAOFjono_: ^^ Looks like it works again :)23:46
* RAOF 's laptop is still in the process of verifying that.23:46

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