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

alan_galf_: your "Needs Fixing" has been addressed. OK now? https://code.launchpad.net/~andreas-pokorny/mir/libinput-package/+merge/26953409:22
alf_alan_g: yes, (top) approved09:23
alan_gta09:28
jibelanyone would know what the message in dbus.log means in bug 1496773 ? Is it a problem with mir ?09:43
ubot5bug 1496773 in dbus (Ubuntu) "Dbus-daemon-system-fork on ota6 is using large amounts of CPU" [Undecided,New] https://launchpad.net/bugs/149677309:43
jibelit started suddenly this morning and makes the device very slow09:44
alan_gjibel: mir itself doesn't do dbus09:44
jibelalan_g, the dbus message refers to mir, any idea how I can find the source that triggers this message?09:46
jibeldavmor2, ^ when did the problem start?09:48
alan_gjibel: well the Mir message says that an application is trying to connect to an invalid prompt session.09:49
davmor2jibel, alan_g: this morning  uptime is in the paste-bin in the bug report,  I'd not seen any slow down till this morning09:49
alan_ggreyback: any idea why ^^ gets passed to dbus?09:51
greybackalan_g: not a clue. does the SSO service somehow return it as an error to the dbus daemon?09:54
greybackjibel: could you attach unity8.log to that bug please?09:57
jibelgreyback, all the logs are in https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/1496773/+attachment/4466701/+files/logs.tar.xz09:57
ubot5Ubuntu bug 1496773 in dbus (Ubuntu) "Dbus-daemon-system-fork on ota6 is using large amounts of CPU" [Undecided,New]09:57
greybackjibel: ah nice09:58
alan_gjibel: From Mir's POV when a prompt helper (the SSO) creates a prompt session it must identify the application. This is failing because Mir doesn't recognise the application (maybe it just exited). So the prompt session is rejected. No idea why failing to create a prompt session causes a dbus message (presumably from the SSO service).09:59
greybackunity8 is indeed reporting online-account-service is starting and then stopping. No suggestion unity8 is interfering with it.10:00
jibelalan_g, okay, thanks for the explanation.10:02
dandraderanpok, ping11:50
anpokpong11:52
dandraderanpok, https://bugs.launchpad.net/mir/+bug/149681411:54
ubot5Ubuntu bug 1496814 in Mir "touchpad produces mouse events with zeroed relative_x and relative_y axes" [Undecided,New]11:54
dandraderanpok, is that easy to fix?11:54
=== alan_g is now known as alan_g|lunch
anpokdandrader: yes I think so...12:27
=== alan_g|lunch is now known as alan_g
tsdgeosalf_: you there? i'm investigating fd leaks in uniy8 process and i'd need some help13:05
alf_tsdgeos: sure, how can I help?13:05
tsdgeosalf_: so the fd leaks i'm seeing now are of the type anon_inode:dmabuf13:05
tsdgeosdo you know where/if in mir one of those might be created?13:06
tsdgeosmaybe DMABufTextureBinder ?13:06
tsdgeosalf_: the leaks now happen only when the process is killed because of memory pressure13:07
tsdgeosi have as many leaked anon_inode:dmabuf as processes where killed my the memory pressure13:07
=== dandrader is now known as dandrader|afk
tsdgeosunfortunately strace doesn't seem to "see" the calls that allocate those fds13:08
alf_tsdgeos: these are fds backing buffer objects13:09
alf_tsdgeos: that's on the desktop right?13:10
tsdgeosalf_: no, phone13:10
alf_tsdgeos: hmm, then I guess that's not the graphics buffers13:10
alf_tsdgeos: so, DMABufTextureBinder is even there on the phone, it's in the mesa platform plugin13:11
tsdgeosis -> isn't ?13:11
alf_tsdgeos: "is *not* event there"13:12
alf_tsdgeos: right13:12
tsdgeosok13:12
tsdgeosso it's not that :/13:12
tsdgeosalf_: do you have any idea what may be using dmabuf inotes?13:12
alf_tsdgeos: not really, it's a general cross-device/driver buffer sharing mechanism, I am only familiar with its use for graphics buffers13:16
tsdgeosok, thanks13:16
tsdgeosi'll keep trying to find out who's creating it13:16
alf_tsdgeos: did you use strace -f , perhaps a subprocess is involved13:17
tsdgeosalf_: but a subprocess could not create fds on the unity8 process, no?13:17
alf_tsdgeos: right, thinko...13:18
alf_tsdgeos: which calls are you tracking with strace (or all calls)?13:21
tsdgeosalf_: all of them13:21
tsdgeosthe thing is13:21
tsdgeosstrace doesn't seem to be showing me the calls that create fds of dmabuf type13:21
tsdgeossince for example i have fd 240 shown in proc13:22
tsdgeosbut the last time 240 shows up in the strace output13:22
tsdgeosit was because it was a pipe13:22
tsdgeosand was correctly closed13:22
alf_perhaps they are sent to unity8 with sendmsg, does strace show fds sent this way?13:24
alf_tsdgeos: ^^13:24
tsdgeosi do not know13:25
tsdgeosi'll check that thanks :)13:25
alf_tsdgeos: also, now I am reading that android has started using dmabuf internally, so perhaps we can't rule out these being part of graphics buffers13:27
alf_tsdgeos: (although at a lower level, which we don't access directly)13:28
tsdgeosright13:28
alf_tsdgeos: also, sometimes fd leaks are associated with memory leaks (classes holding fd resources internally, especially if the fd handling in the app is robust with RAII etc), so that's something to look out for in case the strace approach doesn't lead anywhere13:39
tsdgeostotally13:39
=== dandrader|afk is now known as dandrader
kgunnalf_: i rebooted about the time you were talking about android gfx possibly using dmabuf...curious if i missed anything13:53
alf_kgunn: nothing new since then13:55
tsdgeosso it's not sendmsg/receivemsg because it doesn't happen while starting apps14:18
kgunntsdgeos: on this idea of closing apps, any chance you've looked at associated screen shots in spread14:32
tsdgeoskgunn: yeah getting there14:32
=== dandrader is now known as dandrader|afk
alan_gbschaefer: your vote is "blocking" this. Do you want to reconsider? https://code.launchpad.net/~mir-team/mir/attestable-timestamps-server/+merge/27045716:18
bschaeferalan_g, well i want to go through and fix the small things mentioned16:19
bschaefero wait you pushed some changes :)16:19
alan_gbschaefer: just some small things16:20
bschaeferyeah those changes look good16:20
bschaeferanpok, braces of lambda functor? Should they be line or same line?16:24
* bschaefer reading through mir style16:24
bschaeferalan_g, everything looks good to me, anything small can be fixed in later MPs16:29
* bschaefer will have to re-do the client code but shouldnt be to hard16:29
bschaeferand will most likley need some changing around :)16:29
* alan_g thinks bschaefer will need to change "override_the_cookie_factory(mir::cookie::Secret const& secret);" to "override_the_cookie_factory(Builder<> const& builder);" to capture the secret in the builder.16:33
bschaeferalan_g, well from what i understand you would store the secret before calling override16:34
bschaeferat lease thats how it was done before when we kept the secret around in tests/default_server_config16:35
alan_gWhere would you get the first secret from?16:35
bschaeferyes that'll be different16:35
alan_gI think using a builder will solve it, and be more consistent with the rest of the API16:36
alan_gymmv16:36
bschaeferright, just need to figure out what the builder is :)16:36
bschaeferyeah we are trying to predict the future, which is fine just not 100% sure how RAOF imagined using it16:36
bschaeferthough this is a bit easier to predict how it *should* be used16:37
anpokalan_g: there is one thing in the device settings MP.. that I still ponder about.. what would be the best way to indicate whether a setting is applicable for a device..16:38
zzarrhello! I have a plan, to build a tablet/laptop 2-in-1 unit, I wish to use a strong SBC, I have looked att Hummingbird H88, wish have a A80 CPU16:38
alan_g[&]() -> std::shared_ptr<CookeFactory> { ... }16:38
zzarrdo anyone know how "good" they are?16:38
anpokthat A80 is an allwinner?16:39
bschaeferalan_g, cool, i see a lot of other examples in the code as well16:39
zzarranpok, yes AllWinner A80 is correct16:39
bschaeferbut mainly we pass in the way we want to build it (i guess?) Ill have to get a better understand once i attempt to implement it :)16:39
anpokzzarr: where do you get your drivers from? and do those drivers provide access to the hardware overlays?16:40
alan_ganpok: just pondering... Maybe you should be using a struct of optional fields?16:42
zzarranpok, on the page it says that it supports Android 4.4.2 and Linux 3.4.3916:42
anpokalan_g: but struct might be more problematic for abi compilance?16:42
zzarranpok, but that sounds old in my ears16:43
alan_gif we just add fields at the end it isn't much different to adding to vtab16:43
alan_gWell, if we disable creating in user code16:43
zzarras it seams the source code for the SoC is open and some specifications http://linux-sunxi.org/images/1/10/A80_Datasheet_Revision_1.0_0404.pdf16:46
anpokzzarr: driver quality is essential...16:50
anpoki would look out for other projects that try to use it, and look for experiences..16:50
zzarrI know, I might have to use another SoC16:50
zzarryepp16:50
zzarrI'll do that16:51
anpokzzarr: if you want to use mir you would have to use android drivers I guess..16:52
anpoki guess the stock imagination tec winsys drivers wont let .. hmm ..16:53
anpokthat could be an interesting task.. not sure if the image tec winsys interface would allow you implement a mir platform ..16:53
anpokalan_g: hm ok I will give it a try .. it is kind of annoying that this seems to become a growing struct.. (or structs i could split them into devices classes..)16:54
alan_ganpok: I've not given it deep thought. Just been musing16:55
zzarranpok, yes, but is it a problem that it's an old version of Android?16:57
=== alan_g is now known as alan_g|EOD
=== dandrader|afk is now known as dandrader
greyback_bregma: can I have this added to your "sooner rather than later" list: https://bugs.launchpad.net/mir/+bug/149681417:53
ubot5Ubuntu bug 1496814 in Mir "touchpad produces mouse events with zeroed relative_x and relative_y axes" [Undecided,New]17:53
bregmagreyback_, sure17:54
greyback_anpok: opinion would be appreciated, as that bug means our cursor handling code fails with trackpads17:54
anpoknope oh I should add my thoughts on what causes this..18:07
anpok-nope18:07
=== dandrader is now known as dandrader|afk
mhall119camako: ping19:14
camakomhall119, hi19:15
mhall119camako: hey, I just watched https://www.youtube.com/watch?v=QCsZ2jYUTqk very cool stuff19:15
mhall119I was wondering if qmlscene and QML apps can be run in a Mir on X window that way19:15
mhall119and if so, how to tell qmlscene to use Mir instead of X1119:16
camakomhall119, I haven't tried myself... Have you seen this? ---> https://plus.google.com/+MarcoTrevisan/posts/ZLWYfRMZWNG19:17
mhall119yes, I did, and I asked Trevinho about it already, trying to get mir_demo_server working on my laptop19:17
mhall119but I just want to run a single app, not all of Unity19:17
camakomhall119, TBH, I haven't looked into it yet.19:20
=== ahayzen_ is now known as ahayzen
=== dandrader|afk is now known as dandrader
Trevinhomhall119: ah, if you only need an app, I think what's in wily should be enough to get that working19:53
TrevinhoSince last Mir is needed only for unity19:53
kgunnTrevinho: that post is kick ass21:21
Trevinho:)21:21

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