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

Stskeepsn05:37
=== duflu_ is now known as duflu
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== fginther` is now known as fginther
=== chihchun is now known as chihchun_afk
kgunn...and one more time15:59
kgunndesrt: hey, curious, we've been talking about disallowing reparenting of surfaces/windows...someone pointed out that gtk permits this15:59
kgunn desrt: just wondering, is this really used ? or do you know of examples ?15:59
greybackQt's API could allow reparenting support, but I don't see it used much at all, probably can live without it16:10
greybackhttps://qt-project.org/doc/qt-5/qwindow.html#setTransientParent16:11
alan_gkdub: examples/testdraw/android_graphics_region_factory.cpp uses mir/graphics/android/native_buffer.h (which got privatized with the secrecy drive). Do you think reasonable clients might want access to this header?16:15
kdubno, I don't think so16:17
kdubthere might be a reason in the future, but for the moment, it can stay hidden16:17
* alan_g decides that testdraw/android_graphics_region_factory.cpp needs fixing16:18
kdubyeah, needs some update, its a very old file16:20
=== dandrader is now known as dandrader|lunch
racarrMorning!16:23
racarrGood morning even16:23
alan_gkdub: is reworking graphic_region_from_handle() a quick thing for you? (I'm not sure of the right approach - its all unfamiliar)16:27
kdubalan_g, rework how? (i'm guessing it depends on some header that's inconvenient)16:29
alan_gIt uses NatriveBuffer from mir/graphics/android/native_buffer.h16:29
alan_gNativeBuffer even16:29
kdubhmm, I think I see a way to get rid of it16:32
kdubhopefully won't take long16:32
alan_gkdub: it is not currently worth spending long on - but would help clean up.16:33
kdubalright16:35
kdubI'll let you know if I've given up :)16:35
attente_hi, i'm having trouble running mir from trunk16:38
attente_i keep getting a File already exists in database: mir_protobuf_wire.proto warning16:38
alan_gattente_: could that be bug 139197616:40
ubot5bug 1391976 in Mir "Loading libmircommon.so twice leads to a segfault in protobuf code" [High,New] https://launchpad.net/bugs/139197616:40
alan_g?16:40
alan_gWhich executable are you using? Which platform?16:40
attente_alan_g: yeah, it sounds like it. i'm just trying to run a unity8 session against mir trunk16:41
alan_gattente_: you've built U8 against your build of Mir? There are ABI breaks16:43
attente_alan_g: i have as well as u-s-c, but i get a different exception16:44
attente_alan_g: Warning: ignoring unrecognised arguments: --vt 816:44
alan_gIgnoring things isn't an exception16:45
attente_alan_g: http://paste.ubuntu.com/9058242/16:45
attente_sorry, i didn't want to paste in the channel16:45
alan_g"std::exception::what: Could not open hardware module" - not running as root? Already running a USC instance?16:46
attente_alan_g: just trying to run it from lightdm16:47
attente_as a desktop session16:47
alan_gWe're still talking USC?16:50
attente_the session is lightdm-unity8-session16:53
alan_gYou pasted an exception "std::exception::what: Could not open hardware module" - that was from USC? I'm guessing it wasn't run as a privileged user?16:58
attente_alan_g: i'm not sure, that paste is from the /var/log/u-s-c.log though16:58
anpokattente_: on x86 with mesa drivers?17:01
attente_anpok: amd64 with mesa drivers17:02
anpokthen why does it load the android drivers17:03
attente_anpok: no idea17:03
attente_anpok: i don't have either of the android platform driver packages installed17:04
attente_anpok: argh. thanks, apparently i had the libmirplatform4driver installed17:06
anpokyou need at least the -mesa one ..17:07
Trevinhodoes MirDisplayOutput provides the subpixel order of that output in some way?17:19
racarrTrevinho: Not yet! Looks like there is subpixel info in DRM since feb though.17:22
racarrfeburary17:22
Trevinhoracarr: cool, thanks17:22
racarrThank you :)17:23
=== dandrader|lunch is now known as dandrader|
=== dandrader| is now known as dandrader
=== alan_g is now known as alan_g|EOD
=== tedg` is now known as tedg
* kdub goes cross-eyed trying to think of the proper nested abstraction20:40
kdubi'm becoming convinced that nested and offscreen21:02
kdubare just different display modes21:02
kdubnot really platforms of the same par as android/mesa/etc21:02
racarrkdub: Sounds like display mode/platform is onto something21:18
racarrmaybe the offending noun is platform right21:19
racarrso broad....21:19
kdubyeah, but its okay when used with mesa and android imho21:19
kdubbecause those can provide all thats needed21:19
racarrmm I guess I just mean contrasting against it is hard.21:20
racarrlike its hard to say what is a display mode and what is a platform21:20
racarrbecause21:20
racarrplatform is so vague21:20
kdubsure21:20
kdubI'm favoring just having the display server override the display creation for our two 'interesting' modes (offscreen and nested)21:21
kduband also telling the platforms if they're the one server instance to rule them all when we create the platform21:21
kdubbecause there's also some confusion in our libplatform C functions about that21:22
kdubwhich, has a massive negative diff :) and makes it less confusing when some other driver comes along21:22
kdubsuch as llvm21:22
kdubI guess we'll see what it looks like once I get through tgetting things to compile21:23
racarrmm21:23
racarrseems like a promising path :)21:23
=== greyback__ is now known as greyback
kgunnrobert_ancell: hey, curious... i tried to ask ryan this earlier, not sure if he's out or something22:29
kgunnbut, we were talking about reparenting surfaces/windows22:30
kgunnand i heard gtk supports it, but is it really employed ?22:30
robert_ancellkgunn, when we discussed it with RAOF Ryan said he'd look at putting a warning into GTK+ to discourage apps from doing it. We couldn't think of a reason why they would need to22:31
kgunnit's been something we didn't want to support, but if there's cases etc22:31
kgunnah...ok22:31
robert_ancellI think it's mostly just a hangover from X22:31
kgunnyeah, i was just curious if we were being draconian22:31
kgunnrobert_ancell: thanks...and good to know you guys expected it as well22:33
robert_ancellkgunn, http://irclogs.ubuntu.com/2014/11/05/%23ubuntu-desktop.html#t23:5522:38
robert_ancellfound it22:38
kgunnta22:38
robert_ancellhttps://bugzilla.gnome.org/show_bug.cgi?id=73969722:39
ubot5Gnome bug 739697 in .General "GTK should warn when reparenting a shown window" [Normal,Unconfirmed]22:39

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