/srv/irclogs.ubuntu.com/2017/04/05/#ubuntu-unity.txt

=== _salem is now known as salem_
=== salem_ is now known as _salem
Mirvboiko: it needs rerun (now is okay), there was a faulty UITK in overlay for a while that needed a no-change rebuild11:28
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
boikoMirv: nice, thanks! :)12:47
=== _salem is now known as salem_
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
dandraderattente,  how do I know if gdk backend probing is at work? and how can I force it when launching from commnad line? looks like it stopped working for me... I'm confused16:09
dandraderbregma_, looks like gdk backend probing stopped working for me16:12
dandraderbregma_, I did the GDK_BACKEND="" as you suggested16:13
attentedandrader: which backend are you trying to use? mir?16:13
dandraderbregma_, worked the first fime or so (saw client trying consecutive connections on unity8.log)16:13
dandraderbregma_, but not anymore16:13
attentedandrader: gtk from z archive checks for mir first before x1116:14
dandraderbregma_, now, if I do GDK_BACKEND="mir" on terminal. it all works. but with GDK_BACKEND="" I don't see any connection attempt at all16:14
attentedandrader: you'd have to specify GDK_BACKEND="*", but that's a no-op16:14
dandraderattente, yes, mir. I'm trying to16:14
dandraderget it to try mir via backend probing16:14
dandraderattente, ah so it's "*" no just "".16:15
attentedandrader: if you want to run this under u8, you can either try ubuntu-app-launch <desktop-file>16:15
attentedandrader: you can also try adding '-- --desktop_file_hint=<desktop-file>' after the binary name too16:15
Saviqattente, UAL will now launch with GDK_BACKEND="x11" I believe - that's what dandrader's trying to avoid16:16
Saviqwe weren't ready for the connect, disconnect, connect dance16:16
dandraderattente, yeah, I do the hint as well. btw, now you can use a DESKTOP_FILE_HINT env var as well. more convenient16:16
attenteah, my bad16:16
Saviqdandrader, both of which we should do away with ;P16:16
attentedandrader: there's also "X-Ubuntu-XMir-Enable=false" which you can add to the desktop file of the app you want to test to disable xmir and allow gtk to skip to using mir16:17
attentebut yeah... GDK_BACKEND='*' should get you the original upstream probing order (mir first, then x11), assuming u-a-l doesn't override that16:19
dandraderattente, what I want to do is try out gdk's backend probing16:19
dandraderattente, now my app started from commandline using GDK_BACKEND="*" \o/16:19
attentedandrader: great!16:20
dandraderattente, although It only created one connection/session. is that how it works?16:20
attentedandrader: yes, it'll only connect once to the mir socket16:21
dandraderattente, I thought bakcend probing would cause a gtk app to create a mir connection, then drop it, then finally create a new one and use it for real16:21
dandraderattente, so probing doesn't waste connections then? awesome16:21
attentedandrader: no, it just tries it, and if it works, keeps it, and moves on to the next if it fails16:21
dandraderSaviq, ^16:21
dandraderSaviq, now I'm puzzled :/16:21
* Saviq too16:22
attentedandrader: what's the issue? does it look like gtk is creating multiple connections?16:22
dandraderattente, I was trying to fix a issue where probing seemed to create a mir connection, drop it, and then create a new final one. that caused unity8 to consider that the app stopped on the first connection drop16:23
Saviqdandrader, one of those connections could've been xmir http://pastebin.ubuntu.com/24319827/16:23
dandraderSaviq, attente, a so xmir would be the one probing for mir?16:23
Saviqbut that should've worked then with your original approach, 'cause xmir stays on, even if app connects to Mir16:23
Saviqdandrader, right now, unless X-Ubuntu..., xmir just gets launched16:24
Saviqand should connect first, and stay connected16:24
attentei thought the problem was xmir and gtk both connecting to the mir socket16:24
attenteor is this actually supposed to be ok?16:24
dandraderattente, tjat16:24
bregma_also, libSDL does the double-probe dance for whatever reason16:24
Saviqyes, we'll need the double-double for SDL anyway16:24
dandraderattente, yes. multiple simultaneous connections will work now with the qtmir about to be release16:25
bregma_heh, double-double makes it sound like a joke in Candian patois16:25
* Saviq wonders what GDK_BACKEND="" results in, then ;P16:26
dandraderbregma_, any simple sdl app in ubuntu you recommend me to use as a test subject?16:26
Saviqbregma_, also, can we unset GDK_BACKEND somewhere to verify GTK works?16:27
bregma_dandrader, we user neverball for testing16:27
dandraderbregma_, great, any env vars I should set?16:28
bregma_Saviq, I'm not sure where GDK_BACK gets set (doesn;t seem to be in trunk UAL code), I'd just change the Exec line in a .desktop file to start with "env -u GDK_BACKEND ..." to remove that variable from the app's environment16:29
Saviqah -u16:29
bregma_dandrader, er, I'm not sure of the probing order gets set properly in libSDL after recent merged... bschaefer do you know?16:29
bschaeferbregma_, SDL2 is still x11 first16:30
Saviqdandrader, but doesn't http://pastebin.ubuntu.com/24319827/ suggest the approach in to-be-released qtmir didn't work?16:30
bschaeferive not made that patch yet to that lib16:30
bregma_bschaefer, what's the env var to force the libSDL probe order?16:30
* bschaefer has plans for it16:30
bschaeferSDL_VIDEODRIVER=mir16:30
bschaeferor x1116:30
Saviqwell, yeah, that's not "probe order' ;)16:30
bschaeferhaha yeah thats not16:31
Saviqdandrader, xmir connects, app connects, gets rejected, app dies, xmir exits16:31
SaviqIIUC16:31
bregma_libSDL doesn't let you specify the order by env var16:31
bregma_just the back end16:31
bregma_we should get that patched upstream16:31
attentedoes u8 require upstart for anything?16:31
bregma_attente, far as I know it still requires upstart to start itself and its dependencies up16:32
bschaeferbregma_, upstream does not want that16:32
bregma_bschaefer, upstream needs to be slapped silly16:32
bschaeferthe order is to do X11 first until Mir or Wayland take over more16:32
bschaeferbregma_, yeah ... i asked a year or so ago16:33
bschaeferbregma_, but for now we can carry it in a patch16:33
bregma_yes, it's pretty much a one-liner patch16:33
bschaefersdl1.2 does check for mir first though (once that lands ... hopefuly ~2 weeks)16:33
bschaeferbregma_, yup, but need to get that sdl2 patch in for mir deprecations16:33
bschaefersoo might as well add it then16:33
attentebregma_: do you know what dependencies rely on that? jbicha was asking in #ubuntu-desktop16:33
dandraderbschaefer, doyou have that patched sdl in a usable silo?16:34
bschaeferdandrader, sdl1.2? or sdl2?16:34
bschaeferi dont have either in a silo16:34
bschaeferdandrader, i can make a ppa though16:34
dandraderbschaefer, I don't know. whatever neverball uses (that's the preferred sdl app for testing, right?)16:35
bschaeferyeah thats sdl216:35
bschaefersdl1.2 gives you a bunch of other games16:35
bschaeferplus mplayer16:35
bschaeferwhich is awesome to watch some videos on mir16:35
bschaeferdandrader, let me get a ppa up though with that in the correct order16:36
dandraderbschaefer, actually it should be fine without the patch. I just have to change neverballs' desktop file to not use xmir and then it will do probing and find mir, right?16:38
bschaeferyeah if it cant find the DISPLAY env16:38
bschaeferit'll fail the x11 check and move to mir16:38
dandraderbschaefer, then it will make a probe mir connection followed by a real mir connection?16:39
bschaeferdandrader, actually that double connection part is not in the current ubuntu archive for sdl216:39
bschaeferthat was upstreamed a month or so ago16:39
bschaefersooo sdl2 atm only does 1 mir connection in zesty16:40
Saviqdandrader, bregma_, ok I've confirmed now that with and without `env -u GDK_BACKEND` in the Exec line both gnome-softwares start up fine (with silo 2668)16:42
Saviqbregma_, so we can undo GDK_BACKEND=x1116:43
bregma_tedg, ^^^16:43
Saviqdandrader, and that means it's not so much a priority any more16:43
Saviqsorry for the noise, I wouldn't have expected ="" to behave differently than ="*" or unset altogether...16:43
dandraderSaviq, ok, will go back to multi-instance support work then16:44
Saviqdandrader, if you're not far away with this one, might as well complete it - will be needed anyway16:46
Saviqbut your call at this point16:46
dandraderSaviq, was just doing the debugging so far. no real code written16:47
Saviqack16:47
=== db` is now known as db
=== db is now known as Guest94484
bschaeferdandrader, did you still want that ppa (with the upstream SDL2 changes?)17:09
dandraderbschaefer, nah17:26
bschaeferalright! Let me know if you need any testing for those changes17:26
matv1jeez just read the news. gutted as you all must feel17:30
matv1I take it this was just as much a bombshell for the Canonical devs as it is for us. Soo sorry for you guys. This should have been something awsum.17:40
matv1is mir development going to be discontinued as well?17:47
lpotterpersonally I saw this coming months ago...20:03

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