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

RAOFToday, on “Well, that's weird”: Surprise Wallaby!06:21
duflu_RAOF: ?07:40
=== duflu_ is now known as duflu
=== didrocks1 is now known as didrocks
alan_galf__: anpok anyone fancy a quick USC MP? https://code.launchpad.net/~alan-griffiths/unity-system-compositor/tidy-config-options/+merge/21038110:58
alf__alan_g: sure10:58
=== alan_g is now known as alan_g|lunch
=== lool- is now known as lool
=== w00t_ is now known as w00t
kgunndavmor2: on that bug 129041613:46
ubot5bug 1290416 in unity-mir "Mako locks up roughly once a day since R226" [Critical,Confirmed] https://launchpad.net/bugs/129041613:46
kgunnyou can still repro with the same steps you listed there in the report i assume ?13:47
kgunnjust checkin'13:47
kgunnaltho...this now seems to be a hang in unity-mir13:47
kgunndandrader: are you free enough today to dive into this bug ^13:54
kgunndandrader: it was originally thot to be the null-snapshots for apps problem we found in the mwc images13:55
kgunnbut that fix has landed in archive/image...and davmor2 says he can still get a crash/hang but just less frequent13:56
kgunnbregma: can you or a designate use the silo packages to test unity8 preview and make sure that bug is actually fixed ?13:56
kgunnor did you test dev branch already ?13:56
bregmakgunn, is the silo ready to test?13:57
kgunn...building13:57
kgunnjust planning ahead :)13:57
bregmaOK, ping me again when it;s ready to test and I'll verify -- it's a quick test13:57
bregmaeither you can log in, or you reboot13:58
kgunncoolio13:58
davmor2kgunn: It's happened to me twice over the weekend, and I think popey got hit by it this morning too. (but that may of been something else)13:59
davmor2kgunn: it's slowed down in appearance though.14:00
dandraderkgunn, I'm working on the "unity8 as mir compositor" front, but I can switch to this bug if it's more important14:01
kgunndavmor2: can you verify that it's creating a crash file ? or how do we know this is still unity-mir ?14:01
kgunndavmor2: and ...i guess this is going to take hours at a time to test ? :-/14:02
kgunndandrader: you might be able to continue working....while you test ^ :)14:02
popeydavmor2: no, i dont believe I have seen that14:03
davmor2kgunn: yeap it takes hours, no there is no crash file, I think that I got all the info I could for the guys and added it to that bug when it was in the locked state14:04
davmor2popey: that's fine then14:04
kgunndavmor2: sorry to be a pest....just want to chat through it... as to help dandrader or whoever gets the bug14:04
kgunndavmor2: so...no real repro steps, just play with the phone and let it sit ?14:05
kgunndoes it happen when interacting with the phone ? or the phone is just resting ?14:05
kgunne.g. is the phone always in "screen off/blanked" state ?14:06
davmor2kgunn: it  happens most for me from what I've noticed interacting in the dash so, closing apps, swiping between screens14:06
davmor2kgunn: I don't remmeber it locking while resting14:06
kgunndavmor2: ok...that's good to know, can you run "top" on it while locked up ?14:07
davmor2kgunn: I did and gave feed back nothing was 100%+14:07
kgunndavmor2: ok...no worries, that could just mean deadlock somewhere...14:08
davmor2kgunn: I don't know if that was added to the bug but I can certainly see if I can find the pastes14:08
kgunndavmor2: cool...14:08
=== alan_g|lunch is now known as alan_g
davmor2kgunn: which is what I think daniel has diagnosed it as iirc from the bug right?14:09
kgunndavmor2: yep14:09
kgunndavmor2: i was just poking you for info that might not be in the bug... :)14:09
davmor2kgunn: meh I can't find the pastes in the irc logs :(  I'll have another dig in a bit.14:17
kgunndavmor2: no worries...14:18
davmor2kgunn: from the photo attached to the bug you can see where it locked up I was swiping out the launcher :)14:18
kgunndavmor2: thanks...and basically that image just sits there, and no touch inputs are responded to right ? (e.g. classic hang)14:19
=== jono is now known as Guest78266
davmor2kgunn: 2 things happen the screen blank kicks in or it displays that image and nothing else, so when you hit the power button it is straight back to that screen rather than the welcome screen (hope that made sense)14:21
kgunndavmor2: yes...makes sense...and that's interesting too14:21
kgunndefinitely a user space deadlock...kernel is ok14:21
kgunndavmor2: ok...i'm a liar, one last question :)...any chance you've seen this _without_ activing the OSK ?14:23
davmor2kgunn: every thing works via adb so I could run top, I could trigger the backtraces that the guys asked for I just couldn't get the graphics to do anything :)14:23
kgunnmmm...i was thinking input lockup for a moment, but you're right, more likely render side14:24
davmor2kgunn: pass I'd of been using it on and off throughout the whole day so the OSK would of been open at some point but it hasn't crashed while the osk has been open if that helps14:24
kgunndavmor2: if you do find those top traces....let us know...i'd be curious about mem stats too14:25
davmor2kgunn: yeap give me about an hour to finish off some other stuff and I'll have a proper dig14:26
=== psivaa_ is now known as psivaa
kgunndavmor2: no problem...we've got plenty to chase in the meantime :)14:27
=== dandrader is now known as dandrader|afk
alan_gkgunn: this seems to do it: https://code.launchpad.net/~alan-griffiths/unity-system-compositor/prepare-for-Mir-0.1.7/+merge/21133415:14
kgunnalan_g: thanks...i had the exact change almost...but i missed the removal of stand-alone bit15:14
alan_gkgunn: yeah. I stole yours15:16
=== dandrader|afk is now known as dandrader
davmor2kgunn: meh I can't find them and I think I know why I think it was banded around in the landing hangout not on irc so I'm kinda stuffed when it locks up again I'll get you some copies of top16:34
=== dandrader is now known as dandrader|lunch
kgunndavmor2: thanks for looking16:59
kgunnyeah...just dump it in the bug16:59
kgunnbregma: hey on the cursor topic...racar says...17:09
kgunnracarr> finished step 1 of 3 steps for client cursor API17:09
kgunn but still desktop preview can be unblocked by just enabling the cursor in USC with a command line option or something17:09
kgunnbregma: so will enabling hw cursor via u-s-c do it for you ?17:09
racarr_Looks like Canonical has approved a number of travel REQ’s to the upcoming sprints in Austin, Las Vegas, Malta and London. As a result I have been sent multiple travel requests all within hours of each other.17:14
racarr_las vegas oO?17:14
bregmakgunn, I don't see an appropriate command-line switch listed in unity-system-compositor --help ...  the 'or something' might need a little fleshing out17:19
racarr_No there is nothing yet I meant17:19
racarr_we can add one17:19
bregmaracarr_, we'd also need to patch lightdm, and prepare for complaints about having the cursor with no mouse:  maybe it's still better to wait for proper support altogether17:21
=== om26er_ is now known as om26er
ogra_kgunn, can we land this in the not to far future ? https://code.launchpad.net/~unity-team/unity-system-compositor/new-gl-screen/+merge/21046617:29
racarr_bregma: Wait what? why patch lightdm17:31
racarr_and what do we mean the cursor17:31
racarr_with no mouse17:31
bregmaracarr_, lightdm is what spawns unity-system-compositor, any command-line option needs to be added there, and a cursor with no mouse happens when you unplug your mouse (or don't have a mouse at all) and there's a cursor17:32
bregmaeg. the Asus transformer17:32
bregmaor my Yoga2 when it's folded into tablet mode17:33
racarr_ah17:33
racarr_second bit isnt entirely trivial to fix17:34
racarr_patching lightdm doesnt seem that bad...isnt the command line in some conf file anyway17:35
ogra_we support asus transformer with any image out there ?17:35
racarr_ogra_: u8 desktop preview17:35
ogra_racarr_, we still dont have any arm images for tegra devices anymore17:35
ogra_(tegra was happily dropped all over the place)17:36
racarr_oh I thought there were x86 ones17:36
racarr_lol I have no clue17:36
racarr_anyway I dont have a strong opinion on whether we should do the cursor command line thing17:36
racarr_but a proper fix is unlikely to land before next monday and it keeps on coming up17:37
ogra_heh, well, there probably are ... i stopped looking at transformers a while ago :)17:37
=== dandrader|lunch is now known as dandrader
racarr_bregma: kgunn: So is the conclusion we are happy if the more detailed cursor fix makes it to mir/devel by monday17:58
racarr_and we can avoid doing this thing in USC/lightdm17:58
racarr_or17:58
bregmaracarr_, yes, that should be OK17:58
racarr_the opposite17:58
racarr_ok17:58
=== alan_g is now known as alan_g|EOD
kgunnracarr_: if we could get something nice by monday...we'd all be good to go...just note...march 23 is final beta for trusty18:04
kgunnfinal freeze is apr 10th18:04
racarr_yeah it seems kind of18:04
racarr_that was kind of my point espescially with18:04
racarr_sasy mir/devel by monday18:05
racarr_worst case is a whole extra week18:05
racarr_I dunno though. We can reevaluate wednesday18:05
racarr_not counting the time to get stuff to archive etc.18:05
kgunnracarr_: we can cherry pick also...which would be a quicker landing18:05
kgunn(for mir)18:05
racarr_mm18:05
racarr_ok well lets reevaluate wednesday or so the18:05
racarr_workaround can be18:06
kgunnyep18:06
kgunnsounds good18:06
racarr_done all in one day18:06
racarr_so no hurry18:06
racarr_Lunch!18:23
kgunnbregma: yo!...we got some packages18:56
kgunnhttps://launchpad.net/~ci-train-ppa-service/+archive/landing-019/+packages18:56
racarr_annn back18:58
kgunnthomi: so is there an "autopilot for dummies" around?...like, if someone just knows they want to add19:01
kgunnsay a specific test, but doesn't want to learn all the fmwk'y stuff...19:01
thomiheh19:01
thomiwell19:01
kgunntemplate i'm thinking19:02
thomiyou'd typically talk to your QA representative19:02
thomiwho will write the first few tests for you, and show you how it's done / train your team19:02
kgunnbut.....?19:02
thomino 'but', I'm just too tired to structure English sentences properly yet - haven't had my first coffee yet19:03
thomiWho have you guys been working with from the QA dept?19:03
kgunnah19:03
=== dandrader is now known as dandrader|afk
thomikgunn: If you're not already working with someone, I can find someone to help you out19:07
bregmakgunn, can't test mir 0.1.7 with unity8 because libunity-mir1 has not been rebuilt against it19:11
kgunnbregma: hmmm, i'm just updating my phone....libunity-mir1 should be in those packages...19:12
kgunndoes that make sense ?19:15
kgunnit should work19:15
=== dandrader|afk is now known as dandrader
bregmamaybe the publish hadn't made it out to my local mirror, I'll update again19:21
bregma... yep, looks like that was the problem19:28
bregmakgunn, unity8 no longer crashes on startup on the desktop with 0.1.7 from the silo ... something else is totally messed up and nothing renders, but at least it's not crashing19:54
kgunnbregma: i don't know whether to be happy or cry19:54
bregmakgunn, it may not be a problem in Mir, there are lots of places where things can go wrong between the renderer and the desktop shell19:55
bregmaone of the errors: QOpenGLShader::link: "error: linking with uncompiled shadererror: linking with uncompiled shader"19:56
bregmathat's not a Mir problem19:56
kgunnah...phew20:00
=== dandrader is now known as dandrader|afk
racarr_bregma: Err, not sure what the context is but this may be an old issue surfacing up again20:13
racarr_where qtubuntu forces a GLES context but Qt packages on the desktop are statically compiled20:14
racarr_against desktop GL20:14
racarr_so sometimes QML emits shaders that20:14
racarr_dont compile20:14
racarr_we got randomly lucky initially in that the shell worked fine, because it just happened to emit shaders20:14
racarr_in the common subset20:14
racarr_but some of the qml examples always had this problem20:15
racarr_anyway unless anyone ever fixed that its very likely a qt update or random20:15
racarr_shell QML change20:15
racarr_could have created issues20:15
bregmaracarr_, I'm familiar with the problem (I'm the one who fixed it in qtubuntu) but it may well be the same problem elsewhere in the stack20:16
bregmaproblem is it's hard to tell who is compiling the shaders20:16
bregma...unless Qt5.2 was built to use GLES only,.....20:17
racarr_haha thats what20:17
racarr_I was just going to say20:17
racarr_re: who is compiling the shaders20:17
racarr_you mean where they are coming from?20:17
racarr_LIBGL_DEBUG=1 MESA_DEBUG=120:19
racarr_will show the GL errors as they occur (link, etc)20:19
racarr_and GLSL_DEBUG=dump will dump shaders but im nots ure that will give you the errors right away20:20
racarr_may help20:20
bregmaI don;t have a problem seeing the errors:  keywords like 'highp' is throwing off the compiler (it's GLES only, Qt build for GL would strip that keyword out of shader code before compiling, which leads me to believe it's a Qt5.2 problem)20:21
racarr_sounds like the original problem is back right the20:21
racarr_oh no I misread sorry20:22
racarr_so, the context is desktop GL (no highp)20:22
racarr_but Qt is now compiled to emit GLES20:22
racarr_its really shocking to me that that is a20:22
racarr_ ./configure option20:22
racarr_and not like20:22
racarr_a runtime option20:22
racarr_or anything else20:22
racarr_but anyway20:22
racarr_sounds like...fix qt (probably not lol) and or change qtubuntu back to use20:23
racarr_GLES20:23
kgunnwondered if qt5.2 was going to throw a wrench somewhere20:23
racarr_...ugh already feels like a long day20:38
racarr_unfortunately a little to early for that20:38
rsalvetiracarr_: unfortunately that's a build time decision, and we're also having issues with that for the x86 emulator, as we need gles by default21:26
rsalvetiI know we have people upstream working to dynamically select the right backend, but would probably be something for qt 5.421:26
racarr_rsalveti: Mm thats what I was saying shocking that it is a ./configure option22:16
racarr_ok so it is GLES now though so qtubuntu ust needs to use GLES as well22:16
racarr_ / request a GLES context22:16
racarr_and everyone can be happy22:16
racarr_bregma: ^22:16
rsalvetiit's not gles by default though22:16
rsalvetidesktop uses qt built with gl22:17
rsalvetiI think qtubuntu-desktop is also using gl22:17
bregmait looks to me like the patch Add-workaround-for-GL-on-Android-emulator.patch applied to Qt5.2 just Does the Wrong Thing regarding shaders on the desktop -- it forced GLES shaders on the desktop _unless_ it's running on an Android emulator, if I'm readong the code correctly22:18
rsalvetithat patch was dropped for qt 5.222:18
rsalvetiand I'm adding it again, that's just for emulator22:19
rsalvetiwe had it in 5.0 for months22:19
bregmaI just pulled ubuntu:qtbase-opensource-src, it does not appear to be dropped22:19
rsalvetiit only affects the shader if render string is Android Emulator22:19
rsalvetiupstream is only using that for the android backedn22:20
rsalvetiat least that was the case when I backported the patch22:20
rsalvetichecking that again22:20
racarr_oh sorry misunderstood what rsalveti said22:20
racarr_thought you meant switched to GLES by deault22:20
racarr_not need22:21
racarr_auto optimism completion ;)22:21
bregma"if (d->shaderType == Fragment && !ctx_d->workaround_missingPrecisionQualifiers)" is the key line, and workaround_missingPrecisionQualifiers is false on the desktop, meaning with the patch, the GLES-specifci keywords will not be removed from the shader code22:24
bregmawhich is exactly what I;m seeing22:25
=== dandrader|afk is now known as dandrader
bregmaworkaround_missingPrecisionQualifiers is only set to true if glGetString(GL_RENDERER) == "Android Emulator", which is not generally true on the regular desktop22:26
rsalvetibregma: right, but that is the expected behavior22:26
rsalvetithe problem here is why are we getting a GLES specific keyword?22:26
bregmaoh, so you expect Qt5.2 to not support the desktop?22:26
rsalvetithat workaround is needed by the emulator because it uses a GLES->GL translator driver22:26
rsalvetithat's why the need to remove the GLES specific keyword22:26
rsalvetia workaround in Qt would be to always force the workaround with true in case the host renderer is GL22:27
bregmathat would do it22:28
rsalvetibut that will just be indeed a workaround as the main problem is that it shouldn't even be getting the GLES specific shader at all22:28
bregmathe only GLES-specific thing about these shaders is the highp/midp/lowp keyword, at least up until recently22:29
rsalvetiyup22:29
rsalvetibregma: do you know who is sending the GLES specific shader?22:29
bregmawhen I was hunting down the qtubuntu problem, they were all default Qt shaders22:30
rsalvetihm, that would be unexpected, as qt was built with GL by default on x8622:31
rsalvetibregma: we didn't have this issue before, right?22:31
bregmathere's only one set of shaders, only difference is the precision keyword that gets undef'd22:31
bregmauntil I upgraded my desktop to QT5.2, Unity8 was running (with a patched Mir)22:32
bregmanow I don't need the Mir patch22:32
rsalvetiright, shouldn't be related with mir22:34
rsalvetithen, if you want to have this patch applied more generically, we'd need to find a generic way to find if the host is using GL22:35
bregmaI think you'll find that if Qt doesn't want to render things nicely on the desktop, there will be a lot of dissatisfied Kubuntu users22:37
rsalvetithat's for sure, but if that is indeed broken (qt by default sending GLES specific shaders), we have a major issue22:38
rsalvetiI'm still not sure if this is indeed not caused by our stack22:38

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