/srv/irclogs.ubuntu.com/2013/06/20/#ubuntu-mir.txt

robert_ancellRAOF, what is wrong with your connection in general? You G+ calls are barely working!00:02
RAOFI don't know.00:04
RAOFI *can* get00:04
RAOFI *can* get > 1MB/sec down from the internode mirror.00:04
racarrRAOF: I had to try really hard to laugh sometime in the meetings, becaue you would have a conversation with omeone and from my perpective it was about00:10
racarr70% machine noise00:10
racarrand 30% word00:10
racarrthat was why "We only need to care about input when we want to"00:11
racarrwas so hilarious because it came out super clear after about 20 seconds of machine noise00:11
racarrhaha00:11
RAOFHah00:11
racarrI got what you were getting at though00:11
RAOFMy natural verbosity is leveraged as an error-correcting code. Yay!00:12
robert_ancellDoes anyone know of a method to give properties to a rendering backend? I need to tell the GBM platform to use a specific VT, but there doesn't seem to be any channel for backend properties00:39
RAOFThere's currently no channel to do that.00:48
RAOFrobert_ancell: I think to do that you'd need to (a) extend DefaultConfiguration to handle a new cmdline parameter, then (b) Extend the interface to create_platform() to pass those configuration options in, and then (c) make the GBMPlatform pass those through to GBMDisplay, and then (d) make GBMDisplay actually act on it.00:55
robert_ancellRAOF, yeah, I thought that would be likely01:04
robert_ancellRAOF, though the options might not come from the command line, so I was thinking just key-value paird01:04
robert_ancellpairs01:04
RAOFThe options parser also handles environment variables, so that's close already.01:05
robert_ancellRAOF, the boost one?01:06
RAOFWhatever one we actually use. It might be the boost one?01:06
racarrYep01:06
racarreach command line option is also01:06
racarran enviroment variable, i.e. --foo-bar is MIR_SERVER_FOO_BAR01:07
RAOFOk. Apparently the reason why unity-system-compositor doesn't give any output for me when it fails on startup is because it never gets to main()‽01:55
dufluRAOF: Nice. That would mean either failure to find DSOs, or a DSO is crashing in init (before main)01:58
RAOFSilently!01:59
dufluRAOF: env LD_DEBUG=all   ?02:00
RAOFWow. That really dumps *all the things*, doesn't it.02:00
dufluThere are alternatives to "all". Try "help"02:01
* RAOF reboots to give that a whilrlygig.02:02
RAOFHah. It must be getting SIGKILLed by lightdm for starting slowly :)02:15
RAOFThat's not very useful.02:15
robert_ancellRAOF, It took more than 5 seconds?!02:17
RAOFrobert_ancell: Oh, yes.02:17
RAOFYou underestimate the boot time of my goddamned laptop.02:17
robert_ancellRAOF, If you have any clever idea of how to avoid that timeout let me know. I guess there has to be some hard coded value02:18
robert_ancellRAOF, you can set the timeout on a recent commit in the config file btw02:18
RAOFYeah, I'll just set that and then be about my business.02:18
RAOFYou could probably just wait for the system compositor to respond on its pipes or die; it's *probably* not going to hang.02:18
robert_ancellRAOF, it's the *probably* we need a catch for otherwise you'll hang forever02:20
robert_ancellIs there a number low enough for the user not to hard reset but to be pretty much sure the compositor/driver has failed? 30s? 1min?02:20
RAOFDunno.02:21
RAOFNot hanging is something that we should be able to make the vast majority of cases, so we might just not catch that.02:22
robert_ancellRAOF, well, then setting it to 5 mins should work02:22
RAOFAnd rely on the failed-boot mechanics to get the user somewhere sane *next* boot.02:22
robert_ancellah, true02:22
robert_ancellRAOF, it would make the regression tests faster if we drop that feature02:22
RAOFAt some point we should be able to just drop it. That point might be now02:24
RAOFWhat's the config key for the timeout?02:24
robert_ancellunity-compositor-timeout in [SeatDefaults]02:25
RAOFTa.02:26
RAOFWell, that's unhelpful.02:27
RAOFIsh.02:27
RAOFSetting that timeout to an insane value makes u-s-c work for me.02:27
RAOFNO BUG REPRODUCTION FOR YOU!02:28
robert_ancellRAOF, how long does it take? (from lightdm.log)02:29
RAOFHAH!02:29
RAOF5.36s02:29
RAOFSorry, 5.26s, 'cause it takes .10s to get to the point of starting u-s-c.02:30
robert_ancell!02:30
robert_ancelldefault -> 10s?02:30
RAOFMaybe?02:30
RAOFWhy not go 60; that's a nice round number, and even the slowest, most degraded btrfs filesystem surely can't take more than 60s to start u-s-c. ☺02:31
robert_ancellsure02:32
robert_ancellRAOF, do you want to do the MP?02:32
RAOFYeah, I can do that.02:32
RAOFHm. I wonder why it's saing “Unable to set active session, unknown client name 0”?02:33
RAOFOr, rather, why can't it find that client name.02:33
robert_ancellRAOF, full log?02:34
RAOFrobert_ancell: http://paste.ubuntu.com/5782352/02:37
RAOFThat's startup, switching to a guest session, and back.02:37
robert_ancellLooks like the session hadn't connected in time02:37
RAOFYeah.02:37
robert_ancellThough clearly some more logging is needed..02:37
robert_ancellI thought I'd linked up logs to when sessions connected, but apparently didn't find the right class for that..02:38
duflurobert_ancell: I was thinking there's a distinct lack of demo/manual test programs for the session stuff. It's a bit slow depending on lightdm to test that externally...02:57
robert_ancellduflu, not sure what you mean - 1-1 anyway?02:58
duflurobert_ancell: Yes am online02:58
dufluAllegedly02:58
robert_ancellRAOF, I think you merged into the wrong thing - https://code.launchpad.net/~raof/mir/lightdm-longer-u-s-c-timeout/+merge/17047803:08
robert_ancelllp:mir instead of lp:unity-system-compositor03:08
dufluhttps://code.launchpad.net/~vanvugt/lightdm/fix-1192051/+merge/17036203:09
robert_ancellRAOF, lp:~mir-team/lightdm/unity rather03:34
RAOFrobert_ancell: Yeah, just retargetting.03:35
robert_ancellRAOF, can you do the 1-1 earlier, say nowish?03:36
RAOFSure.03:37
robert_ancellRAOF, https://code.launchpad.net/~robert-ancell/lightdm/unity-disable-tests/+merge/17048504:51
RAOFrobert_ancell: https://code.launchpad.net/~raof/lightdm/lightdm-longer-u-s-c-timeout/+merge/17048604:55
tvossduflu, ping05:28
duflutvoss: Pong. Seems I tend to get back from lunch when you log on in the mornings05:29
tvossduflu, perfect timing then :)05:29
tvossduflu, we both are sleepy, that is, and long for coffee05:29
dufluI got a real coffee on the way back from lunch \o/05:30
tvossduflu, \o/05:30
dufluRAOF: What was your system-compositor exiting problem?05:47
RAOFduflu: It was taking 5.2 seconds to start, and lightdm was sending SIGKILL after 5 seconds.05:49
dufluRAOF: Oh. Why so slow?05:50
RAOFBecause btrfs05:50
dufluWow05:50
RAOFIt's *significantly* better now than it has been. It takes less than a minute to get to the unity-greeter.05:51
RAOFIt used to take more than five.05:51
tvossRAOF, wow, that's long turnaround time05:52
RAOFbtrfs *really* doesn't like snapshots on rotating rust.05:52
RAOFOver time its performance degrades to basically nothing.05:52
RAOFI think my worst-case boot time was 20 minutes to the greeter.05:53
RAOFWhich is a pity, because btrfs has a bunch of awesome features.05:53
=== marlinc is now known as marlinc|away
RAOFrobert_ancell: Hey, is there currently any way for XMir to tell when it gains or loses focus?07:04
robert_ancellRAOF, I don't think so07:32
=== marlinc|away is now known as marlinc
RAOFI think I could bodge something together by listening for motion events, but it's probably better to actually fix the protocol so that clients can tell when they're focussed.07:35
RAOFracarr? :)07:35
robert_ancellRAOF, did you confirm the X acceleration is fixed from boot?07:40
RAOFYup.07:41
robert_ancellRAOF, i.e. bug 119193707:41
ubot5bug 1191937 in Light Display Manager "loss of x acceleration when xmir is loaded" [Undecided,Fix committed] https://launchpad.net/bugs/119193707:41
robert_ancellNice07:41
RAOFWorks For Me™07:41
RAOFBreaks once you try and do user-switching, of course, but until then, it works fine :)07:41
robert_ancellI was just thinking that the VT number might be wrong based on the duflu review of my VT branch for mir - I set XDG_VNTR to the number in /dev/ttyN - but VT numbers are off by one07:42
robert_ancelli.e. tty1 = VT007:42
robert_ancellor duflu has just confused me07:42
RAOFI think duflu might have confused you.07:43
dufluWell it doesn't look like a Mir bug. We're asking for VT n and it appears on tty n+1 (Alt+(Fn+1))07:43
dufluLooks designed that way07:43
dufluI mean tty n+1 appears on VT n :)07:44
dufluWhich is confusion, even if by design, that we should hide from the user07:44
robert_ancellduflu, are you sure the mouse pointer has anything to do with that change? I can't see the connection07:45
duflurobert_ancell: I can't see the connection either but it doesn't happen to trunk07:45
dufluI think you triggered a side-effect07:45
tvossRAOF, for focus events: stay tuned, working with ricmm and racarr on that bit07:47
RAOFtvoss: Cool. Presumably they'll come through the event fd, like everything else?07:47
tvossRAOF, presumably07:47
robert_ancellRAOF, thanks for the corrections btw :)07:49
dufluRAOF: Only input comes through the fd. All other events come over the protobuf07:50
RAOFduflu: The things in common/event.h don't all come over the fd?07:51
tvossRAOF, yup, the input stream is separate right now07:52
dufluRAOF: Oh, yes. Input events (most of event.h) are on the fd. But MirSurfaceEvent (of which there are multiple sub-types) are on protobuf07:52
RAOFAh, of course!07:53
RAOFOne more thing to send through my thread-to-eventloop mechanism, I guess.07:53
tvossRAOF, not sure duflu did some experiments with unifying the streams, I did some preliminary investigations and having the event stream separate turned out to be a good idea07:54
dufluI've been meaning to write a "ping" type benchmark to establish a baseline and we can work from there07:54
tvossduflu, will dig out my experiemtn I did on the phone07:55
RAOFEh. I guess XMir will just get a callback on a random thread, I'll send it through the pipe, and pick it up in X's event loop.07:55
duflutvoss: Though you can't "ping" with input. Only surface events have simple request/response sequences via the client API... (?)07:55
tvossRAOF, fair07:56
dufluRAOF: Most exciting is that *all* event types come to clients in the same callback, regardless of the transport :)07:57
RAOFYay!07:57
dufluIt gets combined in the client library07:57
tvossduflu, iirc I tagged the input events with a timestamp07:58
tvossduflu, but let me find the code :)07:58
dufluSure07:58
=== marlinc is now known as marlinc|away
tvossmmrazik, ping08:34
mmraziktvoss: pong08:34
=== mmrazik is now known as mmrazik|afk
robert_ancelldidrocks, o/08:50
seb128robert_ancell, hey, how are you?08:50
robert_ancellseb128, hey, good08:50
robert_ancellyourself?08:50
seb128I'm good thanks08:50
seb128better today that this heat wave is over, I didn't like the 36°C from the past days much :p08:51
seb128now that*08:51
robert_ancellseb128, ow, that's hot for you guys!08:51
seb128indeed08:52
ogra_seb128, lucky you ... we still have it08:52
=== mmrazik|afk is now known as mmrazik
robert_ancellRAOF, hey, not sure if you noticed but I added conf.d support to lightdm - so you should be able to make /etc/lightdm/lightdm.conf.d/99-unity-system-compositor.conf and set the seat type in there09:23
robert_ancellIt should work better than lightdm-set-defaults?09:24
robert_ancelldidrocks, ^ actually, do you know if there's anything using lightdm-set-defaults that wouldn't work switched to using the conf.d dir?09:25
robert_ancelltvoss, good to see I'm not the only one worried about feature freeze :)09:27
tvossrobert_ancell, yup09:27
dufluRAOF, anyone, can you please kick off a Mesa build for raring? We don't have one since libmirclient0 became libmirclient1 ... https://launchpad.net/~mir-team/+archive/staging/+packages09:28
dufluHence the build failures and crashes I mentioned on mir-devel09:28
=== marlinc|away is now known as marlinc
robert_ancellduflu, I'm having a look inside Jenkins. I know it can be done, but Jenkins is a little scary09:37
duflurobert_ancell, no problem. I have a workaround09:38
dufluBut it's ugly09:38
robert_ancellduflu, for you or for everyone?09:38
duflurobert_ancell, on mir-devel09:38
tvossmmrazik, can you help here?^09:38
* robert_ancell wonders how close we are to dropping raring in the PPA09:39
mmraziklooking09:40
mmrazikduflu: what needs to be done? Just dput the mesa into ppa again?09:40
duflummrazik, Maybe. Haven't checked the cause of failure09:40
didrockshey robert_ancell!09:41
mmrazikduflu, robert_ancell: FYI -- the following job takes whatever is in the git repo and dputs into the ppa09:41
robert_ancelldidrocks, hello09:41
mmrazik:09:41
mmrazikhttp://10.97.2.10:8080/job/mesa-egl-platform-mir-dput/09:41
mmrazikjust triggered it09:41
didrocksrobert_ancell: I think they should be fine with using conf.d (it's mostly metapackages generated from the seeds)09:41
robert_ancellmmrazik, ta09:41
mmrazikusually its triggered by git change but if you trigger manually it will do the same09:41
duflummrazik, thanks. Fingers crossed09:42
duflurobert_ancell, should I spend the time trying to fix plymouth properly or move on to transitions?09:58
robert_ancellduflu, transitions09:59
robert_ancellduflu, because we need that to work for the phone09:59
dufluTrue09:59
dufluI might make some dinner instead. 6pm is a bad time to start something new09:59
robert_ancell:)10:00
dufluNot to mention 10pm10:00
RAOFduflu: Mesa won't build against libmirclient1 on raring until *Mir* 0.0.4 builds on raring.10:14
* duflu looks10:14
dufluRAOF: As it happens, Mir 0.0.4 _can't_ build on raring due to the bug I'm trying to solve... https://launchpadlibrarian.net/142922154/buildlog_ubuntu-raring-amd64.mir_0.0.4bzr760raring0_FAILEDTOBUILD.txt.gz10:17
dufluAnd the build won't succeed until it's done against a Mesa that links libmirclient1 :/10:17
dufluChicken or egg?10:17
tvossduflu, RAOF, robert_ancell do we _need_ raring?10:18
* duflu does for efficient development10:18
robert_ancelltvoss, no, just waiting for everything to finish using it10:18
dufluIt's only a PPA problem. We can support raring if only we rebuild Mesa, somehow10:19
RAOFduflu: Why won't the build succeed until it's done against a Mesa that links libmirclient1?10:19
dufluRAOF: see my emails on mir-devel. Because we link to Mesa libs that use libmirclient0 (PPA) and also link to libmirclient1 locally10:20
dufluHow did we fix it for saucy?10:21
dufluShould be the same solution10:21
duflu/usr/bin/ld: warning: libmirclient.so.0, needed by /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libEGL.so, may conflict with libmirclient.so.110:22
* tvoss wonders if it would be a lot of effort to split out the mesa egl into libEGL.so, which is a chim loading libEGL_${PLATFORM}.so10:23
tvossduflu, RAOF ^?10:24
duflutvoss: Not sure. I'm looking at the dependency graph...10:25
tvossduflu, that would unbreak our build and ease multi-egl-platform support10:26
dufluAh it's the client+server being built together that's the problem10:26
RAOFYes.10:26
RAOFIf we split libmirclient out, it would be much easier.10:26
dufluEGL depends on mirclient. And mirclient depends on nothing important but gets built *with* mirserver which depends on EGL. So we have a dependency cycle we don't really need10:27
dufluI think hikiko mentioned this before10:27
tvossduflu, unfuck that please :)10:27
tvossduflu, oh well, you are eod already :)10:27
* duflu will try to /action/ that another day10:27
tvossyup :)10:27
tvossduflu, sorry :)10:28
dufluSounds messy10:28
duflutvoss: Looks like separation of source packages :P10:28
tvossduflu, ack, noted it down to nag you tomorrow my morning :) or is it already friday for you? not sure ... damn tz10:29
dufluDo we *need* MirMesa on the build system? Could it just build with standard Mesa?10:41
dufluHave we added any symbols to libEGL for Mir?10:41
alan_gduflu: your sleep is more important10:42
RAOFduflu: We do not need MirMesa on the build system.10:43
RAOFduflu: We can happily build against stock mesa.10:43
dufluThat's a solution then10:43
dufluif it works10:43
dufluWell, it's not a long term solution10:43
dufluWe don't want to reach universe with this cycle problem10:43
robert_ancellbye all10:45
tvossrobert_ancell, bye )10:46
tvoss:)10:46
=== marlinc is now known as marlinc|away
tvossffs, https://launchpad.net/~mir-team/+archive/system-compositor-testing/+build/4730486 is so slow I want to help the builder with compiling myself11:14
* tvoss takes out pen and paper ... 11:14
=== marlinc|away is now known as marlinc
tvossRAOF, if still around: failed to install usc from system-compositor testing unity-system-compositor : Depends: libmirserver0 (= 0.0.4bzr759saucy0) but 0.0.4bzr760saucy0 is to be installed11:48
kgunntvoss: no!!!!11:48
tvossalf, mmrazik I think we just need to copy over usc again from staging to system-compositor-testing11:50
mmrazikusc?11:51
tvossmmrazik, unity-system-compositor11:51
tvossmmrazik, but you might want to wait until mir for i386 completes, although I think we are hitting a hanging builder :/11:52
mmrazikok11:52
RAOFtvoss: Urgh, right. I shouldn't have copied the binaries for usc from staging.11:52
RAOFtvoss: Yeah, a new copy *without* binaries would work.11:53
tvossRAOF, just forcing a rebuild against the current mir version, right?11:53
RAOFtvoss: Exactly. Except that it's built successfully before, so you need to bump the version to get launchpad to rebuild it :)11:53
tvossRAOF, you mind doing that real quick?11:54
RAOFtvoss: Done like a dinner.11:58
RAOFI'll prepare for bed, then check that it's accepted into the PPA, then sleep :)11:58
tvossRAOF, yup :) \o/12:00
kgunnRAOF: thnka you12:00
kgunn....oh and thank you as well12:00
arssonSo is there any ppa for mir that might actually work?12:00
RAOFGood, that's accepted. amd64 will be installable when https://launchpad.net/~mir-team/+archive/system-compositor-testing/+build/4730713 finishes.12:03
RAOFtvoss: Could I get you to babysit https://launchpad.net/~mir-team/+archive/system-compositor-testing/+build/4730715 ? You just need to hit the retry-build button once i386 mir has built.12:04
RAOF…which it looks like it's not going to, because the build has hung again. What is going on with the buildds?12:05
RAOFAnyway, I'm not going to get anything more done tonight.12:05
tvossRAOF, sure, will look at it12:06
tvossRAOF, will kill the mir i386 build and retry, too12:06
tvossretriggered12:07
=== mmrazik is now known as mmrazik|afk
tvossffs13:29
alan_gtvoss: ?! No need for that13:30
tvossalan_g, the buildd for the testing ppa hangs again13:33
=== mmrazik|afk is now known as mmrazik
alan_gtvoss: patience is considered a virtue13:35
tvossalan_g, violence is not a solution but an option?13:35
alan_gtvoss: I usually find a polite request to mmrazik results in a solution13:36
mmrazikalan_g: when it comes to ppa/buildd I can't do much :-/13:37
mmrazikI can only help with jenkins13:37
tvossmmrazik, yup :913:37
* tvoss muses that the buildds are hidden away in a 1.5 dimensional manifold somewhere/sometime13:38
* alan_g wonders who can be made responsible for that bit of infrastructure13:39
* kgunn wonders why tvoss keeps mentioning "flash file system" ;)13:41
* kgunn unfortunately...actually knows why13:42
* alan_g wonders why someone called a static library "mirsharedandroid"13:53
tvossalan_g, would you mind checking if a clean mir checkout builds fine with dpkg-buildpackage for you?14:11
alan_gtvoss: I don't mind - but what's the incantation for it?14:13
tvossalan_g, to rule out that we have something non-buildable in the repo14:18
alan_gtvoss: I mean I don't want to look up how to use it14:18
tvossin mir's root: dpkg-buildpackage14:19
alan_grunning...14:22
tvossalan_g, thx14:31
alan_gnp - but a single process takes a while14:32
alan_g(Tried -j8  but that borked)14:33
=== olli__ is now known as olli
tvossalan_g, how long can /build/buildd/mir-0.0.4bzr760saucy0/obj-i686-linux-gnu/bin/acceptance-tests --gtest_list_tests14:34
tvosstake?14:34
alan_g...run. Finished OK14:35
alan_gtvoss: that depends14:35
alan_gBut if it takes more than a few milliseconds you've a very slow box14:36
alan_greal0m0.012s FWIW14:37
=== mmrazik is now known as mmrazik|afk
kdub_hello all14:59
alfkdub_: Hi!15:08
alan_ghello one15:09
alfalan_g: kdub_: Have a moment to take a look at https://code.launchpad.net/~afrantzis/mir/base-stubs-on-null-platform/+merge/170550 ? I have code that depends on this, waiting to be MPed :)15:12
kdub_sure15:12
* alan_g thinks "this implies a way to avoid seeing those waiting MPs"15:13
alfalan_g: yes, so you, as the reviewer, get a double benefit from me doing it like this (and not using dependent branches) 1. you get simpler/cleaner MPs 2. you can control (to a degree) the incoming review queue :)15:21
alfalan_g: kdub_: thanks for the quick action15:22
=== marlinc is now known as marlinc|away
* tvoss goes to setup an i386 chroot16:00
alfSaviq: tvoss: What format do you expect the snapshot pixels to be in?16:23
kdub_tiled 3 planar yuv!16:24
alfkdub_: \o/ :)16:25
kgunngreyback: ^16:26
greybackalf: rgba probably, but I'm checking16:28
=== mmrazik|afk is now known as mmrazik
alfgreyback: ok, r,g,b,a in memory or 0xRRGGBBAA as an int?16:29
greybackalf: ok, at the moment we read ARGB32 premultiplied, each pixel an unsigned char.16:35
=== mmrazik is now known as mmrazik|afk
alfgreyback: can you point me to where you got this information?16:39
greybackalf: qtubuntu, src/modules/application/application_image.cc, line 63/6416:43
alfgreyback: thanks16:43
greybackalf: that's where the platform api passes us the pixels for the image16:43
mterryracarr, poke when you've got a moment to talk libhybris crashes16:57
racarrmterry: I can try and parse :D feeling kind of out of it this morning16:59
mterryracarr, :-/ suck16:59
mterryracarr, so remember yesterday, I was seeing a crash in mir_demo_server on the nexus716:59
mterryracarr, I finally got debug versions of libhybris and mir built16:59
racarrmm16:59
mterryracarr, this is the full bt: http://pastebin.ubuntu.com/5784142/16:59
mterryracarr, seems to actually be in thread 17 when it dies17:00
mterryracarr, which is in hooks.c in libhybris17:00
mterryI'm looking at that code now, but it seems hooks.c has an early opt-out for nvidia...17:00
alan_gGoodbye all!17:02
=== alan_g is now known as alan_g|life
kdub_bye alan17:03
* kdub_ thinks we might need a 'quirk' system for these closed drivers17:03
kdub_maybe.. :) we should probably try to avoid it17:03
racarrmterry: I can't really determine anything besides hybris is fucked17:08
mterryracarr, ah...  If I run mir_demo_server under GRAPHICS=NVIDIA, it doesn't segfault17:12
mterryracarr, so it was just the nvidia_hack not being used17:12
mterryI'll try to actually run the demo code17:12
mterryracarr, "Assertion `mir_connection_is_valid(connection)' failed." -- does that mean the server isn't running right17:14
racarrmterry: Yeah17:16
racarrmterry: Or say one is running as root and the other is user17:16
racarror it crashed on connect17:16
mterryracarr, still seems to be running as root (same user)17:17
racarrdoes the server crash when you try and connect?17:18
mterryseemingly not, it's still runnig17:18
=== ari_ is now known as arsson
arssonI guess i'm running unity-system-compositor. still two cursors but unity de is working.17:58
=== marlinc|away is now known as marlinc
arssonI have nouveau installed, should i install nvidia proprietary drivers?18:00
arssontearing18:12
kgunnarsson: per the mir instructions....18:16
kgunnmir only works on open drivers atm18:16
kgunnunity-sys-comp will fallback to standard x (non-xmir)18:16
kgunnif you install proprietary drivers back in18:17
=== marlinc is now known as marlinc|away
mterryracarr, how does a client connect to a server?  DBus or a socket or something?18:35
racarrmterry: Socket.18:39
racarrmterry: /tmp/mir_socket18:40
=== racarr is now known as racarr|dentist
mterryracarr|dentist, hmm, it exists.  I want a super-verbose mode in Mir18:48
kgunnmterry: weird huh....mir working right....makes you wonder if its working :)18:56
=== ari_ is now known as arsson
mterrykgunn, I see your thing above about only working on open drivers.  What is our plan for nexus7?18:59
* mterry has to run out19:00
=== francisco is now known as Guest74254
kgunnmterry: ah...that statement is only a desktop thing19:10
kgunnlibhybris allows for bins on mobile platforms19:10
tvossRAOF, ping19:16
=== kdub_ is now known as kdub^lunch
arssoncannot change icons.20:20
=== kdub^lunch is now known as kdub
robert_ancellRAOF, assuming you're not online yet...21:17
kdubnow if i can just get the driver to stop leaking buffers, i'm in the clear! :)21:34
kgunnrobert_ancell: previously, i had been toggling successfully between xmir attempts (& back) simply #commenting out the type=unity21:36
kgunnin theory should that be all that's needed ?21:36
robert_ancellkgunn, yes21:36
kgunnrobert_ancell: ok....so i'm on lightdm for this w/ type=unity commented _out_.....and i hang21:38
robert_ancellkgunn, check there's not a second entry for type - I have seen that21:38
robert_ancellkdub, do you need root for mir on android?21:40
ricmmhey guys21:40
ricmmis it possible to run mir/shell as user?21:40
kdubrobert_ancell last i checked, yes21:40
ricmmoh, he already asked21:40
ricmmkdub: do you know the reason?21:41
robert_ancellricmm, I know on desktop you need root for the VT stuff21:41
kdubricmm, let me try to run as user, i'll see what happens...21:42
kduboh, actually...21:43
ricmmgetting a segfault in pthreads21:44
kdubseems ok on the nexus 4 for me21:45
kgunnrobert_ancell: just in case https://pastebin.canonical.com/93186/21:49
kgunnthis is my lightdm.conf21:49
ricmmkdub: do you have a maguro at hand?21:49
robert_ancellkgunn, yeah, you have type=unity on the last line21:49
kdubricmm, yeah, i'll fire it up and see21:50
ricmmkdub: thanks!21:50
kgunnrobert_ancell: so are the instructions wrong? http://unity.ubuntu.com/mir/using_mir_on_pc.html21:51
robert_ancellkgunn, sorry, you are trying to enable or disable xmir?21:51
kgunnrobert_ancell: nvmd....sorry....i am officially an idiot21:51
kgunnactually....did you do something to auto-magically add that ?21:51
kgunni dont remember that being there21:52
robert_ancellkgunn, RAOF made a change so u-s-c adds it on install21:52
kgunncool21:52
kgunnnow i know....sorry for not looking closer21:52
kdubricmm, yeah... as far as I can tell, on maguro, you can't drive the display without root21:52
robert_ancellbut it doesn't recognise a quoted out entry, so it adds a new one if you've got a previously disabled one21:52
robert_ancellkgunn, it caught me out the other day too :)21:52
ricmmkdub: are you seeing the same segfault tho?21:53
kdubyep21:53
ricmmor is it something else21:53
ricmmright21:53
kdubwell, probably the same one :)21:53
ricmm;)21:54
ricmmdoes it happen in pthread_mutex_destroy?21:54
kdubricmm, yes21:56
ricmmok21:56
ricmmI'll look into it, sucks tho, I only have maguro :(21:56
ricmmsegfaults in pthread over hybris is rsalveti's land21:57
ricmmill go cook while he returns21:57
=== racarr|dentist is now known as racarr
ricmmracarr: welcome back21:57
racarrDanke.21:57
racarrnow 50% done with teeth repair21:58
racarrnot counting the root canal next week21:58
robert_ancellCan I get someone to do a quick review of https://code.launchpad.net/~robert-ancell/unity-system-compositor/command-line-options/+merge/170562 and https://code.launchpad.net/~robert-ancell/lightdm/unity-usc-command-line/+merge/17056122:19
robert_ancellFairly small changes, but required to set the VT for XMir22:19
robert_ancellbrb22:23
robert_ancellkgunn, ok, so I can get into my session from the u-s-c PPA22:26
kgunnrobert_ancell: i'm sure its me....somewhere along the line22:26
robert_ancellkgunn, yeah, it looks like it22:27
robert_ancellkgunn, uninstall mir and u-s-c and then try reinstalling22:27
kgunnrobert_ancell: ack...i'll leave you alone for real work....22:32
robert_ancellkgunn, finally! ;)22:33
kgunnrobert_ancell: hah!22:34
jonorobert_ancell, legend!22:57
jonothanks for doing the interview :-)22:57
robert_ancelljono, :)22:58
jonoalso, just sent https://lists.ubuntu.com/archives/mir-devel/2013-June/000183.html22:58
jonomaybe this is something you chime in with22:58
RAOFrobert_ancell: Correct! I'm not online at 7:15 :)23:16
robert_ancellRAOF, if looks like you doubly approved https://code.launchpad.net/~robert-ancell/lightdm/unity-usc-command-line/+merge/170561 and not the other one..23:28
RAOFUrgh, really?23:28
RAOFWelcome to the morning, I guess :/23:29
robert_ancell:)23:29
robert_ancellRAOF, I'm trying to find confirmation, but do VT numbers start at 1?23:30
RAOFI believe so.23:30
RAOFrobert_ancell: vt_ioctl.c says ‘if you pass 0 in as the VT to VT_ACTIVATE you get a shiny new ENXIO error for your troubles’23:33
robert_ancellheh23:33
mlankhorst:>23:35
ricmmkdub: Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >23:37
ricmmstd::exception::what: bind: Address already in use23:37
ricmmgetting that, after a while of debugging my pthreads23:37
ricmmI was getting the shell to start but no graphics, probably due to permissions on the fb devices23:37
ricmmbut once clearing perms I'm getting that23:37
kdubso are you still getting that error?23:37
ricmmno longer the segfault23:37
kdubso, is that a fatal error then?23:39
ricmmthis one? yes23:39
kdubah, ok. hmm23:39
ricmmbind: Address already in use23:39
ricmmstale socket?23:39
kdubsounds like an ipc sort of error23:39
kdubthats what i was thinking23:39
kdubstale root-owned socket maybe?23:40
kdub /tmp/mir_socket23:40
ricmmyup, that was it23:40
ricmmso im running eglplasma and I get nothing on screen23:40
ricmmhowever I get the FPS ticker23:40
kdubhmm, getting closer23:41
ricmmyup, sounds like the screen isnt being turned on or something23:41
ricmmis this something that Mir does? maybe permissions on some node that controls it23:41
ricmmworks fine as root23:41
kdubany errors or anything? (logcat, dmesg)23:42
ricmmE/IMGSRV  (  929): :0: PVRSRVCreateDCSwapChain: Error - 10 returned23:44
ricmmE/IMGSRV  (  929): :0: framebuffer_device_open: Failed to create flip chain; retrying23:44
ricmmI remember those, seen them before23:44
ricmmuhh23:44
kdubyeah, they just happen when it can't set up the display23:44
ricmmcrap I remember doing something the last time I got that, but I forgot what it was23:45

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