[01:22] robert_ancell: Sorry to trouble you but I'm not sure anyone else knows how and is also blessed to do so: Can we update the Xmir patch for xenial? [01:24] RAOF: Did linking get faster recently? Did we switch to gold or did gcc just get fixed? [01:25] gcc may have been fixed? [01:25] We're on 5.3 now. [01:25] duflu, do you need it sponsored? [01:25] Yeah 5.3 caused the slowdown actually [01:25] robert_ancell: Maybe... I don't remember that process [01:26] duflu, or do you want me to generate a patch from the branch and upload that? [01:26] * robert_ancell tries to remember about xmir [01:26] robert_ancell: Yes please [01:27] Fortunately xorg hasn't changed otherwise since November [01:29] duflu, is bregma aware of these changes? [01:30] robert_ancell: Yes, it was work requested by him and kgunn [01:30] cool [01:30] Otherwise I would not have touched it [01:30] :) [01:30] robert_ancell: The two "Fix Committed": https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bugs?field.tag=xmir [01:36] duflu, do you fix configure.ac to check for a more recent version of Mir? [01:36] one of your commits suggests that is the case [01:36] robert_ancell: Where is that comment? [01:36] duflu, https://git.launchpad.net/~xmir-team/xorg-server/+git/xmir/commit/?id=3f1e0ab7e5a8af5578cd10492c1f93e9bf97e252 [01:37] it's a runtime dependency I guess, but probably worth checking on build [01:37] robert_ancell: No, it's a runtime requirement. Also probably safe to assume any updated Ubuntu Touch system has Mir new enough [01:37] Especially if it also has /future/ Xmir [01:38] duflu, yeah, but anyone building X would probably want to fail if they have an old version [01:38] robert_ancell: It's not a build-time check. Xmir links to libmirclient.so.9 which may be from "any" Mir version [01:39] duflu, yes, but configure is not necessaraily just for checking API compatibility [01:40] robert_ancell: It would have to be a runtime check (on Android only) that the Mir client library version is new enough. But that's actually less severe than the QtMir fix, which we can't detect from Xmir [01:41] duflu, my point is by putting in configure.ac you stop someone with Mir 0.15 installed from building, because they are almost certainly going to hit the issue when they run the X they built [01:41] * duflu checks distro [01:42] robert_ancell: Ubuntu 15.10 and later already ships with a new enough Mir. And the QtMir bug can't be detected (we don't even know where it got fixed) [01:42] So I'm happy to skip any detection attempts [01:42] duflu, but this is a patch to xorg, which is not necessarily built on Ubuntu [01:42] ... [01:42] * robert_ancell gives up [01:43] robert_ancell: I see your point, but it would be a hack of probably no real-world value and would still not protect the user entirely if they are using an old Unity8 [01:44] configure.ac is a nice place to document such a dependency. [01:44] It's not a dependency. We could switch it to a compatibility mode at run time. But it's impossible to reliably detect if that is required [01:46] I will personally worry about our phone images having the right bits. But non-Ubuntu users I'm happy to say: You need a Mir v0.16 or later for it to work properly. [01:59] (Which is what a mir-client >= 0.16 in configure.ac documents ☺) [02:01] RAOF: It can and should build with older Mir... libmirclient9 is the requirement. When did that happen? [02:01] But it won't work at runtime with mir-client < 0.16? [02:01] Which is why you document that in the configure.ac check! [02:02] RAOF: It could if we detected it and switched to slow mode. But we can't also detect the broken QtMir [02:02] But we don't, so it doesn't. [02:02] Basically: it's harmless to bump that version requirement, and it's courteous to anyone trying to get it to work. [02:03] RAOF: It's not a "bump". We don't check the Mir version at runtime yet do we? That's a code change [02:03] Also not a reliable or useful one, probably [02:03] We have a check in configure.ac, yes? Because we link with libmirclient9. [02:04] *That* check is a simple bump. [02:04] RAOF: That's a build time check. We still want it to be buildable with old Mir. Building on old Mir is not broken [02:05] It's useless to build against old Mir, though. [02:05] I mean, you can build it, but you'll run into this bug and it won't work. [02:05] So in order to use it you'll need to have a newer build of Mir. [02:05] So there's no benefit gained in letting people build something they won't be able to run. [02:06] But this isn't really interesting enough to argue about, either :) [02:07] RAOF: It's a silly feature to check and then throttle. If someone is advanced enough to build their own Xmir and they're not using Ubuntu, we should just remind them we'll only support recent versions [02:07] Indeed! [02:08] Which is why we should bump the configure.ac check! [02:08] RAOF: Also, this only applies to Android. And never desktop [02:08] I'm not arguing for runtime detection! [02:08] Desktop users can use old Mir fine [02:08] Only touch users can't [02:10] Although the QtMir bug does affect desktop... we have no knowledge of exactly what version that got fixed in. Just "it seems to be fixed this year" [02:20] Hmm, now I look at it again, the only relevant Mir bug was only on Android and only relevant to non-nested servers. That's what got fixed in 0.16.0 [02:21] duflu, is anyone looking at updating xmir for the X 1.18 API (i.e. you) [02:22] robert_ancell: No I wasn't yet. Still focusing on xenial (1.17) [02:22] Sounds like branches will happen [02:22] tjaalton, was asking, but I haven't had time to have a look [02:23] robert_ancell: Best not to mess with what we've got (which seems like the right branch for xenial) right now [02:23] robert_ancell: Oh I see new Xmir in xenial proposed already. You rock. [02:24] duflu, it was for testing purposes and to be ready when fglrx updates to the new API we can shift over. [02:24] I guess 1.18 will land into 16.10 [02:24] duflu, please test xmir from -proposed :) [02:24] robert_ancell: OK, ta [02:25] robert_ancell: I won't have an answer till at least your Wednesday though [02:25] duflu, for xmir? [02:26] robert_ancell: Yeah I'm still ploughing through morning tasks and have two time consuming meetings today [02:26] But should be able to do all the manual testing required before tomorrow [02:27] * duflu wonders if his words are knocking robert_ancell over [02:27] hmm, any reason why I can't VT switch away from mir_demo_server anymore? [02:27] I had to reboot, was stuck on VT1 [02:28] robert_ancell: There is a known bug. Lemme find it [02:29] robert_ancell: Non-root? [02:29] duflu, as root [02:29] Oh, I found https://bugs.launchpad.net/mir/+bug/1286252 [02:29] Launchpad bug 1286252 in Mir "mir_demo_server* successfully start as non-root (without input support), meaning it can't be quit/switched away from" [Medium,Confirmed] [02:29] yeah, I've fallen for the non-root base before [02:29] robert_ancell: Or generally it might mean you have no input platform :) [02:30] duflu, which package name [02:30] robert_ancell: mir-platform-input-evdev5 === chihchun is now known as chihchun_afk [05:33] duflu: 1.18 is in ppa:canonical-x/x-staging [05:33] i've ported xmir to it [05:34] sent a CFT to ubuntu-devel some time ago [05:36] plan was to move it to main before FF, but nvidia hybrids regress with the blob, unity-greeter crashes [05:37] so we're looking into that first [06:13] hm i thought 1286252 has been fixed already, by accident [06:16] oh ok only partially [06:16] there is still a way to get stuck [06:20] tjaalton: Thanks. So long as you have the Xmir changes from the past few days too (https://git.launchpad.net/~xmir-team/xorg-server/+git/xmir/) [06:24] duflu: yeah I've now merged it in the branch, will upload to ppa later [06:24] tjaalton: Cool, thanks. Ignore the email then [06:25] this is what was needed to port it btw http://sprunge.us/JfHW [06:27] tjaalton: No risk on the GL stuff because Touch uses software rendering for now. Only the keyboard changes I guess [06:29] I should probably test that :) [06:30] tjaalton: If you test it on desktop it will default to DRI2 (not what the phone uses), so add: -sw [06:41] tjaalton: Do you have permission to create a git branch for your changes? https://git.launchpad.net/~xmir-team/xorg-server/+git/xmir/ [06:41] That's ~xmir-team I guess [06:46] tjaalton: Today's package just vanished from proposed and only the old release is visible. Is that right? https://launchpad.net/ubuntu/+source/xorg-server [06:47] Maybe it's just a transitional period. I vaguely recall that happens [06:49] duflu: i might be able to create a branch, after joining the team at least [06:49] Ah I see it was "Deleted 16 minutes ago by Ubuntu Archive Robot - moved to release" [06:49] tjaalton: That's OK. Just we'll need to remember to do it and incorporate your changes before any new major Xmir work [06:50] yeah [06:50] And make that new branch the default one [06:50] I forget how [06:51] ok [07:01] okey RAOF, thanks, I hope for the first option ("jumping" to internal, and back to external when the cable is pluged in again) [07:01] zzarr: Just bear in mind, essentially no application currently written will support that. === chihchun_afk is now known as chihchun [07:02] RAOF, I know, but if the Vulkan framework for a sample will be then that would be splendid :-) [07:03] I don't know if though [07:03] Ooh progress. The new xmir is released in xenial before I've finished testing it :) [07:04] duflu, is that good or bad? [07:04] Not sure yet [07:04] Can't hurt. If anything is wrong we'll fix it quickly [07:05] well it happened in any way [07:10] awesome my internet is faster then I pay for I pay for 100/100 and get 120/115 :-) [07:12] my grammar is poor though (realized that when I read my line) [07:15] in any way I'm happy to see that so many are enthusiastic about Ubuntu :-) (I'm one of the enthustiast) [07:51] does anyone know the status of Miracast (Aethercast)? === alan_g is now known as alan_g|lunch === alan_g|lunch is now known as alan_g === dandrader is now known as dandrader|afk === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun [14:56] greyback: I don't really know my way around the unity8 code, and this is something you might know: is there anything that relies on MIR setting $MIR_SERVER? ("anything" would be forking a client process that relies on that environment variable to find the server - which isn't something I expect/can find.) [14:58] alan_g: MIR_SERVER env var? No, I've never even seen that env var before, let alone seeing code depending on it [15:00] greyback: the Mir client API can use it to find the server socket. (if the client code doesn't specify a socket) [15:01] But I *think* setting it in the server process is a legacy mess that isn't useful and is confusing. [15:01] alan_g: ok. I've only seen MIR_SOCKET being used to specify that, and upstart is responsible for that [15:02] The legacy thinking was that Mir servers would set it and launch clients. But it hasn't turned out that way - U8 doesn't launch clients directly does it? [15:03] alan_g: nope [15:03] Excellent! [15:03] * alan_g is going to delete the mess === dandrader|afk is now known as dandrader === dandrader is now known as dandrader|afk === alan_g is now known as alan_g|EOD === chihchun is now known as chihchun_afk === dandrader|afk is now known as dandrader === mapreri_ is now known as mapreri === tedg_ is now known as tedg === Trevinho_ is now known as Trevinho