/srv/irclogs.ubuntu.com/2015/07/02/#ubuntu-unity.txt

=== john-mca` is now known as john-mcaleely
=== Malsasa_ is now known as Malsasa
tsdgeosmzanetti: if your problem with https://code.launchpad.net/~josharenson/unity8/integrated_lightdm_refactor/+merge/260588 was merging can we top approve it again since mterry and ltinkl approved it and it merges fine now?08:14
tsdgeosdednick: what's the status of https://code.launchpad.net/~nick-dedekind/unity8/inline-dash-videos/+merge/260251 ? needs review from someone from our side or waiting for jhodapp?08:15
dednicktsdgeos: well it definately needs a review from somebody in unity. but still waiting on jhodapp for some stability fixes.08:20
tsdgeosdednick: so not urgent, ok08:20
dednicktsdgeos: but would be best if we didn't have to much lag time between jhodapp fixes and landing.08:21
tsdgeosthat right08:21
tsdgeosok, i'll have a look then, i think it's going to be review day for me today08:22
dednicktsdgeos: ta08:22
=== Malsasa is now known as Guest81923
=== Malsasa_ is now known as Malsasa
=== davidcalle_ is now known as davidcale
=== davidcale is now known as davidcalle_
tsdgeosdednick: update the description of https://code.launchpad.net/~nick-dedekind/unity8/inline-dash-videos/+merge/260251 since it doesn't require sdk 1.3 anymore?08:47
=== davidcalle_ is now known as davidcalle
dednicktsdgeos: done08:48
tsdgeostx08:48
=== faenil is now known as faenil_
anpokgreyback: i am in the middle of resurrecting the orientation override.. the other branches in that silo assume mir 0.13, right?09:02
=== faenil_ is now known as faenil
greybackanpok: yep09:04
anpokdo we still need/want the centering?09:04
greybackanpok: yes, that too09:04
greybackanpok: are you redoing from scratch?09:05
greybackor did you find the old branch somewhere?09:05
anpokhave those lying around ..09:06
anpokI just have to take the original ones that werent conflated with the initial android mm code09:07
greybackok cool. I had started diffing the source package against mir 0.12 and figuring out the relevant changes09:11
cimitsdgeos, instead of using visible: source.status === Image.Ready, shall I check the url of the image against !== ""?09:20
tsdgeoscimi: that kind of works09:21
tsdgeosbut still has the not cool effect in which the ubuntushape is visible empty until the image is loaded09:22
tsdgeosmaybe you can play with opacity so that doesn't happen?09:22
tsdgeoslike visible with ""09:22
tsdgeosand opacity with ready?09:22
anpokgreyback: do we still have to hide the other display?09:25
anpoki mean thats the part we no longer need..09:25
greybackanpok: we didn't do that before, did we?09:25
greybackbefore, when I plugged the N7 into monitor, shell was "mirrored*" to the monitor  (* = while rotated & centered)09:27
anpokyes.. and I thought in that branch it did not expose the external display as a configureable display instead kdub just changed the hwcdevice abstraction to also output to the external when plugged09:28
anpoks/abstraction/implementation09:28
anpokso we might have to add the clone mode handling to usc?09:30
greybackanpok: I'm not sure I follow why external display is being hidden.09:30
greybackanpok: usc does clone mode right now09:31
anpokoh ok09:31
greybackin silo0 is a build of qtmir which works with multimonitor09:31
greybackand I see the output of the shell mirrored on the monitor09:32
greybackwe need USC to rotate the shell surface and center it09:32
greybackand the cursor too09:32
tsdgeosltinkl: can you please make sure the merges didn't break anything at https://code.launchpad.net/~josharenson/unity8/integrated_lightdm_refactor/+merge/260588 and re-top-approve?09:54
dandraderMacSlow, are you aware of any change in that area? http://paste.ubuntu.com/11809486/10:50
tsdgeosgreyback: how do i test https://code.launchpad.net/~gerboland/unity8/set-qpa-env-for-clients/+merge/263253 ?10:52
tsdgeosdoesn't unity8 actually work on the desktop?10:52
greybacktsdgeos: unity8 works, but dash failed to appear on my desktop.10:53
tsdgeoshmmm10:53
greybackthis fixed dash for me. Mind giving it a go?10:53
MacSlowdandrader, no... I've not touched that in weeks/months10:53
tsdgeosgreyback:10:53
tsdgeossure10:53
greybackthanks10:53
greybackI also think it logical if unity8 (a mir server) starts, then we should set the QPA plugin globally to enable qt clients10:54
dandraderMacSlow, do you know what package provides this Unity.Notifications plugin?10:57
tsdgeosmeh the thing got stuck logging into unity8 :D10:58
tsdgeosnow i'll have to reboot i guess10:59
MacSlowdandrader, it's qtdeclarative5-unity-notifications-plugin, which gets build from lp:unity-notifications10:59
dandraderI don't understand why it's not loading...11:00
MacSlowdandrader, that's with unity8 trunk I assume11:01
dandraderMacSlow, it's with lp:~dandrader/unity8/app-state-handling. But this branch doesn't change the import line of anything related to notifications. I don't get what's happening...11:03
dandraders/of/or11:03
MacSlowdandrader, I vaguely remember that Pete touched unity-notificatons... about two weeks ago... but I didn't follow that more than providing debugging advice11:03
dandradershould probably run unity8 with this qml debug var that prints how and which qml modules are loaded11:04
MacSlowdandrader, I can look into that later when I'm trough wiht my stuff... should you by then still face the issue11:04
MacSlowdandrader, ok?11:04
dandraderMacSlow, thanks. but I think this failure is so odd it must be due to something I've done in my phone11:07
greybackdandrader: QT_DEBUG_PLUGINS=111:07
dandradergreyback, thanks. was looking for that in my notes :)11:07
greyback:)11:07
=== MacSlow is now known as MacSlow|lunch
tsdgeosgreyback: i can't even log into unity8 at the moment :S11:17
tsdgeosgets stuck in lightdm11:17
tsdgeosany idea of what may be happening?11:17
tsdgeoscan any of you guys login from lightdm to unity8?11:18
greybacktsdgeos: I can on my second machine. You'd need to switch VTs and see if ~/.cache/upstart/unity8.log has anything printed to. Else see /var/log/lightdm contents in case it complains about something11:19
tsdgeosgreyback: any idea how to interpret this? http://paste.ubuntu.com/11809584/11:21
dandraderweird. it really doesn't find the Unity.Notifications library....11:21
tsdgeosu-s-c is just qyuitting?11:21
greybacktsdgeos: looks like it. You have /var/log/lightdm/unity-system-compositor.log ?11:22
tsdgeosyeah http://paste.ubuntu.com/11809591/ looks like i need to install more stuff?11:23
* tsdgeos installs mir-platform-graphics-mesa211:25
tsdgeosmucho better11:26
tsdgeosnow at least i have a cursor11:26
tsdgeosno idea why unity8 hasn't been started11:26
greyback~/.cache/upstart/unity8.log ?11:26
anpokgreyback: added the override orientation branch again.. for centering .. I think we might get away by doing that in usc.. without any hacks11:27
anpoki need to look at that again11:27
greybackanpok: sweet11:28
tsdgeosgreyback: there's something but not sure it was from now, let me re-retry-boot11:29
* tsdgeos will be back11:29
greybacko/11:29
tsdgeosgreyback: http://paste.ubuntu.com/11809663/11:37
tsdgeosi guess i need to install something else?11:37
greybacktsdgeos: it appears to be unable to open the socket to the nested mir server. Does /run/lightdm-mir-0 exist?11:40
tsdgeosi have rebooted since then11:40
tsdgeosi only have one computer to test11:40
tsdgeosso i need to reboot everytime this fails11:41
greybackthat makes life hard11:41
tsdgeosindeed :d11:41
tsdgeoswill try again after food11:41
greybackok. I'll try to give you a list of things to look for11:41
greybackafter food :)11:42
=== pete-woods1 is now known as pete-woods
=== alex-abreu|off is now known as alex-abreu
jhodappdednick, tsdgeos abeato is working on the last remaining fix...we've identified the cause of the crash and he's coming up with a solution12:19
tsdgeosjhodapp: cool12:25
=== MacSlow|lunch is now known as MacSlow
tsdgeosgreyback: so what other things can i check?12:30
greybacktsdgeos: my guess is unity8 cannot open the lightdm socket12:33
greybackcheck" ll /run/lightdm-mir-0              - srwxrwxrwx 1 root root 0 Jul  2 13:32 /run/lightdm-mir-0=12:33
greybackand for the unity8 process, check these env vars:12:34
greybackMIR_SERVER_HOST_SOCKET=/run/lightdm-mir-012:34
greybackMIR_SERVER_FILE=/run/user/1000/mir_socket12:34
tsdgeosthere's no unity8 process12:34
tsdgeosthe socket is there12:35
greybacktsdgeos: ok so unity8 is launched by this: /usr/share/upstart/sessions/unity8.conf12:36
greybacktsdgeos: can you try stepping through that and see if the host socket is set ok?12:37
tsdgeoslet me try12:38
greybacktsdgeos: else try launching manually wiht http://pastebin.ubuntu.com/11809893/12:38
tsdgeosgreyback: should MIR_SOCKET=$XDG_RUNTIME_DIR/mir_socket exist?12:40
greybacktsdgeos: no, mir creates it12:40
greybackthat's the socket for applications to connect to unity8 with. Notice it's in a $USER owned dir12:41
tsdgeosyep12:41
greybackthe host socket is owned by USC, and we need to specify it to unity8 with the env var12:41
tsdgeossame error12:44
greybacktsdgeos: is QT_QPA_PLATFORM=mirserver set?12:45
tsdgeosi'm using DESKTOP_SESSION=unity8-mir MIR_SOCKET=/run/user/1004/mir_socket MIR_SERVER_PROMPT_FILE=1 MIR_SERVER_HOST_SOCKET=/run/lightdm-mir-0 MIR_SERVER_FILE=/run/user/1004/mir_socket MIR_SERVER_NAME=session-5 UNITY_INDICATOR_PROFILE=desktop QT_QPA_PLATFORM=mirserver  /usr/bin/unity812:45
tsdgeosso yes12:45
greybackhmm12:45
greybackand USC running12:45
tsdgeosroot      4375  0.0  0.2 633584 20880 tty9     Ssl+ 14:35   0:00 /usr/sbin/unity-system-compositor --disable-inactivity-policy=true --on-fatal-error-abort --file /run/lightdm-mir-0 --from-dm-fd 13 --to-dm-fd 24 --vt 9 --enable-hardware-cursor=true12:47
tsdgeosyep12:47
greybackI'm out of ideas12:48
tsdgeos:/12:48
greyback 1383 tty8     Ssl+   0:01 /usr/sbin/unity-system-compositor --disable-inactivity-policy=true --on-fatal-error-abort --file /run/lightdm-mir-0 --from-dm-fd 12 --to-dm-fd 21 --vt 8 --enable-hardware-cursor=true12:48
greybackI didn't know there was a vt9 usually. But you saw the cursor, so there is12:49
tsdgeosyep12:49
greybacktsdgeos: if you run MIR_SOCKET=/run/lightdm-mir-0 mir_demo_client_egltriangle, can you see a quick flicker on a triangle on screen?12:50
seb128does it work if you manually go there with ctrl-alt-f8/f9?12:50
greybackthat might need mir-demos package installed12:50
tsdgeosCan't get connection12:50
greybackinteresting12:51
greybackso USC is not accepting connections12:51
tsdgeosah12:51
tsdgeosi need something in /usr/lib/x86_64-linux-gnu/mir/client-platform/ too12:51
tsdgeosour packaging is borked12:51
greybackyeah?12:51
tsdgeoshttp://paste.ubuntu.com/11809945/12:52
greybackhttp://pastebin.ubuntu.com/11809946/ is what I have12:52
* tsdgeos installs sudo apt-get install mir-client-platform-mesa212:52
tsdgeosand reboot!12:53
tsdgeosactually maybe not12:53
greybacktry the demo app again, it should work now12:53
tsdgeosit worked!12:54
tsdgeosok, so reboot12:54
greybackyay12:54
tsdgeosand let's try from scrathc12:54
* greyback to post office, back in 2013:16
tsdgeosgreyback: ping when you're back13:18
greybacktsdgeos: back13:49
tsdgeosgreyback: unity-dash launches fine here13:50
greybacktsdgeos: hmm interestnig13:50
greybacktsdgeos: well then that branch must be useless so13:50
greybacksorry, you can reject it13:50
greybackat least this was a learning experience13:51
tsdgeosgreyback: the thing is webbrowser-app for example wasn't launching from the dash13:53
tsdgeosi wonder if it's for the same reason and somehow that envvar that /usr/bin/lightdm-unity8-session is setting doesn't go to children13:54
greybacktsdgeos: yes this I know. You need to do: sudo systemctl start cgmanager13:54
tsdgeosalso the quesion is if /usr/bin/lightdm-unity8-session is the proper place to set that13:54
tsdgeosor as you say the upstart job is a better place13:54
seb128tsdgeos, greyback, webbrowser-app doesn't work on desktop atm because of oxide backend issues13:56
greybackah13:56
seb128bug #146601213:56
ubot5bug 1457458 in Oxide 1.8 "duplicate for #1466012 "No suitable EGL configs found" on desktop-next" [Medium,Triaged] https://launchpad.net/bugs/145745813:56
dandraderMacSlow, unity-notifications doesn't obey -DCMAKE_INSTALL_PREFIX14:22
dandraderMacSlow, it uses its own unorthodox method for deciding where to install itself14:22
MacSlowdandrader, never touched that before... taking a look14:24
MacSlowdandrader, do you have a patch?14:25
dandraderMacSlow, bzr qblame points to you :)14:25
dandraderMacSlow, no patch. But I do have a bug report: https://bugs.launchpad.net/unity-notifications/+bug/147087914:25
ubot5Launchpad bug 1470879 in unity-notifications "unity-notifications ignores -DCMAKE_INSTALL_PREFIX" [Undecided,New]14:25
MacSlowdandrader, really... can't remember14:26
dandradermaybe you just followed up what someone else started14:27
dandraderMacSlow, mzanetti, so any of you guys volunteering to reproduce my Unity.Notifications issue (failing to load)?14:49
mzanettidandrader, I can't right now... but can try to get some time for it soon14:49
=== dandrader is now known as dandrader|lunch
MacSlowdandrader|lunch, I will take a look14:55
MacSlowdandrader|lunch, but results/findings might slip into tomorrow14:56
MacSlowmzanetti, will look at dandrader's issue with the unity-notifications plugin14:56
mzanettiack14:56
tsdgeosdandrader|lunch: https://code.launchpad.net/~dandrader/unity8/tutorial-launcher-gap/+merge/262208/comments/661134 opinion?15:13
=== dandrader|lunch is now known as dandrader
dandradertsdgeos, yeah, I could do that15:52
kgunnltinkl: hey, is the inhibitions api about letting apps prevent screen blanking ?16:23
kgunnor something else?16:23
dandradertsdgeos, done16:25
tsdgeosdandrader: cool, tx16:28
tsdgeoswill rebiew tomorrow16:28
ltinklkgunn, exactly that17:06
=== bschaefer_ is now known as bschaefer
veebersmzanetti, if you're around, for the devices I would want to propose a branch against lp:unity8/overlay, correct?21:29
mzanettiveebers, no, trunk21:30
veebersmzanetti: oh ok, I trunk CI supposed to be building wily packages>21:30
mzanettiveebers, we're doing dual landings so far21:31
veebersmzanetti: ah ok, I need to re-read my emails to get my head around that :-) is there a way to get a vivid(overlay) from the MP?21:32
mzanettiveebers, you mean a package built for that?21:32
veebersmzanetti: it would be helpful for some guys helping confirm the changes21:33
mzanettiveebers, not exactly sure what you're asking for21:33
veebersmzanetti: heh, I was hoping that setting my MP to needs review would generate a deb package so that a couple of devs could install it on their devices. om26er gets this failure when he tries to use the one in the MP: http://paste.ubuntu.com/11812047/21:34
mzanettiveebers, ah ok. no sadly there is no atm.. it'll build wily packages only21:35
veebersmzanetti: any idea off the top of your head why the error in the pastebin ".. Package qtbase-abi-5-4-2 is not installed..."21:46
mzanettiI think you're trying to install a wily package in vivid21:46
veebersmzanetti: heh yeah, that's exactly it.21:47
veebersmzanetti: next annoying question ;-) is there a canonical (up to date) source for setting up cross build so I can build a vivid package?21:48
mzanettithis is the only thing I'm aware of: https://wiki.ubuntu.com/SimpleSbuild & https://wiki.ubuntu.com/CrossBuilding21:48
mzanettiit should work... but you need to add the overlay ppa in the source chroot21:49
veebersmzanetti: nice, thanks for the help21:49
mzanettinp21:49

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