/srv/irclogs.ubuntu.com/2014/09/17/#ubuntu-mir.txt

=== kgunn is now known as Guest14808
=== kgunn is now known as Guest35270
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== tvoss is now known as tvoss|test
=== tvoss|test is now known as tvoss
RAOFOk. That's enough thinking about WaitHandles and the madness of force_completion(). Let's instead think about looking up surface coordinates!08:21
dufluIronically I only started thinking about WaitHandles 30 seconds ago08:23
dufluStill agree though08:23
RAOFIf it wasn't a huge slog thorough the code I'm *pretty* sure we could just do with invoke ids.08:34
dufluRAOF: Oh and vmware is thinking about WaitHandles right now too :)   https://bugs.launchpad.net/mir/+bug/137038608:40
ubot5Launchpad bug 1370386 in mir (Ubuntu) "libmirclient7 hang on client startup" [Undecided,New]08:40
RAOFHeh.08:41
* duflu is frustrated (and happy) to see that the current input sampling algorithm apparently cannot be beaten08:52
dufluDespite trying to improve on it for 2 days now08:53
dufluIt's a little suspicious though that I can see fingerpaint (which does rendering in software) is much more responsive in a nested server than Unity8 (which is meant to be rendered by hardware)08:56
dufluThe software rendering handicap on a phone should be large08:56
anpokduflu: you access rgb pixels directly and only those that change due to the finger movement09:13
anpokthats slightly different to dispatching user input through a qml scene09:14
RAOFAlso, Unity8 /is/ a nested server.09:14
dufluRAOF: Yes, meaning there's /less/ indirection for Unity8 :)09:16
anpoki would assume fingers paints memory bandwith usage is also below the command submission part of a gles driver redrawing an client application09:16
anpok-"s "09:16
dufluanpok: fingerpaint still flips (copies) the whole surface09:16
anpokoh09:16
duflumemcpy09:16
dufluFTW09:16
RAOFduflu: What? No, there's exactly the same indirection - usc → nested server → fingerpaint vs usc → unity8 → fingerpaint?09:17
dufluanpok: The only way to avoid it is to implement a single buffering option09:17
anpokok i thought we had that by accident with software buffers09:17
RAOFOr damage.09:17
dufluRAOF: USC(Unity8(app))  vs  server_minimal(server_shell(fingerpaint))09:18
anpokthat would be so 201009:18
dufluhence Unity8 is closer to the metal09:18
anpokduflu: but you mostly interact with unity8-dash.09:18
anpokor depends on what you look09:19
dufluanpok: Ah, yes. So the dash has no advantage.09:19
RAOFfingerpaint could avoid flipping memcpying the whole surface *right now* pretty easily.09:19
dufluRAOF: age?09:19
RAOFYes.09:19
dufluRAOF: I'm intrigued if it's easy. Can you demo such a proposal?09:20
RAOFThe Mir side will also handle it better when we add damage support to swap_buffers.09:20
anpokcan mesa track damage internally?09:21
RAOFTechnically? Probably.09:21
anpokand s/can/does?09:21
anpokor would we provide another client api to submit damage with the next buffer switch?09:22
dufluRAOF: Oh actually, please don't. I think I want to add support for multiple touch samples per frame first (demo client-side resampling as an option)09:22
RAOFanpok: Does not, would probably be an arse to implement.09:23
dufluQuad-tree madness? :)09:23
RAOFeglSwapBuffersWithDamageEXT is the relevant entry point for most clients :)09:24
anpokah ok09:24
RAOFWe'd need support in libmirclient for that to actually translate into anything useful, obviously.09:24
RAOFAnd mesa *does* support SwapBuffersWithDamage09:24
=== chihchun is now known as chihchun_afk
=== tvoss is now known as tvoss|lunch
=== tvoss|lunch is now known as tvoss
=== kgunn is now known as Guest35530
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== Guest35530 is now known as kgunn
=== kgunn is now known as Guest81961
=== dandrader is now known as dandrader|lunch
=== dandrader|lunch is now known as dandrader
=== dandrader is now known as dandrader|bbl
robotfuelwhere can I find mir logs on the phone?20:01
robotfuelkgunn_: kdub_ racarr ^20:01
kdub_robotfuel, like in unity8 or usc?20:02
kdub_or running some of the standalone things20:02
robotfuelI have a qml app pegging the cpu and the ui is stuck20:02
kdub_robotfuel, /var/log/lightdm/unity-system-compositor.log for USC and /home/phablet/.cache/upstart/unity8.log for unity820:03
robotfuelkdub_:  it is the warning in the USC log normal? http://pastebin.ubuntu.com/8367234/20:05
kdub_robotfuel, those look normal to me20:06
racarrseems normal yeah20:09
=== dandrader|bbl is now known as dandrader
=== kgunn is now known as Guest93957

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