/srv/irclogs.ubuntu.com/2014/04/16/#ubuntu-mir.txt

RAOFracarr_: Enjoy your +1 on cursor-spike.00:44
AlbertAlooks like the landing ci is stuck?01:37
AlbertAthere's 4 MP's ready to land for the last 10 hours and they haven't landed yet01:37
kgunnack, will see if someone in ci can kick the coke machine01:37
dufluAlbertA: Umm, happy final release eve... ?01:38
dufluThat shouldn't block anything though01:38
AlbertAduflu: oh is that what it is?01:38
dufluhttps://wiki.ubuntu.com/TrustyTahr/ReleaseSchedule01:38
dufluProbably not related. People are usually working furiously on SRU-0/SRU-1 for their various projects around now01:39
dufluwhich means blocking is unexpected01:39
AlbertAkgunn: so for the non-blocking swapbuffers I believe the best course of action is to avoid01:40
AlbertAkgunn: starting the display buffer compositor threads during display off01:41
kgunnAlbertA: so does that just end up making it an order of operation issue, and can you guarantee display on prior to starting disp-buff-comp ?01:43
AlbertAkgunn: well currently the responsibility lies on whoever is changing the display configuration01:44
kgunnusc ?01:44
AlbertAkgunn: they need to make sure the compositor is stopped before changing the display configuration01:44
AlbertAkgunn: yes usc in this case01:44
AlbertAkgunn: the main issue will be that the compositor will have to have indication of the display power state somehow01:45
AlbertAkgunn: so either it's start method takes a hint parameter01:45
AlbertAkgunn: or the compositor interface exposes some method that makes sense for display power off01:46
kgunnAlbertA: right...i would think you'd want more of a handshake, hint "i need to know when you've actually stopped/started"01:46
AlbertAkgunn: well you want the compositor to only start the buffer consuming thread only01:46
kgunnmmm, yeah, maybe it does...01:47
AlbertAkgunn: the hard part is not exposing those internal implementation details01:47
kgunnwell it is the "display" buffer compositor01:47
kgunnso it does imply it can "know" display stuff01:47
kgunnok...still on irc on my other machine...trying xmir again :)01:48
kgunn_RAOF, ok...ssh'd into my other machine which is now a black screen on xmir attempt01:50
RAOFkgunn_: Good, good. If you restart lightdm, does anything happen?01:51
kgunn_one note, early today i reinstalled xserver-xorg-*, dri2 wondering if that would cleanly return any default conf files that might have been hosed....(e.g. apt-get install --reinstall..) is that true ? would it cleanly take care of conf files?01:51
kgunn_RAOF, so i just restarted lightdm, nada01:51
kgunn_just black screen01:51
kgunn_lightdm.log says waiting for signal from xserver, Process 8238 terminated with signal 601:53
RAOFSIGABRT is unlikely to end in pleasantness.01:54
RAOFWhat sayeth /var/log/Xorg.0.log?01:54
AlbertAkgunn_: actually what I've said is already taken care of by https://code.launchpad.net/~afrantzis/mir/expose-display-buffer-only-for-power-mode-on/+merge/21475801:55
AlbertAkgunn_: I wonder why that's not the case...01:55
kgunn_RAOF, so it seems to go thru some display config checking & updates...then01:56
kgunn_just before backtrace its [  9484.653] (II) Putting surface on output 901:57
kgunn_[  9484.653] (EE) Backtrace:01:57
kgunn_[  9484.653] (EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x7fd14470ec48]01:57
kgunn_[  9484.653] (EE) 1: /usr/bin/X (0x7fd144566000+0x1ac939) [0x7fd144712939]01:57
kgunn_[  9484.653] (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7fd143663000+0x10340) [0x7fd143673340]01:57
kgunn_[  9484.653] (EE) 3: /lib/x86_64-linux-gnu/libpthread.so.0 (pthread_mutex_lock+0x4) [0x7fd14366d414]01:57
kgunn_...is this some stupid "hybris got installed" thing ?01:58
duflukgunn_: Only if you have hybris installed :)01:58
kgunn_hmmm, so libhybris isn;t, but ...libhybris-common1 is ?01:59
duflukgunn_: Yeah apparently that much is safe01:59
dufluAnd required, for some reason01:59
kgunn_ok...everytime i see pthread's i think libhybris...just cause of the tegra thing02:00
RAOFHarumph.02:02
duflukgunn_: When that happens the path name will contain "hybris" so it's OK02:02
RAOFThat's *all* the backtrace?02:02
dufluAlso it will only apply to lib*GL02:02
kgunn_the whole thing is https://pastebin.canonical.com/108605/02:03
RAOFHm. Died in mir_surface_is_valid?02:05
RAOFSo I guess what's happening here is that XMir is getting a null MirSurface* and calling mir_surface_is_valid on it.02:10
AlbertAkgunn_: so it turned out I was not updating the mir platform libraries on my device...:)02:11
AlbertAkgunn_: volume keys work just fine now02:11
kgunn_ah man!02:11
dufluRAOF: https://bugs.launchpad.net/mir/+bug/124847402:12
ubot5Ubuntu bug 1248474 in Mir "mir_surface_is_valid(NULL) crashes instead of returning false" [Medium,Triaged]02:12
RAOFAnother well-known cleanup bug!02:13
kgunn_this is the part where duflu throws me "that  look"02:14
kgunn_i don't mean to question the experts...but, i'm on a mac/intel w/ integ gfx...wouldn't think it would be a consistent prob02:15
kgunn_others would've complained ?02:15
RAOFI would have thought so, yes.02:16
AlbertAcan anybody else download branches through bzr? Getting connection issues02:21
RAOFAlso, how *can* we get a null MirSurface? The callback is called from Surface::created() thusly: callback(this, context);02:21
kgunn_AlbertA, fails here too02:23
kgunn_RAOF, so if its really a mir thing, then i should fail to launch a demo_server02:31
kgunn_right ?02:31
RAOFkgunn_: Probably, yes.02:31
=== chihchun is now known as chihchun_afk
kgunn_RAOF, hmmm...got majorly distracted, but ok, server seems to launch, but client does fail w a seg fault03:13
kgunn_and gdb backtrace showing same mir_surface_is_valid03:18
kgunn_ok...heading to bed, maybe some more tomorrow03:21
=== chihchun_afk is now known as chihchun
RAOFBah! That's really annoying.06:33
RAOFStupid race-condition testing!06:34
=== chihchun is now known as chihchun_afk
alf_greyback: Is this still needed? https://bugs.launchpad.net/mir/+bug/122677809:42
ubot5Ubuntu bug 1226778 in Mir "[unity8 shell] mc::Compositor has no method to get running state" [High,Incomplete]09:42
greybackalf_: I think calling stop() twice doesn't cause a crash any more, so that bug is more a nice-to-have.09:43
alf_greyback: ok, marking as "wishlist" then09:44
=== chihchun_afk is now known as chihchun
=== pete-woods is now known as pete-woods-lunch
=== pete-woods-lunch is now known as pete-woods
=== dandrader is now known as dandrader|afk
kgunnalf_: AlbertA greyback ...ok, unity-mir, qtubuntu rebuilt...14:56
alf_kgunn: ok updating14:56
* greyback too14:56
alf_kgunn: greyback: what do the updates fix/improve?14:59
greybackalf_: the qtubuntu change will have Qt client apps stop rendering as soon as they are off-screen (well, when they get lifecycle events)14:59
alf_greyback: ah, great15:00
greybackalf_: I have instructions in a comment in https://code.launchpad.net/~gerboland/qtubuntu/surface-visible-hidden-side-channel/+merge/215884 to show how you can test it15:00
greybackI'd appreciate a third party check...15:00
=== dandrader|afk is now known as dandrader
kgunnwill update also ...(when/if i can stop the irc pinging)15:02
alf_kgunn: kdub: racarr_: stand up15:03
alf_greyback: confirmed that printDate.qml stop requesting buffers, but still keeps printing to stdout with latest silo builds15:08
greybackalf_: that's perfect15:08
greybackalf_: the printing is from the GUI thread, which can continue working unblocked15:09
greybackso the rendering thread has shut down cleanly15:09
greyback(sorry I always fall into the Qt terminology. GUI thread = even handling thread)15:09
greybackevent15:10
alf_greyback: seems so, I am running with MIR_CLIENT_RPC_REPORT=log and see that the client stops requesting buffers15:10
greybackalf_: yes, sounds right15:11
greyback\o/15:11
greyback\o\15:11
greyback /o/15:11
alf_greyback: exercising? ;)15:18
alf__o_15:18
alf_\o/15:19
alf__o_15:19
alf_\o/15:19
greybacklol15:19
greybackjust happy this is working :)15:19
alf_greyback: kgunn: hmm, the falling-letters app freezes when you turn the screen of and back on again15:39
alf_greyback: kgunn: but other apps (e.g. sudoku) work fine, so perhaps that app is at fault?15:40
greybackalf_: confirmed. will investigate15:42
=== dandrader is now known as dandrader|lunch
alf_greyback: the camera-app freezes too, but the clock doesn't, perhaps it has to do with whether there is some animation/app update going on when the screen is turned off (just wild guess)15:45
kgunnkdub: if you do happen to try xmir...i'd be interested to hear your results...and _after_ confirming it works, if you could try the mir/usc in ppa:ci-train-ppa-service/landing-00315:46
kgunnthat would be interesting15:46
kdubkgunn, i'm set up to try the demo server/shell pretty quickly, was that broken too?15:47
kgunnalf_: greyback ...is there a chance here the apps aren't expecting the expose event ?15:47
greybackalf_: that shouldn't be the case, most animations run on the unblocked thread. But yeah the render thread is blocked for dropping letters, need to figure out why15:47
kgunnkdub: demoshell/client was broken for me yes15:47
kgunnagian...it might be me15:48
kdubi'll try that out real quick.. a few minutes15:48
kgunngreyback: do you know if dropping letters and camera are pure qml ? (i would suspect dropping letters is for sure)15:48
greybackkgunn: it is pure qml15:49
kgunnmmm there goes that theory15:49
greybackso I must have something wrong in qtubuntu15:49
kgunnor bug in qt itself...15:50
greybackI'll assume I'm at fault first :)15:50
racarr_even if the expose event wasnt working apps should be rendering out of control and not blocking right?15:52
racarr_(maybe this has evolved since I briefly understood it in london ;))15:52
greybackindeed. But I've managed to do this in qtubuntu before, it sometimes managed to lie to the renderer and renderer gets locked up15:53
racarr_-.-15:55
alf_greyback: in case it is helpful, here is the client rpc log for mir when running dropping-letters: http://paste.ubuntu.com/7262240/15:57
alf_greyback: Result id:0 responses are events15:57
AlbertAkgunn: just checked mir/devel on my haswell laptop, demo server/client works well here15:58
greybackalf_: is definitely my problem, render thread not shutting down correctly, need to determine why...16:00
kgunnta AlbertA16:01
kgunnso when you play video, it keeps playing for about 2 secs when you hit the power button....and then immediately restarts for ~1 second after unlock16:25
kgunneven tho, you cant see it, but stops again, until you bring it into focus16:25
kgunnoops...ok, browser locked up16:26
kgunngreyback: alf_ ^16:27
kgunn...i abused it several times before lockup16:27
kgunn(and only the browser, shell & other apps still respond)16:28
=== dandrader|lunch is now known as dandrader
greyback_kgunn: I've something that I think will fix it. Have just pushed it to the qtubuntu branch. Am building package16:32
greyback_(locally)16:32
kgunnack16:35
kgunndude...watching the "i think we're alone now" trailer over and over is strarting to creep me out16:35
racarr_...16:39
racarr_:p16:39
greyback_kgunn: could you please test http://people.canonical.com/~gerboland/qtubuntu-android_0.54+14.04.20140402-0ubuntu1_armhf.deb16:39
greyback_and see if it fixes the blocking issue16:40
josharensonIs there an easy way to change the background color of mir_server_demo_shell? I think I found a bug, and changing the color to, say red, would make identifying it a bit easier.16:42
kgunngreyback_: i will...stepping out for a quick bite16:42
kdubjosharenson, search for glClearColor in the examples/ code... i beleive its set to grey there16:42
josharensonkdub: ack16:42
greyback_kgunn: ok. I'm heading out for dinner, so will be away a few hours. Please email with the verdict16:42
kgunnlunch date running late...lemme see if i can do quickly16:45
greyback_man the new browser is good16:49
kgunngreyback_: nope.....same experience16:49
greyback_kgunn: with dropping letters even?16:50
kgunnsorry...just video16:50
kgunnlemme check dropping letters16:50
kgunncool!...time out worked on video...same little hiccups16:51
greyback_you play video from the video scope right? Why not working for me...16:52
kgunnyep, i'm playing the "i think we're alone now"16:52
greyback_** (process:2021): WARNING **: Unable to dispatch url 'https://videosearch.ubuntu.com/v0/redirect?s=TPzN98RZt0eNHhrYvplj9d3_WtKAbOSC3wun2Q%3D%3D&u=http%3A%2F%2Fvodo.net%2Fitwan':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'https://videosearch.ubuntu.com/v0/redirect?s=TPzN98RZt0eNHhrYvplj9d3_WtKAbOSC3wun2Q%3D%3D&u=http%3A%2F%2Fvodo.net%2Fitwan' is not handleable by the URL Dispatcher16:52
kgunnno hang on dropping letters....16:52
greyback_ok, improvement16:53
greyback_though I notice dropping letters not pausing when we switch away from it16:53
* greyback_ has to go17:00
=== alex_abreu is now known as alex-abreu
josharensonif MIR_BYPASS is unset, then bypass is enabled?17:09
kdub1) that's becoming MIR_SERVER_BYPASS very soon and 2 yes, default is on17:20
kdubits also becoming a --help option soon, so it will be clearer wh at the default is17:20
dandrader"what():  error during hwc prepare(). rc = ffffffff"18:16
dandraderis that known on the N4? ^18:16
kdubdandrader, not known18:28
dandraderoh, that's surprising18:30
dandraderhappens when I turn off/on the display, pressing the power button18:31
dandraderbacktrace is useless as usual18:31
kgunncamako: ^ might be an intersting one18:47
kgunnwhat josharenson found18:47
kdubdandrader, yeah, I know there's some synchronization issues with the compositor/display power on/off being worked on18:47
josharensonkgunn: ?18:48
josharensonkdub: that sounds like what I see... flickering/tearing when starting fullscreen app18:48
camakokgunn: abt bkgrnd color?18:48
kgunnsorry josharenson, meant dandrader18:48
josharensonah18:49
kgunncamako: sorry, meant the hwc prepare issue18:49
kdubjosharenson, well, bypass is only on the mesa platform, is that where you're seeing it?18:49
kgunnas far as digging in code18:49
camakokgunn: o i see18:49
josharensonkdub: nope18:49
camakokgunn: perfect.. right up my alley :-)18:49
josharensonkdub: reason I wanted to change bkgnd color is i see the flickering when unity is running... want to isloate unity/mir18:49
camakodandrader: does it happen every time?18:50
josharensonkdub: working on other things now, but will file a bug when i investigate in a bit (my guess is it will be a dupe of something filed already... I'll read up)18:50
dandradercamako, started happening consistently after I restarted unity8 manually.18:51
kdubgreyback and alf_ , they might know something more than me18:51
camakodandrader: let me poke around a bit18:52
dandradercamako, btw, I was using the "qt as mir compositor" branch of unity8, if that makes any difference...19:20
camakodandrader: I see19:21
AlbertAwe are hitting some sort of timeout issue in CI for landings19:26
AlbertAhttps://jenkins.qa.ubuntu.com/job/mir-mediumtests-runner-mako/1116/console19:27
AlbertAhttps://jenkins.qa.ubuntu.com/job/mir-mediumtests-runner-mako/1117/console19:27
AlbertAkdub: ^ just pinged CI channel they are checking19:34
kduboh, I just was poking through that, and retriggered the landing19:34
AlbertAyeah me too :)19:35
kdubsometimes that's a transient problem, other times, its a permanent problem19:35
AlbertAkdub: I guess the lander is getting hit hard today19:37
kdubAlbertA, yeah, those 4mps have been waiting a while19:39
kgunncamako: i think dandrader means this... https://docs.google.com/a/canonical.com/document/d/163nyfh_G90nzQnRdI7IYgrMH_0VdmesBju5jpb4wse0/edit19:39
camakokgunn: Thanks for the doc... I am looking through code atm...19:41
AlbertAdandrader: and you sure unity8 is started in nested mode? sounds like it's not19:41
dandraderAlbertA, hmm, that could be it!19:42
* dandrader tries19:43
dandraderAlbertA, you got it.19:46
AlbertAdandrader: cool19:49
=== chihchun is now known as chihchun_afk
kdubi'm being brave20:47
kduband cleaning up GLRenderer test20:47
racarr_IN TO THE DEPTHS!20:49
anpokyeah thats an interesting bunch of tests20:49
kdubit was maybe the second test ever written20:51
racarr_Ok...mostly finished...new ozone-mir (lots of upstream changes, quite helpful ones...just...all the code has to change)20:54
racarr_feeling kind of exhausted though, so going to switch to fixing this bug I found in introduce-scene-observer (or think might exist, rather the first task is writing a test)20:54
racarr_and then fiddle with xinput for a while.20:54
racarr_actually first im going to eat ice cream. haha. brb.20:55
kgunnAlbertA: camako....good grief this took me too long....could you review https://wiki.ubuntu.com/Mir/NonBlockingSwapTesting#preview21:59
camakokgunn: sure... how soon do you need it?22:00
kgunnjust look it over for 5 min...for any big idea that maybe i missed22:02
kgunnpretty sure the notes are good...its editable :) so we can fix if it strikes you in 10 minutes not 522:03
camakokgunn: looks good to me22:10
camakokgunn: but what do I know...22:11
kgunncamako: thank you mir-expert :P22:11
camakokgunn: at least wording is good and I was able to follow the text... Dunno abt the commands mentioned therein..22:12
camakokgunn: mir-expert... :-)22:12
kgunngreyback: earlier you said dropping letters isn't stopping...but it is, i think you just witness that a few more letters drop before sigstop22:20
greybackkgunn: right, but there are times that it's not sigstopped, yet it is not in front. Leaving the spread open for instance.22:21
greybackkgunn: oh, would you please kick qtubuntu to build the latest revision22:22
kgunngreyback: you bet22:22
greybackthanks22:22

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