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

RAOFkdub_: I've not run that recently, but isn't that expected behaviour now that input is turned on?00:00
kdub_oh, is it? i don't have a problem with --enable-input=true with mir_demo_server on 67300:01
RAOFWasn't ctrl-alt-backspace meant to kill the server?00:01
kdub_well, we should always clean up and exit on sigterm :)00:04
kdub_oh, i see what's going on... just a problem with the demo00:08
kdub_not sure about 4.8 though00:08
RAOFWell, yeah, but we're not going to get SIGTERM if we eat the input (like we should!)00:09
kdub_in this case, i think the problem is that we have a sigterm handler registered (in the server) but the threadloop for mir_demo_inprocess_egl doesn't respond to sigterm00:12
tehcloudhow often do y'all sync from the debian sid repos?01:33
RAOFWe, as in ubuntu-mir, don't.01:53
RAOFtehcloud: But it's about daily for Ubuntu as a whole, last I checked.01:53
thomirobert_ancell: RAOF: saucy packages will be built on next landing02:22
robert_ancellthomi, thanks02:22
thominw02:23
bregmahey guys, dependencies withing ppa:~mir-team/staging are all fouled up:  unity-system-compositor requires libmirserver0 (= 0.0.2bzr664raring0) but only 0.0.2bzr673raring0 is available02:48
RAOFthomi ^^^: I thought we had unity-system-compositor autobuilt whenever mir got built?02:50
thomiRAOF: Francis is working on that this week - he promises a hacky solution by the end of the week, sorry02:51
thomibut... bregma's problem sounds different02:51
bregmado the dependencies really need to be that strict?02:52
RAOFlibmirserver0 is C++, and we don't do anything to ensure ABI.02:52
RAOFIt does indeed need to be that strict.02:52
thomiI can manually re-land u-s-c if you like?02:53
RAOFIt's probably not worth it? It'll break the next time mir lands.02:53
thomithis is true, but if bregma needs it...02:53
RAOFEh, if it's easy.02:54
bregmawell, it's bedy-bies time for me anyway, so I'll check again in 8 hours or so02:55
thomiRAOF: or anyone else: do you know what's required to get mir running on the phone? I can run it, but don't see anything on the screen. Is this a case of the phone shell rendering over the mir server, or do I need to do something else?02:56
thomithe mir_demo_server, that is02:56
RAOFthomi: Last time I followed the instructions (stop surface flinger, chroot in, run mir) they worked?02:57
thomiRAOF: oh... there are instructions?02:58
thomiI guess I shoulda read the README02:58
RAOFthomi: http://unity.ubuntu.com/mir/ ?02:58
RAOFhttp://unity.ubuntu.com/mir/using_mir_on_android.html is what I followed last.02:58
RAOFOf course, you *could* just read the documentation in-tree :)02:59
RAOFOoops! Documentation skew!02:59
thomihmmm?02:59
thomiRAOF: can you many any sense of this? http://pastebin.ubuntu.com/5646605/03:01
RAOFthomi: The documentation talks of libmirclient-demos, and a “mir” binary. ☺03:02
thomiI mean, I can see what went wrong "cannot create fb display", just not why03:02
thomioh, yeah03:02
RAOFPaging kdub_!03:02
RAOFWhat hardware are you trying it on_?03:02
thomithe maguro03:03
thomisurely kdub_ is asleep by now03:03
RAOFProbably.03:06
RAOFThe maguro being... Galaxy Nexus?03:06
thomiyeah03:06
robert_ancellthomi, what is the autolanding failure in https://code.launchpad.net/~raof/mir/separate-graphics-buffer-and-display/+merge/161939?04:01
robert_ancell" Approved revid is not set in launchpad (maybe a permission problem?)."04:01
* thomi looks04:33
thomirobert_ancell: I believe it's that the MP is either set to WIP, rather than needs review, or that the approved revision is different to the latest revision in that branch04:34
thomirobert_ancell: if it fails when the MP is set to approved, please let me know04:35
robert_ancellthomi, ok, will do (it wasn't WIP before RAOF just changed it)04:35
thomiahh ok04:35
thomimy guess is it was approved, and then an additional revision was pushed to the branch04:36
robert_ancellRAOF, "The EGLStream conceptually operates as a mailbox.  When the04:53
robert_ancell    producer has a new image frame it empties the mailbox (discards04:53
robert_ancell    the old contents) and inserts the new image frame into the04:53
robert_ancell    mailbox.  The consumer retrieves the image frame from the mailbox04:53
robert_ancell    and examines it.  When the consumer is finished examining the04:53
robert_ancell    image frame it is either placed back in the mailbox (if the04:53
robert_ancell    mailbox is empty) or discarded (if the mailbox is not empty)."04:53
robert_ancelldoes any of that sound like how you would use a mailbox?04:53
RAOFNo :)04:54
RAOFBut the behaviour *we* want is in EGL_stream_fifo04:54
robert_ancellRAOF, and in this case an app is a EGL stream producer and the display server is an EGL stream consumer?04:57
RAOFIndeed.04:57
RAOFAlthough that's not necessarily exposed to the client.04:57
robert_ancell"3.10.2.1 No way to connect consumer to EGLStream" ok, so this is a half-spec :)04:59
RAOFRight.05:00
RAOFAll the producers and consumers are their own specs.05:00
RAOFYou're after http://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_stream_consumer_gltexture.txt for the consumer side, and http://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_stream_producer_eglsurface.txt for the producer side.05:01
RAOFOh, and http://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_stream_cross_process_fd.txt05:02
robert_ancellRAOF, and if you have this stuff you don't need the DRM/android buffer IDs that we currently pass?05:03
RAOFRight. They become the buffer passing mechanism.05:03
robert_ancellthat would simplify things down a lot05:03
RAOFYeah, it'd be pretty neat.05:04
robert_ancellAnd currently we require Mesa because of the current buffer passing - with EGL you can use any standard EGL implementation (as long as it has the extensions)05:04
RAOFYup. Although you also need the ability to do a little bit of extra hooking into the EGL implementation to get a Mir EGL platform.05:05
robert_ancellRAOF, what sort of stuff?05:06
RAOFAFAIK that's a bit like what Android does.05:06
RAOFWell, at base you need to be able to pass a MirSurface into eglCreateWindowSurface.05:07
robert_ancellok05:08
robert_ancellRAOF, GLX works currently on Mir right?05:09
robert_ancell(is that both GLX using DRI and traditional GLX?)05:09
RAOFOn the mesa drivers, yes.05:10
RAOFI'm not sure what you mean by ‘traditional GLX’. If you mean indirect rendering, then yes.05:11
robert_ancellyes05:12
robert_ancellso this is what is required for GLX on android drivers?05:12
RAOFThis is a part of what's required, yes.05:13
alan_gthomi: The docs on http://unity.ubuntu.com/mir/ seem behind the times. How often are they pushed?08:52
=== mmrazik is now known as mmrazik|lunch
=== mmrazik|lunch is now known as mmrazik
=== mmrazik is now known as mmrazik|afk
=== alan_g is now known as alan_g|lunch
kgunnalan_g|lunch: hey...you "surfaced" :)13:22
kgunnquiet day w/o alf13:22
=== mmrazik|afk is now known as mmrazik
=== alan_g|lunch is now known as alan_g
alan_gkgunn: yes. Things seem to have been quiet all week.13:30
=== francisco is now known as Guest49017
=== alan_g is now known as alan_g|tea
kdub_good morning15:05
kdub_thomi, ping me when you get up, we'll get your maguro running15:08
=== alan_g|tea is now known as alan_g
kdub_alan_g, do you remember why we had to disable death tests on android? i'd guess we don't have to do that anymore15:21
alan_gkdub_: There was a problem with the way that gtest forked. I'd guess the same15:22
alan_gkdub_: shall I try enabling them?15:22
kdub_i tried them on the device yesterday, seem to be ok15:24
alan_gcool. (I imagine they've been fine since we junked the NDK)15:25
alan_gkdub_: I'm not sure where to start with the "Composition bypass - Android" task I accepted. As the team Android specialist can you get me started? (If you're busy or need to think about it we can aim for a hangout tomorrow.)15:39
kdub_alan_g, http://bazaar.launchpad.net/~mir-team/mir/trunk/view/head:/src/server/graphics/android/fb_swapper.h#L3415:41
kdub_basically, we need a BufferSwapper that implements the swapping algorithm, and a path for a client to request composition bypass15:42
kdub_i can hop on a hangout though15:42
kgunnkdub_: alan_g thanks for jumpstarting on comp bypass...15:56
kgunnits so key for mobile15:57
=== mmrazik is now known as mmrazik|afk
alan_gkdub_: I've updated https://code.launchpad.net/~alan-griffiths/mir/support-multiple-inheritance-in-config/+merge/16315616:50
kdub_alan_g, still looks good, i'm unsure why changing {} to () helped too though...16:54
alan_gkdub_: I *think* it is a compiler bug (as clang agrees with us) but not completely sure there isn't a corner case that requires a copy constructor.16:56
alan_gkdub_: did you ever ask thomi about the updates docs on http://unity.ubuntu.com/mir/ (they seem to miss a bunch of last week's changes.)17:00
=== alan_g is now known as alan_g|life
kdub_alan_g|life, yes, i think they're update regularly, but there's some sort of caching somewher17:01
racarr_Hi all kind of in and out today still due to moving17:05
racarr_But tomorrow back to normal17:05
racarr_and by normal I mean I have a new house and office without lots of crazy (all love intended) housemates so hopefully better than normal :)17:05
kdub_racarr_, cool17:08
alan_g|lifekdub_: thanks, I'll be patient (for now)17:30
=== jono is now known as Guest61463
thomihey guys - will look into the mir docs not being uploaded today.20:47
thomikdub_: I'd love to get my maguro up and running, btu I'm snowed under with distractions right now - how much longer before your EOD?20:48
kdub_thomi, a bit of time :) i flashed my maguro today with 119, mir-staging ppa. mir works, but make sure surfaceflinger has never started21:00
kdub_just to be safe :)21:00
thomikdub_: ok, I'll start flashing mine now, and maybe when I'm done I can ping you agaibn21:01
thomi*again21:01
kdub_like, 'adb shell stop'  will stop the surfaceflinger process, but i don't trust it to clean up fb resources21:01
thomiso what's the better way?21:01
kdub_well, you can muck around with the android startup files, i usually just mv /system/bin/surfaceflinger somewhere that the android init scripts can't find it :)21:02
thomihey guys - I wonder if I could get someone to review this trivial MP please? https://code.launchpad.net/~thomir/mir/fix-documentation/+merge/16323122:01
thomiit's need to fix the documentation upload issues22:01
thomikdub_: I'm still getting the same error,and I don't seem to be able to move the surfaceFlinger binary since it's on a read-only filesystem22:19
thomiam I missing something?22:19
kdubadb remount22:21
kdubIts probably ok if sf and all sf clients are dead22:22
thomithat worked better - rebooting...22:27
thomikdub_: ummmm... something bad happened. now it doesn't boot?22:31
thomihmmmm22:31
* thomi tries pulling the battery22:31
kdub Well the shell wont boot up22:31
kdubBut the adb connection should work22:31
thomisure, it wasn't doing anything though. Pulling the battery seems to have fixed it22:32
thomifor a second there I thought I'd bricked it somehow22:32
kdubNah, they're tough to brick :)22:32
thomiwell, mir_demo_server seems to run, so I'm one step closer :)22:34
thomiwooo! glmark running on the phone22:35
kdubYay!22:35
thomikdub_: seems like it's limited to 60FPS, just like the desktop though :(22:35
thomiI get 59 or 60 FPS for everything :(22:36
kdubRight, it is swapinterval 122:36
thomiI'll pretend I understand... can you fix it easily?22:36
kdubMy next task is a bit of performance analysis...22:37
kdubProbably will have to add swapinterval 0 support as part of that22:37
thomiok22:38
=== francisco is now known as Guest79778
thomirobert_ancell: got a second?22:45
robert_ancellthomi, sure22:45
thomirobert_ancell: I wonder if you'd mind reviewing my MP above ^^ ?22:46
robert_ancellthomi, sure22:46
thomiI want to see what's causing the mir docs to get out of date on the server - I suspect it's the caching proxy IS uses rather than anything our side22:46
thomithanks22:46
robert_ancellthomi, what do we need to do to retrigger CI on https://code.launchpad.net/~mterry/lightdm/autologin-in-background/+merge/162670? I tried the "click here to trigger a rebuild" but it didn't do it22:49
* thomi checks22:49
thomirobert_ancell: the link worked for me. It's a bit awkward though - if you're not logged in to the jenkins server it'll ignore you22:50
robert_ancellhow rude!22:50
thomirobert_ancell: it's running now though: http://s-jenkins:8080/job/lightdm-ci/31/console22:50
thomiyeah22:50
thomiguess what? jenkins is the worst CI server. evar22:51
thomi(IM not so HO)22:51
robert_ancellkdub, woah, massive patch :)23:06
kdubMedium size :)23:13

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