[00:08] Nothing quite seems to destroy my focus like a cyclic dependency [00:09] problem... [00:09] when thinking in circles becomes shockingly literal :( [02:11] I guess the gmail migration worked because I just started getting work emails on my phone [02:11] *gulp* [03:19] racarr: dont work all night 8am call w greyback [07:35] /j #eclipse [07:35] sorry :p === alan_g|life is now known as alan_g [08:37] alan_g: @fix-bug-1108715, I propose that we sent an email to the list to alert people about the name change (I have been bitten by this in the past) [08:37] alf__: good idea. [08:38] "the list" == mir-devel? [08:38] alan_g: that would be my choice [08:45] alf__: looks like jenkins is going to avoid confusion - it is flaky again. :( [09:18] alf__: did you see the email? (I thought I'd opted out of gmail, but I've not seen any email since the migration.) [09:19] alan_g: Yes (the fix-bug-1108715 email). I opted out, too. [09:37] alf__: I guess opting out worked for you. My account was migrated anyway. [09:50] alf__: there a couple of racarr's MPs that (to me) look fit to land - do you want to check them first? [09:51] alan_g: I will take a quick look. If everything is ok I will top approve. === alan_g is now known as alan_g|tea === alan_g|tea is now known as alan_g [10:51] hikiko: basically you will build an SDL client platform and an (unused for now) GBM client platform [10:52] hikiko: oops, you will build an SDL *server* platform [10:52] yes that's what O a, doing [10:52] I am* [10:52] and it works [10:52] the prob is [10:52] in the client [10:52] where I have to do the same [10:52] and I wonder [10:52] if I have to implement an sdl_client_platform [10:52] and use the gbm for buffers [10:53] as I do in the server [10:53] or [10:53] use the gbm as it is [10:53] (add the sdl platform only in CMakeLists as you suggested) [10:53] I think I ll try first what you suggest [10:53] which is the simplest [10:54] and if it doesn't work i will do a dummy implementation [10:54] just to have the client compiling without the vt complains :) [10:55] hikiko: It's possible that you will be able to just use the gbm platform, but that's for the future. For now just try to compile the gbm client platform (check libraries/includes). [10:55] hikiko: Can you pastebin the build errors you are getting? [10:56] if i don't change anything at the client [10:56] i don't get any build errors [10:56] but I have runtime errors [10:57] wait a moment because now I have changed the branch === mmrazik is now known as mmrazik|lunch [11:01] alf__, I'll try what you said and if I get any build errors I will paste you the output I ll ping you later :) [11:06] hikiko: sure, thanks [11:08] hikiko: also ensure that you are using the right (the ones you build in the tree) render_to_fb and libmirserver, and not the ones in the system path e.g. /usr/(local/)... [11:09] hikiko: if it is a runtime error you are getting, it maybe that you are using a libmirserver that still uses a gbm server platform [11:11] yes, that's what I told you that was happening initially, I was using the gbm_platform when I compiled the gbm client library, [11:12] I implemented an sdl dummy client platform [11:12] because there's a function that returns [11:12] which platform to use [11:13] anyway, let me try and I ll come back to you later [11:20] hikiko: There may be a misunderstanding here. The client platform shouldn't be a problem at runtime in any case (libmirclient is not used by render_to_fb). I am saying that you should check that at runtime you are using a *libmirserver.so* built with the right *server* platform (i.e. the one you built in your sdl tree) [11:21] oh [11:21] I see [11:21] hmmm and if not then how can i change this? === pete-woods is now known as pete-woods-lunch === pete-woods-lunch is now known as pete-woods === alan_g is now known as alan_g|lunch === mmrazik|lunch is now known as mmrazik === alan_g|lunch is now known as alan_g [13:08] status: Investigated stress test crash, proposed fix+test MP [14:49] Morning [14:49] Afternoon === alan_g is now known as alan_g|tea [15:06] kgunn: I there a hangout? [15:06] I joined the one in the calendar but no one is there [15:06] https://plus.google.com/hangouts/_/e1a9426c9efc173c7ab60b17323aafbf56b9ae06 [15:06] kdub: ^ === mmrazik is now known as mmrazik|afk [15:19] alan_g|tea: Have a few minutes? === alan_g|tea is now known as alan_g [15:20] racarr: sure. What's up? [15:21] alan_g: I have been working on this branch... [15:22] step 1. Move input fds to ms::Surfaces, refactor a bunch of the input classes in this process. [15:23] 2. Port InputDispatcher to use an InputTargetEnumerator (rather than this setInputWindows stuff copying the stack) [15:23] I guess, the thought is. It's a huge branch, and I feel like you will end up reviewing it since you have seen the most of the input stuff [15:24] do you want one giant diff or should I split it in to sequenced branches, even if they don't necesarily make sense by themselves (like there is no acceptance test motivating 1) [15:25] I guess the two steps are likely easier follow. [15:26] ok [15:28] alan_g: [15:28] Want to talk about options too? [15:30] racarr: real options? http://www.infoq.com/articles/real-options-enhance-agility [15:34] alan_g: Let me learn :p just a sec [15:34] racarr: sorry, didn't mean to distract you. What do you want to talk about? [15:35] alan_g: Haha no, interesting. In the language of that article I would call what I am talking about settings [15:35] or something instead [15:35] alan_g: There are lots of little input setting, like [15:36] various mouse acceleration coeffecients, key repeat rate, [15:36] key layout, etc [15:36] that I want to expose. But I don't want [15:36] well. I think they will be a lot of noise in default_server_configuration.cpp [15:37] and it doesn't really seem like they belong in --help [15:37] so I am trying to figure out how to add some hierarchy to the option system [15:38] racarr: It's been a while since I looked at the boost.Options docs. I don't remember much hierarchy [15:39] alan_g: There isn't any really [15:39] racarr: do you need them on the command-line or would having them only in env or config file be OK? [15:40] alan_g: I think env and config file only is perhaps preferable [15:40] so I thought of trying to use another instance of program options [15:40] racarr: that's supported by the boost stuff (but we don't use it yet) [15:40] but there is lots of coupling with DefaultServerConfiguration [15:40] alan_g: Well the thing is I don't want to shove them all in the main [15:40] options lists. [15:41] because right now, say maybe there are 5 or 6 of them [15:41] but I think it could quickly get out of control [15:42] so you think it is time to do something cleverer? [15:43] I think so? [15:43] Well the "simplest thing that might work" is just to add them to what we have. We can rework after. [15:43] maybe its not, maybe its enough to have like, mir::DefaultServerConfiguration::the_input_options, that calls something like mi::create_options and then uses the same parse enviroment as in DefaultServerConfiguration [15:44] Mm. That's true [15:44] maybe I should just do that [15:44] the only two I really care about is key repeat and pointer acceleration [15:46] racarr: you can also do stuff like --input-params key-repeat=2,pointer-acceleration=100,... [15:47] * kdub likes that a bit better than secret config files [15:49] hmm [15:49] Seems like it's time to write a scheme interpreter [15:50] --input-params (defun key-repeat-function keycode.... [15:50] :p [15:50] hmm that is kind of nice. [15:50] your suggestion not the scheme [15:50] racarr: I don't see 5 or 6 more command line parameters as a problem [15:50] Ok :) [15:50] i don't mind that either [15:52] kdub is in a good mood today. [15:52] very agreeable :) [15:53] XD [17:03] * kdub goes to work on client swapinterval0 === alan_g is now known as alan_g|life [17:42] so um [17:42] should new files [17:42] in 3rd_party/android-input (this question is already sounding incorrect...) [17:42] use mir style or android style? [17:47] i'd guess android, but then again [17:48] we've effectively forked it, so if we're transitioning everything gradually to mir style then... [17:48] the thing is this is a new interface to be [17:48] implemented by something in mir::input [17:48] so if I use the style it's forEach instead of for_each lol [17:49] kdub: Yeah that's kind of what I was thinking [18:02] racarr, +1 on mir style [18:04] class SurfaceStack : public compositor::Renderables, public input::InputTargets [18:04] the tldr version of mir [18:04] XD [18:13] tvoss: Android license or GPL/LGPL? [18:14] I think android license...? [18:14] its not particularly important because it's an interface with one method, but I guess we will have to answer this at some point [18:17] i thought apache on most of it [18:18] mm but for new files [18:18] racarr, ack, make it LGPL I would think ... but will check back on that [18:18] apache or [18:18] LGPL [18:22] hmmm [18:22] It's a little hard to answer I think because [18:22] adding new files to 3rd_party/something [18:23] is a bit of a contradiction [18:23] racarr, exactly [18:25] It would be good to talk about the long term trajectory for the input stack [18:25] removing setInputWindows (and then perhaps InputWindowHandle) in this way [18:26] it's easier to start sucking the large android side components [18:26] in to smaller mir side components [18:27] i.e. in this case, the InputDispatcher had a hidden responsibility (track and enumerate the list of input targets), so this gets sucked over to mir side. Next perhaps, you move over another responsibility (select target from list of targets) and farm this out to the shell [18:28] I don't know if this is what we want to do, or if we want to keep it in it's little bubble [18:28] and over what timescales, etc. [18:30] racarr, maybe we should set up a meeting to talk about it... i'm sure a lot of people would be interested [18:30] kdub: Hmm sounds like a good idea. [19:08] morning [19:09] thomi! [19:09] o/ [19:10] what's up in your kneck of the woods kgunn? [19:11] success building phablet from scratch (which i'm sure is nothing to most people) [19:11] thomi: btw, have you heard from robert A ? [19:12] kgunn: nope, what would I be hearing from him about? [19:12] thomi: baby [19:12] ahhh, no [19:12] I haven't heard anything, sorry :) [19:12] hope all is ok [19:12] alf had a fix for stress test [19:12] sweet - any idea if it landed? [19:13] i think he had you on for review :) [19:13] ahh sweet [19:13] https://code.launchpad.net/~afrantzis/mir/fix-stress-test-crash-1183327 [19:13] I'll take a look [19:16] lunch time! === racarr is now known as racarr|lunch === mmrazik|afk is now known as mmrazik === racarr|lunch is now known as racarr [20:11] racarr: kdub ...i think i just merged the upstream hybris changes for n7, built an image & its actually working! [20:11] hell might have frozen over...need to check :) [20:14] kdub: before i proceed further are the instructions for android mir still good? [20:14] kgunn, should be :) [20:14] i might give it a try too [20:14] not really sure of the hwc situation on that device [20:15] mmm, well, its a ics based device [20:15] but ics was first rev...and jb definitely cleaned up some "back doors" [20:16] either way, back-up gpu composition (hwc-less fallback) worked fine when i tried it in... febuary? [20:16] kdub: to be sure i half way understood it :_ [20:16] :) [20:16] was the "nvidia_hack" [20:16] the thing that you were toggling ? [20:17] kgunn, no [20:17] hmmm [20:18] kgunn, its a bit deceptive... things will work until you try to have ipc clients [20:18] ah [20:18] so best test, load mir and see [20:18] yeah === francisco is now known as Guest84395 [20:55] I couldnt make in process [20:55] clients work [20:56] on 7 that is [22:12] Hmm getting a pure function call when trying to release the mir connection? Stacktrace: http://paste.ubuntu.com/5695233/ [22:12] and code doing the releasing...: http://paste.ubuntu.com/5695235/ [22:30] kdub: wrt instructions...the cross-compile says to add ppa to get armhf....but those all fail [22:30] kdub: ...and i already have a build branch of the image i'm running [22:31] kdub: ring any bell? [22:32] e.g. are you still relying on that package pull...or are you using armhf libs some other way [22:51] kgunn, still relying on the package pull [22:51] kgunn, you can cross compile normally from within a chroot [22:51] the cross compile script is just the sane way for a development work-cycle [22:51] kdub: right...looking now [22:52] kdub: but what's weird...if you go here http://us.archive.ubuntu.com/ubuntu/dists/quantal/universe/ [22:53] there's no armhf...not sure how that's working for you [22:54] we're on raring [22:54] saucy probably works too [22:54] kgunn, are you trying to cross compile, or compile within a chroot? [22:54] yeah...sorry i was poking around [22:54] cross compile [22:55] i know we're on raring, i was poking around to see if they had been there on quantal or something [22:55] ......arg....nvmd, found 'em [23:02] cool [23:05] hmm, cant ping launchpad [23:06] Whee. RUN ] TestClientInput.multiple_clients_receive_motion_inside_windows [23:06] [ OK ] TestClientInput.multiple_clients_receive_motion_inside_windows (18 ms) [23:06] and they dn't talk back about it either :D [23:12] ugh [23:12] there is a race condition in the acceptance test (or perhaps in the actual code XD) [23:13] sometimes the hover exit event (this test drags the mouse over the boundary between two surfaces) [23:13] doesn't get emitted [23:19] kdub: i feel stupid...i was confused b/c by output failures coming from regular repo's.... [23:20] since you add armhf to dpkg config [23:20] it looks for them too there i guess.... [23:20] but it found the ports just fine [23:20] kgunn, cool :) [23:22] kdub: check my head tho....so i was going to take the hybris i built & plop it into the dir where mir is looking (replacing whatever i just downloaded) [23:22] in theory should work right? [23:22] kgunn, at link time on the host, as long as they have the same symbols, it doesn't matter [23:23] at runtime, the right library has to be installed into the linker search path [23:23] so short answer... yes :) [23:23] :) right but i might not need to [23:23] i get it === jono is now known as Guest71790