=== chihchun_afk is now known as chihchun === marcusto_ is now known as marcustomlinson [07:03] alf_: Annoyingly, I upgraded, broke and then upgraded mako again. And something other than Mir has changed so I'm not getting consistent results any more. This will take time... [07:04] Oddly, unity8 is no longer fast enough to qualify for double buffering in wily-proposed whereas it was a few days ago [07:05] Still, could be something change in Mir too === mibofra is now known as Guest35933 [08:25] A scary (or spurious) realisation: QtMir doesn't schedule enough frames to render clients smoothly. The only reason they don't appear to hang is because of the frame dropping fallback. [08:25] So it drops (stutters) when it could be rendering smoothly [08:26] Although dropping should appear in the log. Hmm [08:32] Bah, words. They're often wrong. [08:32] * duflu is still excited about the potential for simple improvements in qtmir === Guest35933 is now known as mibofra [08:48] anpok_: you merged the g++-5 changes to 0.14 - does that mean yet another attempt to land has started? [08:49] yes [08:49] /sigh - I was hoping it meant 0.14 had landed and 0.14.1 was speeding through [08:49] this time u-s-c boottest failed as it only upgraded mirserver and client libraries [08:49] but not the drivers [08:50] hence tries to boot without drivers === vesar_lunch is now known as vesar [08:50] the team will owe you a drink for this release [08:50] when I reverted the driver abi bump (we did not bump it during the 0.14 period) assumed that it might not be broken .. [08:50] s/drink/large drink/ [08:51] not mir bootest fails (in silo 004 still) [08:51] -not +now [08:51] because guess what .. there was an abi break we missed.. [08:51] now looking into efficient ways to find it [08:52] and yeah merged the g++5 fixes.. [08:52] I hoped a karma improvement like that might improve our odds [08:53] Early, automated detection is what we need. Not at the tail end of s stupidly involved manual process. [08:54] yes.. [09:03] greyback: Is it certain that QTimer::singleShot(0, this, SLOT(update())) will schedule a second frame (16ms later) or is there a risk it could coalesce into the current one being drawn? [09:04] I guess it assumes everyone is on a single threaded event loop [09:08] duflu: that call executed on the renderer thread. That appends an event to the main GUI thread (with the main event loop) to call the update() function, which indicates the scene is dirty, and tells the renderer to schedule a new pass [09:09] greyback: Even when the current pass is still pending? It doesn't get cleared at the end of the pass? [09:09] Hopefully at the beginning.. [09:09] duflu: the current pass is in progress when that is called [09:10] greyback: I know. That's why I'm asking. Is it clever enough to know the current frame's not finished and a second one after that is needed? [09:10] duflu: that's exactly what it's doing. I think it's reliable, it will schedule a second frame if there's another client buffer ready for compositing [09:11] greyback: Yeah in theory we'd see more bugs if it didn't work, but I still want to verify [09:11] code is a bit clunky tho, I'll admit that [09:12] Actually it's about right for an event loop design. Only the Q* syntax is unfamiliar for me [09:12] you'll get used to it ;) [09:21] greyback: On a different note, is there somewhere you can put code to execute after the eglSwapBuffers? [09:23] greyback: Oh, found it. Sorry [09:23] duflu: I know what you're thinking ;) I did try a prototype to release buffers earlier, but can't find it now [09:24] greyback: Yeah, it's a tangential thought. I should stay on the first task really [09:25] ah found it [09:26] lp:~gerboland/qtmir/remove-custom-framepump1/ [09:26] was causing rendering bugs tho [09:28] greyback: OK, yes fair enough [09:46] OK, bad news and good news... [09:46] Bad news: When dynamic double buffering is working properly it may not be beneficial to Unity8. [09:47] Good news: Predictive bypass (already landed and coming in 0.15) seems to raise frame rates by 25-35% (!) [09:47] Which really means it avoids frame skipping [09:49] duflu: why not beneficial to u8? As a server, or as a client of USC? [09:50] greyback: As a client of USC... I should have noticed -- any surface that's bypassed/overlaid (like the fullscreen U8) doesn't get dynamic double buffering. Due to the extra compositor demands of bypass/overlays [09:50] Predictive bypass reduces the problem, but apparently not enough [09:51] duflu: sounds like we should test and see for sure [09:52] greyback: I am. And it's not fun. Although in my full stack test with 0.14 predictive bypass was missing. So maybe it will free up the Unity stack enough to get the benefit back. It doesn't when running the pure 0.15 mir demos, is all [09:53] ok [09:55] Too many variables [09:57] greyback: In theory you could achieve a similar benefit in QtMir for apps by changing that zero-millisecond timer to something non-zero (but still short enough to not miss frames) [09:58] Or maybe not. Other parts might need to change too before there's any benefit there [09:58] duflu: why delay the timer? If we know there's a new frame to be composited, we might as well schedule a new renderer pass immediately [09:59] greyback: Hmm actually if the texture update for all surfaces is delayed in the same way, maybe not [10:00] It only works if you know your max render time and have room to play with. So not a good idea for GL on a mobile device I guess [10:01] yep === dandrader is now known as dandrader|afk === dandrader|afk is now known as dandrader === dandrader is now known as dandrader|afk === chihchun is now known as chihchun_afk [16:06] Good morning! === dandrader_ is now known as dandrader [16:29] racarr: gm === chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === alan_g is now known as alan_g|EOD === 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 === chihchun_afk is now known as chihchun [22:07] um.. on wily (mir 0.14) clicking on gedit menu crashes unity [22:07] also some strange crashes with gnome-calculator on demo server [22:08] the keyboard works fine now :D the key repeat rate seems to be fixed [22:09] +1 [22:42] mcphail, popey https://code.launchpad.net/~brandontschaefer/+junk/SDL2-new-mir-ABI [22:43] is the new branch which is moving to the new mir ABI (though im using trunk mir [22:43] ) [22:43] sooo you'll need a pretty new mir atm (not 100% how far off it is from main) [22:43] ill try to get a ppa with the right version of mir on it [22:49] hello! [22:49] that's something to play with at the weekend :) [22:56] popey, sweet :) [22:56] popey, i should be around irc, soo just poke me at any point! [23:30] Does anyone know if Unity8 is planning to support client side decorations for applications (e.g. GNOME applications that are drawing a HeaderBar). [23:33] Asking here because I guess a Mir surface will have to hint if it should be decorated [23:37] mh, wondering the same... [23:38] I guess we'd need a mir_surface_spec_set_decorated() or similar [23:42] bschaefer, Do you mean the Mir 0.14 API? That's in wily now [23:43] oh, 0.15. [23:43] robert_ancell, aiming at trunk mir [23:44] soo 0.15, but i dont think there was an API change from 0.14 --> 0.15 [23:44] but theres some new stuff [23:44] Most of that branch is Mir 0.14 I think [23:45] yeah, waiting on some new 0.15 stuff to land (relative mouse support and an egl pixel format thing) [23:45] relative landed soo i just need to implement those changes