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

* duflu vomits on the boost docs06:59
alf_RAOF: After the latest saucy updates, any program that uses libglx crashes. Unfortunately this includes firefox, too, so I can't really do a proper search for this problem... Have you seen this?07:59
alf_mlankhorst: ^^?08:00
alf_mlankhorst: (btw, this is plain X not XMir)08:02
mlankhorstno?08:06
mlankhorstlets see..08:06
mlankhorstalf_: what card? open or closed d rivers?08:06
alf_mlankhorst: 5750, r600g, Xorg log: http://paste.ubuntu.com/6174634/08:07
alf_mlankhorst: EGL works fine (e.g. glmark2 crashes X, glmark2-es2 works fine)08:08
mlankhorstok08:08
mlankhorstwouldn't compiz crash too, then?08:10
alf_mlankhorst: I am not running compiz08:12
alf_mlankhorst: my WM doesn't use GL08:13
mlankhorstalf_: starts for me(TM)08:17
mlankhorstoh glamor08:18
* mlankhorst installs08:18
mlankhorststill no issue with glamoregl installed :P08:21
mlankhorstalf_: can you install xserver.*dbg and xserver-xorg-glamoregl-dbgsym?08:22
alf_mlankhorst: sure08:22
alf_mlankhorst: does glamoregl-dbgsym need a special repository?08:24
mlankhorstyeah ddebs.ubuntu.com08:25
alf_mlankhorst: thanks08:25
mlankhorsthm doesn't exist i think, grr08:26
alf_mlankhorst: the backtrace using xserver.*dbg is not more helpful...08:30
mlankhorstmeh, valgrind? :P08:30
alf_nick alf|debugging_x08:34
=== alf_ is now known as alf|debugging_x
alf|debugging_xmlankhorst: http://paste.ubuntu.com/6174709/08:41
=== pete-woods1 is now known as pete-woods
mlankhorststring = (const char *) CALL_GetString(GET_DISPATCH(), (name));08:43
mlankhorstcan you try with valgrind? :P08:44
mlankhorstoh missed a bunch of updates08:45
mlankhorsthold on updating first then retrying08:49
alf|debugging_xmlankhorst: the interesting part of the valgrind log: http://paste.ubuntu.com/6174744/08:52
mlankhorstnope interesting part is the whole log :P08:53
alf|debugging_xmlankhorst: whole log: http://paste.ubuntu.com/6174771/08:56
alf|debugging_xmlankhorst: (all of these are produced by starting X and then glmark2)08:58
mlankhorsthmz, works for me :S08:59
mlankhorstdo you have libgl1-mesa-dri/glx installed correctly?08:59
alf|debugging_xmlankhorst: I think so, let me --reinstall them09:00
mlankhorstsame with whole of xserver-xorg-core and xserver-xorg-video-radeon to be sure09:01
duflualf|debugging_x, mlankhorst, Confirmed -- I get the same valgrind error/crash09:04
dufluThat's relatively new... only must have crept in past couple of weeks09:04
mlankhorstbut I don't :/09:04
mlankhorstis that with usc?09:04
alf|debugging_xmlankhorst: not in my case, just plain X09:05
duflumlankhorst: Using mir_demo_server_basic and connecting a Xorg to it manually09:05
mlankhorsthm..09:05
alf|debugging_xmlankhorst: reinstalled packages, no difference09:05
mlankhorstsomething like Xorg :0 & DISPLAY=:0 glmark2 right?09:05
* duflu tries without Mir09:06
alf|debugging_xmlankhorst: right, here are my package versions http://paste.ubuntu.com/6174795/09:06
mlankhorstalf|debugging_x: can you remove glamoregl ?09:06
mlankhorstand meh, same versions here09:07
alf|debugging_xmlankhorst: removing glamoregl removes video-ati...09:08
mlankhorsthm indeed09:08
dufluI don't remember X being this bad in valgrind. Now I get a huge stream of uninitialized jumps from libpixman and the intel DDX09:11
mlankhorstduflu: oh ignore that09:11
mlankhorstintel ddx needs valgrind enabled, and it might not have been09:12
dufluDear ickle, that's slightly silly09:12
mlankhorstI mean for valgrind warnings09:13
mlankhorstbut it should work with the most recent versions afaict09:13
mlankhorstanyway I have no idea what you 2 have in common that glx fails, my system works :/09:14
mlankhorsteven with mir_demo_server_basic, although it has the same bug that cursor has in multimonitor, afaict..09:17
mlankhorstframes that jump backwards09:17
mlankhorstit happens when i only run glmark2 in the nested xorg..09:19
duflumlankhorst: The jumpy frames fix landed upstream today. Should hit the archive soon enough09:23
mlankhorstah k09:23
mlankhorstanyway running only the versions in the archive doesn't seem to trigger it for me..09:24
alf|debugging_xduflu: do you get the crash with plain X?09:31
duflualf|debugging_x: No. Although my system is all over the place now. Not reliably doing the same thing09:32
mlankhorstmeh could it be from some residual mir stuff?09:41
alf|debugging_xmlankhorst: @residual mir stuff, I don't think its very likely11:11
mlankhorstalf|debugging_x: meh I have no idea what's different then :/11:11
mlankhorstyou're on amd64 right?11:11
mlankhorstalf|debugging_x: oh btw this is for your egl image branch http://paste.debian.net/47487/11:14
alf|debugging_xmlankhorst: yes11:14
alf|debugging_xamd6411:15
mlankhorstafaict that should be the correct paths here, it still doesn't work but it looks like it's because garbage gets copied or something11:15
alf|debugging_xmlankhorst: thanks11:18
mlankhorstso I would try without bypass first :P11:19
alf|debugging_xmlankhorst: I need to fix my development environment first :)11:21
mlankhorstok then bypass second, I guess11:22
mlankhorstO:-)11:22
alf|debugging_xmlankhorst: it seems that I am getting a NULL struct gl_api table..., i.e. _glapi_tls_Dispatch is NULL12:02
mlankhorsthm12:06
mlankhorstthat's in fact possible12:06
=== alan_g is now known as alan_g|lunch
alf|debugging_xmlankhorst: arghh... for some reason glx is looking in /usr/lib/dri/... to find drivers, but the drivers are in fact in /usr/lib/x86_64/dri, creating a symlink fixes the problem...12:07
mlankhorstnow THAT is weird :P12:08
mlankhorstI have no /usr/lib/dri either, but glx works12:08
mlankhorstdpkg-shlibdeps: warning: debian/libgl1-mesa-dri/usr/lib/x86_64-linux-gnu/dri/radeon_dri.so contains an unresolvable reference to symbol _glapi_tls_Context: it's probably a plugin12:09
mlankhorstI should probably link radeon_dri against libglapi now12:09
mlankhorstand the other *_dri.so too12:09
mlankhorstbut that would only affect classic drivers12:11
alf|debugging_xmlankhorst: before symlinking http://paste.ubuntu.com/6175350/12:13
mlankhorsthm just why..12:14
mlankhorstalf|debugging_x: somewhere something is seriously messed up, mesa is built debian/rules:   --with-dri-driverdir=/usr/lib/$(DEB_HOST_MULTIARCH)/dri \12:15
mlankhorstdebian/rules:   --with-dri-searchpath='/usr/lib/$(DEB_HOST_MULTIARCH)/dri:\$$$${ORIGIN}/dri:/usr/lib/dri' \12:15
mlankhorstdo you have anything in your environment?12:16
mlankhorstenv |grep usr.lib12:16
mlankhorstand ldd /usr/bin/glxgears to make sure the right libgl is used12:17
mlankhorstIn fact you probably have a different libGL, built with static glapi. It's the easiest way to explain why _glapi_tls_Dispatch is NULL..12:19
mlankhorstsame for duflu I guess :P12:21
alf|debugging_xmlankhorst: you are right, it seems there were /usr/lib/libGL.so* files, but I have no idea where the came from... perhaps some upgrade path is not working correctly?12:24
alf|debugging_xmlankhorst: thanks for the hint!12:25
mlankhorstmore like ancient mir leftovers, or compiled yourself..12:26
mlankhorsteven precise didn't stuff libGL in /usr/lib any more12:26
alf|debugging_xmlankhorst: could be, although I had been using this setup without issues before the upgrade12:27
=== alf|debugging_x is now known as alf_
mlankhorstshrug, maybe during updates it disabled the alternative and added it again, causing it to find the old libgl or something because it was cached?12:33
alf_mlankhorst: we will probably never know, I am just happy that I have a working system again...12:35
mlankhorstI'm guessing leftover from egl-image testing:P12:36
mlankhorstplus a bug in xorg, it seems12:41
mlankhorsthttps://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/123200012:42
ubot5Ubuntu bug 1232000 in xorg-server (Ubuntu) "Xorg crashed with SIGABRT in DoGetString()" [Medium,Confirmed]12:42
mlankhorstyep, crashes here too, ok lets fixup that fail..12:43
mlankhorstalf_: but it looks like the glapi_tls_Dispatch thing is a separate issue :P12:49
mlankhorstDISPLAY=:0 LIBGL_ALWAYS_INDIRECT=1 glxinfo12:50
=== alan_g|lunch is now known as alan_g
alf_mlankhorst: confirming that glapi_tls_Dispatch is still a problem12:53
alf_mlankhorst: (confirmed)12:53
mlankhorstyeah easy to reproduce like that12:53
mlankhorstnormally glapi is pulled in, I guess xorg-server doesn't because it doesn't use libGL12:55
mlankhorsthm what does it use, though..12:56
mlankhorstoh no it loads /dri/* directly12:59
=== hikiko is now known as hikiko|lunch
mlankhorstok one line patch made13:13
mlankhorstnope, weird stuff :/13:20
=== jhodapp|afk is now known as jhodapp
mlankhorstafaict the dri libs deliberately do not link against shared libglapi, and xserver provides its own13:32
mlankhorstmeh :/13:55
davmor2kgunn: Video of sf vs mir done, uploading to u1 currently will paste the link once complete.  https://pastebin.canonical.com/98152/  stop unity line here throws up the following stop: Unknown job: unity is the command correct and do I just carry on?14:01
kgunndavmor2: crap...i told you wrong...stop unity814:02
kgunndavmor2: also i learned from some chatting on fri14:02
davmor2kgunn: http://ubuntuone.com/78ciDgDqX8zEZfFAWs5KmW here is the video link it might take a while to download it and it's mov format so it works for me on raring no idea about saucy yet :)14:02
mlankhorstalf_: wow it looks nasty14:02
davmor2kgunn:   or not phablet@ubuntu-phablet:/$ stop unity8           stop: Unknown job: unity814:04
kgunndavmor2: i learned that for su phablet you want to do....sudo -u phablet -i (instead of just su phablet)14:04
mlankhorstoh god it's exactly what I thought it was.. damn14:04
davmor2kgunn: ah right will do14:04
kgunndavmor2: sorry...should've pinged you when i learned  it :)14:04
kgunndavmor2: also...i had to totally reboot...to get the state right14:05
alf_mlankhorst: what did you think it was? :)14:05
kgunndavmor2: if you've been su phablet'ing14:05
davmor2kgunn: I wrote down the steps that I've done anyway so I'll just replicate it again with the timings now :)14:05
mlankhorstalf_: interaction with glamor-egl..14:05
mlankhorstrm /usr/lib/xorg/modules/libglamoregl.so is a workaround14:05
alf_mlankhorst: :/14:06
davmor2kgunn: overall I think mir is a good 20 seconds slower that sf on this fairly simple set of tests.  The biggest ones being app launch, indicator pull down (it's much smoother but slower because of it by the look of things) app switch is slower, rotate is slow on both but worse on mir and I'll retry the commands once the phone is back up14:09
kgunndavmor2: what  image are you on? (i tried late friday afternoon...and it looked really good)14:10
kgunndavmor2: but i had seen pretty awful rotation prior to that14:11
davmor2kgunn: todays14:11
kgunnw/ mir14:11
kgunnah...ok14:11
kgunnstill downloading video...14:11
kgunni should watch that first14:11
davmor2kgunn: rotate is crappy on sf and mir14:11
kgunndavmor2: oh yeah...and you're on maguro/galaxynexus right ?14:12
=== hikiko|lunch is now known as hikiko
davmor2kgunn: 2 vids first is mir second is sf.  I'm on maguro yes and I'm on image 7014:12
kgunni keep forgetting that14:13
kgunndavmor2: galaxynexus has an omap4460 in it14:14
kgunndavmor2: i managed the gfx team at ti for 5 yrs14:14
kgunndavmor2: let's just say...omap4470 was a truly awesome chip...and  i would totally work on a program that used the chip14:14
kgunndavmor2: omap4460....mmm....well.....14:15
davmor2kgunn: I have to admit mir is a hell of a lot better just a little slower.  It's still a little jerky on app switch but everything else is really smooth14:15
davmor2kgunn: haha14:15
kgunndavmor2: there are some things that really effect gfx/ux there...14:15
kgunndavmor2: and some secret sauce we don't have access to using binaries14:16
davmor2kgunn: You can stop with the excuses already, man are you a race driver in your spare time? ;)  No I get there are issues between all the layers that need to be overcome.  There are issues on sf that don't seem to be present on mir and visa versa14:18
kgunndavmor2: just lots of scar tissue (years of it) listening to people talk/complain about gfx performance that have no clue :)14:19
kgunndavmor2: so thank you for understanding :) most people just throw rocks instead14:20
davmor2kgunn: I'm amazed at how stable it has become and how quickly mir has been put together to be honest.   But more import for me is it's this |   | short of being a daily driver :)  rather than this much  |                                             | a couple of weeks back :)14:25
davmor2typical line breaks in the wrong place but you get the idea ;)14:25
greybackalf_: alan_g: question for you guys. I need to get the display geometry when a mir server isn't running. You think there's some way to fetch that information without actually running the mir server?14:25
kgunndavmor2: lol....gonna use ascii art on my progress tracking14:25
alan_ggreyback: what counts as "running"?14:26
greybackalan_g: I've not started any compositor or event handler - I've not called "run_mir"14:26
alan_gYou can create a configuration object and init part of the system by getting the objects you need. That doesn't start the compositor14:29
alf_greyback: you could call the_display() to get the display and then get the current configuration, but keep in mind that if you release it the next the_display() call would be a different object14:29
greybackalf_: that'll probably be enough. Will try14:30
hikikohey:)14:31
hikikoquestion14:31
hikikois the include/share/mir14:31
hikikothe right place to add an fd wrapper clasS?14:32
alf_greyback: also note that getting the_display() brings up the display, and releasing it tears it down (i.e. there will probable be visual effects of doing so)14:32
greybackalf_: this is for autopilot tests to get screen geometry before it starts running the shell. Visual flicker should be ok14:33
alf_greyback: ok then14:33
greybackalf_: can you think of any other way I could fetch that information?14:34
alf_greyback: not really in a platform independent manner14:34
greybackalf_: ok, I'll try this idea and will see14:34
kgunngreyback: so that flicker will really only be associated with AP tests...not 100% of boot times14:39
kgunn?14:39
greybackkgunn: only for AP14:39
kgunncoolio14:39
davmor2kgunn: https://pastebin.canonical.com/98223/ posted to to phablet by accident, my phone is hating your commands you know :(14:40
kgunndavmor2: are you cdimage or system ?14:41
davmor2kgunn: system14:41
kgunnwonder if writability is an issue...14:41
kgunnjust a thot14:41
davmor2kgunn: I'll make it rw and try again14:42
kgunndavmor2: cool....just a guess14:42
alf_greyback: you could probably avoid any effects by holding the_display() until mir is finished (i.e. after run_mir returns). Mir will reuse the same instance internally in that case.14:45
davmor2kgunn: No it just hates me https://pastebin.canonical.com/98225/  no the touch command at the end to ensure RW was in play :)14:47
davmor2s/no/note14:48
kgunndavmor2: lol...crap14:48
kgunndavmor2: i admittedly have seen what you see every now and then...i usually suspect myself...and reboot/reflash...and 99% it corrects14:49
kgunnbut wonder if something else is going on there14:49
* kgunn imagines the phone silently hating davmor2 while the screen is off...waiting for him to just hit the power button14:50
=== greyback is now known as greyback|food
davmor2kgunn: No hit the power button sends it into rage mode I mean it's got power then and everything :)  It quietly hates me while it is turned off :)14:52
mhall119_kgunn: I'll be a couple minutes late15:02
kgunnmhall119_: np15:02
davmor2kgunn: no just hates me https://pastebin.canonical.com/98226/  that's all the commands so you can confirm I'm not missing something15:04
davmor2kgunn: /me needs to stop playing with this now as I need my phone and I got loads to do, feel free to give me a ping if you figure something out :)15:07
kgunndavmor2: will do15:08
kgunndavmor2: i'll try to pester someone else on my team with a galaxy nexus...wonder if we broke something somehow15:08
=== greyback|food is now known as greyback
FunnyLookinHatI know this isn't the right place to ask about it - but maybe you guys know where it would be?  Wondering about feature-set of Multitouch on Ubuntu w/ touchscreens - specifically, a lack of two-finger scrolling ?15:17
FunnyLookinHatWow - I've never typed less of a grammatically correct sentence in my life.15:17
kdubmir supports multigesture, its up to the shell and the applications to use them15:25
FunnyLookinHatAh ok - I'll take my question to #ubuntu-unity :)15:26
=== dandrader is now known as dandrader|afk
racarrGood morning team mir15:49
davmor2kgunn: looking at it another good test is to get your contacts on the phone and then scroll through them.15:53
=== chihchun is now known as chihchun_afk
=== dandrader|afk is now known as dandrader
=== mhall119_ is now known as mhall119
davmor2kgunn: mir might of introduced an old bug,  open 2 apps, close the one on the left, the one on the right should now replace it.  What is happening for me is it is opening the second app instead16:26
davmor2kgunn: In fact you know what.  Tomorrow I might try and spend the entire day on mir and see what bugs I hit :)16:27
kgunndavmor2: all good16:43
kgunnappreciate it16:43
kgunnracarr: mornin'16:43
racarrkgunn: Morning :)16:46
kgunnok, gonna take a break and go run...16:48
kgunnbbiab16:48
racarrEnjoy :D16:53
=== dandrader is now known as dandrader|lunch
kgunnok bbiab for real17:03
greybackracarr: quick question, in case you know it on top of your head: you have 2 apps open. You unfocus. Then one app closes. Does Mir keep the unfocus state, or give focus to the remaining app?17:46
=== dandrader|lunch is now known as dandrader
=== om26er_ is now known as om26er
kdubstupid darn hwc implementations19:02
kdubexynos5 hwc checks that a garbage value is set in a deprecated field (and fails without error code if not set) just because surfaceflinger sets the field19:16
kdub-_-19:16
ChickenCutlasskdub, wow19:29
kgunnkdub: good old semico software :)19:33
kdubyeah... grumble grumble19:35
kgunnracarr: hey, would you mind reviewing https://code.launchpad.net/~gerboland/unity-mir/whitelist-musicplayer/+merge/18838719:41
kgunnricmm: or you could ^19:41
kgunnhot one...of course19:42
kgunnlooks simple tho19:42
kgunndandrader: ^ or you could19:42
kgunnjust someone holler as to who's gonna take it19:43
ricmmlooks fie19:43
ricmmfine*19:43
ricmmkgunn: I'll do some testing later and I'll get it in trunk before EOD19:49
* ricmm takes it19:49
FunnyLookinHatYo guys - it looks like Mir / Unity System Compositor still are only in universe ( not default ) - any idea on when  that's getting tightened up?20:01
FunnyLookinHatbrb20:10
kgunnracarr: ping20:18
robert_ancellthomi, are you working on bug 1232054 at the moment?20:40
ubot5bug 1232054 in unity-mir "[mir] Need to expose geometry for autopilot consumption" [Critical,In progress] https://launchpad.net/bugs/123205420:40
kgunnrobert_ancell: thomi is runing errand/appt right now afaik20:42
robert_ancellk20:43
robert_ancellkgunn, there were no problems with that other change yesterday?20:43
kgunnrobert_ancell: none that i'm aware of20:44
robert_ancellkgunn, regarding duflu's email about the merging to lp:mir making it harder to bisect. I guess he's right there, the other option is just to bzr push the dev branch to lp:mir periodically. Any thoughts on that?20:46
robert_ancellIf we did switch to that we'd have to do a bzr push --overwrite the first time which would change the history but not the contents20:46
robert_ancellOr the other option is to perhaps cherry pick each commit over and manually push them. Seems like a lot of work though20:47
racarrkgunn: Ponnng sorry, IRC session was hung20:49
kgunnracarr: hey was wondering if you were working on the api/support that zanetti needs to make the hud spyglass work (i think there was something else requiring that...nbut can't remember)21:20
racarrkgunn: https://bugs.launchpad.net/mir/+bug/1233378 :)21:20
ubot5Ubuntu bug 1233378 in Mir "Unity requires input injection API from Mir " [Undecided,In progress]21:20
racarrhalfway done21:21
racarr:)21:21
kgunnracarr: awesome! thanks...i don't mind it not being there for a day or so....kind of want to avoid an api break while we're turning on mir by default :)21:21
kgunnrobert_ancell: it is true...about what duflu says...21:22
racarrok21:22
kgunnrobert_ancell: but on the other hand...there's also no mystery where those changes are coming from :)21:22
racarrI just want to get it out of the way so I can get back to API21:22
kgunnso, one could easily go look at the dev branch21:22
robert_ancellkgunn, yeah, and I guess it's possible to bisect inside a merge perhaps?21:23
kgunnracarr: ack...no worries...you get it on dev branch and robertA and i will manage the api break21:23
kgunnrobert_ancell: i think this would actually be worthwhile to have a session on at the management sprint21:23
kgunne.g. why are we on sacred lp:mir/trunk21:24
kgunnwe should be on lp:mir/sacred21:24
robert_ancellkgunn, i.e. reverse it?21:24
kgunnand see if we can effect some change that way21:24
kgunnrobert_ancell: well...i think most engineers are bothered that "trunk" is considered sacred21:24
racarrkgunn: ill come in my ripped jeans, tell the story of a poor developer forced out on to the streets through branching practices21:25
racarrit will be a real sob piece.21:25
kgunn:))21:25
robert_ancellracarr, ha!21:25
kgunnrobert_ancell: i'm actually not suggesting to change anything at the moment - we should stay the course for the moment21:25
kgunnjust because we're finaly landing things without issue (other than duflu upset about having to dig a litte :)21:26
robert_ancellkgunn, yeah, we've had enough change to confuse everyone. The current system is not great but it works for now and it's ultimately temporary21:26
kgunnrigth21:26
kgunnright even21:26
kgunnrobert_ancell: more like just a session with asac & didrocks on a proper pulling system21:26
robert_ancellkgunn, yep21:27
kgunnthat would in effect help us in the upstream branch managemewnt21:27
kgunnor management even21:27
kgunnracarr: have you ever run autopilot on the phone?21:27
racarrNo.21:36
racarrhaving to implement the inverse of mia::Lexicon21:51
racarr><21:51
kdubat least you can have some interesting class names as a result21:53
kdubmir::input::ReverseLexicon21:54
racarrhaha no just new methods on the lexicon21:57
racarralternatively mir::input::Leximonicon21:57
kdubmir::input::Lexicant22:02
racarrkdub: Which is of course the concrete implementation.22:02
racarrhad a misconfusion about the input dispatcher API...there is still a missing piece of machinery for the input injection23:06
racarrtrying to sort out which path to take...but it will take a little longer any way.23:06
racarrThe input dispatcher injection goes through the normal targetting interface, rather than taking a target at injection time23:08
racarradding a direct injection interface, isn't trivial, and requires mucking around with InputDispatcher a bunch23:09
racarrit would be pretty easy to add like23:09
racarrinput_injection_mode_skip_shell_surfaces23:09
racarrwhich works well23:09
racarrbut then we need, something internal to ms::Surface which indicates23:09
racarra 'shell' surface23:09
kdubseems not very generic23:24
kdubi guess this goes back to the central model problem23:24
kdubracarr, the problem is you need to dish out input to certain clients, but we iterate over the ms::Surfaces23:26
kdub?23:26
racarrkdub: Yes.23:29
racarror the alternate problem is modify the input dispatcher to support injection in a particular clients queue23:29
racarrI think that may be the harder/riskier approach though23:29
kdubyeah23:34
kdubhmm, maybe there should be a bitmask (of sorts) that filters the input to the surfacestack23:37
kdub(just musing, might be a dumb idea :) )23:37

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