/srv/irclogs.ubuntu.com/2014/03/26/#ubuntu-mir.txt

=== jono is now known as Guest43238
tvosshmmm, taking eglSwapBuffers and eglSwapInterval strict, a turned off screen does not have vsync. With that, waiting for an eglSwapBuffers with an eglSwapInterval > 0 should never return06:39
duflu_tvoss: Yep. And so all compositors and apps sleep nicely when the screen is off.06:43
duflu_Unless you have the fglrx driver, which was buggy there06:43
=== duflu_ is now known as duflu
tvossduflu, I was thinking: If an application would decouple from vsync via a call to eglSwapInterval(0) in reaction to the screen being turned off, immediately returning false from eglSwapBuffers would be valid07:00
duflutvoss: Returning false sounds correct. However I have seen drivers differ and buggy with respect to return values for an "off" screen.07:01
=== tvoss is now known as tvoss|afk
=== tvoss|afk is now known as tvoss
=== alan_g is now known as alan_g|lunch
=== alan_g|lunch is now known as alan_g
=== dandrader is now known as dandrader|afk
mterrykgunn, so I think the biggest risk factor with split greeter silo is the Mir bugs.  I'm going to look into the screen on/off one today a bit.  I think racarr was looking at my bugs too?  Do you know if he got anywhere?14:09
kgunnmterry: not sure...but good to know...do we have logged bugs for those ?14:12
kgunnto enable me to be really annoying :)14:12
mterrykgunn, um.  No, probably not.  /me is bad at paperwork14:12
mterrykgunn, will file14:12
mterrykgunn, will work on14:13
kgunnmterry: no worries....still steamy its all so new :)14:15
kgunnmterry: i do know anpok_ was poking around on the flicker14:16
kgunnlike first few frames being transparent from greeter14:16
mterrykgunn, yeah...  That is something I was willing to live with and fix later14:16
mterryNot something users will always see14:16
anpok_kgunn: current status is in the review14:18
anpok_approved it as it is not cause by the change..14:18
anpok_i tried with a non-qt greeter (basic_server + eglplasma :)) but that is not a proper greeter..14:19
anpok_so I couldnt get to that sequence of turning off and on..14:20
anpok_I wanted to look at the qt side of things next..14:20
mterrykgunn, bug 1297876 and bug 129787814:20
ubot5bug 1297876 in mir (Ubuntu) "Screen turns on when a new session/surface appears" [Undecided,New] https://launchpad.net/bugs/129787614:20
ubot5bug 1297878 in mir (Ubuntu) "Keyboard presses "fall through" and hit surface behind them" [Undecided,New] https://launchpad.net/bugs/129787814:20
anpok_oh 1297876 is a mir issue14:21
mterrykgunn, I'll look at the first one because that seems like something I could track down (see where screen turns on and work back).  But the second one looks like it requires more knowledge of Mir than I have14:21
mterrykgunn, I think racarr was looking at one or both of them14:21
mterryanpok_, I *think* second one is too14:22
kgunnanpok_: want to dive in to 1297876...and maybe work with racarr when he comes on....14:23
kgunnlet's see if we can kill these quickly14:23
* kgunn wants to land split greeter soon!14:24
anpok_kgunn: sure - this one is very annoying, thought it was in a different part of the system.14:24
anpok_brb14:24
=== dandrader|afk is now known as dandrader
AlbertAso now that facebook will buy oculus do we still have to "pass the oculus rift test"? :)14:40
anpok_there is another company with augmented reality glasses14:43
AlbertAsony?14:43
AlbertA:)14:43
anpok_or in austria there is a vr startup14:44
anpok_i think we just rename it .. or have an indirection14:44
ogra_AlbertA, sure you do, we need to be prepared for when we acquire facebook as sub-devision after making billions and billions in the phone market14:44
anpok_"coolest displaying tec test"14:44
AlbertAI kinda like passing the "morpheus test"14:45
AlbertAthough probably not applicable :)14:45
anpok_hmm i am sure the sony equipment will work in linux likewise..14:46
AlbertAunless we get ubuntu running on the ps4 :)14:46
ogra_lets start small, Ubuntu Phone on the PSP first ;)14:56
anpok_vita might be simpler .. no mips ...15:00
alan_gAlbertA: look at DemoPrivateProtobuf15:11
AlbertAalan_g: thanks15:17
alan_gyw15:17
=== alan_g is now known as alan_g|tea
=== alan_g|tea is now known as alan_g
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== dandrader is now known as dandrader|lunch
=== tvoss is now known as tvoss|afk
alan_gDoes anyone know why ConsumingPlacementStrategy exists in the codebase?16:32
kdubalan_g, I don't know16:44
pietro10Quick dev-related question: does Mir use libxkbcommon? Thanks.16:52
kdubits one of our dependencies16:54
alan_g$ grep libxkbcommon debian/control16:54
alan_g               libxkbcommon-dev,16:54
pietro10thanks17:02
=== dandrader|lunch is now known as dandrader
=== alan_g is now known as alan_g|EOD
kgunnAlbertA: trying to be better about public chat...so powerd will still contain brightness value ?19:02
kgunnand u-s-c will simply be a proxy for the ui in terms of requests to change that value...?19:02
kgunni assume wrt actual screen state (on/off) that's still going to end up in u-s-c ?19:03
AlbertAkgunn: yes powerd will still handle the brightness logic19:03
AlbertAkgunn: I was pulling that into usc but from the conversation in the morning19:03
AlbertAkgunn: that was better left in powerd19:03
kgunnok19:03
AlbertAkgunn: but usc will inform powerd when to act on brightness etc19:04
kgunnAlbertA: makes complete sense, any hw ctl & related hw logic should be in powerd...and usc is more about policy & req/resp on powerd19:05
AlbertAkgunn: yes basically usc will do the input event timeouts and display on/off, and it will inform powerd when to to dim the screen19:06
AlbertAkgunn: the settings will be obtained from the sessions possibly from a sidechannel using the same server socket mir uses19:07
AlbertAkgunn: or maybe we can incorporate it into display configuration - for now I'm leaning towards side channel as far as settings19:07
kgunnack19:19
kgunnmterry: out of bug 1297876 and bug 129787819:58
ubot5bug 1297876 in mir (Ubuntu) "Screen turns on when a new session/surface appears" [Undecided,New] https://launchpad.net/bugs/129787619:58
ubot5bug 1297878 in mir (Ubuntu) "Keyboard presses "fall through" and hit surface behind them" [Undecided,New] https://launchpad.net/bugs/129787819:58
kgunnyou really wanted help with 78 right ?19:58
kgunnjust wanted to make sure i was asking racarr about the right thing19:59
kgunnor...asking him to look at the right thing19:59
mterrykgunn, both are blockers, but I think I can at least investigate 76 myself.  Plus 78 affects more than just split mode, so it's more critical.  I think racarr was looking more into 76 so far, but I'm not sure of his progress in either19:59
kgunnagreed...78 looks like the nastier of the 220:00
kgunnin terms of ux effect20:00
mterrykgunn, 76 is mad annoying bro20:01
mterrybut yes20:02
kgunnmterry: sorry...i meant 7620:02
kgunnno nvmd...20:02
mterrykgunn, they are both super annoying20:02
kgunnah..my eyes o.O20:02
mterrykgunn, one drains battery and is startling.  One makes keyboard useless20:02
kgunnkeyboard useless is worse imho20:03
mterrysure20:03
=== dandrader_ is now known as dandrader|bbl
mterryI'm on the same page  :)  I just also hate 7620:03
racarrshould I just20:21
racarrflip a coin/20:21
racarrok no 7820:21
racarrmterry: kgunn: Anything known so far on 78 besides that is in the bug?20:22
mterryracarr, no20:23
racarrcool20:23
racarrill be on it in an hour or so (have to do the usual flash phone clean, build clean stack, etc...)20:24
kgunnbregma: bschaefer ...meant to ask20:47
kgunnoops, wait...moving20:47
mterryracarr, regarding the 76 issue, your original instincts were right.  If I uncomment the "power_mode = default_power_state" bits in DefaultDisplayConfigurationPolicy::apply_to, problem goes away.  In your unity-mir branch, you say nested mode should do nothing for apply_to.  Should NestedDisplay() just not call apply_to?22:06
racarrmterry: Which branch of unity-mir are you using against mir devel? trunk isnt building22:10
racarrmterry: Err...let me think22:10
mterryracarr, whichever ended up in silo 00422:11
mterrykgunn_, which branches did you use for unity-mir in silo 004?22:11
racarrmterry: Err...so I cant remember exactly what I said in my unity-mir branch22:12
racarrI think it would make sense to say though, for example that22:12
racarrthe nested server should inherit the display configuration from the system compositor by default22:13
racarrso the nested server could use a22:13
racarrDisplayConfigurationPolicy (overriding the_display_configuration_policy)22:13
racarrthat doesnt initialize things to their default state22:13
racarrre-initialie/whatever22:13
kdubif they're different defaults, why not just provide an appropriate default implementation instead of overriding things22:21
racarrmterry: Ok where does silo 4 come from!22:23
racarrI guess maybe I can use binary packages of unity-mir22:23
racarrbut...I think server abi broke22:23
racarras early as like22:23
racarrevery day for the past week22:23
racarrlol22:23
racarrso im not sure how this is possible22:23
kgunn_mterry: one moment22:23
mterryracarr, https://launchpad.net/~ci-train-ppa-service/+archive/landing-004/+packages22:23
kgunn_mterry: https://pastebin.canonical.com/107219/22:24
kgunn_racarr: ^ if needed22:24
racarrhmm I only see one unity-mir branch22:26
racarrwhich doesnt have the update22:26
racarrthat the_session_authoried now has to implement screencast_is_allowed22:26
racarrmaybe I got my local branches mixed up just a sec22:26
racarrmterry: Err, so I am not sure how you built mir/devel22:29
racarragainst these packages22:29
mterryracarr, I apt-get sourced the package in the silo22:30
racarr / are there missing um branches...22:30
racarrthe mir package?22:30
mterryracarr, and worked off that.  That way, no rebuilding22:30
mterryracarr, yeah22:30
racarroh22:30
racarrthats at least a week behind mir devel it seems22:30
racarrmaybe more? screencast has been in for forever22:31
mterryracarr, well, good for fixing bugs anyway22:31
racarrmm22:31
racarrlemme get the PPA then22:31
=== dandrader|bbl is now known as dandrader
racarrexcept apt-get update wont finish lol thats good22:39
racarrmterry: Just to make sure I understand how I am supposed to reproduce it22:42
racarrit should just show up in this silo22:42
racarrso there is nothing to isolate it to mir/mir devel in particular22:42
mterryracarr, yeah22:42
mterryracarr, uh.  76 needs silo.  78 should be reproducable with stock unity8 and silo22:43
mterryracarr, haven't tested 78 with stock unity8 and mir/devel22:43
racarrright but at this point it could be anything in the silo except unity8 right22:43
racarri.e. papi/unity-mir22:44
mterryracarr, well papi/unity-mir are just rebuilds agains tmir22:44
racarrer...do you have to do something besides writable-image to make22:53
racarrapt work on the phones now22:53
racarrI am having all sorts of issues22:53
mterryracarr, no...22:55
racarr:/ apt-get update will never finish even though I can access the servers it claims to stall on22:55
mterryracarr, what errors?22:55
racarrand dist-upgrade is complaining about no space left ond evice22:56
racarreven though its a clean flash22:56
mterryracarr, I've gotten the stall before, a reboot can fix that sometimes22:56
racarrI dont even know space on what partition...and I check mount -v and see there are now liek22:56
racarrover 20 partitions lol22:56
mterryracarr, no space is an odd one after clean refresh.  two things can help:22:56
mterryapt-get purge 'language-pack.*' mir-test-tools22:56
mterryrm -r /var/cache/apt/archives/22:56
racarrI cant even run apt-get purge22:57
racarrbecause of no space22:57
racarrbut I literally22:57
racarremptied /var/cache22:57
racarrhmm22:57
racarrI guess I will reflash22:59
racarrwith bootstrap22:59
racarrhopefully my flash isnt dieing22:59
mterryracarr, bootstrap shouldn't be needed, but couldn't hurt22:59
racarrshouldnt be right but23:00
racarrdont know what to do at this point23:00
racarrI mean I literally just flashed a new image without bootstrap immediately prior to this.23:00
mterryracarr, :(23:02
mterryracarr, did you accidentally do dd < /dev/random > /datafile?  common mistake23:03
racarrmterry: Maybe, thats my password23:05
racarrso maybe I entered it in the wrong prompt23:05
mterry:)23:05
racarror maybe my flash is dead23:05
racarrlol ok everything seems happy now.23:13
racarrjust going to pretend that never happened23:13
racarrmy usb cable is pretty flaky maybe the flashing process went wrong or maybe my flash really is failing23:13
racarrmaybe it was just overheating *shrug*23:14
mterry:-/23:16
mterryracarr, still before you re-install all the mir deps, you should probably run " apt-get purge 'language-pack.*' mir-test-tools" to help avoid in future23:17
racarrmterry: good call23:18
racarrwoah23:19
racarrthat was quite23:19
racarrthe boot up experience23:19
mterryracarr, with the PPA?23:20
racarryes23:20
racarrI can see also the osk23:20
racarrliterally cant be dismissed lol23:20
mterry:)23:20
racarrI also got it stuck rotated somehow23:20
mterryIf you re-summon it, it can come back unrotated23:21
racarrhmm ok well have to get unity-mir debug symbols now...23:29
racarrMirSurfaceManager::surfaceAttributeChanged is at least being called when the OSK comes up so cant understnad why23:29
racarrthe surface wouldnt be getting the state23:29
racarrbut we shall see23:29
racarrinteresting23:55
racarrsurface manager cant find the unity-mir side23:55
racarrosk surface at the time of23:55
racarrattribute23:55
racarrsetting23:55

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