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

* robert_ancell -> lunch00:13
racarrback01:16
racarrtraffic was destroyed by the bridge ><01:16
RAOFDid the bridge transform in to a huge humanoid robot and crush cars underfoot?01:22
dufluA dyslexic German deceptacon bridge?... "Die Autos"01:23
* duflu clearly needs more coffee01:23
dufluWoo, I have an N4 again. Apparently the battery "was faulty" and eventually just stopped charging01:24
kgunnracarr: curious...did the hwcomposer blank call work  ?01:30
racarrkgunn: Havent tried yet needed to make an interface then got distracted by other things then went out for a bit01:51
racarrwill be trying very soon01:51
* RAOF lunches01:54
=== chihchun_afk is now known as chihchun
dufluAh, source control. Finally I can hack and run XMir within the safety of git02:45
robert_ancellduflu, how?02:46
duflurobert_ancell: Just build it the traditional way, and drop the resulting libxmir.so into my saucy filesystem02:47
dufluAlso, not having to re(de)build each time will be awesome02:47
duflurobert_ancell: Hangout? Or something?02:52
robert_ancellduflu, yep, in 502:53
Mirvhah, finally it makes sense, retitled bug #122065204:04
ubot5bug 1220652 in unity-system-compositor (Ubuntu) "Input devices unusable if booting with two monitors attached" [Undecided,New] https://launchpad.net/bugs/122065204:04
Mirvso it was just that I killed unity-system-compositor because I had just upgraded to the multi-monitor supporting mir last week, and I thought the problem was because of the forceful killing, and not because of the upgrade..04:05
* Mirv now back at using XMir04:05
* duflu -> lunch04:48
tvoss_good morning :)05:22
alf_tvoss_: good morning :)05:30
robert_ancellbbl05:46
dholbachgood morning06:50
=== tkamppeter_ is now known as tkamppeter
dufluRAOF: This is driving me nuts... The frame misordering thing only happens on frames where we have decided that the damage doesn't touch all outputs. Skipping sna_xmir_copy_to_mir for any output on any frame causes the problem. I still don't know why...07:32
RAOFduflu: That's... hm.07:43
RAOFduflu: I wonder if we're clearing incorrect damage areas, then.07:45
dufluWhich leads me to another idea... hmm07:46
dufluRAOF: It suggests that the intel DDX multibuffers for each output are not allowed to get out of sync... or that there is only one... ?07:47
mlankhorstduflu: oh oh maybe because of EGL lifetime ? :P07:49
mlankhorstthey would get out of sync07:49
duflumlankhorst: There is no GL-anything here07:49
mlankhorstbuffer age07:49
duflumlankhorst: I have ripped out and removed all aging logic AFAIK. Still same problem07:50
mlankhorstduflu: interesting, do you have a testcase?07:50
duflumlankhorst: bug 121647207:51
ubot5bug 1216472 in XMir "[xmir] [multimonitor] Frames eventually get slightly out of order, look like glitches or typing will feel slow" [Critical,In progress] https://launchpad.net/bugs/121647207:51
RAOF...ooh! Semi-overlapping outputs might be broken like that, though...07:53
mlankhorstRAOF: :P07:54
RAOFBut who has semi-overlapping outputs :P07:54
mlankhorst<<07:54
RAOFJust to be different, or for noble purpose?07:55
mlankhorstfor perfectionism07:55
mlankhorstand it's the default case if you have multimonitor in ubuntu with different resolutions07:55
mlankhorstRAOF: my simple testcase is attaching my 2 monitors, one is 1280x1024, other is 1440x900, they both have a big shared area only visible on 1 screen, and a small band that is only shown on 1 screen in the default setup. :P08:00
RAOFI thought we should be actually cloning in that case.08:01
RAOFBut indeed, I think that's a bit broken.08:01
mlankhorstRAOF: yeah, but with some xrandr forcing it can be changed :)08:08
tvoss_RAOF, ping08:10
dufluRAOF: Testing the bleeding edge git xf86-video-intel, I just get a black screen. Can you confirm?09:22
duflu.. that's with XMir of course09:23
* duflu gives up10:17
alan_galf_: are you happy with the latest version of https://code.launchpad.net/~alan-griffiths/mir/init-native-gbm/+merge/183441?10:36
alf_alan_g: yes, approved10:42
alan_galf_: thanks10:47
katietvoss_, mpt is there anythign we need to discuss today?11:02
mptI'm hungry11:03
mptBut other than that, no11:03
tvoss_mpt, katie nope, not from my side11:06
=== alan_g is now known as alan_g|lunch
=== hikiko is now known as hikiko|lunch
=== chihchun is now known as chihchun_afk
=== alan_g|lunch is now known as alan_g
=== pete-woods is now known as pete-woods-lunch
=== hikiko|lunch is now known as hikiko
=== chihchun_afk is now known as chihchun
kgunnalf_: welcome back12:28
=== chihchun is now known as chihchun_afk
alf_kgunn: hi13:20
alf_kgunn: thanks@13:20
alf_kgunn: s/@/!/13:20
racarrMorning13:23
alan_gracarr: Afternoon13:28
alan_gracarr: I was wondering if you'd have time to help me get the nested input stack wired up?13:29
racarralan_g: I think so13:29
racarralan_g: I am in a meeting right now, so want to sync on it after that?13:30
alan_gracarr: sure13:31
racarralan_g: Ok will ping you :)13:34
=== pete-woods-lunch is now known as pete-woods
racarralan_g: Hey meetinged+breakfasted14:20
racarrwant to explain nested input to me?14:21
kgunnracarr: can i be a complete manager and ask...did blanking work via hwc after all ? (knowing this'll get hot tomorrow or monday)14:21
alan_gracarr: The theory is really simple - we get input events from the host Mir (as seen in p:~alan-griffiths/mir/spike-nested-input)14:22
alan_gBut there's a whole load of setup needed in NestedInputConfiguration to hook it up14:22
alan_gAnd I don't have a good grasp on all the roles there14:23
pete-woodstvoss: hi! I have a dbus security problem I thought you might have ideas on. If you have any free time at some point to talk about it, it would be very much appreciated.14:23
racarrkgunn: No XD sorry. I realized it was 7:30 pm last night and decided to stop working ill get to it before lunch today14:23
pete-woodstvoss_: ^14:23
kgunnracarr: np14:24
racarralan_g: Ok, starting to think out loud14:25
racarrHow much of the android input stack do we use in the nested mir? It seems like we need to reuuse a lot of our input infrastructure because for example the nested mir might be using a different keymapping, or have different pointer acceleration configuration14:26
racarror such14:26
racarrso its not enough to just modify and forward the events.14:27
alan_gracarr: Hmm14:27
racarrso I think instead, we should extract the raw events out of the events (By raw I event I specifically mean, android::RawEvent that EventHub deals with)14:27
racarrthen we use a pretty normal input stack in the nested mir, but don't probe devices, and instead inject events from the host mir in to the nested event hub14:29
alan_gracarr: that's more complex than my initial thoughts (but more correct)14:29
* alan_g wonders how to disentangle the bits we want to reuse from the spaghetti14:30
racarralan_g: There is a series of issues with it too though in that14:30
racarrthe eventhub needs to be told about input device added, removed, etc, which we don't send over IPC now14:30
racarrthat can be quickly worked around by using the built in cursor/mouse but has to be fixed quickly14:31
racarralan_g: Perhaps even, the nested mir implements14:31
racarrthe EventHub14:31
racarreh its hard to do without inheritance of implementation14:33
racarrEventHub has two roles biw (calling it only two is generous...). One is to read the raw events from the kernel and track device info in the case of device appearing/dissapearing.14:34
racarrthe second part, is stateful on top of that, i.e...is scan code 7 pressed14:35
alan_gI saw an "and" in that. Don't be sneaky!14:35
racarrYes I thought of splitting it in to three there XD14:35
racarrit probably is, but for the purpose of this idea14:35
racarrif those first two responsibilities were held in one interface, and the second moved to a common implementation14:36
racarrthe first interface is good for nested mir to replace14:36
racarralan_g: I think this is likely too involved to finish within the week, but perhaps not. I have an easier idea though14:38
alan_gthe refactoring? I guess there are inadequate tests around here?14:39
racarrnested mir, uses null impls/disabled objects/whatever for everything below the InputDispatcher (i.e. the EventHub and InputReader)14:39
alan_gack14:39
racarrand injects the events with InputDispatcher::injectEvent14:39
racarrthis expects droidinput::InputEvent which lines up to MirEvent14:39
racarrit wont work properly with device configuration, etc14:40
racarrbut it can get things going14:40
racarrand yeah, inadequate tests around the pure android code...also just the interfaces are difficult.14:41
racarrThere are like 30-40 member methods of EventHub14:41
alan_gracarr: I can remember that from when I hacked out stuff we didn't need14:41
alan_gIt also doesn't sound like much wasted work. The reconfig work could fit in if the MirEvent -> InputEvent "mapping" took place in the stubbed EventHub14:45
racarrNo. Not wasted work.14:46
racarrNot sure I understand that last bit though14:46
alan_gMaybe I'm not making sense14:46
racarr(also, I guess you mean RawEvent?)14:46
alan_g"InputDispatcher::injectEvent expects droidinput::InputEvent which lines up to MirEvent"14:47
racarrOh! ok I see, inject in to the InputDspatcher from the stubbed event hub14:48
racarrlike you said :p14:48
racarrI replaced stubbed with reimplemented in my mind14:48
alan_gracarr: it will then grow from a little stub to handle device configuration, etc14:49
racarryeah.14:50
alan_gAnd we have a stable intermediate form that might work14:50
racarrperhaps though instead of using InputDispatcher::injectEvent14:50
racarrwell maybe we should be stubbing out and doing this in the InputReader14:51
* alan_g wishes he understood the roles of these classes14:52
racarror, not have an input reader, and use the InputListenerInterface from the INputDispatcher as the reader does14:52
racarrwhere you have like, notifyConfigurationChanged, notifyKey, notifyMotion, notifySwitch, notifyDeviceReset14:52
racarrbasically, I am thinking, stub out the input reader, ignore the event hub (don't need it if we aren't constructing the real input reader)14:53
alan_gThat sounds like we don't need a hub14:53
racarryep no hub14:53
alan_gduh, you jsut said it14:54
racarrthen just make some object like uh14:54
racarrNestedInputReaderWithABetterNameThanInputReader14:54
racarrthat takes the InputListenerInterface (implemented by dispatcher)14:54
alan_gNestedInputRelay14:54
racarrreceives events and calls notifyKey, Motion, etc14:54
racarryes relay is good14:54
racarralan_g: If you look in fake_event_hub.cpp there is some stuff about synthesize_builtin_keyboard_added and synthesize_builtin_cursor_added14:55
racarrTo get started, I think we will have to replicate that at the notifyConfigurationChanged level14:55
racarrand then force all device ids to builtin keyboard or cursor in the relay14:56
racarrthen we have to start sending input configuration info over the wire14:56
racarrbefore we can get any further14:56
alan_gBut we should be able to route some input without the config messages as a POC.14:58
racarryes by14:58
racarrforcing them all on to synthetic devices14:58
racarrbut if we just route them straight away I think the InputDispatcher will be like14:58
racarrdevice Id 7? You just made that up, stop it.14:59
* alan_g hates code that knows too much15:00
racarrthat might not be true the input reader will definitely choke15:00
racarrthe InputDispatcher might not.15:00
racarra quick grep through for "Device" in InputDispatcher is more promising than I expected15:01
racarrit may just be happy to pass it through15:01
* alan_g hears demands for tea15:01
alan_gI think I have some ideas to work with15:01
alan_gBRB15:01
=== alan_g is now known as alan_g|tea
racarrOk15:02
hikikohey :) I am alone at the hangout15:02
racarrhikiko: Oh! I forgot I was awake15:03
racarr:p15:03
=== alan_g|tea is now known as alan_g
=== alan_g is now known as alan_g|EOD
racarrwhats the sane way to stop unity8-mir on the phone now so I can run mir17:51
racarrwithout it restarting itself :p17:51
racarrjust compiling a build now where I expect screen blanking to work17:52
racarrkgunn: ok it basically works I think but I need to stop the compositor from continuing to try and post to the fb (or make that blocking or something)18:25
kgunnracarr: cool...that makes sense18:25
kgunnin fact the DSS has probably cut the clocks...and might get pissed if you try to send data18:26
kgunnsee dss2 kernel code18:26
racarroi18:28
racarrok lunch!18:28
bschaeferkgunn, thanks for that email! Ill poke one of them when ever I get a chance to look back at this radeon problem...18:30
kgunnyou bet...thanks bschaefer !18:30
bschaeferkgunn, did all that packaging stuff get sorted with the xserver radeon stuff?18:31
greybackracarr: "stop unity8"18:54
greybackjust shout out. nice and loud. It'll get the hint.18:54
greyback:D18:54
olli_this is probably old news for you guys19:06
olli_but AWESOME!19:06
olli_http://www.phoronix.com/scan.php?page=news_item&px=MTQ1MzU19:06
racarrgreyback: Aha thanks.19:14
racarrgreyback: mv /usr/bin/unity8.lol /usr/bin/unity819:15
racarrI ended up using the insane way19:15
greybackracarr: insane, but works :)19:16
tvoss_bschaefer, ping19:38
bschaefertvoss_, pong19:38
racarrWhee19:41
racarrscreen blanking works on nexus 4 :)19:41
tvoss_racarr, \o/19:41
racarrok I am going to be late for the dentist brb19:41
kdubracarr, yay19:43
racarrkdub: There are some complications about pausing things19:43
kdubyeah, although19:43
racarrnoticeably the most naieve method doesnt work because then you can stall the client that wants to unblank the screen19:43
kdubwe do that already, don't we?19:43
racarrin buffer hand out19:44
racarrand it will never be able19:44
racarrto send the message to unblank the screen19:44
racarrwell it will send it but the server side machinery will be locked up (we do one message at a time)19:44
racarrso there is a bit of a dance to do19:44
racarrill tell you about it when I get back XD19:44
kdubare clients able to request a blank? o.O i thought the shell would be the one that would do that19:45
kdubanyways, have fun at the dentist :P19:45
racarrxmir needs to19:46
racarras usual XD19:46
kgunnrobotfuel: so is the latest radeon build still an issue ? (stripes?)21:26
kgunnand if so, is it stripes only on xmir and not X21:26
robotfuelkgunn: yes on the latest xmir in main21:28
robotfuelkgunn: I'll double check x21:28
robotfuelkgunn: I just kicked off a test run on, we will know in 7 minutes21:29
kgunnrobert_ancell: something to watch ^21:30
robert_ancellyep21:31
robotfuelrobert_ancell: are there any changes in xmir in proposed that you know about? (should I test proposed today?)21:31
robert_ancellrobotfuel, not that I know of specifically, will have to ask RAOF21:31
robert_ancellrobotfuel, which pacakge? xorg-server doesn't seem to be in proposed21:32
robotfuelrobert_ancell: I didn't know if there were any packages21:32
robert_ancellrobotfuel, ok, there don't seem to be any xmir changes21:32
robert_ancellracarr, hey21:35
racarrrobert_ancell: Hey21:35
robert_ancellracarr, I thought our meeting was an hour later - free now?21:35
racarrrobert_ancell: Can we delay 1 hour? or at least 30 min or so21:36
robert_ancellsure21:36
racarrface is too numb to talk right now really21:36
robert_ancellmore dental work!!21:36
racarrYes. It's not actually that much its just the root canal took 4 visits21:36
racarrI got 1 half cleaned, then a root canal, then now I just finally got the other half cleaned21:36
racarrit was inclusive of inside of the gums though, and kind of involved an intense about of local anaesthetic XD21:37
rsalvetiracarr: have the blank/unblank patch in hands so we can test with maguro as well?21:49
robotfuelkgunn: regular x does not have black bars21:56
kdubrsalveti, from what I've heard, i think its a pretty preliminary patch at the moment21:58
robert_ancellRAOF, can you have a look at https://code.launchpad.net/~robert-ancell/unity-system-compositor/reboot-on-install/+merge/184204 when you are here22:23
robert_ancellout with an errand for ~1hr22:26
rsalvetikdub: yeah, but just wanted to know if it'd work with the hwcomposer used with maguro22:42
rsalvetiguess I'll have to wait :-)22:42
kdubit should22:42
racarrrsalveti: There is a not yet proposable (build will fail on tests :p) branch you can try out22:43
racarrbut its pretty preliminary :p22:43
racarrlp:~robertcarr/mir/test-android-screen-blanking22:43
racarryou can run mir-demo-server-shell then mir-demo-client-display-config22:44
racarrand press any hardware key to toggle the screen on and off22:44
racarrpoatch should be finished soon22:44
racarrHad to run out for the afternoon22:44
rsalveticool22:49
kgunnRAOF: ^ robotfuel's comment on radeon xmir has black stripes and regular x doesn't....wasn't sure if you were aware23:02
RAOFkgunn: Yeah, I sees it.23:11
RAOFNot the bug, just the comment ☹23:11
robert_ancellthomi, hey, do we have coverity and CI integration?23:28
racarrOk so the hardware part of DPMS android is working and It hink I can clear it up pretty quickly. I think also the IPC issue I found was my real issue with GBM23:31
racarressentially, imagine a dumb client like demo-client-display-config23:31
racarrwhich turns off the display then tries to advance its buffer23:31
racarrwhich blocks on the server side waiting for the display to turn back on (hey the display is off! Stop swapping buffers)23:31
racarrbut because we process messages in-order23:31
robert_ancellracarr, anesthetic worn off?23:32
racarryou can't send a message ot turn the screen back on23:32
racarrrobert_ancell: Yes!23:32
TheDrumsI'd assume http://paste.progval.net/show/530/ hasn't been fixed?  Last tested in 0.0.6, though.23:45
kdubwhat device?23:56
TheDrumsPad says intel 82845G/GL[Brookdale-G]/GE23:57
kdubTheDrums, not sure if it would work now... intel cards should work though23:59
TheDrumsIt was a different error than they were used to, because it didn't handle alpha.23:59

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