/srv/irclogs.ubuntu.com/2015/10/01/#ubuntu-mir.txt

robert_ancellduflu, are you getting cursors when running Xmir through mir_demo_server?02:17
robert_ancellThey seem to disappear when a client appears02:17
duflurobert_ancell: Yes, not always visible. Much invisible much less often than before :)02:17
robert_ancellduflu, any ideas of the cause?02:17
duflurobert_ancell: There's an upstream Mir bug Alan is fixing right now. I need to test how much that helps. As Mir itself is failing to put the cursor on screen02:18
duflurobert_ancell: Bug 1308133 but also bug 149873702:19
ubot5`bug 1308133 in Mir "Mir cursor is missing/invisible until the client sets it multiple times" [High,In progress] https://launchpad.net/bugs/130813302:19
ubot5`bug 1498737 in xorg-server (Ubuntu) "Xmir apps sometimes show the wrong mouse cursor" [Medium,New] https://launchpad.net/bugs/149873702:19
=== chihchun_afk is now known as chihchun
RAOFWell, there you go. ld.gold is only twice as fast as ld.bfd at linking Mir (25s vs 50s).05:40
dufluRAOF: Unstripped binaries less huge?05:45
RAOFNope. I'm not really sure why you'd expect them to be?05:46
dufluRAOF: Just hopeful some of our problems are not our fault... https://bugs.launchpad.net/mir/+bug/147333005:47
ubot5`Ubuntu bug 1473330 in Mir "mir_*_tests binaries are suspiciously large. Up to 248MB before stripping." [Undecided,New]05:48
anpok_gold just adds the ability to use lto you then still need to use -flto -fuse-ld=gold .. and replace ar with gcc-ar and ranlib with gcc-ranlib06:27
anpok_and then .. fix all the problems on the way..06:27
dufluLife is confusing when your tooltips are draggable06:29
dufluAnd resizable. Awseome06:30
dufluAwsome06:30
anpok_RAOF: were additional changes needed to get gold running?06:31
RAOFanpok_: We need to stop putting some extern "C" symbols in an extern "C++" symbols.map, but apart from that... :)06:39
* RAOF will propose a branch.06:40
anpok_here it complained about missing android log stuff in those to be removed parts..06:40
RAOFCorrect.06:40
anpok_ok cool so thats part of it06:40
RAOFIt's complaining because it can't find those symbols (which are extern "C") because we've marked them as extern "C++" in the symbols.map.06:41
RAOFIt then goes on to warn that we're sloppy with wildcards in the symbols.map files, but that's only a warning.06:41
anpok_:a07:18
RAOFBah!07:22
RAOFCachedPtr is a way of turning compile-time errors into runtime segfaults :(07:23
RAOFOk vogons: I've got a cyclic dependency in DefaultServerConfiguration:07:32
RAOFthe_session_coordinator requires the_mediating_display_changer which requires the_compositor which requires the_shell which requires the_session_coordinator.07:33
RAOFHow have our salubrious vogons broken such cycles in the past?07:34
anpok_plan a) figure out why they need each other.. sometime it turns out, that all you need is a third thing to untangle something..07:36
anpok_plan b) set the cycle causing thing after construction07:36
RAOFNew plan: just expose the_display() further.07:56
guest56723No provider of eglCreateSyncKHR found.  Requires one of:07:58
guest56723    EGL extension "EGL_KHR_reusable_sync"07:58
guest56723i get this with Xmir -egl (am i missing extenstions?)07:58
RAOFWould seem to be the case, yes.07:59
RAOFWhat are you running that on, and do you actually have EGL_KHR_reusable_sync there?07:59
RAOF(This shouldn't be something that Mir has botched up)08:00
guest5672304:00.0 VGA compatible controller: NVIDIA Corporation G84 [GeForce 8600 GT] (rev a1) (prog-if 00 [VGA controller])08:02
RAOFHm. Well, I don't have that extension on my haswell intel GPU either, so I'm not sure who has tested Xmir -egl :)08:04
RAOFIt's possible that it only works on android EGL implementations at the moment ;)08:04
RAOFEEEEEEEEEEEEEEEoooooooohdeeeeeeeeeeeee!08:04
guest56723must be the case :D08:04
guest56723i am trying all the args because i get a black window :))08:05
guest56723-sw -damage also doesn't work08:05
* guest56723 such is life on nvidia :(08:05
guest56723glmark2-mir goes 100% cpu after 6 sec, and glmark2 segfaults with nvidia driver :/08:07
anpok_guest56723: what application are you running inside xmir/08:25
guest56723anpok_, geany08:26
guest56723anpok_, firefox, chrome, even some 3d games used to run well some (aka long) time ago08:27
tsdgeosguys anything for me to do in https://code.launchpad.net/~aacid/mir/fix_forward_declarations/+merge/272751 ?08:43
tsdgeosi hope those test failures are not because i changed some struct/class :D08:43
alan_gtsdgeos: I'm still catching up, but I think you'll find that was a valgrind bug introduced win the latest version.08:47
alan_gIt hit several jobs08:47
tsdgeosalan_g: you mean as a bug in valgrind? or a bug that you introduced that valgrind found?08:48
alan_gtsdgeos: https://code.launchpad.net/~mir-team/mir/workaround-for-valgrind-opcode/+merge/27299708:48
tsdgeosinteresting08:50
tsdgeosalan_g: so just re-top approve?08:50
alan_gyep08:50
anpok_vogons: is relying on umockdev in acceptance tests something to be avoided/08:52
alan_gtsdgeos: I still suspect you'll need to add "-Wno-mismatched-tags" to qtmir at some point.08:53
tsdgeosalan_g: why?08:53
alf_anpok_: The problem is not so much relying on something that mocks udev, as it is that this adds the requirement of running the tests with umockdev-wrapper08:54
alan_ganpok_: Personally, I'd rather the tests that use umockdev were in their own binary08:54
* alan_g thinks it clear madness that "unit" tests use umockdev08:55
alan_gtsdgeos: no-one else cares about this distinction. C.f. https://code.launchpad.net/~aacid/mir/fix_forward_declarations/+merge/272751/comments/68770308:56
tsdgeosalan_g: well i do :D08:56
alan_gbut as soon as you include headers from a 3rd party that doesn't08:56
alan_gOf course, There's always "-Dclass=struct"08:57
tsdgeossure of course as we include headers from a 3rd party that doesn't want to fix it08:57
tsdgeoswe'll have to disable it08:57
anpok_alan_g: I know I added some of that madness.. and I think I can undo most or all of that madness..09:02
alan_ganpok_: you were not the only one. What's your plan for fixing it?09:03
anpok_alan_g: for input related.. convert all code to libevdev and mock libevdev..09:03
anpok_then change the interface of udev monitor and enumrator09:03
anpok_(^libevdev - code where the device is directly accessed..)09:04
anpok_i would probably make device enumeration a part of a generic monitor interface..09:05
anpok_i started the second part some time ago.. then lost myself in details ..09:06
alan_gLOL09:06
alan_gNot really. Our input code is a maze of twisty passages all different. And you got lost.09:08
anpok_yeah it was harded when I tried to also change EventHub to that interface09:08
anpok_*harder..09:08
anpok_but I wouldnt even try this time09:08
anpok_but back to acceptance tests.. I think we should have tests that show that input device configuration affects the input events09:09
anpok_.. clients would receive09:09
anpok_for that I need stubbed graphics but real input on simulated evdev devices..09:09
alan_gOf course we need those tests. I just don't want them in the same binary as tests that don't mock udev (because the wrapper is a PITA)09:10
anpok_i see09:12
alan_gIdeally there's an implementation of your "generic monitor" that gets tested with umockdev in one binary and everything else gets a test double.09:13
alan_gBut we don't live in an ideal project (yet).09:14
Saviqhey all, can someone please help me debug a unity8 desktop session issue? the screen seems to get turned off straight away - I can see the cursor flashing for a split second and then everything goes blank10:19
SaviqI can ssh into the machine and see that unity8 & co. are running fine, I ran the demo server and clients successfully, as well as u-s-c and unity8 alone (as root)10:20
Saviqbut if I launch the session it just goes black :/10:21
SaviqI thought for a moment the timeout's kicked in, but pressing power just shut the machine down10:21
bregmaSaviq, anything suspicious in /var/log/lightdm/* ?10:25
Saviqbregma, if I read http://paste.ubuntu.com/12631020/ correctly (lightdm.log.old), it went from starting the compositor to stopping it immediately?10:39
Saviqlet me clear the folder and try again, brb10:40
seb128unsure if that's the driver issue robert_ancell was seeing10:41
seb128could be worth asking him tonight when he's online10:41
duflugreyback: Hey this should be easy for someone in the know to solve quickly now I've traced the problem down. But EOD... https://bugs.launchpad.net/qtmir/+bug/149782810:43
ubot5`Ubuntu bug 1497828 in unity8 (Ubuntu) "Apps appear to freeze in Unity8, although they are really still rendering (swap interval zero). Need to interact with the shell to unfreeze it." [High,New]10:43
dufluSaviq ^10:44
dufluAnd good night10:44
greybackduflu: hmm, thanks10:44
bregmaSaviq, have you explicitly installed the Mesa drivers on your desktop?  That's been a problem in the past.10:46
Saviqbregma, I did not, but mir demos work fine, as do unity8 and u-s-c alone10:47
Saviqbregma, seb128, here's a collection of logs: https://owncloud.sawicz.net/index.php/s/0afe9e8a599ef8fef2f2a105e9db357d/download?path=%2F&files=logs.tgz10:48
Saviqbregma, seb128, I'm almost certain this has something to do with disabling the screen, as when I restarted lightdm (remotely) it was still blank until I disabled and enabled it again10:49
seb128seems a bit similar to robert's issue...10:49
Saviqi.e. I heard the greeter sound with a black screen, connected an external screen that worked just fine, and had to disable and enable the screen again in the screens panel to bring it back10:50
Saviqindeed10:50
seb128I think he showed it to alan_g in London10:50
seb128alan_g, do you remember what issue robert_ancell was having in london with his screen going blank after the xserver exited10:51
seb128alan_g, do you know if he opened a bug?10:51
alan_gseb128: I remember he had a problem on startup (which got fixed)10:52
alan_gThat was about two versions client mesa module behaving badly10:52
seb128right10:53
seb128that's different10:53
seb128he couldn't start an unity8 session then10:53
seb128he has his screen going blank after the xserver exited I think10:53
Saviqthe greeter exiting could cause that... I wonder if I do auto-login will the same happen10:56
alan_gNot sure if I even saw that. Certainly I didn't investigate.10:57
Saviqseb128, do you know where the user-default session type is stored?10:58
seb128Saviq, type?10:58
Saviqseb128, I mean ubuntu vs. unity810:58
Saviqseb128, I wanna try auto-login to bypass the greeter altogether10:58
Saviqbut gotta be able to change the session remotely if it doesn't work10:58
seb128Saviq, /etc/lightdm or /usr/share/lightdm/lightdm.conf.d10:59
seb128the second one has files from packages like unity8-desktop-session-mir10:59
seb128the /etc one is for user changes10:59
Saviqseb128, hmm, but where is the user selection stored? like when you log in to a different one, it remembers? AccountsService maybe?10:59
seb128oh, yes11:00
seb128Saviq, /var/lib/AccountsService/users/<userid>11:00
Saviqseb128, thanks11:01
seb128yw11:01
seb128XSession=ubuntu11:01
seb128in there11:01
Saviqok, let's see how that works11:01
Saviqbrb11:01
Saviqseb128, that worked! so indeed the issue seems to be the same, transition between X (greeter) and mir causes the screen to be blanked11:17
seb128k11:17
seb128can you email robert asking if he filed a bug about the issue/if he has details (maybe Cc me on it)?11:18
Saviqwill do11:18
seb128thansk11:19
=== alan_g is now known as alan_g|lunch
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
tjaaltonkgunn: hey, so there's a new mesa point-release in ppa:canonical-x/x-staging now14:10
kgunntjaalton: thanks you14:10
kgunnvogons just a heads up ^14:11
kgunnpoint release should be less risky14:11
tjaaltonshould I just upload to wily?14:11
=== alan_g|lunch is now known as alan_g
tjaaltonand yeah, no surprise drama to be expected in wily anymore14:12
kgunntjaalton: yeah, just upload - at least we'll be aware if we see an issue on wily ci14:15
tjaaltonok14:15
tjaaltonthx14:15
=== alan_g is now known as alan_g|EOD
greyback__anyone know if xkbcommon has a debug symbols package available?17:30
=== 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
RAOFI really don't see what “switch to libevdev but implement all of its API it as a mock” gains us over “use libudev and provide mock udev devices”23:17
RAOFIt seems like a significant amount of work for negative gain.23:18

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