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

=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== marcusto_ is now known as marcustomlinson_
=== chihchun_afk is now known as chihchun
Laneyhey mir-ers08:30
LaneyI just quickly want to check if Mir is known to work/not work on desktops with nvidia graphics08:31
LaneyI'm trying the desktop-next (Unity 8) ISO that we've been building and it looks like it's hung on my machine with nvidia08:31
Laneybut I can't do anything with it to find out. :)08:31
alf_Laney: it doesn't work with the proprietary nvidia drivers yet08:34
Laneyalf_: I didn't install any drivers yet08:34
Laneythis is a live session from the iso08:34
=== chrisccoulson_ is now known as chrisccoulson
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
alan_galf_: feel like contributing to a discussion? https://code.launchpad.net/~kdub/mir/share-occlusion-with-examples/+merge/22257710:02
alf_alan_g: sure10:04
alan_gthanks. Otherwise it will keep going in circles10:04
alan_galf_: sorry for slow feedback - I had a very different algorithm in mind: http://paste.ubuntu.com/7657755/ still trying to think yours through10:33
alf_alan_g: no worries10:34
alan_galf_: your options "A" and "C" are rather procedural - they are "ask" interfaces not "tell" ones. I'd go with "B"11:02
=== dandrader is now known as dandrader|afk
alf_alan_g: I haven't thought through how to pass up-to-date information about available compositors in this case, but it should be workable.11:15
alf_alan_g: s/workable/doable/11:15
alan_gdoesn't the buffer queue already track compositors?11:20
=== chihchun is now known as chihchun_afk
alan_galf_: I've been thinking and we really only need to know that compositors have been removed11:22
alan_ghttp://paste.ubuntu.com/7657933/11:24
=== dandrader|afk is now known as dandrader
LaneyI heard that mir works under vmware11:44
Laneyis that true?11:44
=== alan_g is now known as alan_g|lunch
alf_Laney: Yes. On a Linux host most free drivers are blacklisted, so you need to unblacklist them to get accelaration and get Mir to run.12:12
Laneyalf_: Interesting, how can I do this? Will they work or are they blacklisted for a good reason? :)12:13
LaneyPoint me to documentation if it exists12:13
alf_Laney: There are some glitches, but they work more or less. http://askubuntu.com/questions/181829/how-to-fix-3d-acceleration-for-vmware-workstation-912:14
alf_Laney: (the fixe is applicable for vmware player too)12:15
alf_Laney: note that you need a relative recent version of Mir that works with vmware, not sure what version the iso you have has12:16
Laneyalf_: It's built from utopic12:17
=== dandrader is now known as dandrader|afk
Laneyhrm, my host session hung12:18
alf_Laney: as long as mir >= 0.2.0 you should be ok12:19
Laneyalf_: can't stop it from crashing my session every time12:36
Laneyoh well12:36
=== alan_g|lunch is now known as alan_g
alan_galf_: @share-occlusion-with-examples: http://programmer.97things.oreilly.com/wiki/index.php/Beware_the_Share13:14
kgunnmterry: hey, trying to land 0.3.0 mir, packages built, but i'm not booting....is this a normal u-s-c log13:26
kgunnhttps://pastebin.canonical.com/111823/13:26
mterrykgunn, sort of...  except that the "Closing session session-0" line means the user session died for some reason13:27
mterrykgunn, look at the ~/.cache/upstart/unity8.log file13:27
kgunnack13:27
kgunnmterry: eeewww....doesn't look good https://pastebin.canonical.com/111824/13:29
mterrykgunn, well that explains that anyway  :)13:29
kgunnhmmm, wonder if this has to do with the platform-api v2 transition....13:29
kgunnor the gcc4.9 stuff i wrestled with...13:30
mterrykgunn, well we worked with v2 before, eh?  I assume you've rebuild platform-api against the new Mir?13:30
kgunnmterry: yes...i'm starting to think this might be gcc4.9 hoo-ha working its  way through...(stuff being stuck in proposed etc)13:32
mterryah13:32
kgunnsilo got built against proposed archive last night at slangasek's request...so it built...but13:33
kgunni don't think i'm trusting this13:33
mterrykgunn, https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1328485/comments/1213:34
ubot5Ubuntu bug 1328485 in unity8 (Ubuntu) "unity8 crashed with SIGABRT on Qt 5.3" [High,In progress]13:34
mterryseems relevant13:34
* kgunn looks13:36
=== dandrader|afk is now known as dandrader
alf_alan_g: yeap13:49
alf_alan_g: (@beware-the-share)13:49
alan_gfginther: can you see what's different about our mako tests today? Mir is having a hard time that doesn't appear to relate to the MPs being built: https://jenkins.qa.ubuntu.com/job/mir-mediumtests-runner-mako/13:57
fgintheralan_g, I can't take a look right away, you should try the cihelp vanguard. I'll guess that the change is due to a new image, but I'll have to look closer to know for sure.14:01
alan_gfginther: OK thanks14:02
dandraderanpok on holidays?14:18
kgunndandrader: he is, but he doesn't know how...he's been showing up alot14:21
kgunnwhat do you need?14:21
dandraderkgunn, wondering who took over https://code.launchpad.net/~andreas-pokorny/mir/input-sender/+merge/22098414:23
=== alan_g is now known as alan_g|tea
kgunndandrader: even i don't know, he acted like he was going to prep someone on the team before dropping completely....he might have plans to come back on just for this...14:26
kgunnalf_:  alan_g|tea ^ you guys know ?14:26
alf_kgunn: I just know that anpok asked us to revisit and review the input-sender related branches14:27
=== alan_g|tea is now known as alan_g
alan_gkgunn: I know the same as you - he's on vacation but not gone14:35
racarr_Morning14:50
anpokkgunn: yeah my vacation needs fixing14:53
anpokit does fail all basic acceptance tests14:53
anpokbut I make a lot of progress14:54
kgunn:)14:56
kgunnracarr_: hey, i was just trying to scrub some blueprints...14:56
kgunnam i right to include cursor renderable as part of "making cursor settable by client" ? (as one big task...i mean that's the point right?)14:57
racarr_kgunn: *incoherent stream of 8 am mumbling*14:57
kgunnlol14:57
racarr_kgunn: no the cursor settable by client stuff is the rest of the cursor spike14:57
kgunnonly if i get an racarr "wheeee"14:58
racarr_making hte cursor a renderable14:58
racarr_is software cursor and14:58
kgunnok...so its really 2 things14:58
racarr_visualization spots14:58
racarr_and android cursor support I guess14:58
racarr_whatever we want that for lol14:58
kgunnright...3...but i already broke out the viz spot14:58
racarr_:)15:00
anpokalan_g: alf_, kdub_, racarr_, AlbertA: If there are further discusions, i.e. on naming moving things around I wont be able to apply them this week. In that case someone needs to take over or it will rest for another week15:03
alan_gkgunn: ^15:03
alf_anpok: enjoy your time off :)15:04
anpokthx... i will go back to my wall15:06
alan_ggreyback: are you the one to talk to about the "add client & server API's to communicate orientations" requirements?15:55
greybackalan_g: I am, but I'm trying to clarify requirements from the SDK team right now15:56
alan_ggreyback: OK. I'll be doing the implementation - so grab me when you're ready.15:57
greybackalan_g: will do, thanks15:57
alan_gkdub_: is your question answered? https://code.launchpad.net/~alan-griffiths/mir/rework-integration_tests-test_surfaceloop.cpp/+merge/22294616:26
kdub_checking...16:26
kdub_approved16:27
alan_gta16:30
=== alan_g is now known as alan_g|EOD
racarr_the cursor renderable observable problem is annoying...20:27
racarr_the thing with just making a "renderable" observer, is what seperates a renderable from a surface? Well its things like20:28
racarr_MirSurfaceAttrib...20:28
racarr_which a surface observer needs20:28
racarr_but a renderable doesnt have20:28
racarr_so then do you really need20:28
racarr_a renderable observer/render state observer and a surface state observer20:28
racarr_and then. there is the awkward position of input which happens to basically want20:29
racarr_a renderable20:29
kdub_something doesn't mesh with the questions with me20:29
racarr_except it doesnt care about the buffers20:29
kdub_a renderable is what the compositor sees20:29
racarr_kdub_: So I am trying this...build the cursor renderable in to the stack approach20:29
kdub_sure20:29
racarr_and the problem is how does the compositor get change20:29
racarr_notifications for it20:29
racarr_because its not a surface, so it cant install a surface observer on it20:30
racarr_and just promoting "add/remove_observer" to renderable, and scene::observer::surface_added to renderable_added20:30
racarr_isnt enough, because it doesnt make sense to install20:31
racarr_a surface observer on a renderable20:31
racarr_because it has things like attrib_changed(MirSurfaceAttrib...20:31
racarr_which a renderable certainly doesnt have20:31
kdub_well, it doesn't make sense to have the add/remove observer on mg::Renderable20:31
racarr_mm20:31
kdub_but why not have a CursorRenderable: public Renderable, public <update notification thing>20:32
racarr_Where UpdateNotificationThing is an interface like add/remove_observer ?20:33
kdub_right20:33
* kdub_ is obviously a step removed from the problem, so it could also be reasonable to have that be a constructor dependency20:33
racarr_What is the type of the observer though? It shouldn't contain things like20:33
racarr_attrib_changed20:33
racarr_because the cursor renderable doesnt have surface attributes20:33
kdub_let me poke through the code for a min20:34
racarr_:) thanks. I am feeling kind of stuck on it.20:35
kdub_oh, i kinda see the problem digging through... the msc::Observer interface is pretty surface-based at the moment20:37
racarr_yeah20:37
racarr_and unity-mir wants that interface I think...I mean it makes sense that you should be able to observe all surface state somehow20:38
kdub_and msc::Surface inherits from classes that don't make sense for a cursor20:38
racarr_mm20:39
kdub_like, msc::Surface : public input::Surface20:39
racarr_well20:39
racarr_input::Surface wouldn't be SO bad20:40
racarr_because essentially you can be a null input::Surface and everything could skip you20:40
racarr_and really all it needs at the core is a rectangle20:40
racarr_well, its still ugly20:41
racarr_but then also there are all these20:41
racarr_extra methods, i.e.20:41
racarr_allow_framedropping, type, state20:41
racarr_force_requests_to_complete20:41
racarr_aha20:41
kdub_it kinda feels like msc::Surface is too specific20:42
kdub_and the msc::Observer should be based around an interface that's generic enough for the cursor too20:42
kdub_and the surface and the cursor can both use that20:42
kdub_and both poke the scene via the msc::Observer interface20:42
racarr_mm, but I think the shell20:42
racarr_really wants i.e. notify_attrib_changed20:43
racarr_etc20:43
kdub_right, but cursor just never calls that20:44
racarr_yeah...it's possible that way.... it just feels a little like interface abuse I guess20:47
kdub_eh, observer is a semi-coherent interface of all the levers that can be pushed to trigger a scene change20:50
kdub_mostly-semi-coherent even :)20:50
racarr_lol yes semi coherent20:50
racarr_part of the thing too is20:50
racarr_strictly like20:50
racarr_I dont think MirSurfaceAttrib changing by itself20:50
racarr_is enough to trigger recomposition right20:50
racarr_or like input changes20:50
racarr_etc20:50
racarr_the shell has to20:50
racarr_action it20:51
racarr_well maybe input20:51
racarr_but not recomposition20:51
kdub_well, it shouldn't be, i'm not sure of the current state20:51
racarr_right shouldn't be20:51
kdub_the logic there can be improved for sure20:51
kdub_like, MultiThreadedCompositor actually got a bit of smarts to it after some of the recomposition changes20:52
racarr_mm20:54

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