/srv/irclogs.ubuntu.com/2013/10/18/#ubuntu-mir.txt

=== sam113101 is now known as sam113101_afk
=== sam113101_afk is now known as sam113101
=== sam113101 is now known as sam113101_afk
=== sam113101_afk is now known as sam113101
=== sam113101 is now known as sam113101_afk
=== sam113101_afk is now known as sam113101
=== sam113101 is now known as sam113101_afk
=== sam113101_afk is now known as sam113101
=== sam113101 is now known as sam113101_afk
=== sam113101_afk is now known as sam113101
dufluMorning didrocks. I just did a project cleanup (with branch from where saucy was released). Any thoughts? https://launchpad.net/mir/+series06:12
didrocksduflu: hum, looking good but please don't push anything to saucy release anymore06:12
didrocksduflu: we don't support it for touch-only components06:12
didrocksand good evening ;)06:12
dufludidrocks: I only pushed the changelog, as the tagged version didn't match the ubuntu release. Now it's identical06:13
didrocksduflu: perfect then :)06:13
=== tvoss|eod is now known as tvoss
tvosskatie, on my way08:00
katietvoss, ok08:00
w-flokdub, remember my mir crash (Desire Z) from yesterday? I think the problem is on line 89 in https://github.com/Andromadus/android_hardware_qcom_display/blob/cm10.1/libhwcomposer/hwc.cpp , "MAX_DISPLAYS" is (HWC_NUM_DISPLAY_TYPES+1)   .. so it's 3, and the display list passed by mir only has length 2. I haven't tested this yet, but something seems to be wrong there. is that a possible mir bug or hwcomposer bug? :)10:58
=== sil2100_ is now known as sil2100
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== alan_g is now known as alan_g|lunch
kgunngreyback: do you feel the work around scenegraph is something that could be achieved by jan ?13:15
greybackkgunn: until we've fully defined the task, I really can't say for sure. Would estimate by mid-next week be ok?13:17
kgunngreyback: yeah...13:17
kgunngreyback: just trying to line stuff up...13:17
=== alan_g|lunch is now known as alan_g
greybackkgunn: it'll be a good 2 month effort, most likely. Is that enough to help you, then I can be more specific later13:19
kgunngreyback: yeah, looking for gross estimates13:20
alan_gkgunn: reminder: the work around scenegraph is intimately connected to the work around the Mir data model - but they are not the same thing.13:20
kgunnalan_g: is your reminder a warning about knock-on impacts to mir ...and the effort there? or rather one of architectural-vigilance ?13:22
alan_gkgunn: more about ensuring that you don't conflate them in planning workload13:23
kgunnalan_g: meaning we don't really have a "mir data model" at the moment ? :)13:24
alan_gkgunn: meaning our data model is spread across several components and that is causing problems13:25
kgunnalan_g: lol....worse than not having one13:26
tvosskgunn, what alan_g is saying that we first need to cleanup our internal data model before we can start thinking about punching in the qt scenegraph13:26
tvossalan_g, correct?13:26
kgunntvoss: even worse...its not "cleanup"...to me that's extraction-to-create a mir data model13:27
alan_gtvoss: kgunn meaning we need to think about both13:27
tvosskgunn, well, that's the same to me ... but feel free :)13:27
tvossalan_g, +113:27
kgunntvoss: sure...i will hair split on that one....cleanup would imply we have some centralized component representation already13:28
tvosskgunn, well, if you look at the very first architectural diagram, we have ;)13:28
kgunntvoss: if i look at the code tho ?13:29
tvosskgunn, obviously not13:29
kgunn;)13:29
kgunntvoss: just worried about load...and time to get there13:29
tvosskgunn, not sure what you mean? this is a must have from my pov13:29
kgunntvoss: we're in violent agreement....13:30
tvosstrue13:30
kgunntvoss: i would like to say we could get it preJan...but13:30
kgunncomplexity of it will likely push it13:31
alan_gkgunn: The complexity isn't really in the implementation - more in the agreeing of requirements13:36
kgunnalan_g: sure...let's let gerry have a chance to publish his thoughts from investigating & chatting with racarr/kdub a bit more13:37
kgunnthen we'll be able to come together to discuss more intelligently13:38
alan_gkgunn: I think we should be first  factoring the current data model into a single component. (i.e. moving the misplaced bits from input and shell to surfaces).13:47
alan_gkgunn: second we should be addressing the synchronization issues we have by designing a proper threading strategy in the data model13:47
alan_gkgunn: Only then does it make sense to look into changing the implementation to incorporate the qt scenegraph13:49
kgunnalan_g: hmmm, so you think it would _not_ be premature to refactor the current data-model bits into a single component before hearing greyback 's need/vision ?13:50
tvosskgunn, ultimately, when we are talking about a centralized component, a scenegraph will be an (admittedly) important implementation detail13:52
tvossbut that's it13:52
alan_gkgunn: unity is only one client of the data model. Input, compositor and shell are also clients. But it is hard to pull out the requirements from input or shell as they implement parts of the de-facto data model13:53
kgunnalan_g: so you see some dup'ing of implementation (at least conceptually) between unity-mir & mir13:54
alan_gkgunn: no. I'm not sure why you say that.13:55
kgunnalan_g: "unity is only one client of the data model." ....& "shell as they implement parts of the de-facto data model"13:57
kgunnalan_g: that's how i was reading that...13:57
alan_gAt present we have parts of what should be the data model in surfaces, parts in input, parts in shell and parts in unity8. That is wrong. Implementation that support communal data access should be in surfaces and nowhere else.13:59
alan_gkgunn: clients of the data model do not implement the data model, they use it.14:04
greybackalan_g: I agree that per-surface data should be in one place. I don't see how fixing that blocks the SG task (whatever we decide that to be)14:05
greybackbut right now, until we're clear on what the SG task actually is, I don't want to start discussing potential work items14:05
alan_ggreyback: I just doubt that deciding how (or whether) to use a SG and how to fix the data model can be done independently.14:08
alan_gAnd like tvoss says "a scenegraph will be an (admittedly) important implementation detail"14:09
greybackalan_g: ok. While I cannot contribute to the Mir-side discussion, I can discuss my proposal(s) with you, and see what overall is the best solution for both of the projects14:11
greybackbut I need to get the proposals clear first14:12
=== jono is now known as Guest69907
alan_ggreyback: for sure. Similarly, cleaning up the existing model will make clear what it is and how it is being (ab)used.14:14
greybackalan_g: most likely yes14:16
=== alan_g is now known as alan_g|tea
=== alan_g|tea is now known as alan_g
=== dandrader is now known as dandrader|lunch
bleadhello, anyone know where to get the mir multi boot installer for N716:02
=== seb128_ is now known as seb128
slangasekkgunn: hi!  so xnox is working on the goldfish emulator bring-up, and he's at the stage now where he needs to get graphics output working... is there somebody who could help him from the Mir side to get this wired up correctly?16:41
alf_alan_g: @mir_connect_impl shouldn't throw, ok I didn't see try/catch in the impl we use in the tests (tests/mir_test_framework/testing_process_manager.cpp) and thought there wasn't any guarantee. I will fix the test _impl and remove the try/catch from the client library16:47
alan_galf_: I'm not blocking on it16:48
alf_alan_g: hmm, now that I check again,  mir_default_connection_release doesn't try/catch either. OK, I will leave it for now then, and we can clean up in the future...16:50
alan_galf_: "it shouldn't throw" unfortunately doesn't mean "it can't" - we should probably abort or something (or at least have the option to)16:52
kdubsometimes, i wish std::shared_ptr was just std::sp16:54
alan_gkdub: "using sp = std::shared_ptr;"16:56
kdubyeah, but not mir style :)16:56
alan_gkdub: put the case for a change in style?16:57
kdubmaybe...16:58
mlankhorstplease please dont, I only touch mir code when debugging stuff you blame mesa about, and renaming things like that make it harder for me to understand it17:01
alan_g;)17:04
kdubyeah, probably easier all around not to17:06
kdubi should just rewire F8 to spit out "std::shared_ptr" :)17:06
=== dandrader|lunch is now known as dandrader
kgunnslangasek: just have him ping here...if u.s. time, kdub or racarr18:00
slangasekkgunn: ok - and if he's UK time? :)18:00
slangasek(since he is :)18:00
slangasekxnox: ^^18:00
kgunnslangasek: then alf_ or alan_g18:00
slangasekok, perfect - thanks18:00
kdubemulator stuff should find its way into a bp or something18:02
kdubfrom my perspective, its about the same amount (or more)  effort as a new physical device18:03
xnoxkdub: was mir ported to each nexus device separately? emulator suppose to behave similarish to android...18:15
kdubit should, but i'm sure there's some kinks to work out18:15
xnoxok.18:16
kdubwe're still transitioning to pick up all devices, some don't work just yet18:16
kdubso, from an architectural viewpoint, they should be the same18:18
kdubbut i'm sure there will be some bugs that stop it from working at first that we'll have to work through18:18
w-flokdub, BTW, I've posted a bug + patch for my latest HTC Desire Z issue with mir (we talked about that yesterday): https://bugs.launchpad.net/mir/+bug/124168318:34
ubot5Ubuntu bug 1241683 in Mir "[Desire Z Port] Mir segfault in libhwcomposer.so; display array too short" [Undecided,New]18:34
kdubw-flo, i'll take a look18:36
kdubw-flo, its a hwc bug, iirc18:36
kdubthat we patched on the official builds18:36
w-flokdub, okay, I can change my hwc to handle it. but that same code appears to be on phablet.ubuntu.com18:36
w-flooh, wait. maybe I've looked in the wrong place then18:37
w-flohttp://phablet.ubuntu.com/gitweb?p=CyanogenMod/android_hardware_qcom_display-caf.git;a=blob;f=libhwcomposer/hwc.cpp;h=75f62b6efd19768bfbddb4162d5f1c7cb952236a;hb=refs/heads/phablet-saucy <-- this looks similar to my and CyanogenMods (possibly buggy) libhwc18:38
kdubw-flo, does it work after the patch? :)18:42
kdubthe device on the whole18:42
w-flouhm.. yeah, with flickering and keyboard  not showing up, etc18:42
w-floit's better, but still not good enough to actually use it18:42
kdubyeah, good to hear though18:44
w-floIt's nice to see mir working on that rather old device, I agree :)18:46
kdubw-flo, trying to find the patch we use in nex4...18:54
kdubw-flo, i'm working on better hwc fencing support at the moment (should help with that flicker on your device)18:55
w-floI guess I could simply replace that MAX_DISPLAYS with the old HWC_NUM_DISPLAY_TYPES, I just wasn't sure if it's a bug in HWC or actually intended behaviour18:55
w-flosince it seems they changed that for loop recently so it's 3 iterations instead of 218:56
kdubi think with this function, its supposed to be sorta like the attributes eglChooseConfig, you have an array terminated by a value18:56
kduband it looks like qcom just copied the array that surfaceflinger submits and assumes nothing other than SF would ever use the function18:57
w-floah, so.. just stop on encountering a NULL pointer18:57
w-flowell, qcom is amazing %)18:57
slangasekkdub: yes, I expect it will be a non-trivial amount of work to get Mir working on goldfish; but this needs to happen ASAP, we are hurting badly by being dependent on hardware for all of our testing.  If making it a blueprint is what needs to happen to get this made a priority, then I'm happy to make a blueprint...19:22
kdubkgunn^^19:33
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader

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