/srv/irclogs.ubuntu.com/2014/07/30/#ubuntu-mir.txt

racarr_ok really is there a script to update the sha1sums file? it turns out to be easy to make a mistake lol00:00
racarr_for example find include | grep -v client | egrep "\.h$" | xargs sha1sum00:00
racarr_will accidentally skip internal_client.h :p00:00
racarr_It seems like there are already00:04
racarr_a bunch of missing files from00:04
racarr_the sha1sum file?00:04
RAOFThat would not be surprising.00:18
dufluRAOF: Mesa isn't talking to libmirclient any more. Does it need rebuilding or did we break the client ABI? (https://bugs.launchpad.net/mir/+bug/1350163)03:44
ubot5Launchpad bug 1350163 in Mir "[regression] Mir GL clients crash immediately on startup (Mesa is trying to use X11 instead of Mir)" [Critical,New]03:44
RAOFduflu: Oh, that works if you set EGL_PLATFORM=mir03:45
dufluRAOF: So what changed? Isn't it a bug that a process with no $DISPLAY is trying to use X?03:46
RAOFDunno, haven't looked into it yet.03:46
RAOFFWIW, X11 is the fallback when autodetect fails; it might be falling there.03:47
RAOFTo luncheon!03:47
dufluRAOF: Well Mesa hasn't changed in a month. So I guess we removed/changed a symbol used in detection of libmirclient03:47
RAOFUuuum.04:38
RAOFDoes nothing actually link with libmirplatform?04:38
=== chihchun_afk is now known as chihchun
alf_alan_g: https://code.launchpad.net/~kdub/mir/fd-refcount/+merge/228306/comments/553483, something missing?10:02
alan_galf_: no10:03
alan_gThose lines can be replaced with nothing10:03
alf_alan_g: ok, it's not very clear from the comment :)10:05
* alan_g was in a minimalist mood when he wrote it10:06
alf_alan_g: but I see kdub got the point10:06
=== alan_g is now known as alan_g|lunch
=== tvoss is now known as tvoss|lunch
=== alan_g|lunch is now known as alan_g
=== tvoss|lunch is now known as tvoss
=== pete-woods is now known as pete-woods|lunch
=== pete-woods|lunch is now known as pete-woods
=== pete-woods is now known as pete-woods|lunch
groothello all14:22
grootkdub, I tried but didn't able to figure out how to debug hwcomposer with gdb. Now I'm trying to use ALOGE to print those information you requested. Can you check if it's the correct way ?14:23
groothttp://paste.ubuntu.com/7905245/14:23
kdubgroot, lets log the opposite, eg14:25
kdubif (ctx->dev.common.module != NULL) ALOGE("ctx->dev.common.module is not NULL");14:25
kdubthat way we can see if it hits those lines at all, so we can rule out problems in lines 7-1014:26
grootkdub, all right. I'll compile and test.14:26
kdubgroot, cool14:27
grootkdub, I forgot you also mentioned that i can do this by printing :). This seems much easier.14:28
kdubgroot, that should work too14:29
* kdub bequeaths groot with the community helper of the month award14:29
grootkdub, :P14:30
grootkdub, here's the output. I also enabled printing from libhardware.so to see if modules are loaded. Last lines seems interesting to me.14:36
groothttp://paste.ubuntu.com/7905383/14:36
kdubgroot, could you pastebin the .c file again?14:38
grootkdub, you mean hwcomposer.c ? It's here https://github.com/AndroidOpenSourceXperia/android_hardware_ste-sony/blob/master/display/libhwcomposer/hwcomposer.c14:39
kdubright, but with your modifications14:39
kdubfor the logging14:39
grootkdub, here it is http://paste.ubuntu.com/7905418/14:40
kdubgroot, okay, one more thing.. lets log the return value14:41
grootkdub, how can I do that? something like  ALOGE("%d", ctx->dev.prepare); ?14:46
groothmm, they are functions so this'll not work probably14:48
kdubgroot, so down there at lines 1762-1776, the function can return a few different values, lets make sure it returns the 0 at line 176514:50
grootkdub, I don't know which file calls this function :(14:54
kdubgroot, so what i mean is put printf("the return code was 0"); in line 176414:55
grootkdub, Ahh, I'm a fool. Will do now and compile.14:56
grootkdub, seems it returns zero. http://paste.ubuntu.com/7905563/15:02
kdubgroot, okay, seems like we've hit a dead end... have to think of other things to try15:03
grootkdub, allright. I'll try to do some more debugging in the mean time.15:09
=== pete-woods|lunch is now known as pete-woods
=== chihchun is now known as chihchun_afk
racarrMorning15:46
kdubhola15:47
=== alan_g is now known as alan_g|EOD
robotfuelkgunn: ping, https://bugs.launchpad.net/mir/+bug/1347053 is a serious bug, someone should be assigned to fix it.18:49
ubot5Launchpad bug 1347053 in mir (Ubuntu) "Clients are crashing with a fatal exception in MirSocketRpcChannel::send_message()" [High,Triaged]18:49
racarrannd back19:15
racarrwhat is the latest progress on software opengl19:49
racarrone of the problems in qtmir testing is it's difficult to mock/stub out/separate19:49
racarrthe QtSG and the QML engine and its tying together with the QWindows and19:51
racarrto test a convincing amount of hte code without Qt going and rendering some opengl for you ;)19:51
racarror at least trying to make sure a context iws valid etc19:51
racarrIs there a special qmake incantation to get qtmir to build against a local install of mir I tried20:57
racarrbzr clean-tree, exporting PKG_CONFIG_PATH, qmake, make20:57
racarrand I see the include directories get thrown in to the path, etc20:57
racarrexcept something is apparently still linking against my old system mir because20:57
racarrit cant find20:57
racarrRectangles20:57
racarrwell so much for keeping my system install clean :p21:11
racarrill build packages at least21:12
racarr...Rectangles had nothing to do with the versioning21:45
racarrit just can't find it...why would that be...21:45
racarrah21:48
racarrit needs to link explicitly against mircommon21:48
racarrthe Appliucation plugin21:48
racarrWhy am I having to link it against mircommon but other people are able to build it...21:49
racarranyway going to propose a change to mircommon pc that includes the link flag21:49
racarrthis is literally a brand new install too so I dont think its anything messed up on my system...21:50
racarranyway...https://code.launchpad.net/~mir-team/mir/mircommon-link-flag/+merge/228950 :)22:02
racarrback soon22:08
racarrback22:20
racarrtime to wrestle some qmake22:21
racarrtrying out the existing qtmir tests...22:27
racarr[libprotobuf ERROR google/protobuf/descriptor_database.cc:57] File already exists in database: mir_protobuf_wire.proto22:27
racarrfamiliar?22:27
racarrI guess im linking against libmirprotobuf twice22:30
racarrbecause of this mircommon linkage...22:30
racarrSharing ServerRunner and InProcessServer out of mir_test_framework seems like such a pain that its almost better just23:20
racarrcopied to qtmir...23:20
racarri.e. do we really want to publish a new library in any shape or form23:20
racarrprobably not :p23:20

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