/srv/irclogs.ubuntu.com/2014/06/12/#ubuntu-mir.txt

RAOFHuh. Do we really not have a server report that includes the message IDs?03:13
=== Saviq is now known as Saviq|QtCS
alf_alan_g: anpok_: Do you prefer manually merging branches until the clang issue is fixed, or do you want to force g++-4.8? I prefer (1) if we can get a reasonable ETA on the fix (a couple of days max).10:26
alan_galf_: I (mildly) prefer disabling the clang build10:27
alf_alan_g: even better, too bad we can't just do it ourselves :/10:29
alf_alan_g: anpok_: From what I understand from ubuntu-ci-eng discussions, the gcc-4.9 update has been reverted10:54
alan_galf_: shall I kick off an affected build to see what happens?10:54
* alan_g has a link handy10:55
alf_alan_g: sure10:55
alan_gdone - should know in 20min10:55
alf_alan_g: anpok_: to be exact, the update making gcc-4.9 the default has been reverted, gcc-4.9 packages are still there10:56
alan_g(Unless it fails faster)10:56
alf_alan_g: which MP did you trigger?10:58
alan_galf_: Just http://s-jenkins.ubuntu-ci:8080/job/mir-clang-utopic-amd64-build/531/console10:58
alf_alan_g: the CI environment is still broken...11:02
alan_g/o\11:03
* alan_g starts to think fondly of a former "life" where he "owned" the CI environment11:04
alan_galf_: I (mildly) prefer disabling the clang build - I wonder if fginther is about yet11:05
alf_fginther: ^^11:06
=== pete-woods is now known as pete-woods-lunch
anpok_hm isnt there a way to override the clangs header picking behavior11:22
anpok_-the11:22
anpok_maybe we can force clang to pick the 4.8 folder11:22
alan_ganpok_: maybe - but how much time should go on that?11:28
anpok_ we would have to add -I /usr/include/c++/4.8 --gcc-toolchain=/usr/lib/gcc/`uname -m`/4.8 to the clang command line - provided that 4.8 is still available on the ci builder11:36
anpok_+-linux-gnu11:37
=== ara is now known as Guest77001
anpok_hm the clang packages from llvm.org dont have that issue anymore11:43
alf_anpok_: This has been fixed in the debian packages, but they haven't been pulled in the ubuntu archive yet11:43
=== alan_g is now known as alan_g|lunch
=== pete-woods-lunch is now known as pete-woods
fgintheralan_g|lunch, alf_, morning13:06
alf_fginther: Hi! Due to recent clang breakage, all our CI jobs are failing. I think that things have been fixed in the archive (by making g++-4.8 the default again, instead of 4.9), but the CI environment is still broken.13:08
alf_fginther: We would like to either fix/update the CI environment (preferred), or if this is not feasible for the near future then temporarily disable the clang jobs for mir-ci and autolanding13:10
fgintheralf_, I'll have to see what's required to fix it. After a skim of the latest logs, I have no idea what's broken to know what to fix.13:17
=== alan_g|lunch is now known as alan_g
alf_fginther: How is the build environment for CI updated? We need to ensure we have the latest package versions from archive (in particular for the package gcc-defaults)13:20
alf_fginther: (source package 'gcc-defaults')13:20
fgintheralf_, they are pbuilder chroots updated with 'pbuilder update'13:28
alf_fginther: ok, I think that just updating the chroots should be enough to fix this13:29
fgintheralf_, ack, I'll kick of an update now13:29
alf_fginther: thanks13:29
alf_fginther: please let us know when it is done, so we can trigger a couple of builds to see if the clang ci jobs are fixed13:30
fgintheralf_, the update is complete and there appears to be a build in progress15:03
alan_gfginther: which failed: CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:54 (message):15:05
alan_g  The C++ compiler "/usr/bin/clang++" is not able to compile a simple test15:05
alf_fginther: alan_g: I have triggered a new one, now that we are sure that the update is done15:05
alan_galf_: fginther that failed too15:19
fginther:-(15:27
fgintheralan_g, alf_, I manually check to see what gcc packages are in that chroot, maybe that got dropped somehow when the archive changed the default15:28
=== Saviq|QtCS is now known as Saviq
fgintheralan_g, alf_, the chroot has both gcc-4.8 and gcc-4.9, the gcc package version is 4:4.9.0-3ubuntu5. gcc -v reports "gcc version 4.8.3 (Ubuntu 4.8.3-3ubuntu1)"15:45
kgunnseb128: hey there, so AlbertA has some changes coming wrt screen blanking...which will also likely be a proxy for screen brightness as well...would you be the person to15:49
kgunntalk to about having settings properly pick up15:50
kgunnany brightness settings ?15:50
seb128kgunn, hey, setting got transferred to bfiller's team, jgdx would probably be the right person to talk to15:51
kgunnseb128: thanks!15:51
seb128kgunn, but iirc we only use the powerd dbus interface there, so there might be nothing to change on the settings side15:51
seb128kgunn, yw15:51
kgunnAlbertA: jgdx is in #ubuntu-touch15:52
AlbertAthanks15:53
seb128#ubuntu-touch is the right channel to use anyway15:53
seb128Laney, I and some other probably still know that code better, the project just got moved15:53
seb128so we can also reply/comment on the channel15:53
alf_fginther: alan_g: trying a chroot locally to try to figure out wth is going on15:55
kdub_AlbertA, are those screen-blanking changes mir-level or powerd?15:59
AlbertAkdub_: USC and powerd15:59
AlbertAUSC will now handle inactivity tracking, which makes it have to handle brightness (dim, bright, off)16:00
kdub_AlbertA, cool, makes sense16:00
AlbertAthis is to avoid having powerd also instantiate an android input parser thread16:00
AlbertAand because USC handles display power state changes it just makes more sense for it to be there16:00
=== bschaefer_ is now known as bschaefer
alf_fginther: alan_g: Can't reproduce problem locally with utopic chroot.16:09
alf_fginther: alan_g: Is it possible to recreate the chroot from scratch instead of updating it?16:09
fgintheralf_, can you do a "dpkg --list|grep gcc"?16:09
fgintheralf_, this is what I have: http://paste.ubuntu.com/7634385/16:10
fgintheralf_, it should be possible to recreate16:10
alf_fginther: http://paste.ubuntu.com/7634390/ (see also stdc++ libs)16:11
alf_fginther: can you also paste your stdc++ libs?16:11
fgintheralf_, http://paste.ubuntu.com/7634395/16:12
alf_fginther: kinnara has a fuller gcc 4.9 installation than my chroot. Perhaps the updates don't work so well if you already have 4.9...16:14
alf_fginther: I would propose either a clean chroot, or perhaps trying to remove the 4.9 packages manually16:15
alf_fginther: (clean chroot seems safer)16:15
fgintheralf_, I'll work on recreating the chroot toady16:22
alf_fginther: thanks16:22
* kdub_ renames surfaceflinger spaghettiflinger16:22
DonkeyHotei[Wed 2014-06-11 07:35:19 AM PDT] <alf_> DonkeyHotei: We are working on using software GL rendering through Mesa/llvmpipe if no HW accel is available16:30
DonkeyHotei[Wed 2014-06-11 07:36:47 AM PDT] <DonkeyHotei> alf_: how soon?16:30
alf_DonkeyHotei: 'anpok_' is working on it, so he is better suited to answer the question16:31
alf_anpok_: ^^16:31
* kdub_ is interested in how that will look in the code too16:33
kdub_and also if android can make use of it16:34
=== alan_g is now known as alan_g|EOD
anpok_DonkeyHotei: next task17:12
anpok_i think we cannot do much about unity8 using glesv217:13
anpok_DonkeyHotei: resurrected old hardware today.. will see why egl fails to come up there17:14
kdub_anpok_, with that llvm stuff, are you intending it to be a different platform? a feature of the mesa platform?17:34
=== jono is now known as Guest93557
AlbertAgaah...deadlock when using surface observer...18:39
AlbertAsince my observer tries to change focus18:39
anpok_kdub_: llvm on dri would be mesa platform..18:49
anpok_i mean we could/should also have gbm + pixman18:49
anpok_that would be a new platform18:49
anpok_AlbertA: it happened sooner than I thought18:52
AlbertAanpok_: yeah this is for USC where it likes to raise the session only after receiving the first frame18:53
AlbertAanpok_: also I would like do deregister the observer at that time too...but not possible either :)18:54
* AlbertA notes its time to remove unlock the guard before executing observer callbacks18:54
* AlbertA time to unlock the guard rather18:55
fgintheralf_, looks like the rebuild chroot is working: http://s-jenkins.ubuntu-ci:8080/job/mir-clang-utopic-amd64-build/541/console18:55
racarr_Spinning my head in circles on cursor in renderable list lol19:28
racarr_There are at least 3 main approaches I could think of19:29
racarr_1. Cursor specially built in to surface stack. Requires some renderable generalization and renaming surface stack/perhaps changing some API19:29
racarr_kind of unsatisfying but maybe a good first step19:29
racarr_2. Expand scene type functionality of surface stack slightly, i.e. add_renderable instead of add_surface. so surface stack is renamed to um19:30
racarr_Scene or Renderables or something19:30
racarr_and the API has to be futzed around all over19:30
racarr_3. Use view-adapter style pattern19:31
racarr_where something inbetween the surface stack and the compositor19:31
racarr_presents a modified renderable list.19:31
racarr_adding the cursor on top19:32
racarr_I tried thinking through tests too...but I mean the main sort of acceptance tests for what I am trying to do is that there is some sort of small buffer at the top of the renderlist that moves with the pointer.19:33
racarr_so its satisfied by all 3 approaches fine.19:33
racarr_1 is...19:34
racarr_at best a first step, but might be the best choice because it accomplishes the goal, improves things (grows renderable interface)19:35
racarr_but then, you need different casing in surface stack for touch spot visualization if you take that approach....and that obviously seems pretty bad19:35
racarr_so probably no 1.19:35
racarr_2. Seems good, but im a little literally unclear on exactly how the interfaces should shape up because it has to touch all the factories a little, etc...and there are no clear tests to guide it...but maybe I can think through it more19:36
racarr_3. Has a certain charm lol...in that it solves the19:36
racarr_cursor/touch visualization/overlay problem perfectly and also grows19:37
racarr_the renderable interface19:37
racarr_but also clearly...19:37
racarr_taking an approach of continuing to append view adapters19:37
racarr_between surface stack and compositor19:37
kdub_my 2 cents are that the cursor should come along with the generate_renderable_list() function19:38
racarr_wouldn't work/would become very messy (interdependent)19:38
racarr_kdub_: :D Yes I agree lol...im just not sure how.19:38
kdub_and, on the basic level, it is a renderable of sorts, that is, the concrete cursor class would inherit from renderable19:38
racarr_Yes19:38
kdub_and the display buffers sort out the hardware cursor abilities19:38
anpoki would prefer 2.19:38
racarr_so my main divide is is this cursor renderable. 1. Something built in to the scene. 2. Something added to the scene by some sort of controller or 3. Something appended to the scene by some sort of compositor19:39
racarr_anpok: Yeah...my intuition is that is also best...im just not exactly sure what the new surface stack should look like19:40
kdub_I don't mind the concrete SurfaceStack impl gaining specific cursor knowledge19:41
racarr_ / how exactly renderable/surface/input target interact19:41
racarr_kdub_: I was thinking too its not so awful for cursor right, because its just one thing on the top19:41
kdub_what's not so awful?19:42
racarr_but then, touch spot visualization is kind of seperate in that there are any number and they19:42
racarr_vanish or dissapear19:42
racarr_kdub_: SurfaceStack impl gaining cursor knowledge19:42
racarr_but if SurfaceStack impl has to know about cursors, and touch spots...19:42
racarr_it kind of seems19:42
racarr_like too much19:42
kdub_eh, you can have a cursor object as a member that takes care of the hairy details19:43
racarr_hmm maybe.19:43
kdub_as for the touchspot visualization, you just insert the cursor renderable multiple times with different coordinates for each19:44
kdub_and like, that way, you have the cursor image be part of the stack19:44
kdub_and future fancy stuff like MSwindows trailing cursor effect be a matter of the compositor's view state19:45
racarr_haha fancy stuff19:45
kdub_heh, well more realistically, like say the cursor is a waiting cursor and has to rotate19:46
racarr_we already support trailing cursor in glamor19:46
racarr_haha yes. sure. there are definitely things19:46
kdub_and iirc, the current client-backed renderable inherits from a touch-targetable interface19:47
kdub_and the cursor-backed renderable would not19:47
kdub_so, solves that other problem19:47
racarr_the thing is if all renderables dont19:47
racarr_inherit from input target19:47
racarr_but surface stack stores19:47
racarr_renderables19:47
racarr_then you at least need a cast to implement InputTargets::for_each19:48
racarr_so it doesnt seem quite right19:48
kdub_if we have internally a list of cursors and a list of clients19:48
kdub_the for_each can iterate over the clients, which inherit from the right interface for that19:49
racarr_oh yes, if we keep cursors really entirely seperate19:49
anpokas soon as you add more than just images that refer to surfaces to your scene you need some sort of runtime type information19:49
kdub_and the stack grows in smartness to interleave the cursors with the clients19:49
kdub_with the 1st step being 'cursors always on top' (pretty simple)19:49
kdub_anpok, no, why19:50
kdub_or maybe19:50
kdub_who needs that information19:50
anpokwhen you traferse the scene you might ignore certain elements - i.e. for touch dispatch you would ignore the cursor objects19:51
racarr_anpok: Well thats the thing in approach 1 though right19:51
racarr_cursor is just totally seperate19:51
kdub_sure, thats why you have cursors in one list and clients in the other internally19:51
kdub_and generate_renderables_list can weave the two together, as both types implement mg::Renderable19:51
racarr_but, I mean it seems like eventually...19:52
racarr_we want to support inserting other kinds of renderables in19:52
racarr_the scene right?19:52
anpok*traverse19:52
racarr_I mean...I would be happy for example if decorations were in the scene19:53
anpokkdub_: in that case ok ..19:53
racarr_and all sorts of various effects from various shells19:53
racarr_could be in the scene19:53
racarr_shadows could be in the scene perhaps19:53
racarr_etc19:53
anpokcamera configuration19:53
racarr_camera configuration19:53
racarr_yes19:53
kdub_racarr_, decorations, sure19:53
racarr_so I wonder if taking this approach is actively making things19:53
racarr_worse19:53
racarr_so I should just bite the bullet and make surface stack19:53
kdub_animations are compositor-driven more than scene driven though19:53
racarr_RenderablesTree (new name)19:54
racarr_(err by new name, I mean thats not a final name lol)19:54
racarr_and work in terms of add/remove renderable, etc19:54
kdub_it was originally just std::list<mg::Renderables>19:54
racarr_kdub_: Yes lots of animations maybe... I mean effects like19:54
kdub_sorry, std::list<std::shared_ptr<mg::Renderables>>19:54
racarr_say unity glass layers (like unity 7 alt tab switcher)19:54
kdub_RenderableList is just a typedef19:54
kdub_but sure, the compositor just wants something  that can be traversed for rendering19:56
kdub_tree or list, /me doesn't mind19:56
racarr_mm19:56
racarr_in this case, I'm worried about19:56
racarr_the other side of the API19:56
anpokthe actual renderer that draws to one output only needs that list19:56
racarr_i.e. for adding/removing to it/arranging it, etc.19:57
racarr_i.e. if cursor controller is going to be adding and arranging cursor renderables in RenderTree, it probably needs something19:57
anpokand information about how to set up the projection matrix.. resolution..19:57
racarr_better than depth id ;)19:57
racarr_among other things19:57
kdub_no no19:57
kdub_projection matrix is a view19:57
anpokit should not care about the rest of the scene..19:57
kdub_like, the compositor can have its own state19:58
anpokah ok maybe that part could also benefit from being able to interpret a tree19:59
anpokmaybe it depends on what a renderable could be19:59
anpokkdub_: I dont think so..19:59
kdub_the tree is just a z-ordering19:59
kdub_and, i'm talking in the short-medium term here20:00
kdub_the compositor has to feed back to the stack for certain bits of information, like alf_'s visibility stuff20:02
racarr_well. I think for cursor I am going to try and get something going with some cursor knowledge built in to surface stack, because this allows me to grow the renderable interface some without worrying too much about other stuff20:02
kdub_cool20:03
kdub_although I just got renderable cleaned up! :)20:03
racarr_and then after, make an attempt to pull the specifics out of the stack to do touch spots20:03
racarr_but give up if ends up being too confusing, because cursor specialization in the stack impl isnt so bad20:03
racarr_kdub_: Haha.20:04
racarr_THE WHEEL IS TURNING20:04
anpokkdub_: that was just the preparation work to make it dirty again20:04
kdub_haha, hope not!20:08
racarr_haha20:11
anpokhm intersting intel needs a reboot with the hdmi cable pluggin to be able to send audio through hdmi20:11
racarr_Luckily we dont yet have a "dirty renderable"20:11
racarr_concept20:11
anpok*plugged in20:11
anpokracarr_: hehe20:11
racarr_and that sounds...non surprising lol20:11
racarr_intel audio...connection stuff is totally messedup, i.e. switching between line in and mic when line in is plugged in, switching dual-function jacks between input/output20:12
anpoksounds like intel wifi20:13
racarr_lol20:13
anpokonly works when power management is turned off20:13
racarr_intel graphics though does a great job satisfying my need of drawing 20 quads in 16ms20:13
anpokamazing what open source drivers can do to a buy decision..20:14
anpok..with all that quirks I would have never bought that laptop20:15
racarr_my nexus 4 battery life20:16
racarr_seems to have dropped to roughly...um20:16
racarr_like if I leave it unplugged for an hour it goes dead20:16
racarr_kind of situation20:16
racarr_maybe thats exaggerating20:17
racarr_I can't really tell20:17
racarr_but its gotten really bad20:17
anpoki switched from webos to ubuntu phone last week20:17
anpokfor that reason actually .. battery becoming really awkward20:17
racarr_hahahaha20:17
racarr_anpok: Congratulations on being the first person20:17
racarr_to use that sentence20:17
anpoknow I wonder what it would take (apart from ordering a replacement batery) to get ubuntu phone running on the pre320:18
anpoki miss the keyboard20:19
racarr_kind of a small screen for unity20:19
anpokyeah means less overdraw20:19
racarr_:)20:20
racarr_I suspect we may all have shiny new phones before too long anyway20:20
kgunnAlbertA: didn't you or someone fix the "last frame doesn't render" bug?21:09
AlbertAkgunn: yes21:10
kgunnthot so...21:10
AlbertAkgunn: reappeared?21:10
kgunnnope...just need to go kill some fud21:10
kgunndid it make the 020 cut off ?21:10
AlbertAlet me see21:10
kgunnracarr_: o/ feels like forever since i said hi21:11
AlbertAkgunn: yes it did21:11
kgunnso hi!21:11
kgunnAlbertA: thanks21:11
racarr_kgunn: Hi!21:18
racarr_How was your trip? I remember you went to colorado but cant remember exactly why21:18
kgunnracarr_: yeah thanks for asking21:18
kgunnracarr_: it was nice21:18
kgunnracarr_: pot tourism21:19
racarr_hahaha of course.21:19
kgunnracarr_: j/k :) my bro in law lives ther21:19
camakonice cover :-)21:19
racarr_Right mine too ;)21:19
kgunndid some hiking...which was needed for all the food/beer calories consumed21:19
racarr_aha sounds pleasant21:19
racarr_ive been craving some nature lately21:19
racarr_have to find a way to escape the city this weekend21:20
kgunnracarr_: did a 6mi/3000 ft elevation incr hike...and it rained on us the entire 2nd half down the mountain...that was fun21:20
kgunnlittle chilly21:20
racarr_haha...cest la vie.21:22
kgunn....aaaaandddd reboot21:32
racarr_https://jenkins.qa.ubuntu.com/job/mir-clang-utopic-amd64-build/540/console22:19
racarr_:/22:19
racarr_  The C++ compiler "/usr/bin/clang++" is not able to compile a simple test  The C++ compiler "/usr/bin/clang++" is not able to compile a simple test22:19
racarr_thats a shame22:19
kgunnracarr_: hey, have you played with performanceOverlay ? wondering if there's a way to dump to a file22:28
kgunnhttp://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.PerformanceMetrics.PerformanceOverlay/22:29
kgunnfor the curious, only works on apps (not shell) set the PERFORMANCE_OVERLAY variable, reboot, tap 4 times on the app screen22:30
racarr_kgunn: I dunno sorry.22:44
racarr_quick scan of the code makes it look unlikely (dumping to file)22:45
kgunnracarr_: yeah no biggie22:47
=== robert_ancell_ is now known as robert_ancell

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