/srv/irclogs.ubuntu.com/2015/07/13/#ubuntu-mir.txt

=== mibofra is now known as Guest38831
=== duflu_ is now known as duflu
=== chihchun_afk is now known as chihchun
anpok_hi07:23
anpok_I am playing with xmir in silo-004.. and tried various options07:24
anpok_when using -egl or -egl_sync the buffer contents seem to be corrupted. -sw and no option work fine when -damage is used. Without -damage a mix of old and new buffer is sometime visible..07:25
dufluanpok_: Did it ever work better than that? The new xmir is still relatively "new"07:53
dufluWeird. Every IRC message and email I've sent today has been met with silence.07:58
dufluIs there anybody out there?07:58
sturmflut2Well, it's only 10 AM here in europe, on a monday. People are probably either asleep or in meetings.07:59
ogra_or both ;)07:59
sturmflut2ogra_: Didn't want it to phrase like that, but yes.07:59
dufluActually I was sending messages mostly to people in this timezone (West Aust / Hong Kong / Tokyo)08:00
anpok_duflu: :)08:02
anpok_not sure .. at least there is one configuration inside the set that works fine08:03
dufluanpok_: I would not worry about it. In my testing XMir 2.0 has been only mildly mature. I would not expect it to have perfect visual correctness and damage handling yet08:04
duflualf_, anpok_: If I need to propose a fix to egl-platform-mir.patch, where is the best place?08:59
alf_duflu: mesa package08:59
alf_duflu: I have found that all other repositories are out of sync with the package09:00
anpok_hm tjaalton recently had to make changes to the patch09:00
dufluIt's been a while. I need to remember how to :)09:00
=== chihchun is now known as chihchun_afk
alf_greyback: Which component in unity8(?) knows when the screen is (un)locked? I need it to emit a dbus event on (un)locking.10:11
alf_greyback: (Hi!)10:11
greybackalf_: Hey!10:11
* ogra_ thought there is already one ... mtp should use it 10:11
greybackalf_: it's a qml component: either Greeter/Greeter.qml or Components/Lockscreen.qml10:12
greybackwhat is it you want to do?10:12
alf_greyback: I want USC to somehow know if the screen is locked or not, so we can deal with inactitivity timeouts correctly. Basically, when the phone is locked touches shouldn't extend the inactivity timeout.10:16
greybackunderstood10:16
greybackGreeter is probably the place to be10:16
greybackqml doesn't have built-in support for dbus. We usually write a small C++ class with a method which fires the dbus signal. Then call that method from qml.10:17
alf_ogra_: if there is an existing dbus signal I can watch for, even better... but I haven't been able to find one10:18
alf_greyback: ack10:18
greybackalf_: something like DashCommunicator would be the simplest example I can point you to10:19
ogra_alf_, bzr branch lp:mtp ... if there is a dbus signal server.cpp should use it10:19
greybackthat's in lp:unity8:/plugins/Unity/DashCommunicator10:19
ogra_(i dont think mtp implements its own thing here)10:19
alf_ogra_: thanks, I will take a look10:19
alf_greyback: ogra_: So, I see a 'com.canonical.Unity.Greeter' interface used by MTP, but I don't see unity8/greeter implementing this interface10:25
ogra_fun10:26
ogra_well, it works with mtp ... somehow ..10:26
=== Guest38831 is now known as mibofra
Chipacaalf_: o/12:24
Chipacaalf_: does mir always load xkb?12:24
alf_Chipaca: Hi. It uses xkb libraries on the client side12:27
Chipacaalf_: yes. always?12:27
alf_Chipaca: yes (AFAIK)12:28
Chipacaok12:28
attentehi, shouldn't mir be re-focusing a parent surface when one of its focused child surfaces is released?13:20
renatuhey guys I am using ubuntu 15.04 (r58) on arale, and I noticed that the screen never turns off while idle13:32
renatuhow I can debug it?13:33
anpokthis is known issue of unity-system-compositor13:33
tsdgeosme?13:33
anpokhm alf_ made a fix13:33
tsdgeoser13:33
tsdgeosignore me13:33
tsdgeosi added an highlight on unity and get confused thinking people are pinging me13:34
* tsdgeos hides in his cave13:34
anpok:)13:34
renatuanpok, nice thanks, will this fix land on OTA5?13:35
anpokrenatu: iirc applications seem to try to remove display on requests that they never issued.. and that caused usc to restart the display off timeout13:35
anpokiirc ota5 is already closed?13:35
renatuseb128, ^^^13:36
seb128anpok, renatu, check on #ubuntu-ci-eng, there are still discussing very selected landing, but it's likely going to be for ota-6 now13:37
seb128anpok, is there any way to tell what application does that?13:43
=== chihchun_afk is now known as chihchun
kgunncamako: anpok what's the plan on mir0.14 wrt wily vs vivid+ being frozen ? e.g. are you gonna land in wily regardless? or dual land only ?14:28
kgunni got no opinions, just asking14:29
=== dandrader is now known as dandrader|afk
camakokgunn, land on both. vivid+ will soon thaw.14:54
kgunnack14:54
anpokkgunn: i was told I cannot dual land because of the attached source packages14:55
anpokso I picked wily since vivid+overlay was freezing already14:55
kgunncamako: ^14:57
kgunnanpok: ok, up to you and camako how you wanna do it...14:57
kgunnanpok: but you might wanna add14:57
kgunnhttps://code.launchpad.net/~afrantzis/unity-system-compositor/fix-1461476-display-off/+merge/26412714:57
kgunnto that silo14:57
kgunncamako: racarr also, just checking on the raw event stuff, i thot we needed some device introspect as a precondition?14:58
kgunnjust seeing the introspect card is on backlog14:58
kgunnwas there maybe a smaller task gonna be spun out of that ?14:59
camakoanpok, kgunn, ack about it not being a dual landing, but we will land on both. vivid+ is thawing by EoD today.14:59
camakoland on both == two silos14:59
kgunn:) camako i'm kind of wanting to bet you on the thaw15:02
kgunnbut you might win...15:02
kgunnyou never know15:02
camakokgunn, yeah I know it may not but the point is it's close (one or two days don't make much of a difference at this point)15:03
camakokgunn, I made a comment on the introspection card, but haven't been able to sync with racarr. Hopefully today15:04
kgunncamako: thanks... it'll be my favorite topic for a while :)15:05
=== dandrader|afk is now known as dandrader
=== chihchun is now known as chihchun_afk
greyback_racarr: What is meant by "device introspection" exactly?16:54
racarrgreyback_: Yeah input device introspection16:54
racarrenumerate devices, query their properties, etc...16:55
greyback_racarr: ok, that makes sense. Just the name was vague, and introspection I consider to inspect inside something, not just read fundamental properties of it16:56
racarryeah I see that16:56
racarrI think of it as introspection wrt to the fields16:57
racarrin the event16:57
racarran in particular the raw event which will need more interpretation16:57
racarrbut even as it stands like16:57
racarrsome of our axes e.g. everything except16:57
racarrx/y can't be used because16:57
racarrthey are device specific min max16:57
racarrso its like, hey what is this axes, what is this button16:58
racarr*shrug*16:58
greyback_racarr: devils advocate - who needs that?16:59
anpokshells16:59
kgunnracarr: so should it be better names as event-introspection ?16:59
kgunnif it's even named yet :)16:59
greyback_for unity8 drawing pointer, would not relative mouse move events be enough?17:00
greyback_i.e. mouse moved 1 unit to the left17:00
greyback_anpok: I'll need more than "shells" ;) Can you give me examples17:01
racarrgreyback_: Yes thats what the raw events are17:01
greyback_shells can get device info via other libraries like udev17:01
racarrand the intersection with17:01
greyback_racarr: cool17:01
racarrintrospection17:01
racarris you get a bunch of17:01
racarr{Id: 7: axis 9: value 14}17:02
anpokgreyback_: true..17:02
racarrwhich ones come from a mouse :)17:02
racarrum so yeah shells17:02
racarrcan't strictly speaking use udev without17:02
racarrbreaking our encapsulation of input17:02
anpokgreyback_: I wanted to write that.. and then realized.. that with libudev you do not need to have permission to query the device17:02
racarrso then17:02
racarrinput platforms don't work17:02
racarre.g. someone writes a platform for a custom device or17:02
racarra platform for networked input ala synergy17:02
racarryou can't assume that you can just query the device via other apis17:03
racarrand then there are also client consumers17:03
greyback_sure, but similarly we can't assume mir runs on linux, but we have17:04
racarrI think for example drawing apps17:04
greyback_I just don't want to see reinvention of the wheel17:04
racarrwan't to find a device thats a tablet and map it to a window...and maybe list the tools17:05
greyback_ok, fair example17:06
racarrit's17:06
racarran unfortunately complex solution to relative pointer events17:06
racarrbut I dont think much is required for that17:06
racarrif I can't find a good pat17:06
racarrmoistly the difficulty is in carving through the InputReader17:07
racarrsoon though...there's kind of17:07
racarra fallback strategy of just throwing some relative info in the pointer event17:07
racarrMORE CAFE17:09
racarrmmm17:17
=== dandrader is now known as dandrader|lunch
racarrAlbertA: In https://code.launchpad.net/~albaguirre/mir/tweak-failing-tests-ci-tsan/+merge/26446317:35
racarr+ ASSERT_THAT(client_frames, Gt(compose_frames * 0.78f));17:35
racarrwhat does this mea17:36
racarrn17:36
racarrwell or rather why 0.78 now instead of 0.817:36
=== dandrader|lunch is now known as dandrader
kdubracarr, iirc from the summary in the standup, changing that value didn't quite work either, and since its a timing-based test, might just be disabled18:26
kduband... in the new buffer scheduling stuff, should be translated to a not-timing-based test18:27
racarrkdub: Ah. Sounds good to me :)18:33
racarrthanks18:33
kdub'tis the time in the afternoon to switch to reviewing18:51
attentehi, i don't seem to be receiving a focus-in event for a surface when one of its focused child surfaces is released. is this unexpected or by-design?19:01
=== mibofra is now known as Guest39088
=== Guest39088 is now known as mibofra
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
racarrjust spent a while working on mir on x review....made progress now breaking for lunch...19:47
greyback__attente: bug. That's window management which requires much work still20:49
attentegreyback__: ok, thanks20:50
attentegreyback__: is there already a bug number for it? should i file one?20:51
greyback__attente: not that I know of. Please file20:51
attentegreyback__: is there any other information i can get out of a MirSurfaceEvent other than the attribute and the value (through the client api)? ideally like a surface handle or identifier?21:24
greyback__attente: I'll let a Mir expert answer that. racarr?21:25
attentegreyback__, racarr: actually, i spoke too soon, i guess i don't need it because i'm getting that info directly from the event handler callback for the surface21:28
conyoogsettings get com.canonical.qtmir lifecycle-exempt-appids21:37
conyoo['com.ubuntu.music']21:37
* ahayzen ducks21:37
conyoodoes this mean music app is not suspended?21:37
ahayzenwhile audio is playing yes.. for now ;-)21:37
conyoonice :D21:37
conyooso i can add terminal app?21:37
ahayzenhopefully it'll go soon21:38
ahayzeni don't know if settings that would allow other apps to not be suspended, try it!21:38
conyooi have no idea how :>21:39
conyoogsettings set com.canonical.qtmir lifecycle-exempt-appids what?21:40
greyback__conyoo: yes21:51
greyback__what -> "['com.ubuntu.music','com.ubuntu.terminal']"21:51
greyback__qith quotes21:51
greyback__with21:51
conyoouuu thanks, greyback__  :D21:52
conyoogsettings get com.canonical.qtmir lifecycle-exempt-appids21:53
conyoo['com.ubuntu.music', 'com.ubuntu.terminal']21:53
ahayzen:-) greyback__ you'll be happy to hear that we are finally working on bg-playlists support with the media-hub guys at the moment, its slow progress but we'll get there soon hopefully :-)21:53
conyooso is the key some vector, enum/21:53
greyback__ahayzen: wooo!21:53
greyback__conyoo: array of strings21:54
conyooright21:54
conyooyay! now i can use unity8 on the desktop :D21:55
conyooXmir sort of works :D i'm good21:56

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