/srv/irclogs.ubuntu.com/2014/02/25/#ubuntu-mir.txt

=== duflu_ is now known as duflu
RAOFWell, that failure makes *absolutely no sense*04:53
RAOF~thread() is dying in if (joinable) std::terminate().04:54
RAOFBut ~thread() is being called after a destructor which has called thread.join();04:54
dufluRAOF: That means it's been deleted twice, usually. Valgrind should tell where04:55
dufluWhee, my merge proposals have now been up for review long enough to get conflicts from other things landing :S04:56
RAOFHuh. MirSocketRpcChannel apparently leaks fds.05:00
RAOFOh, wtf? The leak appears in TestClientInput, but if I pass --gtest_filter=TestClientInput\* then it *doesn't* show up?05:17
RAOFFor those playing at home, a stack depth of 24 is insufficient to catch this error :/05:32
RAOFDid my *monitor* just reboot?05:35
RAOF?!05:35
MirvRAOF: it needs to do that after it receives a newer version of the surveillance software07:30
Mirvthey're working on updating the monitor's kernel while it's running, though07:31
Mirvso it should be completely transparent to you soon enough!07:31
duflualan_g: You win :) https://bugs.launchpad.net/mir/+bug/128455410:04
ubot5Ubuntu bug 1284554 in Mir "[regression] mir_demo_server_shell: All clients start fullscreen by default" [Medium,Triaged]10:04
alan_gI though I'd won something nice. :(10:06
dufluSorry.10:07
alf_duflu: alan_g: anpok_:10:07
alf_duflu: alan_g: anpok_:10:07
* alf_ curses fingers10:07
anpok_yes?10:08
alf_duflu: alan_g: anpok_: @ https://bugs.launchpad.net/mir/+bug/1192908, are you ok with removing the dependency that libegl1-mesa-dev has on libmirclient-dev (see last comment)10:08
ubot5Ubuntu bug 1192908 in mesa (Ubuntu) "Mir/Mesa packaging have a dependency cycle so neither can build" [Medium,Triaged]10:08
duflualf_: I'm OK with removing any dependencies possible. Keep in mind though that bug is about source package dependencies (not binary), isn't it?10:09
alf_duflu: it resolves at least a part of the dependency problem, i.e., currently when mir builds it indirectly depends on the existing libmirclient-dev10:10
duflualf_: I suspect the original fix is now gone too. Might be best to do the work in another bug given that one has a branch and Fix Released.10:11
alan_galf_: I'm begging to feel that there's a low-level project & package missing.10:27
anpok_alf_: mesa only needs to load a library and plays with a struct with some callback functions.. that implement the egl platform?10:28
alf_alan_g: so to solve the greater build dependency cycle, we would either need to have multiple source packages for mir, or move our EGL definitions in Mesa, or have a third independet source package they both depend on10:31
alan_galf_: yes. I'm not sure it is the right trade-off, but it is worth considering10:33
alf_anpok_: all the egl backends are built in Mesa's libegl10:34
alf_alan_g: anpok_: Anyway, I am not sure it's urgent, and there is the workaround mentioned by Daniel "You might be able to work around the problem by building Mir against vanilla Mesa (which does not depend on Mir)"10:35
alan_gI'd say it is a discussion for next cycle10:36
alf_alan_g: are you looking into https://bugs.launchpad.net/mir/+bug/1284161 ? If not, I can take a look.11:28
ubot5Ubuntu bug 1284161 in Mir "nested mir_standalone_render_surfaces hangs" [High,Triaged]11:28
alan_galf_: OK, I hadn't quite got back to that11:30
alf_alan_g: ok11:30
alan_galf_: it is probably something different, but FYI https://bugs.launchpad.net/mir/+bug/128459711:47
ubot5Ubuntu bug 1284597 in Mir "nested render_surfaces fails on N4 " [Undecided,New]11:47
alf_alan_g: I can't reproduce the problem on laptop with i965. Both --launch-client and running the render_surfaces manually works for me :/11:51
alan_galf_: Interesting11:53
alan_gI was running it on desktop. But that's also intel11:58
* alan_g get laptop out11:58
anpok_ "" is a helpful shader compilation error message12:02
alf_anpok_: it's in invisible ink!12:09
anpok_i guess the color value of invisible ink is an implementation defined value in the ES spec12:11
alan_galf_: works on my laptop too.12:24
* alan_g wonders what the important difference is.12:24
alf_alan_g: my laptop is a bit behind on updates, let me see if updating makes a difference12:25
alan_galf_: mine isn't12:25
* alan_g wonders if it is as stupid as number of monitors12:26
alf_alan_g: certainly worth a try12:27
alan_grats. Plugging in a monitor hung the laptop12:31
alan_galf_: works with two monitors on the laptop12:33
alan_galf_: does this (my desktop) suggest anything? https://pastebin.canonical.com/105514/12:51
alf_alan_g: nothing seems out of place12:53
alan_gI guess you can't do much more to investigate12:54
alan_galf_: have you noticed that every MP is now failing: https://jenkins.qa.ubuntu.com/job/mir-team-mir-development-branch-trusty-amd64-ci/12:59
alf_alan_g: yes13:03
alan_gDo you know what happened?13:03
* alan_g notices time13:04
=== alan_g is now known as alan_g|lunch
alf_alan_g|lunch: seems that we have a new libc version 2.19 and it breaks things13:26
alf_alan_g|lunch: or rather valgrind needs to be updated to support 2.19 (and produce the correct default suppression files)13:48
alf_kgunn: ^^13:49
=== alan_g|lunch is now known as alan_g
alf_alan_g: kgunn: https://bugs.launchpad.net/mir/+bug/128465314:12
ubot5Ubuntu bug 1284653 in valgrind (Ubuntu) "valgrind packages ouf of sync with current glibc version (2.19)" [Undecided,New]14:12
kgunnalf_: ack14:12
kgunni guess that's our problem to solve ? ....no real tools team per se :-/14:13
alf_alan_g: kgunn: although valgrind being out of sync only explains the spurious memory errors, I am not sure about the test failures themselves14:13
alan_galf_: thanks14:14
kgunnSaviq: hey...just wondering, so alf_ found new libc "changed something" that effects our valgrind runs...could that be a source of spurious issues on unity AP tests ?14:15
Saviqkgunn, if they can cause SIGSEGV on startup...14:16
Saviqkgunn, our issue seems to be android-size - i.e. I can't get any symbols out of it for the life of me14:16
kgunnhmm...libc, android...does smell a little fishy14:18
kgunnpotentially14:18
kgunni guess its only an issue for reference structures between libc/ubuntu side vs bionic/android side14:19
kgunnbut then that would be a 100%14:23
Saviqkgunn, yeah, ours is some race14:24
Saviqcrashing on startup maybe 5% of the time14:24
Saviqkgunn, but well, glibc shouldn't be causing that, IIUC, 'cause we'd had symbols for that ubuntu-side14:29
kgunnright14:30
kgunnsounds more like potentially android bin changes14:30
kgunnSaviq: cause all this is happening on 4.4.2 android right ?14:30
Saviqkgunn, yes14:30
=== pete-woods is now known as pete-woods-lunch
alan_galf_: (@1284597) why would glCreateShader() return 0 and then glGetError() return 0?14:37
alf_alan_g: perhaps there is no current GL context?14:42
alf_alan_g: (check with eglGetCurrentContext())14:42
alan_galf_: it returns 0 => you guessed right14:48
alan_gthanks14:48
alf_alan_g: yw14:49
=== dandrader is now known as dandrader|afk
alan_galf_, anpok : (@1284597) I'm trying to decide whether the problem is that mt::ImageRenderer::ImageRenderer() assumes there's a GL context or that there is no GL context in nested mode. Do you have an opinion?15:37
=== alan_g is now known as alan_g|tea
anpokThe former I believe..15:42
anpokOn android driver stacks we might be able to acchieve not needing a gl context on non-nested sessions too..15:44
alf_alan_g|tea: anpok: Assuming an active GL context is a leftover from when we didn't have the Display::create_gl_context(). Whoever needs access to the shared context can now get one.15:45
anpokget one where?15:46
alf_anpok: I mean by calling Display::create_gl_context()15:46
anpokoh.. too simple15:47
=== alan_g|tea is now known as alan_g
alf_alan_g: although, it's strange that in the nested case we don't have a context. NestedDisplay makes a context current when being constructed15:49
alan_galf_: it does seem strange. But it seems to be the case15:51
alan_gI'm happy to add the call though - as it makes sense anyway15:52
=== dandrader|afk is now known as dandrader
anpokhttps://bugs.launchpad.net/mir/+bug/126881915:59
ubot5Ubuntu bug 1268819 in Mir "MirMotionEvent lacks local coordinates. Reports only screen coordinates." [High,Triaged]15:59
anpokshall we MirMotionEvent contain both, screen coordinates and local surface coordinates?16:00
anpokor just the latter...16:00
alan_ganpok: most (all?) clients should only care about local co-ordinates16:12
anpokwithin MirMotionEvent there is for evey point float x, and float raw_x - is that meant to be local vs screen co-ordidnates?16:17
=== pete-woods-lunch is now known as pete-woods
alan_gThey *should* be local. Not sure why there are two of them - the distinction probably originates in the android input stack.16:22
anpokah because of android16:23
anpokand for them raw means not transformed by the offset16:23
anpokbut with orientation being a float value too now.. hmm. the code needs more changes.16:25
=== dandrader is now known as dandrader|lunch
=== dandrader|lunch is now known as dandrader
=== veebers_ is now known as veebers
mterryWho knows a bunch about Mir + Qt keyboard focus?21:08
mterryer, key focus I guess.  Like volume up/down21:08
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== bregma_ is now known as bregma
kgunnmterry: i bet dandrader might22:10
kgunnalternatively racarr_22:11
dandraderI recall I did something related to it a long time ago22:11
mterry:)22:11
RAOF:)22:12
mterryMy problem is that when using a split greeter, only the user session receives volume presses.  The greeter session does not22:12
mterryI was curious how such input is routed between Mir sessions22:12
dandraderno idea22:14
RAOFmterry: Is the greeter session focussed?22:15
RAOF‘split greeter’ implies use of unity-system-compositor, yes?22:15
RAOFu-s-c should be sending input only to whatever it thinks is focused, which should be either just the greeter or just the user session.22:16
mterryRAOF, hmm, it is on top because of depth...  Let me see how the version of USC I'm using handles focus22:17
RAOFLast time I checked (which was some time ago, with the desktop u-s-c) you needed to explicitly switch session focus. This might have changed, though.22:18
mterryRAOF, aha...  yes.  OK, so the_focus_controller() handles keyboard focus, that makes sense.  And the branch I'm using looks to have a bug around that when using two sessions.  Thanks!  I had forgot about the FocusController22:20
RAOFHurray for memory!22:20
mterryRAOF, just to confirm, yeah, that was it.  Weird set_focus_to behavior in my branch.  Thanks man22:50
RAOFBitchn'22:51

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