/srv/irclogs.ubuntu.com/2015/06/23/#ubuntu-mir.txt

=== conyoo is now known as pixelr0|aw
=== Trevinho|Holiday is now known as Trevinho
=== alan_g is now known as alan_g|lunch
=== alan_g|lunch is now known as alan_g
=== marcusto_ is now known as marcustomlinson
=== Olli_ is now known as olli
=== dandrader is now known as dandrader|lunch
seb128hey there15:49
seb128where would I find details about mir not starting in an unity8 session?15:49
seb128.cache/upstart/unity8.log states "ERROR: QMirServer - Mir failed to start"15:49
seb128but no detail15:50
ollicamako, ^16:06
seb128olli, thanks ;-)16:06
ollialso got a question... is there a mini pc system you guys would recommend that works oob w/ Mir16:07
seb128log on http://paste.ubuntu.com/11763124/16:36
kdubolli, not sure about the system... if its supported by mesa well and has been around a while, i'd say that increases the chances16:38
kdubseb128, it does look like a problem with input_stub.so... don't know if that's changed recently, or if its an installation thing16:39
seb128kdub, that line is only a warning though?16:40
seb128the error looks like https://bugs.launchpad.net/ubuntu/+source/mir/+bug/145868916:41
ubot5Launchpad bug 1458689 in mir (Ubuntu) "[vivid-overlay] input-stub.so fails to load on i386" [Undecided,Confirmed]16:41
kdubhmm, maybe whatever fixed it isn't in overlay... (not familiar with the problem)16:43
kdubanpok, any ideas?16:43
seb128kdub, I'm using wily16:44
alan_gThat looks like a problem I've seen when "server-platform" has drivers from Mir 0.12 while the executable is from Mir 0.1416:44
seb128so I guess it's just > vivid16:44
seb128that seems a redherring16:47
seb128I've moved input-stub.so away, same error abotu mir failed to start16:47
=== dandrader|lunch is now known as dandrader
=== alan_g is now known as alan_g|EOD
seb128olli, I'm a bit stuck on snappy personnal/unity8 and that mir not starting, if you can suggest/find somebody to help debugging that would be useful ;-)17:41
seb128it's probably a topic for tomorrow rather than today now though17:41
olliseb128, it's kind of getting late over therr17:41
ollithere17:41
seb128olli, yeah, as said, a tomorrow topic17:42
ollicamako, kdub, alan_g|EOD, dandrader, greyback all should be in a position to help17:43
seb128I can try in the morning, maybe some of the .au guys are still around and have a debug idea then17:43
seb128k17:43
seb128let's see if I've more luck tomorrow then17:43
seb128olli, thanks17:43
olliseb128, sorry, no idea why this channel went dark17:43
seb128likely people busy and not watching IRC ;-)17:44
camakoseb128, Sorry I thought discussion was ongoing17:44
camakoI see it's stalled..17:44
dandradernot sure I can help. I know pretty much nothing about snappy17:46
seb128dandrader, it's not really a snappy issue17:47
kdubhas usc started?17:47
seb128dandrader, it's just that unity8 fails to start with the pastebin I gave earlier17:47
camakoseb128, try to catch anpok tomorrow. He recently fixed it in the devel branch17:47
seb128I can start the demo shell from ssh and use gtk apps in it17:47
dandraderseb128, think I missed the pastebin url17:47
seb128unsure if I can start unity8 manually and how17:48
seb128<seb128> log on http://paste.ubuntu.com/11763124/17:48
seb128dandrader, ^17:48
dandrader"undefined symbol: _ZN3mir6events10make_eventEll17MirKeyboardActionjij"17:48
seb128yeah, I moved that .so away17:48
seb128same issue17:48
seb128and the demo shell is starting17:49
seb128so I think it's not blocking the server to start17:49
seb128that's wily btw17:49
seb128I should maybe try if unity8 works on a normal deb system atm or if mir/unity8 are just busted on desktop for everyone17:49
dandraderhmm... it's been a while since I last tried running unity8 on the desktop. Gerry (greyback) would be the best person to ask, as I think he has done a lot of "unity8 on desktop" work recently but he's on holidays this week.17:51
seb128k17:53
kdubalso, if you look at the --help for a demo server17:54
kdubany of those debug options can be prepended with MIR_SERVER_<option>=<value> in the environment variable17:54
kdubto get more info17:54
seb128the demo server work17:55
seb128I can start it fine and start a gtk application17:55
seb128and use it17:55
seb128it's unity8 which fails17:55
seb128and I'm unsure how to debug that17:55
seb128starting it from a vt like the server doesn't work17:55
seb128and starting it as a client with the demo server socket exported either17:56
kdubwell, something like MIR_SERVER_DEBUG=true might give more clues18:01
anpokoh input-stub not linking to mir client18:11
seb128https://bugs.launchpad.net/ubuntu/+source/mir/+bug/1458689 suggests it has a fix18:11
ubot5Launchpad bug 1458689 in mir (Ubuntu) "[vivid-overlay] input-stub.so fails to load on i386" [Undecided,Confirmed]18:11
anpokcould input-stub be outdated?18:11
seb128but maybe that didn't land in wily yet18:11
anpokah right alan fixed that18:11
anpokyeah time for a release18:12
anpokseb128: on which hardware do you try to start?18:17
seb128anpok, dell inspiron 11 300018:17
seb128but that's my test machine for unity8 for some cycles, works fine usually18:17
seb128and the mir demo server works fine as well atm18:17
seb128so I think it's not a driver/mir compat issue18:18
seb128I'm just trying to get the new snappy personal image working18:18
seb128it could be an issue in the image or some missing permissions/files, but not sure how to debug it18:18
anpokbut you dont run it through kvm?18:18
anpokoh ok you do18:19
seb128no, I don't, it's a real machine booting on an usb key18:21
ollihow good or bad is Intel Iris 6100 supported atm?18:26
anpokhm18:31
anpokseb128: do you see anything interesting in ~/.cache/upstart/unity8.log*?18:35
anpokI just tried to launch it non-nested: and I got what():  Nested Mir Display Error: Failed to update EGL surface: EGL_BAD_DISPLAY (0x3008)18:36
anpokwhich should not happen18:36
anpokis qtmir somehow requiring to be stared nested?18:37
anpokseb128: do debug the startup - you could try what /usr/bin/ligthdm-unity8-session does .. but for that you first need to start some mir server.. mir_demo_server ... or usc (with --from-dm 0 --to-dm 1) and --file something ..18:39
anpoks/do/to18:39
seb128anpok, http://paste.ubuntu.com/11763124/ is the unity8.log19:08
anpokoh19:09
seb128starting the mir server and then a gtk application works19:09
seb128unsure how to start unity8 saying to use the mir server19:09
seb128unity8 is a mir compositor no?19:10
anpokyes a nested one, the shell script /usr/bin/lightdm-unity8-session shows which environment variables to set..+ you need to set MIR_SERVER_HOST_SOCKET and set it to the socket path specified as --file  param to the mir server.19:12
=== dandrader is now known as dandrader|afk
anpokseb128: or..19:19
anpokadd the environment variables: MIR_SERVER_{DISPLAY_REPORT,COMPOSITOR_REPORT,CONNECTOR_REPORT,MSG_PROCESSOR_REPORT,SESSION_MEDIATOR_REPORT}=log to that ligthdm session script19:21
bschaeferhello, does qtmir talk to USC, or does qtmir do the entire compositing thing?19:59
bschaeferas it seems to create a platform/mirserver (not sure if it ends up talking to USC or its just the actual nested server unity8 starts up)20:01
anpokthe nested server talks to the mirserver in usc20:01
bschaeferanpok, cool thanks!20:01
* bschaefer trying to understand the USC/nested server stack...20:02
anpokbut the plan is of course to delay the composition as much as possible and offload as much as possible onto android overlays/hardware planes20:02
anpokbut right now a nested server just emits a single buffer for its surface20:03
bschaeferyeah it looks pretty simple mir server wise20:04
bschaeferas the USC does a lllot more20:04
=== dandrader|afk is now known as dandrader
racarrAlbertA: Please do. Thanks :)21:46
racarrre papi pushing21:46
AlbertAracarr: thanks21:49
bschaeferrobert_ancell, soo looking at making a barebone compositor ... leads me to wondering where/who does the actual setting of a session?22:35
bschaeferie. i see asio handling it, but who sends it the messages?22:35
robert_ancellbschaefer, setting of the active session?22:35
bschaeferrobert_ancell, right, as ... i see this "opening session mirdemo"22:35
bschaeferbut i only 1 see frame22:35
bschaeferthen it goes back to the spinner/black22:36
bschaeferrobert_ancell, if im using USC22:36
* robert_ancell looks at the u-s-c repo22:36
bschaeferrobert_ancell, as i cant seem to get the session handler to allow the mirdemos to render (for more then 1 frame)22:36
bschaeferdo i just need to send SESSION_CONNECTED? (I also dont see that message doing anything in lp:lightdm expect log it)22:37
robert_ancellhmm, I don't know how the WindowManager stuff works. That's all new since I last worked on USC.22:37
bschaeferi see, shoots, as it would be nice to get USC working in a standalone way22:38
bschaefervs creating a barebone which shares a lot of the same code22:38
robert_ancellbschaefer, right, we're not waiting for the session to connect in LightDM, so you shouldn't need that (at the current time)22:38
bschaeferrobert_ancell, the over difference i see is mir remove the default config that was once ued22:38
bschaeferrobert_ancell, right, soo i hacked it so it ensures the spinner to hide22:39
bschaeferbut it still only renders 1 frame then goes black22:39
bschaeferrobert_ancell, cool, thanks ill have to dig around some more!22:39
robert_ancellbschaefer, if you pull in an old version of u-s-c it didn't have a spinner. So all that extra UI might be complicating things22:39
bschaeferrobert_ancell, true, i should find a version that was after the mir/default_server_config was remove22:40
* bschaefer tries22:40
bschaeferrobert_ancell, shoot, the spinner was added back when  #include <mir/default_server_configuration.h>22:50
bschaeferstill existed22:50
* bschaefer tries a newer version22:50
bschaeferrobert_ancell, soo looking at the USC code some more, it seems that the message set active session is sent from lightdm? (or the DM fd)23:33
bschaeferfrom_dm_pipe is what is hooked into for on_read_payload, which then it can receive events such as23:33
bschaefer USCMessageID::set_next_session23:33
bschaeferrobert_ancell, is that just done simply when reading the seat default config files?23:34

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