[00:05] RAOF: I'll add a apt-get install -f, this is what it's doing https://bazaar.launchpad.net/~chris.gagnon/+junk/mir-medium-test-runner-for-jenkins/view/head:/mir_install_packages.sh [00:06] Aah. [00:07] I think you'll be able to remove the “for DEB in ...” loop. [00:07] That appears to be there to resolve package dependencies, yes? [00:07] RAOF: yes [00:08] Yeah. Just running “apt-get -f install” after the dpkg run should do it, and will pick up newly-added dependencies to boot. [00:18] RAOF: testing an update now. [00:30] it looks like I need to use || true on the dpkg -i part, it doesn't continue to the apt-get -f install. [00:35] Ah, yeah. That's right. [00:39] rsalveti, probably too late to get a jump on the hwc 1.2 task today, but did that 4.4 image ever become available? [01:42] Woot. [01:42] Rootless working, finally. [01:46] Woo === duflu_ is now known as duflu [01:48] Although for values of *working* that don't include non-origin window positioning or resizing. [01:48] Or, really, any window management. [01:48] Obivously. [01:56] To the Shellinator! === chihchun_afk is now known as chihchun [02:04] RAOF: Yeah I already knew what it can't yet do. But still, cool! [02:11] Oh, this is why Mir has to spawn the X server... === chihchun is now known as chihchun_afk [02:42] RAOF: the depends has been fixed on mako [03:00] RAOF: The non-origin input issues are filed under: https://bugs.launchpad.net/mir/+bugs?field.tag=input [03:01] robotfuel: Thanks muchly! === chihchun_afk is now known as chihchun [03:25] kdub: sorry, was having dinner while the image was being uploaded [03:26] got a quite slow upload channel, but got the images at http://people.canonical.com/~rsalveti/aosp/ [03:27] you need to flash root, system, boot into recovery, and flash http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/pending/trusty-preinstalled-touch-armhf.zip [04:24] duflu: For bug 1212753, it may be "related" to bug 1173649. Had that problem myself, but didn't change xorg.conf on the live system to test it (causes other issues as well, so did on installed system.) [04:24] bug 1212753 in mir (Ubuntu) "[i865] unity-system-compositor fails to start: Failed to choose ARGB EGL config" [High,Triaged] https://launchpad.net/bugs/1212753 [04:24] bug 1173649 in xserver-xorg-video-intel (Ubuntu) "incorrect color depth - intel graphics card" [Undecided,Opinion] https://launchpad.net/bugs/1173649 [04:35] DalekSec: When I tested an i810 (Pentium 3) system I noticed the same, Very interesting that you say being limited to 16-bit colour is a bug [04:35] It might be coming from the kernel in that case [04:37] While I didn't say it was a bug, it's not a good default as it causes other programs to have issues. It's not being set to 15 from the kernel, it's in the intel driver. (As stated by the dev in the report.) [04:39] (I have a P4 with integrated.) [04:46] DalekSec: My point was that we see common behavior between Mir and X, and their closest common factor is the kernel [04:46] (intel driver) [04:46] Ah, right. [05:30] Heh. ickly is being profoundly helpful as usual... https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1173649/comments/44 [05:30] Ubuntu bug 1173649 in xserver-xorg-video-intel (Ubuntu) "incorrect color depth - intel graphics card" [Undecided,Opinion] [05:31] *ickle [06:06] Welcome to summer :) [07:45] duflu: so, to promote 0.1.4 dev to trusty, just need to tag the latest rev & then mp dev branch to trusty... [07:46] noticed we slightly changed...right? now we rely on the tag [07:47] oh...already tagged i see [07:55] kgunn: Correct. The tag is right [07:57] I thought greyback et al might be keen to get the flicker/snapshot fix [07:58] duflu: yep, we were [07:58] were? are? :) [07:58] nah, not any more :P [07:59] Oh well. 0.1.4 was plenty big enough to justify a release anyway. And we were 3.5 weeks past v0.1.3 [08:00] * greyback saw the client RPC mechanism land, was happy [08:03] * duflu recalls willfully staying out of that discussion, so glad he ignored the MP come to think of it [08:06] duflu: whats your opinion on having background color a part of the scene and giving it to begin vs GLRenderer having a color in the constructor [08:06] anpok: I'm not sure it fits in the mir concept of Scene. Your current design I think is cleaner [08:07] It's a good stepping stone toward "how do we do custom GL in a bespoke shell?" [08:12] when i first started the change there was no begin/end in renderer but a clear instead.. [08:12] so set_clear_color made some sense [08:13] anpok: Good point. I did intend for custom shells (like demo shell) to modify begin() in that case [08:13] Perhaps to inherit from GLRenderer and change it [08:13] so it looks a bit wierder now - and I wonder if moving to the GLRenderer constructor, and hence doing it udner the hood would be better [08:13] or that [08:14] duflu: I will change it to a struct .. but [08:14] just made a test .. the tuple emits less binary size than the struct [08:14] anpok: That's unusual, but still worth a struct [08:15] the difference is hard to notice, but the code looks of course better. [08:16] I nearly did it in the first place but felt bad about it since I had the feeling to provide more to it, to have a reason for adding a distinct structure... [08:17] typedefs can serve as documentation :) [08:18] is the opengl spec defining a default clear color? [08:19] anpok: Yes, but that includes alpha==0 (http://www.khronos.org/opengles/sdk/docs/man/) [08:20] I mean... http://www.khronos.org/opengles/sdk/docs/man/xhtml/glClearColor.xml [08:20] Whee, rotated displays minus distortion [08:21] Plus too many dependent branches [08:22] hm hardest problem is always coming up with a name [08:22] Fred [08:22] Bob [08:22] Gertrude [08:27] speeking of that, my wife came up with names for our kids === chihchun is now known as chihchun_afk [08:29] * anpok is just listening to http://channel9.msdn.com/Events/GoingNative/2013/Inheritance-Is-The-Base-Class-of-Evil [08:35] * duflu downloads it for later [08:36] that person gave a longer talk on the first day, much longer [08:36] and that one contains the motivation for that one.. [08:37] .. next to other nice examples: http://channel9.msdn.com/Events/GoingNative/2013/Cpp-Seasoning === chihchun_afk is now known as chihchun [09:02] duflu: i feel stupid (no mgr jokes please :)...but shouldn't there be a way to propose this [09:02] https://code.launchpad.net/~mir-team/mir/version-0.1.4/+merge/201134 [09:02] via launchpad button to trusty [09:03] kgunn: https://code.launchpad.net/~mir-team/mir/version-0.1.4/+register-merge [09:03] kgunn: Not sure if it will work though. Usually we merge dev into a child of lp:mir and then propose that [09:03] duflu: thanks...dammit...just one level down [09:03] duflu: ah... [09:03] ok will do [09:04] Well merge dev (-rv0.1.4) [09:04] duflu: exactly... [09:04] has to the ver you tagged [09:35] \o/ - talk accepted! http://accu.org/index.php/conferences/accu_conference_2014/accu2014_sessions#c_best_practice_-_designing_header_files [09:38] congratulations [09:40] duflu: fyi...https://code.launchpad.net/~mir-team/mir/promote-ver-0.1.4/+merge/201560 [09:49] kgunn: OK, but instead of reviewing I'm running off to dinner :) [09:50] duflu: enjoy....is happy birthday in order ? [09:50] kgunn: Thanks but I'd rather avoid the thought [09:51] heh [10:21] alan_g: Congratulations! Is this talk related to an article of a similar name you have written (I think it was in overload?)? [10:22] alf_: yes, that is the core [10:29] alan_g: hey, saw the TODO you had in your 2013 slides yesterday in code - when doing the other review - and thought about it.. [10:30] with the compile time trie.. [10:30] anpok: I've been resisting that temptation a long time now. It isn't a worthwhile optimisation. [10:33] yeah it is more of an intersting riddle to solve with new c++ features than anything you notice as an improvement afterwards [10:33] apart from one TODO less. [10:33] If you want something worthwhile, figure out why duflu added code to stop & start the compositor to unity-mir/DBusScreen::setScreenPowerMode() and do something less brutal. (c.f. https://code.launchpad.net/~kdub/mir/compositor-double-start-stop/+merge/201242) [10:39] kgunn: hey! [10:39] kgunn: we are about to start our "self service" release piloting by end of week, I wonder if the new Mir release will be a nice opportunity for that [10:45] alan_g: where did you see the change in unity-mir? [10:45] That could be a good test of the process, as there are ABI breaks to handle [10:46] anpok: bzr blame src/unity-mir/dbusscreen.cpp [10:46] ah not a new change [10:47] thought you were referring to new branch for unity-mir [10:48] anpok: sorry no, a bit of lp archaeology called for [10:48] sil2100: +1 [10:48] sil2100: and there is a client ABI break, so needs new xorg [10:48] can it be hooked up to xorg 1.15? :P [10:49] kgunn: I guess you forgot the xmir changes ^ [10:49] mlankhorst: it can if we go with the silo approach [10:49] and if timelines matches [10:49] well expecting it in 2 weeks [10:49] ah, I think they will want it first though [10:50] mlankhorst: I guess it's just a rebuild anyway, but let's see with them [10:54] oh in that case just rebuild [11:04] RAOF: ping [11:04] alan_g: hm yes duflu considered letting the display trigger the compositor to stop and start again [11:05] RAOF: are you going to release xserver-xorg-video-ati ubuntu11 at some point? :P [11:05] but according to the bug ticket comments there was no decision and the fix was to add compositor stop / start on power mode changes [11:06] https://bugs.launchpad.net/ubuntu/+source/unity-mir/+bug/1255045/comments/18 [11:06] Ubuntu bug 1255045 in unity-mir (Ubuntu) "screen does not turn on on maguro when pressing the power button" [High,Fix released] [11:08] anpok: I suspect our current problem is manifested if the power mode is set but isn't changing. [11:08] yes [11:08] powerd probably sending multiple ons [11:08] or whatever also chats about power modes [11:08] but doing more state tracking on unity-mir does not feel right [11:10] hm but for display configurations it already tracks wheter it would change the configuration [11:14] unity-mir is stateful already, so that doesn't bother me [11:14] but It seems extreme to be stopping the compositor [11:15] Especially as, in principle, there could be outputs powered independently [11:17] is there a compositor instance per output? [11:17] alf_: can you think of a more elegant approach to bug 1255045 than stop/start of the compositor? ^^ [11:17] bug 1255045 in unity-mir (Ubuntu) "screen does not turn on on maguro when pressing the power button" [High,Fix released] https://launchpad.net/bugs/1255045 [11:17] or is there one compositor for all? [11:18] ok [11:18] one compositor to rule all the compositing threads [11:19] (Which are currently serialized because of a broken model) [11:19] note that there is also https://code.launchpad.net/~mterry/unity-system-compositor/dbus-screen-fix/+merge/201211 [11:20] (for nested mode, i just tested it on maguro) [11:21] ogra_: thanks for the warning [11:22] alan_g: At the moment configure() recreates the DisplayBuffers, so the compositor needs to be stopped and restarted to read the new ones [11:22] i actually think the hack from the session mir should be dropped for this, i doubt we will use it without u-s-c in the future [11:22] (feels like duplication to leave it in place) [11:23] alan_g: so when changing just the power state we could retain the current displaybuffers => not start stop needed [11:24] alf_: do we need to inject some sort of screen-changed-please-redraw? [11:26] alf_: so displayConfig->configure_output(..) => displayConfig->power_mode(newPowerMode) [11:26] anpok: we shouldn't need it if we don't discard the buffer [11:27] which we do now because the buffers are recreated because the config change.. ok [11:28] alan_g: or more logic in configure_output to detect changes that just boil down to power changes? [11:29] alan_g: anpok: right, the work happens in Display::configure(), the DisplayConfiguration is just a container of information [11:30] Ah yes. [11:30] So display->power_mode(newPowerMode) [11:31] didrocks: thanks for the catch... [11:32] alan_g: alf_: but on android it does not seem to do more right now - it actually just checks for power mode changes [11:33] anpok: on Mesa it doesn't though... [11:33] alan_g: anpok: Alternatively we could continue with start/stop, but hiding it from unity-mir. For example unity-mir could use the DisplayChanger class (or similar) [11:34] alf_: +1 for hiding it from unity-mir and USC [11:36] alan_g: you refered to as broken because it create a thread for each display that then just sits and waits of a trigger, instead of using the pool we already have from asio.. [11:37] alf_: you display conf change AND DisplayChanger? or something new? [11:37] +mean [11:37] anpok: actually I was referring to the "lock the world, paint an output, unlock the world" bottleneck [11:38] alan_g: anpok: so unity-mir could use an interface like PowerManager (yes, we can probably find a better name) which is implemented by injecting code to {stop() configure() start()} into our main loop [11:42] alf_: why arent we doing that also for display configuration changes? === anpok is now known as anpok|lunch [11:42] i mean the existing DisplayConfiguration::configure_output somethig [11:43] kgunn: On Nexus 10, glCopyTexSubImage2D is for some reason too slow when copying to a texture backed by an EGLImage. Interestingly it's fast when the texture is not backed by an EGLImage. I am looking into/measuring alternatives, like rendering to a texture (backed by the buffer we want to send to the client) first and rendering that to the screen, when we need to take a screenshot [11:44] anpok|lunch: I don't understand what you mean === chihchun is now known as chihchun_afk [11:52] kgunn: ideally we would want to use multiple render targets (drawing to multiple buffers at once), but that's not supported in ES 2.0 [11:53] alf_: right [11:54] alf_: wonder if just a dma memcpy would be faster than farting around with glteximage calls [11:57] kgunn: Which API allows us to do that with GPU buffer data? [11:57] kgunn: does Android have something for this? [11:58] alf_: if its system memory it shouldn't matter that it also happens to be mapped into for gpu use [11:59] should it ? [12:00] kgunn: no, but that's true only for unified memory systems [12:00] alf_: right...i am making assumptions [12:01] i thot everything after old n7 was unified [12:01] kgunn: you are forgetting the desktop case ;) [12:02] kgunn: however it's not a bad assumption to make and that's the other alternative I was considering: doing it differently on android vs mesa (i.e. not depending necessarily on GL) [12:03] alf_:yeah...on desktop cpu is fast enough [12:03] alf_: and i think in general glteximage khronos spec iirc has some [12:04] kgunn: (but I need to wait for kdub to discuss what android offers us in terms of buffer copying) [12:04] aspects to it, where it has to do some weird backstore preservation stuff [12:04] that you're simply not interested in [12:05] but...its part of the spec...and just slows it down [12:12] kgunn: @preservation, that gave me an idea... === alan_g is now known as alan_g|afk === anpok|lunch is now known as anpok === alan_g|afk is now known as alan_g === dandrader is now known as dandrader|lunch === dandrader|lunch is now known as dandrader === alan_g is now known as alan_g|tea === alan_g|tea is now known as alan_g === dandrader is now known as dandrader|afk === dandrader|afk is now known as dandrader === tvoss is now known as tvoss|test === tvoss is now known as tvoss|test === tvoss|test is now known as tvoss === alan_g is now known as alan_g|EOD [20:37] kdub: were you able to flash 4.4? [20:42] rsalveti, i flashed it, didnt get the wifi to work though. [20:42] is that expected? [20:50] kdub: did you also flash the radio? [20:51] i flashed CM11, and then flashed system, recovery, ubuntu touch, boot [20:51] i got a could-not-access on the .img's in the link you sent [20:54] kdub: weird, maybe an image was being uploaded when you tried [20:54] kdub: I don't think CM11 would flash the radio [20:54] kdub: flash the bootloader & radio as I said on my email, and try again [20:55] okay [20:55] let me check the permission again [20:55] ah, its working now [20:55] kdub: indeed, you should be able to access them now [20:56] okay, ill let you know how it goes shortly [21:03] kdub: great [21:24] rsalveti, still having radio/wifi problems, will reflash [21:27] kdub: weird, ok [21:42] rsalveti, i got (from clockworkmod) 'root access missing', with a yes/no to obtain root, but other than that, nothing out of the ordinary [21:43] rsalveti, worked this time flashing though [21:43] i fastboot formatted a few partitions [21:43] kdub: yeah, you can ignore that, need to get that fixed [21:43] got it [21:43] yeah, I flashed the 4.4.2 factory image before flashing our image [21:44] that also erases everything [21:45] rsalveti, at any rate, have the image working, so starting to get mir to run, thanks [21:46] kdub: great [22:22] mlankhorst: That would be a reasonable plan, wouldn't it :) [22:23] mlankhorst: Got a bug reference for it? [22:27] RAOF: no, was just curious [22:27] But you're right, I should release it now :)