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

racarrNothing quite seems to destroy my focus like a cyclic dependency00:08
racarrproblem...00:09
racarrwhen thinking in circles becomes shockingly literal :(00:09
racarrI guess the gmail migration worked because I just started getting work emails on my phone02:11
racarr*gulp*02:11
kgunnracarr: dont work all night 8am call w greyback03:19
hikiko /j #eclipse07:35
hikikosorry :p07:35
=== alan_g|life is now known as alan_g
alf__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
alan_galf__: good idea.08:37
alan_g"the list" == mir-devel?08:38
alf__alan_g: that would be my choice08:38
alan_galf__: looks like jenkins is going to avoid confusion - it is flaky again. :(08:45
alan_galf__: did you see the email? (I thought I'd opted out of gmail, but I've not seen any email since the migration.)09:18
alf__alan_g: Yes (the fix-bug-1108715 email). I opted out, too.09:19
alan_galf__: I guess opting out worked for you. My account was migrated anyway.09:37
alan_galf__: there a couple of racarr's MPs that (to me) look fit to land - do you want to check them first?09:50
alf__alan_g: I will take a quick look. If everything is ok I will top approve.09:51
=== alan_g is now known as alan_g|tea
=== alan_g|tea is now known as alan_g
alf__hikiko: basically you will build an SDL client platform and an (unused for now) GBM client platform10:51
alf__hikiko: oops, you will build an SDL *server* platform10:52
hikikoyes that's what O a, doing10:52
hikikoI am*10:52
hikikoand it works10:52
hikikothe prob is10:52
hikikoin the client10:52
hikikowhere I have to do the same10:52
hikikoand I wonder10:52
hikikoif I have to implement an sdl_client_platform10:52
hikikoand use the gbm for buffers10:52
hikikoas I do in the server10:53
hikikoor10:53
hikikouse the gbm as it is10:53
hikiko(add the sdl platform only in CMakeLists as you suggested)10:53
hikikoI think I ll try first what you suggest10:53
hikikowhich is the simplest10:53
hikikoand if it doesn't work i will do a dummy implementation10:54
hikikojust to have the client compiling without the vt complains :)10:54
alf__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
alf__hikiko: Can you pastebin the build errors you are getting?10:55
hikikoif i don't change anything at the client10:56
hikikoi don't get any build errors10:56
hikikobut I have runtime errors10:56
hikikowait a moment because now I have changed the branch10:57
=== mmrazik is now known as mmrazik|lunch
hikikoalf__, 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:01
alf__hikiko: sure, thanks11:06
alf__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:08
alf__hikiko: if it is a runtime error you are getting, it maybe that you are using a libmirserver that still uses a gbm server platform11:09
hikikoyes, that's what I told you that was happening initially, I was using the gbm_platform when I compiled the gbm client library,11:11
hikikoI implemented an sdl dummy client platform11:12
hikikobecause there's a function that returns11:12
hikikowhich platform to use11:12
hikikoanyway, let me try and I ll come back to you later11:13
alf__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:20
hikikooh11:21
hikikoI see11:21
hikikohmmm and if not then how can i change this?11:21
=== 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
alf__status: Investigated stress test crash, proposed fix+test MP13:08
racarrMorning14:49
alan_gAfternoon14:49
=== alan_g is now known as alan_g|tea
racarrkgunn: I there a hangout?15:06
racarrI joined the one in the calendar but no one is there15:06
kgunnhttps://plus.google.com/hangouts/_/e1a9426c9efc173c7ab60b17323aafbf56b9ae0615:06
kgunnkdub: ^15:06
=== mmrazik is now known as mmrazik|afk
racarralan_g|tea: Have a few minutes?15:19
=== alan_g|tea is now known as alan_g
alan_gracarr: sure. What's up?15:20
racarralan_g: I have been working on this branch...15:21
racarrstep 1. Move input fds to ms::Surfaces, refactor a bunch of the input classes in this process.15:22
racarr2. Port InputDispatcher to use an InputTargetEnumerator (rather than this setInputWindows stuff copying the stack)15:23
racarrI 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 stuff15:23
racarrdo 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:24
alan_gI guess the two steps are likely easier follow.15:25
racarrok15:26
racarralan_g:15:28
racarrWant to talk about options too?15:28
alan_gracarr: real options? http://www.infoq.com/articles/real-options-enhance-agility15:30
racarralan_g: Let me learn :p just a sec15:34
alan_gracarr: sorry, didn't mean to distract you. What do you want to talk about?15:34
racarralan_g: Haha no, interesting. In the language of that article I would call what I am talking about settings15:35
racarror something instead15:35
racarralan_g: There are lots of little input setting, like15:35
racarrvarious mouse acceleration coeffecients, key repeat rate,15:36
racarrkey layout, etc15:36
racarrthat I want to expose. But I don't want15:36
racarrwell. I think they will be a lot of noise in default_server_configuration.cpp15:36
racarrand it doesn't really seem like they belong in --help15:37
racarrso I am trying to figure out how to add some hierarchy to the option system15:37
alan_gracarr: It's been a while since I looked at the boost.Options docs. I don't remember much hierarchy15:38
racarralan_g: There isn't any really15:39
alan_gracarr: do you need them on the command-line or would having them only in env or config file be OK?15:39
racarralan_g: I think env and config file only is perhaps preferable15:40
racarrso I thought of trying to use another instance of program options15:40
alan_gracarr: that's supported by the boost stuff (but we don't use it yet)15:40
racarrbut there is lots of coupling with DefaultServerConfiguration15:40
racarralan_g: Well the thing is I don't want to shove them all in the main15:40
racarroptions lists.15:40
racarrbecause right now, say maybe there are 5 or 6 of them15:41
racarrbut I think it could quickly get out of control15:41
alan_gso you think it is time to do something cleverer?15:42
racarrI think so?15:43
alan_gWell the "simplest thing that might work" is just to add them to what we have. We can rework after.15:43
racarrmaybe 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 DefaultServerConfiguration15:43
racarrMm. That's true15:44
racarrmaybe I should just do that15:44
racarrthe only two I really care about is key repeat and pointer acceleration15:44
alan_gracarr: you can also do stuff like --input-params key-repeat=2,pointer-acceleration=100,...15:46
* kdub likes that a bit better than secret config files15:47
racarrhmm15:49
racarrSeems like it's time to write a scheme interpreter15:49
racarr--input-params (defun key-repeat-function keycode....15:50
racarr:p15:50
racarrhmm that is kind of nice.15:50
racarryour suggestion not the scheme15:50
alan_gracarr: I don't see 5 or 6 more command line parameters as a problem15:50
racarrOk :)15:50
kdubi don't mind that either15:50
alan_gkdub is in a good mood today.15:52
kdubvery agreeable :)15:52
racarrXD15:53
* kdub goes to work on client swapinterval017:03
=== alan_g is now known as alan_g|life
racarrso um17:42
racarrshould new files17:42
racarrin 3rd_party/android-input (this question is already sounding incorrect...)17:42
racarruse mir style or android style?17:42
kdubi'd guess android, but then again17:47
kdubwe've effectively forked it, so if we're transitioning everything gradually to mir style then...17:48
racarrthe thing is this is a new interface to be17:48
racarrimplemented by something in mir::input17:48
racarrso if I use the style it's forEach instead of for_each lol17:48
racarrkdub: Yeah that's kind of what I was thinking17:49
tvossracarr, +1 on mir style18:02
racarrclass SurfaceStack : public compositor::Renderables, public input::InputTargets18:04
racarrthe tldr version of mir18:04
racarrXD18:04
racarrtvoss: Android license or GPL/LGPL?18:13
racarrI think android license...?18:14
racarrits not particularly important because it's an interface with one method, but I guess we will have to answer this at some point18:14
kdubi thought apache on most of it18:17
racarrmm but for new files18:18
tvossracarr, ack, make it LGPL I would think ... but will check back on that18:18
racarrapache or18:18
racarrLGPL18:18
tvosshmmm18:22
racarrIt's a little hard to answer I think because18:22
racarradding new files to 3rd_party/something18:22
racarris a bit of a contradiction18:23
tvossracarr, exactly18:23
racarrIt would be good to talk about the long term trajectory for the input stack18:25
racarrremoving setInputWindows (and then perhaps InputWindowHandle) in this way18:25
racarrit's easier to start sucking the large android side components18:26
racarrin to smaller mir side components18:26
racarri.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 shell18:27
racarrI don't know if this is what we want to do, or if we want to keep it in it's little bubble18:28
racarrand over what timescales, etc.18:28
kdubracarr, maybe we should set up a meeting to talk about it... i'm sure a lot of people would be interested18:30
racarrkdub: Hmm sounds like a good idea.18:30
thomimorning19:08
kgunnthomi!19:09
thomio/19:09
thomiwhat's up in your kneck of the woods kgunn?19:10
kgunnsuccess building phablet from scratch (which i'm sure is nothing to most people)19:11
kgunnthomi: btw, have you heard from robert A ?19:11
thomikgunn: nope, what would I be hearing from him about?19:12
kgunnthomi: baby19:12
thomiahhh, no19:12
thomiI haven't heard anything, sorry :)19:12
kgunnhope all is ok19:12
kgunnalf had a fix for stress test19:12
thomisweet - any idea if it landed?19:12
kgunni think he had you on for review :)19:13
thomiahh sweet19:13
kgunnhttps://code.launchpad.net/~afrantzis/mir/fix-stress-test-crash-118332719:13
thomiI'll take a look19:13
racarrlunch time!19:16
=== racarr is now known as racarr|lunch
=== mmrazik|afk is now known as mmrazik
=== racarr|lunch is now known as racarr
kgunnracarr: kdub ...i think i just merged the upstream hybris changes for n7, built an image & its actually working!20:11
kgunnhell might have frozen over...need to check :)20:11
kgunnkdub: before i proceed further are the instructions for android mir still good?20:14
kdubkgunn, should be :)20:14
kdubi might give it a try too20:14
kdubnot really sure of the hwc situation on that device20:14
kgunnmmm, well, its a ics based device20:15
kgunnbut ics was first rev...and jb definitely cleaned up some "back doors"20:15
kdubeither way, back-up gpu composition (hwc-less fallback) worked fine when i tried it in... febuary?20:16
kgunnkdub: to be sure i half way understood it :_20:16
kgunn:)20:16
kgunnwas the "nvidia_hack"20:16
kgunnthe thing that you were toggling ?20:16
kdubkgunn, no20:17
kgunnhmmm20:17
kdubkgunn, its a bit deceptive... things will work until you try to have ipc clients20:18
kgunnah20:18
kgunnso best test, load mir and see20:18
kdubyeah20:18
=== francisco is now known as Guest84395
racarrI couldnt make in process20:55
racarrclients work20:55
racarron 7 that is20:56
bschaeferHmm getting a pure function call when trying to release the mir connection? Stacktrace: http://paste.ubuntu.com/5695233/22:12
bschaeferand code doing the releasing...: http://paste.ubuntu.com/5695235/22:12
kgunnkdub: wrt instructions...the cross-compile says to add ppa to get armhf....but those all fail22:30
kgunnkdub: ...and i already have a build branch of the image i'm running22:30
kgunnkdub: ring any bell?22:31
kgunne.g. are you still relying on that package pull...or are you using armhf libs some other way22:32
kdubkgunn, still relying on the package pull22:51
kdubkgunn, you can cross compile normally from within a chroot22:51
kdubthe cross compile script is just the sane way for a development work-cycle22:51
kgunnkdub: right...looking now22:51
kgunnkdub: but what's weird...if you go here http://us.archive.ubuntu.com/ubuntu/dists/quantal/universe/22:52
kgunnthere's no armhf...not sure how that's working for you22:53
kdubwe're on raring22:54
kdubsaucy probably works too22:54
kdubkgunn, are you trying to cross compile, or compile within a chroot?22:54
kgunnyeah...sorry i was poking around22:54
kgunncross compile22:54
kgunni know we're on raring, i was poking around to see if they had been there on quantal or something22:55
kgunn......arg....nvmd, found 'em22:55
kdubcool23:02
kdubhmm, cant ping launchpad23:05
racarrWhee. RUN      ] TestClientInput.multiple_clients_receive_motion_inside_windows23:06
racarr[       OK ] TestClientInput.multiple_clients_receive_motion_inside_windows (18 ms)23:06
racarrand they dn't talk back about it either :D23:06
racarrugh23:12
racarrthere is a race condition in the acceptance test (or perhaps in the actual code XD)23:12
racarrsometimes the hover exit event (this test drags the mouse over the boundary between two surfaces)23:13
racarrdoesn't get emitted23:13
kgunnkdub: i feel stupid...i was confused b/c by output failures coming from regular repo's....23:19
kgunnsince you add armhf to dpkg config23:20
kgunnit looks for them too there i guess....23:20
kgunnbut it found the ports just fine23:20
kdubkgunn, cool :)23:20
kgunnkdub: 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
kgunnin theory should work right?23:22
kdubkgunn, at link time on the host, as long as they have the same symbols, it doesn't matter23:22
kdubat runtime, the right library has to be installed into the linker search path23:23
kdubso short answer... yes :)23:23
kgunn:) right but i might not need to23:23
kgunni get it23:23
=== jono is now known as Guest71790

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