/srv/irclogs.ubuntu.com/2014/03/27/#ubuntu-mir.txt

racarrok I need a break for a while...left some documentation ont he bug and assigned it to me00:31
racarrbut should be back in an hour or so to continue00:32
=== chihchun is now known as chihchun_afk
racarrThe program is stopped at a permanent breakpoint, but GDB does not know01:52
racarrhow to step past a permanent breakpoint on this architecture.  Try using01:52
racarra command like `return' or `jump' to continue execution.01:52
racarrwhat is this -.-01:53
racarrMirSurfaceManager::sessionCreatedSurface (this=0xa86cce68, surface=0xabe06b68) with surface name 'MaliitOnScreenKeyboard'02:14
racarrMirSurfaceManager::surfaceAttributeChanged surface = MaliitOnScreenKeyboard (this=0xa86cce68, surface=0xabe0adc4, attrib=0, value=6)02:14
racarrunfortunately we have implemented a new feature where surfaces change address02:15
racarr:(02:15
duflu_racarr: We did?!02:16
duflu_There must be a std::move or something02:17
=== duflu_ is now known as duflu
racarrmaaaaybe? I am more suspiscious of memory corruption02:17
racarror something02:17
dufluCosmic rays02:18
racarrlol very reproducible cosmic rays02:18
racarrnvm its abi02:28
racarrno it wasnt lol02:38
dufluFree karma: https://code.launchpad.net/~vanvugt/mir/frontend-server/+merge/20760202:45
=== chihchun_afk is now known as chihchun
dufluSpooky while the large planes fly low over my house to and from the southern Indian Ocean search area03:23
dufluAwesome. Now I'm involved in all the code reviews, I won't be doing much coding :)06:19
=== tvoss|afk is now known as tvoss
duflualan_g: One of those links is invalid and the other seems to be pure Mir, no Q-anything !?09:26
alan_gduflu: it has been a while since I followed them. Let me dig...09:27
dufludandrader, Saviq: Can you point me to the code of the Qt-Mir-Compositor ?09:27
Saviqduflu, https://code.launchpad.net/~unity-team/+junk/qpa-mirserver09:28
dufluSaviq: Cool thanks09:29
Saviqcheers09:29
alf__duflu: Renamed AncillaryBuffersConfig to GLConfig, if you get a chance please take look before EOD, so I can move forward with this10:05
duflualf__: Technically passed EOD ;)10:06
duflupast10:06
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
anpokalf__: AlbertA: kdub: alan_g: should setting focus to a session also mean applying the display configuration of that session?11:48
anpokIn the scenario I look at u-s-c sets focus to the greeter.. while display is off11:49
anpokas a reaction to the focus switch the mediating display changer picks a stored display configuration which has the power state on11:50
anpokand hence turns the display on11:50
anpoki tend to believe that usc should be aware that the display is off and should set the focus to the greeter, or someone along the lines should check if the focused session is hidden.. (but maybe it isnst.. have to check)11:51
alf__anpok: @focusing=>apply display config, yes that is the intention if the session has set a custom display config11:52
anpokand we dont want to delay that if display is off - or make an exception for the power state setting ..11:53
anpokin other words focus also implies - turn it on!11:53
alf__anpok: what will change the focus while the display is off?11:55
anpoklightdm+usc do that, in the split greeter rewor - if I understand it correctly they lightdm spawns another when display is turned off11:56
anpokas soon as the greeter is done with startup and has submitted its first frame to the session usc sets the focus, so that when display is turned on it is immediately visible..11:57
anpok*rework11:57
anpok-they11:57
anpokbrb need to to get some food11:57
anpoki will see if usc is somehow aware of the display state11:58
ice9what are the advantages of mir over wayland or why Canonical decided to make its own display server?12:18
anpoki dont want to get into a debate, but since this is digital communication I have the urge to correct wrong statements.. wayland is an ipc system. You have to ask why mir did not use wayland as an ipc backend.12:34
alf__ice9: See bottom of https://wiki.ubuntu.com/Mir/Spec12:35
=== alex_abreu is now known as alex-abreu
anpokalf__: another thought on that topic - is it valid to have the power mode as a member of the display configuration?12:55
alf__anpok: Go not to the elves for counsel, for the will say both yes and no :)12:58
anpokhehe12:59
=== dandrader is now known as dandrader|afk
anpokwell the dwarves said I should shut up and just fix the bug and then continue digging..13:00
alf__anpok: Like the brightness issue we were talking about yesterday, power mode conceptually belongs in "display configuration" but at the same time its use case differs from normal display configuration (setting up the display resolutions etc)13:02
anpokyip13:04
anpokbut differs mostly because we like it to change more frequently / aor daptively to other events13:04
anpok*"or a"13:04
alf__anpok: right, so we should either introduce a new interface to do so, or reuse the same interfaces (i.e. DisplayConfiguration structs) but more intelligently (e.g. the what-changed flags we were talking about yesterday).13:07
=== alan_g is now known as alan_g|lunch
=== alan_g|lunch is now known as alan_g
alan_gHmm trying to build unity-mir against devel:13:52
alan_gLinking CXX executable unity-mir-test-app13:52
alan_g/home/alan/local/lib/x86_64-linux-gnu/libmirserver.so: undefined reference to `mir::load_library(std::string const&)13:52
alan_gWhere did mir::load_library go now?13:52
=== dandrader|afk is now known as dandrader
=== alan_g is now known as alan_g|tea
=== alan_g|tea is now known as alan_g
dansufHi, could you look at this log http://pastebin.com/tSnra0F7 ? I'm porting my device to ubuntu-touch and I'm stuck at black screen.18:59
dansufalso, in var/log/lightdm/unity-system-compositor.log19:02
dansufterminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> >'19:02
dansuf  what():  error binding buffer to texture19:02
anpokdansuf: dont run away19:03
anpokkdub: he is back ^19:03
dansufanpok: I don't understand19:04
anpokdansuf: last time kdub wanted to help you but you dropped out of IRC19:04
kdubthe log says EGL_BAD_CONTEXT, not sure what might be going on19:05
kdubi do see some errors around not being able to prod various files too19:05
kdubalso, why is it reporting resolution 320x480, but the build keys look to be mako?19:06
dansufkdub, it's not mako, I just used w-flo's adreno binary drivers for adreno because he wrote it solved some problems19:08
dansufkdub, w-flo was porting touch to vision19:08
dansufkdub, he made a commit in his repository where he updated the drivers and wrote which issues it solved so I copied them19:09
dansufkdub, and now i can run more tests19:09
dansufkdub, test_hwcomposer doesnt seem to fail now19:10
kdubhow about mir_demo_standalone_render_to_fb?19:10
kdubyou should get an animation19:10
dansufkdub, I don't see this program in my path19:10
dansufMaybe I have too old version19:11
dansufI think I have mir 1.6 or sth like that19:12
kdubmir-demos package19:12
kdubmay as well try the new stuff, we're fixing it all the time :)19:12
dansufkdub, i have to leave for 10-20 minutes19:12
dansufbut i'll be back..19:13
dansufI'm back19:24
racarrterminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> >' what():  /usr/lib/arm-linux-gnueabihf/libmirplatformgraphics.so: undefined symbol: _ZNK5boost15program_options29value_semantic_codecvt_helperIcE5parseERNS_3anyERKSt6vectorISsSaISsEEb19:28
racarrmer?19:28
racarrthats a great symbol name19:29
dansufkdub, mir-demos are installable through apt-get?19:31
kdubyep19:31
dansufhaha, and the internet isn't working on my device19:31
dansufI'll try to chroot into ubuntu on adnroid and in that way install demos, should work19:34
racarrhmm if I ld_preload boost options19:46
racarr(why isnt mirplatformgraphics linked against it? not sure, also not sure why this doesnt present otherwise/ust started)19:47
racarr  what():  /usr/lib/arm-linux-gnueabihf/libmirplatformgraphics.so: undefined symbol: _ZN3mir7options13off_opt_valueE19:47
kdubi thought i saw a review about this19:48
racarrhttps://code.launchpad.net/~alan-griffiths/mir/add-mirplatform-to-dependencies/+merge/213077 maybe related19:51
=== chihchun is now known as chihchun_afk
dansufkdub, I just installed the newest daily touch and now logcat gives me more info http://pastebin.com/xwYz3BYP (I might have forgotten to make some changes I did to the previous version which could cause this more extended log)21:23
dansufI will now try to install demos (it can take some time)21:23
dansufkdub, I've installed demos and I get the animation21:52
kdubexcellent21:53
dansufit is moving image with a green border21:53
dansufand lots of "mdp not donfigured" in logcat because i diasbled it21:53
kdubdansuf, of course, but even at that, its a good step21:54
kdubthe next step would be try running some of the server/client binaries together21:54
kdublike mir_demo_server_shell (in one terminal) and (mir_demo_client_egltriangle) in another21:55
dansufhttp://pastebin.com/4awGHdir21:57
dansufkdub, after running triangles, i'll try the others now21:58
racarrRAOF: Ping?21:58
kdubdansuf, so it looks like the server is having trouble using the buffers that the client is sending to it21:59
kdubdoes dmesg look suspicious?21:59
dansufkdub, nothing interesting22:01
kdubhmm, getting the display going is usually the tougher part22:05
kdubprobably something having to do with the egl errors that were in the logcat22:06
dansufkdub, surfaceflinger also fails and gives egl bad context22:06
dansufkdub, thanks for trying to help me, I'll do more research and I'll maybe write to people developing device-specific part22:11
kdubdansuf, yw, good luck!22:12
kdubonce you get sf past that problem, mir will probably be past that problem too22:12
RAOFracarr: Yo!23:27
RAOFracarr: I'm not sick today! Yay!23:28
=== mhall119 is now known as mhall119|offline

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