/srv/irclogs.ubuntu.com/2013/06/14/#ubuntu-mir.txt

RAOFnall: So, the chances are that this is a problem somewhere in the EGL stack. It might be time for two-machine debugging - start up mir_demo_server under gdb, and break on...00:01
RAOFSomething or other. What would that be...00:01
RAOFProbably mf::SessionMediator::create_surface00:05
nallYeah there are I think 6 definitions for create_surface in various classes.  That's the first one called so I'll start there.  I've never used gdb before, didn't even know it existed.  I've just been grepping the source and putting puts() in various places.  Thanks for the tip.00:11
RAOFYeah.00:12
RAOFSingle-stepping is pretty awesome.00:12
racarrmight be interesting to test render_to_fb and render_surfaces first00:15
racarrs/interesting/easier/00:16
nallI'll try that too.  Thanks00:28
robert_ancellracarr, still here?00:30
tvossRAOF, ping05:35
RAOFtvoss: Pong.05:35
RAOFUp early?05:35
tvossRAOF, yup :) how is it going?05:35
RAOFWell.05:35
=== duflu_ is now known as duflu
tvossalf_, ping07:06
alf_tvoss: pong07:06
alf_Saviq: tvoss: At what point in the lifecycle of a session does the shell need to take a snapshot of a session/surface? Just before it switches away from it?07:10
Saviqalf_, or to it07:10
alf_Saviq: why when to it?07:11
Saviqalf_, two cases: session is born, the app slides from the side07:11
Saviqalf_, or we switch between apps07:11
Saviqalf_, in both cases there are transitions for both the currently and the next focused app07:11
Saviqalf_, at the moment basically whenever an app appears not in its final position (fully on screen, bar the panel)07:12
Saviqalf_, is when a snapshot is used07:13
alan_gI'm in the process of updating to new images and find that I can't run mir on my updated N410:04
alan_g# ldd /bin/mir_demo_standalone_render_surfaces | grep not\ f10:04
alan_glibhardware.so.1 => not found10:04
alan_gAm I doing something stupid?10:04
=== mmrazik is now known as mmrazik|lunch
duflu_alan_g: It's all part of the various branches/bugs I'm working on10:30
duflu_And shall have to stop soon10:30
alan_gduflu_: ack10:32
duflu_I give up...10:34
=== mmrazik|lunch is now known as mmrazik
=== mzanetti is now known as mzanetti|lunch
=== alan_g is now known as alan_g|lunch
=== mzanetti|lunch is now known as mzanetti
=== alan_g|lunch is now known as alan_g
greybackHi folks, anyone using the mir staging ppa on saucy at the moment?13:56
* alan_g thinks that is an ominous question13:56
greybackI added the PPA yesterday, but on reboot lightdm failed to start. Seemed Mir did start to launch ok, as I got the cursor, but then that died.13:57
greyback:)13:57
alan_gI updated a machine to saucy yesterday - but not tried using Mr as system compositor14:00
greybackalan_g: that's a no then? :)14:16
greybackno worries, just a head's up14:16
alan_gwell, I used the ppa - but only for building mir14:17
* alan_g isn't likely to use system compositor until mir can be nested14:19
=== mmrazik is now known as mmrazik|afk
=== alan_g is now known as alan_g|tea
kdubgood morning15:06
=== alan_g|tea is now known as alan_g
alan_gkdub: good afternoon15:06
kdubstatus, mp'd a cleanup for mesa/gbm, probably will tackle the egl symbols bug 1189938 in mir this morning15:09
ubot5bug 1189938 in Mir "android links to EGL extension functions directly" [High,In progress] https://launchpad.net/bugs/118993815:09
racarrMorning15:17
alan_gafternoon15:22
racarrJust spilled my morning coffee halfway through....my "habit brain" is revolting15:34
racarr:)15:35
tvossracarr, rofl :)16:26
racarrtvoss: What happened with that app-centric world meeting16:30
racarryesterday when I woke up I saw that it had been rescheduled16:30
racarrin to the past?16:30
ogra_and everyone but you attended !16:32
racarroh did it actually happen yesterday?16:33
ogra_:)16:33
racarrI was at the dentist anyway16:33
ogra_nah, kidding16:33
tvossracarr, it happend, it is a weekly one now16:33
racarroh ok16:33
racarrill come next week16:33
tvossracarr, yup16:34
alf_kdub: Is there a fast way to get the pixels of an android buffer? glReadPixels() from an FBO backed by our buffer as a texture takes >50ms on Nexus4 :/16:34
alf_kdub: (for a 512x512 surface)16:34
kdubalf_, yeah, glReadPixels on adrenos is reallly slow16:34
kdubyou can access the buffer's pixels via gralloc16:34
racarrwe have some tests that do it right?16:35
kdubexample code at tests/draw/android_graphics.cpp16:35
kdubadreno is tile-based gpu, so glReadPixels is tricky to do quickly16:37
alf_kdub: thanks, I think that we will need to have a Buffer::pixels() method, and use that to get the pixels, fall back to glReadPixels()/FBO if ::pixels() fails (e.g. on GBM we can't really get the pixels of a hardware buffer, they may be tiled).16:38
racarralf_: If we can peek at the buffers, I don't understand why we need software16:39
kdubwell :) another alternative is to have anothe class that we can plug the native handles into, and it can provide us with the pixels16:39
racarrcopy16:40
alf_kdub: sure16:40
alf_racarr: That's the ubuntu API for now, but there are also some synchronization issues with making buffers available to the shell outside of the compositor.16:46
alf_racarr: One idea discussed is for mir to give out a buffer to the shell when an app closes16:49
racarroh when it closes, of course, sorry16:52
racarralf_: ^16:52
=== alan_g is now known as alan_g|EOW
alan_g|EOWBye all!17:02
racarrBye!17:02
tvossalan_g|EOW, bye17:03
* racarr enters the "Q"17:12
=== seb128_ is now known as seb128
racarrthis half a cup of coffee thing just isnt working out for me17:27
racarrbrb17:27
kdubhey racarr, updated the doc in https://code.launchpad.net/~mir-team/mir/saucy-android/+merge/169365 if you could take another look?19:36
kdubi have a egl-extensions branch that can land right after that one19:37
kdubhmm, actually... its probably just easier to land all the fixes at onec19:47
racarrkdub: Should we merge it/20:14
kdubyeah, i think so20:14
kdubi'll mp the extensions branch within an hour20:16
racarrOk20:25
racarrkdub: "20:30
racarrapparently if you bzr commit, change, save commit message, it needs a second commit20:30
racarr" :)20:30
racarrhaha the more you know20:30
kdubyeah :P20:30
bschaeferhello everyone, i've uploaded my current mir support for sdl1.2 on the mir ppa if anyone wants to try it out :)20:40
bschaefer(games are work :)20:42
bschaeferworking*20:42
racarrbschaefer: Excellent21:09
racarrill try it out the next time im looking for something to play with21:09
bschaeferracarr, thanks :), and cool! Still need to fix some odd thing with SW rendering...but I've a work around for now21:10
bschaefer(copying the entire screen over to mir...)21:10
racarrhmm21:10
racarrill try and look at that21:10
bschaeferracarr, im making a different ppa to show you what I mean, its strange, I copy the changes for that frame over to mir, and swap buffers21:11
racarrone day we should port it to the platform-api which should mostly be find and replaceish stuff21:11
racarrit doesn't really matter now, but might as more application description stuff, etc comes in21:11
bschaeferyeah, that would be nice21:11
bschaeferracarr, its as almost mir doesn't paint the alpha? Or assumes its double buffered...im not very sure :)21:12

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