[00:24] kgunn: image fails [00:25] are there older images [00:25] racarr: thanks... rsalveti how far back can we go ? ^ [00:25] I have a copy of [00:25] july 26th [00:25] on my desktop it seems [00:26] thats kind of far though XD [00:26] so 12th would be 1 week...and the bug describes it popping up ~2 weeks ago [00:27] racarr: question...is the hwcomposer.h etc matching from the 12th to current ? [00:27] no hwcomposer.h on the image [00:28] lets check hardare.h though [00:28] racarr: yeah...that's what i meant [00:28] gralloc and fb as well [00:29] yep [00:29] the same [00:29] ok im going to september 26th because [00:29] err [00:29] uly 26th [00:29] because I dont have anything else to do :p [00:31] kgunn: maybe check your ~/Downloads/phablet-flash [00:31] for images? [00:31] though [00:31] i e dont have the images elsewhere [00:31] racarr: will do [00:31] then bisecting probably ont help much [00:32] also...as you're building, check the ubuntu/hybris/hybris/include/android/hardware/ and see how those headers compare [00:32] 26th vs current [00:34] ubuntu/hybrys/hybris/hat [00:34] /what? [00:34] racarr: i have a jul 25th :) [00:34] I have been looking in /usr/include/android [00:35] oops...nvmd...i was looking in source i downloaded [00:35] that's where they are before image creation [00:35] XD [00:35] ./ubuntu/hybris/hybris/include/android/hardware/fb.h [00:35] etc [00:35] thats a hell of a path [00:35] I realized [00:35] e can rule in our out the headers [00:35] in an easy ay [00:36] well that whole theory [00:36] did surface flinger change? [00:36] I guess that doesnt necessarily rule it out [00:36] whathcya mean? [00:37] I mean we have this theory that libhardware changed [00:37] and it broke mir because mir has the static in tree headers [00:37] but if surface flinger didn't change [00:37] that seems unlikely [00:42] racarr: right...but isn't it truly in tree for surface flinger (e.g. he's not gonna get headers outta sync) [00:42] since its all just part of android [00:46] kgunn: Right I am just saying if e literally haven't updated [00:46] the surfaceflinger binary [00:52] havent tested this image yet but want to go get pizza before the bakery closes [00:52] back soon [00:53] racarr: actually....i think i just found a jul 29 & aug 9 images [00:54] I am trying to build mir on this image...but [00:54] build deps are pulling in a hybris upgrade [00:54] so it would be not so surprising if it didn't work? [00:55] ghsdflKSDfljLKsdgjldkfjglkdjglkejrg;lakerjgl;kejrgt [00:55] just a little keyboard mashing :p [00:55] brb pizza [01:09] Ah, yes. [01:09] It's important not to leak fds. [01:14] Huh. Something's broken in our resource cache it seems. [01:32] back [01:35] racarr: dont we rebuild surfaceflinger from source everytime ? (i thot we built the whole android file system...for what we have source for) [01:35] stepping out...biab [01:37] kgunn: yeah I guess its probably never the same [01:37] racarr: just comparing bins of libsurfflinger they are diff between jul 25 & latest [01:37] but not surprising [01:37] ok...really stepping out [01:41] racarr: is surface flinger relevant to the Nexus4 bug? We intentionally disable it to run Mir (usually) [01:45] kgunn: july 26th works! [01:45] duflu: No but one of the theories is that there is a libhardware mismatch [01:45] but I didn't relize we rebuilt surface flinger everytime [01:45] I see [01:46] duflu: Want to check your ~/Downloads/phablet-flash and see if you have any images beteen [01:46] july 26th and august 18th [01:46] and can verify mir orks/doesn't work on them [01:46] bisecting ;) [01:46] but I am out of images [01:46] err august 12th sorry [01:47] ricmm: rsalveti: Any way we can get images from before august 12th [01:48] racarr: Only July 26th (works for me I think) and August 8th (broken) [01:49] August 8th broken. Awesome [01:49] kgunn: ^ [01:50] racarr: At least that appears to be the latest one I have. And the latest broke my N4 [01:50] Though surely we can get image dates/versions from the devices? [01:51] duflu: The problem right now is cdimages.ubuntu.com [01:51] only has back to august 12th :p [01:51] so I am trying to bisect [01:51] racarr: Yeah Albert logged the bug on 13th a few days after he first mentioned it. Because it took me a few days to upgrade and confirm [01:51] but the range is uly 26th to august 8th now [01:52] but there are no images [01:52] inbeteen [01:52] ween [01:52] Spill on keyboard:( [01:52] Pork and beans? [01:52] Argh [01:52] That would be weezer [01:52] I suck [01:58] I guess I will start [01:58] reading changeloads [01:58] racarr: Actually 20130808 may not be accurate. The download date for that was 20130813 and I remember I did an update immediately after [01:59] Will have to reflash it without updates to confirm [01:59] Ah! thanks. [01:59] lxc-android-config (0.67) saucy; urgency=low [01:59] * allow devices that use EFS as label for the factory partition to mount it [01:59] under /efs instead of /factory [01:59] that means anything [02:00] -- Oliver Grawert Sun, 04 Aug 2013 12:24:23 +0200 [02:00] I wonder if [02:00] I have nothing in /factory on the working image so probably not [02:00] I dont know what a /factory is though [02:00] im going to bisect [02:00] lxc-android-config [02:01] because permissions are suspect [02:01] oh I can't really do that as easily as I want to [02:03] ok I upgraded lxc-android-config [02:03] and it still works [02:03] im going to upgrade packages one at a time lol [02:05] that was kind of silly :p not even sure what to try next [02:06] no hybris updates [02:06] N4 sez: Not enough charge to turn on yet. This seems to happen a lot [02:07] lets upgrade lxc [02:07] duflu: Happens to me a lot too :( and you can [02:08] use more poer than you get off low power USB compiling [02:08] mir [02:08] racarr: Yeah I put it on mains for a while [02:09] * duflu wonders if the USB 3 port would have more power than USB 2 [02:09] Maybe [02:11] not lxc! let's upgrade apparmor [02:11] im staring at a list of like 200 packages trying to pick ones that could be relevant lol [02:13] racarr: Maybe consider those that Mir depends on [02:16] duflu: Mm. should just start with that [02:21] all the build deps [02:21] are newest version [02:22] as are the dependencies [02:22] except or [02:22] multiarch support [02:22] *tests* [02:24] racarr: phablet-flash has no options to specify an image file(s) any more. Any clue? [02:24] duflu: You have to use clockwork mod [02:24] duflu: You flash the armel+dev first then the armhf [02:24] Great. Later then [02:24] you have to use adb push file /sdcard/ [02:24] instead of [02:24] /sdcard [02:24] or it ust silently fails ater taking [02:24] forever [02:24] lol [02:25] aw not multiarch support either [02:28] Grr overlapping outputs. [02:34] ok I think I narrowed it don to a set of 20 packages [02:35] is there an easy way to reverse my last [02:35] apt transaction [02:36] http://pastebin.ubuntu.com/6004993/ [02:36] something in here killed it' [02:37] http://pastebin.ubuntu.com/6004994/ [02:37] this is suspiscious [02:44] reverting back to working image to narrow the list [02:45] Setting up initramfs-tools-ubuntu-touch (0.34) ... [02:45] seems sort of sketchy [02:45] compared to everything else at least [03:21] racarr: arrrround? [03:27] smspillaz: Enthusiastically! === chihchun_afk is now known as chihchun [03:33] racarr: you're awsome...so down to 20 packages, somewhere between jul 26 & aug 8 [03:35] kgunn: Actually just got a working system again and clicking, so more like 19 packages lol [03:35] really only like 4 or 5 that seem reasonable we should know super soon [03:36] racarr: cool [03:37] duflu: so I don't know if something I'm seeing is a bug in the mir buffer swapper or a bug in my code [03:37] duflu: ping [03:38] duflu: basically if I do draw1 -> swap1 -> draw2 -> swap2 -> draw3 -> swap3 [03:38] I seem to see something like [03:38] after swap1 : nothing after swap2 : draw1 after swap3: draw2 [03:38] (using mir_surface_swap_buffers directly) [03:39] smspillaz: Do you have a very recent server? That was probably fixed in lp:mir r955 [03:39] duflu: bzr pulled as of yesterday [03:39] kgunn: Hi [03:40] smspillaz: Yeah that's new enough [03:40] hmm ok I'll try again [03:40] maybe I was just an idiot and forgot to set my path right or something last night [03:41] smspillaz: For manual testing that kind of thing I use fingerpaint (in which single clicks generate single swaps and should generate immediate output) [03:41] Though we have automated tests for it of course [03:41] ah you know what [03:41] it could be that stupid thing with sudo not working with LD_LIBRARY_PATH [03:41] kgunn: pong? [03:41] well not stupid, but a gotcha nonetheless [03:42] so I was probably still running the one in /usr/bin [03:42] smspillaz: Yeah you have to set it after sudo [03:42] you guys really need something like weston-launch [03:42] smspillaz: You mean a dumb and simple shell? [03:44] duflu: not really. Its a setuid thing that talks to pam to get the invoking env, handles all of the vt switching and drmSetMaster/drmDropMaster stuff and then runs weston as user [03:44] smspillaz: Oh right. I have thought about similar [03:44] Someone just has to do it [03:44] lol [03:45] it makes life a lot easier :) [03:45] smspillaz: Ill take care of it on Yotday, the imaginary day I just invented inbetween [03:45] now and featufre freeze [03:45] :p [03:45] though admittedly not as useful anymore because logind no longer allows arbitrary processes other than init to spawn new sessions [03:46] so it has to start on the same vt you launched it on as opposed to starting on a new one [03:46] As long as you don't want VT switching you should be able to run mir_demo_server_shell as your user directly. [03:47] RAOF: don't you need root for input? [03:47] I seem to recall that's what half of what weston-launch was about [03:47] sudo chown smspillaz /dev/input/**/* [03:47] or maybe that was to do with vt-switching and input [03:48] RAOF: :/ [03:48] smspillaz: Hey, it's harmless¹ [03:48] ¹: As long as you trust everything on your box [03:49] I guess my alternative solution of doing source /home/smspillaz/.bashrc was probably not better [03:49] (so that I didn't have to re-type every bloody path again) [03:50] Nooooooooooooooooooooooooooooooooo [03:50] bisection failed [03:50] life [03:50] no [03:50] just bisection [03:57] duflu: :/ I'm still getting the one-frame lag [03:57] (correct paths and all) [03:59] err [04:00] ...I retract my err [04:01] though oddly its not happening on the demo clients which use mir_surface_swap_buffers_sync!?! [04:02] Hrm [04:03] attack of the threads! [04:06] smspillaz: Not sure then. We have automated and easily manual testing of this issue. If you can figure out the scenario exactly that would be helpful [04:07] duflu: I'm just doing a dump of the image surface to a png to figure out what's going on for now [04:07] reeeeecompiling [04:12] racarr: bisection failed as in ...you added everything back one by one to a failing image that no longer fails but actually boots with unity-mir ? [04:12] kgunn: I think I made a istake in thinking I hd found a broken set of packges [04:12] in that it just didnt ork once [04:12] maybe I didnt use sudo and forgot because adb history was fucked up or something [04:12] I dunno [04:12] no I am still on a orking images [04:12] and adding more and more packages [04:12] about 20 at a time then rebooting and testing [04:13] lol [04:13] this last one pulls in a bunch of stuff so I have a feeling this will break it but then to bisect this smaller list I need to go all the way back [04:13] and reflash [04:14] ubuntu-touch-generic-initrd ubuntu-touch-session [04:14] these are the most suspsicious packages that I havent ruled out yet [04:14] all the mir dependencies and build dependencies [04:14] are ruled out [04:23] racarr: can you pastebin the remaining packages ? [04:24] just updating the bug [04:24] thomi, is jenkins screwed up again? (https://jenkins.qa.ubuntu.com/job/lightdm-saucy-amd64-ci/85/console) [04:24] and http://s-jenkins:8080/job/lightdm-ci/168/ [04:24] just in case you don't find the offender [04:24] it wouldn't surprise me, let me see [04:24] kgunn: http://pastebin.ubuntu.com/6005189/ [04:24] almost through a bunch though [04:25] robert_ancell: the public jenkins has been up and down all day today [04:25] robert_ancell: private jenkins should be working though [04:25] thomi, also, do you happen to know who I can poke to make a PPA have a high priority? [04:26] robert_ancell: #launchpad-ops [04:26] robert_ancell, rcimm & rsalveti [04:26] kgunn: http://pastebin.ubuntu.com/6005191/ [04:26] I ust ran mir succesfully [04:26] after a reboot [04:26] and those are the only remaining packages [04:26] in upgrade [04:26] going to eat some ice cream then come back to it [04:27] ricmm, rsalveti, you can bump PPA priorities? Can you set ppa:mir-team/qa-testing to the same priority as ppa:mir-team/staging? [04:27] robert_ancell: you mean build priority in the lp build queue, right? [04:27] going to eat icecream and revisit [04:28] oh [04:28] wow [04:28] thomi, yeah [04:28] im going around in workspace switching loops [04:28] robert_ancell: I thought so, I've always had to ask launchpad people to tweak that for me, but maybe others have more permissons than I do [04:29] racarr: icecream can only help [04:40] kgunn: so I'm working at the australian election and our counting how-to guide give the example of replacing the candidates name with "ice cream" [04:40] as an example of an informal vote [04:41] I really don't know who or why somebody would want to vote for ice cream [04:42] so close [04:42] ps daily show had coverage of australlian elections it as hilarious [04:42] racarr: I saw that! [04:42] ahh good ol' cameron diaz [04:44] does anyone have time to revie client-focus-notifications while I am still awake? [04:47] libopenobex1 libpam-systemd libpixman-1-0 libplymouth2 libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 libsystemd-daemon0 libsystemd-login0 libupower-glib1 libusb-1.0-0 libwaudio1 login multiarch-support packagekit-plugin-click plymouth policykit-1 powerd systemd-services telepathy-gabble telepathy-ofono tzdata [04:48] one is evil [04:49] racarr: Sure. I want that branch landed :) [04:49] RAOF: It feels like today is the day [04:50] https://code.launchpad.net/~robertcarr/mir/client-focus-notifications/+merge/179801 is the current one, right? [04:50] I'm looking for the words to say...I don't think I can hide...what I'm feeling inside... [04:50] RAOF: https://code.launchpad.net/~robertcarr/mir/client-focus-notifications/+merge/180903 [04:50] didn't you check the moon charts? [04:51] libpam-systemd libplymouth2 libpolkit-agent-1-0 libpolkit-backend-1-0 [04:51] libpolkit-gobject-1-0 libsystemd-daemon0 libusb-1.0-0 libwaudio1 [04:51] multiarch-support packagekit-plugin-click plymouth policykit-1 powerd [04:51] systemd-services [04:51] hmmm [04:52] im trying to eliminate ones which seem really unlikely to break mir [04:52] first so when I finally break it (and have to start the whole thing over again) [04:52] the pool is super small and I can just guess [04:54] libpam-systemd libplymouth2 libsystemd-daemon0 plymouth policykit-1 powerd systemd-services [04:55] any bets? :p [04:55] systemd plymouth policykit or powerd one of them broke mir on the nexus 4 [04:58] * RAOF lays a bet on "systemd" [04:58] seems likely [04:58] it wasn't powerd [04:58] seeing if plymouth is the surprise offender now [04:59] damnit, ran demo ithout root, 30 second penalty as phone hangs. [04:59] :p [05:00] * RAOF should really get around to submitting a branch that fixes the build with clang 3.4 [05:01] plymouth, hitelisted [05:04] what [05:04] I am fully upgraded [05:04] and just ran mir [05:04] ufahsufashfasha [05:04] Huzzah! [05:04] You've fixed it! [05:05] what if it fixed itself in the archive [05:05] while ive been doing this all day [05:08] ive been using [05:08] the same mir [05:08] binary [05:08] ...maybe a header changed [05:08] ugh [05:08] ok literally no headers changed [05:10] im flashing a latest image and upgrading to see if it really did just [05:10] ...fix itself [05:15] good morning [05:15] RAOF, we have exclusive access to the ati machine :) [05:20] Excellent. [05:20] * RAOF is making coffee for a moment. [05:23] RAOF, I'm back in ~1 hour [05:26] tvoss: So I've been bisecting images, until I got to august 12th broken july 26th orks then I ran out of images so I started [05:26] installing packages to upgrade, about 10 at a time [05:26] and rebooting and testing [05:26] at one point it seemed to break, so I bisected those packages from the working image [05:27] but then it always orked so I started over [05:27] over about 30 reboots I saw maybe 2 failures here I had to reboot, but then it alays worked until I was [05:27] fully ugpraded, and it still worked! [05:27] racarr, wtf [05:27] and then I verified I asn't crazy, and the fully upgraded binary was working [05:27] and cmake, didn't detect any thing as touched, i.e. mir needing rebuild, in fact none of the mir [05:27] racarr, could you reboot like 20 times to rule out a race? [05:28] build depdencies were ever upgraded [05:28] tvoss: I have, it seems either it always fails, or [05:28] just occasionally it fails in this one way that a reboot fix [05:28] but always works otherwise [05:28] what I am doing now is a clean image to see i it was [05:28] magically fixed in the archive [05:28] okay [05:29] racarr, can you compile that into an email? [05:30] tvoss: Yeah I am about 5 minutes away from the result on the [05:30] clean image then I will write things up [05:31] it doesn't really make any sense as far as I can see, but I was pretty careful [05:31] but I dunno, I haven't really zoomed back out yet [05:31] ive just been...in robot mode [05:34] ugh [05:34] it didn't work [05:35] hey robert_ancell! Just a quick note on lightdm packaging, you took my cleanup branch, right? (https://code.launchpad.net/~didrocks/lightdm/packaging-cleanup) [05:35] it was merged in the /unity one, not sure you took it for trunk [05:36] didrocks, yeah, it's a mix of a few different packaging branches :) [05:36] i.e. what was in the archive + the changes you made + the test changes made for CI [05:36] will be nice to be down to one branch :) [05:37] robert_ancell: indeed ;) thanks! [05:37] * didrocks can close a tab then \o/ [05:39] tvoss: OK I commented on the bug [05:44] brain basically off now [05:45] didrocks: Yo! [05:45] RAOF hey! [05:46] Bah. Why aren't all the rdeps of xmir magically rebuilt when I break the ABI? :) [05:48] didrocks: By the way, this patch http://paste.ubuntu.com/5983202/ worked fine; it was when we turned on logging for the msg-processor and frontend that the race disappeared. [05:48] And by ‘worked fine’ I obviously mean “hung like a bastard” [05:49] RAOF: was the rdepends a question for me? [05:50] RAOF: ah, so you got all the info you needed? [05:50] No :) [05:50] didrocks: Well, we got all the information that patch provided. :) [05:50] heh [05:50] Which was "yes, XMir really is writing the request to the socket and is not receiving a reply" [05:52] RAOF: the ATI machine is completely deprovisionned btw [05:52] So I hear. [05:52] (just done) [05:53] if you need help to setup the environment, do not hesitate [05:53] I think others are taking the lead on this bug for a while, while I get multihead for XMir done. [05:53] ok [06:14] racarr: dpms ping [06:22] I seem to be leaking ALL THE FDs [06:23] But I don't think that's my fault. [06:24] the awkward moment when you have been writing C++ for so long that you forgot how to write GObjects [06:24] I hear the correct way to do that is to write a DSL. [06:25] RAOF: DSL? [06:26] Domain Specific Language; ie: Vala [06:26] lol [06:26] actually [06:26] I think this marks the first time this year [06:26] I will have written a GObject [06:26] \o/ [06:26] not a cause for celebration [06:27] or /o\ depending on how you look at it [06:27] /o\ most certainly [06:43] gcc. How I hate you and your insane C++ error messages [06:46] Yes [06:53] good morning [07:41] Hrm. [07:42] RAOF, ? [07:42] I think we might leak fds for clients with more than one window [07:43] Or, at least, we leak ALL THE FDs when XMir has two surfaces, one for each of my displays, and we don't leak fds when XMir is only driving one display. [07:49] The problem could be in the XMir code, but I thought that mirclient should handle the fds sent over the wire. [07:51] RAOF: Is this related?... 1194534 [07:51] bug 1194534 [07:51] bug 1194534 in Mir "mir_connection_release does not free associated surfaces" [Medium,Triaged] https://launchpad.net/bugs/1194534 [07:51] duflu: I don't think so; I don't call mir_connection_release [07:52] Ever? [07:52] Ever [07:53] At the moment. I guess I should at some point, but it's not hugely important. [07:53] RAOF: So you *should* get leaks of some sort anyway :) [07:53] What *is* important is that Mir doesn't leave in excess of 1024 file descriptors open, causing X to fail to accept any new clients. [07:54] duflu: Oh, sure. It just shouldn't be “there are more than 1024 file descriptors leaked by the RPC code” [07:54] That is indeed a lot [08:25] alf__, ping [08:26] tvoss: pong [08:38] hikiko: how is it going? [08:39] hi alan_g [08:40] I started a new branch here: https://code.launchpad.net/~hikiko/mir/mir.native-platform-functions and I am now replacing the functions in native platform [08:45] hikiko: by "native platform" you mean *nested* platform? [08:45] no [08:45] I started filling the: [08:46] get_ipc_package, create_internal_client, create_buffer_allocator [08:48] for android and gbm? [08:48] Let's first rewrite the nested functions that can be written "return native_platform->xxxxxxx();" and get that onto trunk. [08:51] without implementing the xxxx() you mean? [08:52] https://code.launchpad.net/~hikiko/mir/mir.native-platform-functions already has implementations (stubs) [08:52] yes [08:52] so I ll just call the stub functions [08:52] you don't want me to implement the stubs as well [08:53] If we get the nested code landed (with stubs) then we can separate work on the GBM and Android support [08:54] cool [08:54] * alan_g likes to keep as much code on trunk as possible. (I.e. small incremental merges) [08:57] hikiko: like: https://code.launchpad.net/~alan-griffiths/mir/display-is-not-output/+merge/180914 (which you could review once you've MP'd the above) [09:25] Oh, that's right. Callbacks are non-optional. [09:29] That sucks. My thinkpad has pinned itself to 800MHz even though I'm building on both cores [09:29] Usually that only happens on low battery or high temperature... [09:40] Is there some philosophical reason why all our async functions *require* valid callbacks to be passed in? [09:45] RAOF: I was wondering that at the start of the year. I think I proposed making them optional and it was rejected. Can't remember [09:45] alan_g, https://code.launchpad.net/~hikiko/mir/mir.nested-platform-functions/+merge/181001 [09:46] I'll review the display-is-not-output now [09:46] duflu: I guess we could have a no-op callback in mirclient? [09:46] hikiko: OK (I'll review yours after I finish on session_lifecycle) [09:47] Because I really *don't care* when this surface gets released [09:47] RAOF: It's a bit ugly and definitely suboptimal [09:47] RAOF: I'd prefer support for NULL [09:47] NULL is definitely a valid callback in some cases [09:48] An explicit no-op callback is probably more self-documenting, but NULL is more idiomatic. [09:48] RAOF: Then to solve both: const CallbackType *noop = NULL; [09:48] sure alan_g take your time [09:49] RAOF: Or just #define NO_CALLBACK NULL [09:49] But now you need to explicitly handle NULL in mirclient! [09:49] RAOF: So...? [09:50] * RAOF is not really arguing against NULL [10:04] tvoss, katie: When we say surfaces aren't aware of their absolute position, what's the one-sentence reason why? [10:08] alan_g, what does the POC mean here? // TODO as a POC just use the first active display [10:09] "Proof Of Concept" (note to self: don't abbreviate) [10:09] mpt, as seen in the past, it leads to assumptions regarding the phyiscal layout of screens for example. [10:15] so, alan_g this branch just modifies the display to match the new Display interface with the multimonitor support or I am missing something? [10:16] no, there's the displayoutput as well [10:16] hikiko: yep [10:19] tvoss, when there are multiple displays, do apps know even what display each surface is on? [10:20] mpt, the plan is to only communicate dpi changes === chihchun is now known as chihchun_afk [10:21] tvoss, thanks. Next question: If an app has three windows open, A, B, and C, and A is focused, does the app have knowledge that B is above C or vice versa? [10:22] mpt, the app knows which surface is focused [10:22] Yes, but that's A. :-) [10:23] mpt, sure :) but under the constraint that stacking only changes when focus changes, an app knows if B is over C or vice versa [10:23] ah, right [10:23] So it couldn't interrogate, but it could remember [10:23] alan_g, output == context? [10:23] hikiko: ? [10:24] mpt, exactly. our focus policy makes sure that stacking per app only ever changes if focus changes (at least for regular surfaces) [10:25] tvoss, unless a window manager decides to go Amiga Intuition 1.x style and add a "Send to Back" button to every title bar. :-) [10:25] I mean, a display's output (eg the nested display's output) is the sum of variables that describe the context we render in the display (the state)? [10:25] mpt, hmmm, good point ;) [10:26] and we ll have a different context for every display and a different display for every monitor? [10:27] hikiko: there's one Display and an output for each active monitor. (At least that's what's in the native GBM code) [10:28] But that's not what I've implemented for nested (yet) [10:28] so each monitor is a different "buffer"/window? [10:28] ack [10:28] yes, I understand what you did and it looks good to me, I am just trying to get sure I understand the whole concept [10:30] +can I top approve? it has 4 positive reviews [10:30] hikiko: I think it should be a customization point - and am still thinking. (E.g. I may want a nested mir with a single window that doesn't match a monitor) [10:31] hikiko: you can top approve [10:31] (And you don't need to ask permission) [10:31] tvoss, another question for you.. is it Mir or the application that should remember whether a surface is fullscreen/maximised etc? [10:32] katie, for the surface state, it should be the application [10:34] alan_g, if this 1 window can be splitted to as many buffers as the monitors and can have the size of the virt. screen size there shouldn't be a problem (I am not 100% sure though) [10:34] tvoss, katie: If Mir can remember its absolute position, why can't Mir remember its state too? [10:35] mpt, fair question: we could add a function: restore previous state [10:36] tvoss, katie: I think we're missing a description of how an app tells Mir the identity of a surface it's reopening. That would be the place to describe that Mir restores not just the previous position and size but the previous state too. [10:36] hikiko: it isn't a problem for now - but I was thinking more of a window smaller than a monitor. (So I could run up a server as a "normal" application) [10:37] mpt, ah, that's a good point. so the app is responsible for "tagging" a surface [10:53] tvoss, when an app opens a surface, does it have to provide a preferred size? [10:53] mpt, yup, an initial one at least [10:55] tvoss, but what if I develop a word processor, and the preferred size for new document windows depends on the physical size of the current display, up to a reasonable limit? Should all apps contain that kind of logic? [10:56] mpt, why would it depend on the physical size? you mean in terms of percentage? [10:57] tvoss, katie suggests that in that case, an app could just ask for a preferred size of, say, 8" by 12". On any screen smaller than that (e.g. phone, tablet), it would take up full screen. On any screen larger (e.g. Cinema Display), I'd get that actual size. [10:58] mpt, yup, that sounds like a good idea. How do you want to handle aspect ratios? [11:01] tvoss, if you reopened a surface on a display that was still wide enough but not tall enough, katie and I think it would only get shorter, not narrower. [11:03] mpt, so we do not preserve aspect ratio? [11:03] tvoss, right [11:03] mpt, okay. What if an app needs that functionality? [11:05] tvoss, unless you want to back that into window management (it seems a bit niche), the app would need to notice its new height and narrow itself proportionately. [11:05] *back -> bake [11:06] mpt, the one thing that concerns me is the feedback cycle required ... [11:06] mpt, user resizes window, app receives resize notification, resizes its frame [11:08] tvoss, well there are other cases where a window wants to set strict limits on how it can be resized ... The most complicated example I've seen is floating toolbars, where the exact combination of width and height depends on what buttons and other controls are present. [11:08] Palettes is an even better example. [11:10] mpt, ack, so why don't we say an app can request the following flow: about-to-be-resized(old_size, newly_requested_size) -> new_size_as_calculated_by_app [11:10] and only then we resize [11:12] Hmm, I thought the Gimp toolbox would be an example, but it isn't, because of that dire "You can drop dockable dialogues [sic] here" [11:15] tvoss, what use is old_size there? [11:18] mpt, hmmm, to express the user requested change ... although the application should know that anyways [11:20] tvoss, ideally the app would animate internal reshuffling of a window's contents, but that isn't helped by knowing the old size of the entire window. [11:21] For that it needs to know the old position of individual elements inside. [11:23] mpt, which it does anyway === tvoss is now known as tvoss|lunch [11:42] greyback, any idea how do we stand on screen blanking in unity8@Mir? === hikiko is now known as hikiko|lunch [11:44] Saviq: I've not attempted it. Right now it doesn't blank. [11:45] greyback, right, another one to the list of regressions [11:47] greyback, did you write it in the end or shall I? [11:49] Saviq: http://sketchpad.cc/zYRXs1hnWu [11:52] greyback, added some more and their blueprint-like status, how's it look? [11:53] Saviq: looks ok === tvoss|lunch is now known as tvoss [12:08] alan_g, got a nexus 4 handy? [12:08] yes (but lunch is calling) [12:09] alan_g, can you ping me after lunch then? [12:10] tvoss: Sure. Should I leave it installing anything? [12:10] alan_g, would be cool if you could phablet flash the latest image [12:11] tvoss: ack [12:14] Rats!! (It is in "I don't have enough charge to charge mode" again.) === alan_g is now known as alan_g|lunch [12:15] olli_, ping [12:16] tvoss, pong === hikiko|lunch is now known as hikiko === alan_g|lunch is now known as alan_g [13:38] tvoss: back (but flashing failed) "ERROR:phablet-flash:Command 'adb shell mount /sdcard/' returned non-zero exit status 255" [13:41] alan_g, please ask in #ubuntu-touch for help [13:42] tvoss: I'll ping you when I've got it working again [13:42] alan_g, ack [13:54] hikiko: how are you doing? [13:55] sil2100, didrocks lxc-start on the ati machine fails, I can briefly see the login prompt, then the container shuts down [13:56] sil2100, didrocks lxc-attach fails with lxc-attach: failed to get the init pid [13:56] tvoss: do you restart the Mir environment? [13:56] the right run? [13:57] tvoss: OK I've got a newly flashed N4 [13:57] thomi: did you guys get the prio sorted? [13:57] I obv cant push it, I just ask whoever is on vanguard in webops [13:57] ricmm, thomi is unlikely to be online [13:59] right [13:59] didrocks, how do I do that? [14:00] tvoss: that's what I told, we need to reset the Mir environment [14:00] didrocks, mind telling me how? :) [14:00] but I don't have time for that (taking 15 minutes and hoping on meetings) [14:00] tvoss: I can recreate quickly a blank one rather [14:00] didrocks, ack [14:00] where you have a persistency daily image [14:00] then you add the ppa [14:00] and the packages [14:00] sounds ok? [14:01] alan_g, in this case the window could be resized to be fullscreen when necessary [14:01] so, why not [14:01] let's take that as a yes :) [14:02] hikiko: Don't worry about that use case yet === chihchun_afk is now known as chihchun [14:04] hikiko: what are you doing currently? [14:05] I am looking at the display [14:05] tvoss: ok done [14:05] let me pm the instructions [14:05] there are at about 8 functions with todo [14:06] I think that maybe I should start from there === jono is now known as Guest90491 [14:06] if you agree [14:06] (alan_g) === greyback is now known as greyback|needsfo === greyback|needsfo is now known as greyback|food [14:09] hikiko: Don't try to do too much at once. I'm looking at the mulit-monitor interactions for NestedDisplay (I think alf__ is busy writing the stuff I need for it) [14:09] alan_g, what do you suggest I do as a next step then? [14:09] so maybe the best place to for you to start is in the NativeGBMPlatform [14:10] BTW Don't worry about duplicating code with GBMPlatform - we can refactor that after we have things working. [14:10] hikiko: ^^ [14:11] ok then :) I ll start adding the functions there! [14:12] hikiko: don't go too fast - just get the test to get through one more function call [14:13] (Before an exception gets thrown) [14:15] alan_g, what do you mean get the test? [14:15] tvoss: racarr: can start mir_demo_server successfully with aug 5th [14:15] tvoss: which other test can I run? [14:16] hm, seems it crashed now [14:16] E/Adreno200-GSL( 1724): : open(/dev/kgsl-3d0) failed: errno 2. No such file or directory [14:16] hikiko: there's only one TestNestedMir test currently - I mean that one [14:17] you mean to run this test each time I add a new function? [14:18] hikiko: I mean change the system so that the exception caught comes from the next not-implemented function that gets called, update the test for the new exception and MP those changes. [14:23] alan_g, ok :) I might bother you when I have to modify the test because it will be my first one... but ok, I'll do the change first :) === greyback|food is now known as greyback [14:41] alf__: @place-surface-in-output - how does a client select an output? I don't see any client-side API for it - what have I missed. [14:43] alan_g: it's a new field in surface creation parameters .output_id [14:44] alf__: thanks === alan_g is now known as alan_g|tea === alan_g|tea is now known as alan_g [15:10] racarr, ping [15:15] bye! [15:17] olli_: is it ok if instead of 19.2 I test image 20? [15:17] phablet-flash cdimage-touch --pending is giving me 20 instead of 19.2 [15:17] tsdgeos, please do 19.2 [15:17] tvoss: then i'm going to need help on how to get it [15:18] ogra_, how to get 19.2 with phablet-flash? [15:21] tvoss, dunno, i never use phablet-flash ... i think you need to give it a --url parameter [15:23] tvoss, reading teeh help i would guess: phablet-flash cdimage-touch -d mako --ubuntu-path=http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/20130819.2/ [15:23] tsdgeos, ^ [15:24] ogra_: the help confuses me [15:24] phablet-flash cdimage-touch -h [15:24] what's the difference between --device-path and --ubuntu-path [15:24] ogra_: that is what is confusing me, yes i can get there ;-) [15:24] dunno, ask sergiuiens :) [15:25] he invents those options all the time :) [15:32] device-path is the android zip file [15:32] ubuntu-path is the ubuntu zip file [15:32] you need both [15:32] oh ? [15:33] can't i just say "i want 20130819.2" easily? [15:33] i thought there was a patch that you only need one with the latest phablet-flash [15:33] tsdgeos, depends how well your voice input works [15:33] :P [15:49] tvoss, ping [15:49] bschaefer, otp [15:49] tvoss, alright === tvoss is now known as tvoss|afk === chihchun is now known as chihchun_afk [16:58] Have a good day everybody! === alan_g is now known as alan_g|EOD [17:16] racarr: you on? [17:17] kgunn: Yeah just recently [17:17] np...feel free to coffee up [17:18] basically....the current request is to retest using 19.2 with -b (to make it completely fresh) [17:18] rsalveti was able to get it working [17:18] in case the image moved....use this command line [17:18] I didn't get the crash, but just noticed I'm also getting a black screen [17:18] the issue when allocating memory is due a race in udev/ueventd, which I'm working on atm [17:18] phablet-flash cdimage-touch --ubuntu-path http://cdimages.ubuntu.com/ubuntu-touch/daily-preinstalled/20130819.2/saucy-preinstalled-touch-armhf.zip --device-path http://cdimages.ubuntu.com/ubuntu-touch/daily-preinstalled/20130819.2/saucy-preinstalled-touch-armel+[device].zip -b [17:18] 19.2? [17:19] racarr: which was the latest issue that you were having? a crash or just a black screen? [17:19] rsalveti: Ah yeah black screen is all I get [17:19] crash is rare [17:19] any time I have ever seen the crash [17:19] a reboot has made it go aay and it [17:19] reverted to black screen [17:19] right, then let me flash the older image again, which was working without black screen [17:20] err so wait should I try this [17:20] phblet-flash kgunn gave me? [17:20] please try [17:20] seems it worked fine for ev [17:20] rsalveti: "worked fine" means unity8 came up on mir ? & no black screen ? [17:21] Err [17:21] unity coming afaik [17:22] flashing [17:39] ok installing mir ppa on image [17:40] kgunn, hey, sooo Im suppose to help work on an ATI bug? Would you happen to know something about that? [17:40] bschaefer: ok....so, it seems to be corrected by the latest kernel (updated to 3.11 y'day ~2pm my time) [17:40] through didrocks machine, and I missed tvoss a bit ago...soo I figured you might know something! [17:40] kgunn, o really? [17:40] kgunn, soo do we need to confirm this, or is it already? [17:41] tvoss|afk: & didrocks rebuilt and tried reboot ad-nauseum [17:41] it never failed [17:41] there were some kernel changes (e.g. mutex related) that certainly could've effected [17:42] so anyway...result was to place didrocks machine back "on the line" [17:42] sweet, well lets hope it stays fixed :) [17:42] he will start pushing updates tomorrow morning his tmie [17:42] time [17:42] yep [17:42] cool! Well that was fun to work on :) [17:42] we are going to pull his machine again in a couple of weeks during bug squash week to root cause [17:43] seriously the pressure is off....but if you wanted to attempt some root cause effort that would be great [17:43] that would be a good idea, don't want this coming up later on [17:43] altho you'd need to coordinate with him....as its back in service [17:43] painful part will be trying to stay on 3.10 kernel to test [17:43] kgunn, I can try, I think i remember trying to reproduce this last week on my ati machine [17:44] bschaefer: were you ever successful ? [17:44] right, yeah if he comes back and wants some more testing i my time zone Ill go with it! [17:44] kgunn, nope :( [17:44] kgunn, it was only didrocks machine [17:44] bschaefer: yeah...that's the thing....his machine was kinda golden [17:44] even raof's debug add ons changed timing and bug disappeared.... [17:44] yeeah, didrocks should get a new machine :) [17:44] like i say mutex changes coming in 3.11 kernel make me wonder [17:45] but it is nice it did catch something like that, would have been hard to figure out later on... [17:45] kgunn, in a bad way? [17:45] or rather the mutex fixes are the fix? [17:45] b/c xmir would always start ok...it only ever stalled when compiz was trying to init gl for unity [17:45] in a good way [17:45] yes...mutex fixes [17:45] right, I ran into that on my intel machine [17:46] but then i purged all of my libegl* stuff and it never came back... [17:46] mir fixes, ww_mutex changes, dpm support [17:46] kgunn, then my laptop died :(... [17:46] maybe uvd fixes [17:46] awesome [17:47] that was the response i got for kernel changes that might've effected this [17:47] well IIRC it was thought to be a deadlock right? [17:47] or a race for this ATI problem? [17:49] back on DPMS mode :) [17:49] phone almost upgraded [17:49] racarr: so did 19.2 work for you ? [17:50] bschaefer: well...deadlock only occured when they tried subsequent start of x after the compiz stall on gl load [17:50] bschaefer: so the 1st symptom was always failure to load gl from compiz (even tho mir was fine) [17:51] kgunn, oo interesting, well when tvoss|afk gets back I can play around on the machine again to try and get the issue or dig some more into it [17:51] kgunn: It's installing mir ppa [17:51] it takes me 5-6 minutes to run apt-get update alone :( [17:51] phablet is so slo on my wireless [17:51] racarr: 19.2 always gives black screen here, but aug 5th works fine, will test some other images [17:51] doesn't crash, but gets a black screen [17:51] racarr: rsalveti ....ok, i tried earlier, got black screen....just reflashed and _only_ installed the mir ppa (e.g. didn;t do a dist-upgrade rather install 1by1) [17:51] and still got a black screen [17:52] Wait then why am I trying [17:52] because isnt this hat I did [17:52] yesterday [17:52] right, I first thought the issue was related with the crash that happens sometimes [17:52] no [17:52] the crash just happens XD [17:52] hahah, right [17:52] I think it's different [17:52] rsalveti: Ok so yesterday [17:52] let me try to isolate the black screen then [17:52] I started from a working image [17:52] july 26th [17:52] and started upgrading packages in groups of 10 [17:52] rsalveti: also...for racarr's sanity....didn't you see unity boot (no black screen) when apparmor=0 ? [17:52] a few times I saw the crash, but reboot always fixed it and it orks multiple times over [17:52] eventually I ully ugpraded [17:52] or was that just a red herring [17:53] and it worked too! [17:53] apparmor=0 doesn't have any effect here [17:53] Never had any effect here either:( [17:53] rsalveti: thanks...i'll stop saying that then :) [17:53] rsalveti: Anyay what this means (i.e. if someone can confirm that upgrading uly 26th works while installing the latest image fails) [17:53] racarr: right, will try with some other images here, if it's android related I should be able to see what changed easily [17:53] then we can narrow it down to things in the image process [17:53] great [17:53] I was wondering if it could have to do [17:53] didn't the images change [17:53] racarr: just tested from aug 5th, and worked fine [17:53] to multiuser [17:53] but didn't dist-upgrade [17:53] let me do that now [17:53] will download 100mb =\ [17:54] tested what? [17:54] i.e. mir/unity, etc all run fine (from which source) [17:54] image from aug5th [17:54] on august 5th image? [17:54] yup [17:54] the mir image? or [17:54] image + mir ppa or whatever [17:54] what* [17:54] default image, and default mir from ppa (just testing the egltriangle client example)_ [17:54] for now [17:54] which is already enough to reproduce the black screen issue [17:54] sorry, default mir from archive [17:55] let me dist-upgrade now to check [17:55] rsalveti: you sure about that?...i thot racarr was getting black screen , but then could subsequently run mir demo client fine [17:55] racarr: ^ ? [17:55] lol, so many issues at the same time it seems :-) [17:56] but I'm getting black screen with mir_demo_client_egltriangle [17:56] :)~ [17:57] Yes I can run the client [17:57] fine [17:57] and it reports getting FPS, etc [17:57] (frequently it gets stuck at half FPS though not always) [17:57] but there is never anything on the screen [17:57] then why the hell even the client is getting a black screen here [17:57] rsalveti: No, black screen [17:57] showing fps and such, but black screen [17:57] it ust reports working [17:57] yes [17:57] right [17:57] then it's the same behavior here [17:57] On any image where I have ever seen that [17:58] I have never seen [17:58] anything on screen from mir :) [17:58] but occasionally have seen the crash [17:58] on any image where I have seen things on screen from mir [17:58] I have also occasionally seen the crash [17:58] but never seen [17:58] just black screen [17:58] so I think it's really just two issues [17:58] right [17:58] the crash is something that should be fixed once I fix the udev/ueventd races [17:59] now we need to isolate this black screen one, got quite a few images to test here [17:59] after doing dist-upgrade [17:59] ok makes sense that the crash is a race [18:00] im glad you hve the images :) [18:00] 19.2 is still broken for me [18:00] ust for the record [18:01] ok, should have enough to keep me busy for the next hour [18:01] Ok. Let me know if I can help [18:01] rsalveti: let me know if i can be of help as well.... [18:01] sure [18:02] kgunn: I am considering that maybe I should try and land dpms with the ineffeciency that I was talking about yesterday [18:02] because it will be easy to fix after FF [18:02] i'm not the fastest....but i follow instructions well [18:02] racarr: yes [18:02] agreed... [18:08] racarr: worked fine after dist-upgrade [18:08] now to try some other images [18:10] So sstrange [18:10] its going to be something awfully small in the end haha [18:12] could be on the android side [18:12] like the migration to 4.2.2 [18:14] oh didnt realize that happened [18:16] but the interesting thing is that the binaries we were using were already from 4.2.2 [18:19] so strange :/ [18:21] yeah, image from 07 already gives me a black screen [18:21] now let me revert the android side [18:23] yeah, just flashing the android zip from 05 made 07 to work again [18:24] so the different is on the android side, will investigate that a bit more [18:25] Aha! close [18:26] * rsalveti takes a break, late lunch [18:26] :) enoy [18:52] Lunch for me === racarr is now known as racarr|lunch [19:01] racarr, ping [19:19] rsalveti: so 07 vs 05...that's android config as of August 7 and August 5 respectively ? [19:19] kgunn: yes [19:20] august 5 was still based on 4.2.1, >= august 6 is based on 4.2.2 [19:20] rsalveti: got it... === chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === racarr|lunch is now known as racarr [19:46] hoops back [19:46] whoops* [19:52] tvoss_: pong [20:12] morning [20:17] dpms is almost done :) [20:18] all done except the GBM impl hich looks really simple [20:18] im a little concerned about backlight control [20:24] if (drmIoctl(sna->kgem.fd, DRM_IOCTL_MODE_GETPROPERTY, &prop)) [20:24] drm API is a pain to mock [20:25] not sure how to mock the [20:25] DPMS property index id integer:p [20:34] racarr: ok, so the change is part of the updated display stack for qcom (for 4.2.2) [20:34] reverted it and was able to get that to work with the latest image, now to find out the right commit :-) [20:43] rsalveti: can you share the android git tree & relative history (if easily at hand) [20:43] rsalveti: just curious...i mean, we're likely going to have to update to "new android stack model" [20:43] would be my guess [20:43] rsalveti: p.s. thanks for the bisecting help [20:46] rsalveti: Great to hear :) [20:48] kgunn: http://phablet.ubuntu.com/gitweb?p=CyanogenMod/android_hardware_qcom_display.git;a=summary [20:48] this is what I reverted, basically [20:48] from the phablet-saucy branch to phablet-10.1 [20:49] now will try to bisect in more details [20:53] Implemented durning off the display but turning it back on [20:53] is having some issues [21:32] revno: 982 [merge] [21:32] what does this do [21:32] or is it just refactoring [21:32] it breaks unity 8 [21:33] and the easy answer is revert it :p [21:42] ...lol at xf86-video-modesetting [21:43] /* bonghits in the randr 1.2 - uses dpms to disable crtc - bad buzz */ [21:43] if (mode == DPMSModeOff) { [21:43] } [21:43] ...bad buzz indeed. [21:44] anyone else getting this error with only this mir demo: http://paste.ubuntu.com/6008072/ [21:44] the multiwin, it seems when ever I try to do any kind of "get mir region" it fails :( [21:45] bschaefer: THERE ARE NO MORE B UGS LALALALALALALALA [21:45] No I have not seen that [21:45] racarr, :) [21:45] haha [21:45] and actually just built and tested trunk like 30 seconds ago [21:45] on radeon [21:45] my distribution [21:45] is not entirely up to date [21:45] racarr, yeah im on ati...maybe I should update mir [21:45] * bschaefer goes to rebuild trunk [21:46] all other demos work though :) [21:50] robotfuel, ack on the bypass testing - that seems to be the same behaviour others are getting. duflu has made some more changes so I'll update the PPA now [21:58] * bschaefer notices the nice grey background of the mir server now [22:00] racarr, stack trace if you're interested: http://paste.ubuntu.com/6008119/ [22:02] full trace: http://paste.ubuntu.com/6008126/ [22:02] racarr, i also just realized was getting that cursor problem as well that I commented out... [22:03] as im not even able to load the server without it complaining about the gbm not able to open ... [22:03] * bschaefer goes to try that out again [22:08] ill check it out soon [22:08] second lunch :p [22:08] yuup getting that gbm cursor error just when trying to start the mir server on normal X... http://paste.ubuntu.com/6008137/ [22:08] racarr, :), well I really should ping RAOF about it [22:08] as IIRC the fix the u-s-c was to disable input but this was only for u-s-c, not the mir server... [22:09] No I get RAOF [22:09] :p ok maybe I can figure out my dpms thing myself [22:10] and you can hve RAOF [22:10] racarr, haha, well yours is a bit more important :) [22:10] i think my issue is only on a few ATI cards... [22:11] racarr, i can also bug him tomorrow about it [22:11] ok ill give you RAOF for [22:11] 1 bitcoin [22:11] insted [22:11] haha [22:11] :p haha sorry im just teasing [22:11] dont orry about it [22:11] * bschaefer doesn't have any bitcoins [22:11] I probably cant look hard at this right aay though, need to poke at [22:11] DPMS a little [22:11] should be super close [22:11] haha me either [22:12] cool, i don't actually know what DPMS is [22:12] sounds like a long word though [22:13] rsalveti: so what's the current thot....should you simply revert that one commit to unblock ? or what's your recommendation ? [22:13] Display Power Management Signaling? Eww... [22:13] kgunn: there's not single commit to revert yet, still looking [22:13] rsalveti: got it...i'll try to be patient [22:13] haha :-) [22:15] rsalveti: i get a lot of questions about it....as you can imagine :) [22:15] yup, no worries [22:26] bschaefer: Its pretty ew [22:26] so ar I can turn the display off [22:26] but then never back on :p [22:26] haha, well who needs a working display anyway! [22:27] then I tried looking in xf86-video-modesetting for examples [22:27] hich is where [22:27] 21:44 < racarr> /* bonghits in the randr 1.2 - uses dpms to disable crtc - bad buzz */ [22:27] comes from [22:27] lol [22:27] hahaha [22:59] RAOF: Around? [23:08] racarr: Yo! [23:10] RAOF: Was hoping you might have some insight on my DPMS difficulties [23:10] essentially, I am setting the DPMS property on the connector [23:10] Sure. Let's see if I've drunk from that particular fountain of madness. [23:11] with the DPMS mode, and DPMSModeOff works kind of as you ould expect [23:11] the display turns off [23:11] unforunately I can't verify hat happens next because [23:11] I can never turn the display back on [23:11] Heh. [23:11] and if I write mir_demo_server to [23:11] some output the file ends up empty [23:11] I guess I can use a second machine to [23:12] get that but [23:12] lol I guess I am just wondering if there is anything off the top of your head [23:12] that should obviously have to be done as well, etc [23:12] maybe I can use xset dpms force on [23:12] to recover [23:13] I think possibly the answer might be "don't bother trying to use the dpms properties; just modeset a null fb"? [23:14] racarr: That's what the intel driver does, at least. [23:15] DPMSOff == SET_CRTC to 0; DPMSOn == set_mode_major (ie: full modeset) [23:18] racarr: This is different to just removing the display from the DisplayConfig because the display is still logically connected (and so you can put windows on it, we probably still have its DisplayBuffers allocated, etc). But as far as KMS is concerned, just remove it from the config. [23:18] he intel driver also sets the property [23:18] the modesetting driver ignores the crt and just messes ith the property [23:18] complaining of "bonghits in the randr" [23:20] Ill try ith the crtc...and make sure I redo things properly on ModeON [23:22] Ah, right. You might want to set the DPMS property in addition to doing the modeset to turn off/on the backlight. [23:22] (Which we might have to do manually anyway) [23:22] sounds promising [23:22] yes backlight [23:22] is a mild concern [23:23] intel driver seems to do special things [23:23] Yeah, backlight is a swamp of madness. [23:24] attempts test again...*crosses fingers* [23:24] Because it's all ‘as an OEM I can add value by having a different backlight interface!’ [23:24] (Spoiler: no, you can't) [23:27] Hm. So XMir XRandR appears to work, except for the bit where Mir actually changes any modes. [23:32] Doo doo :( [23:32] also that doesnt sound great [23:36] RAOF, hey, guess what happens when I try to start the mir server on my ATI machine? http://paste.ubuntu.com/6008137/ [23:36] bschaefer: What ATI card do you have, again? [23:37] VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Redwood XT [Radeon HD 5670/5690/5730] [23:37] 5670 [23:37] is the one I have [23:38] and if i comment out the creation of the cursor it works fine until I try to do software renderering (multiwin example) [23:38] everything else works if I comment that out... [23:38] (comment out the creation of the cursor) [23:40] Right. This suggests that we're failing to allocate software-renderable gbm buffers. [23:40] right, which this is what I get when I run the mutli win when I turn the cursor off: http://paste.ubuntu.com/6008119/ [23:41] Does the server also die? [23:41] Or spew any error messages? [23:41] well right from my perspective of it not working :) [23:41] RAOF, nope, it just fails to run the application and it dies [23:41] it spews out: [23:41] terminate called after throwing an instance of 'boost::exception_detail::clone_impl >' [23:41] what(): Failed to import PRIME fd for DRM buffer [23:43] also this is me running mir natively on normal X [23:45] By "on normal X" you mean "With an X server running on another VT", right? [23:46] RAOF, hmm normal X meaning i've turned off xmir [23:46] hey...anyone got phoronix installed running standalone x (not xmir)....updated like today...want to give it a shot [23:46] but yes [23:47] specifically openarena [23:47] kgunn, i don't have phronoix installed but I can install it [23:47] and im on standalone x [23:47] its pretty dead easy [23:48] yeah, it just take a while to download the games :( [23:48] i just ran it on a recent update and it was ~10fps [23:48] RAOF, i can try to take a better look into it since I can reproduce it well [23:49] well at lease figure out what function is failing... [23:49] kgunn, im also on ati [23:50] bschaefer: To debug you'd want to stick a breakpoint in gbm_dri_bo_create, matching width == 64 and height == 64. [23:51] RAOF, to match the size of the cursor? [23:51] RAOF, and ill give that a try after running this phoronix test [23:51] bschaefer: Correct. That way you won't catch the other allocations [23:51] o cool, but it seems to be the the only one, as commenting out the creation of the cursor and the server works [23:52] all egl apps work fine on it [23:55] bschaefer: that's cool...its a good data point [23:55] kgunn, cool, just downloading openarea...then it should run! [23:56] bschaefer: Yeah; all those other allocations will succeed, so they're uninteresting. That's why you should ‘break gbm_dri_bo_create if ((width == 64) && (height == 64))” ☺ [23:57] ooo i see, I was thinking all gbm buffer calls were failing, because running the example mulitwin was having problems getting a mir region [23:57] which seemed related... [23:57] thanks! [23:58] I'd suspect it's just calls with GBM_BO_USE_WRITE set [23:59] Which the cursor will have, but also any buffer we allocate for software rendering. [23:59] And it's easier to catch the cursor :)