/srv/irclogs.ubuntu.com/2015/08/06/#ubuntu-mir.txt

RAOFduflu: Do you have a working mako handy?02:47
RAOFduflu: Mine is in flat-battery purgatory for the moment, and I was wondering if you could try running https://code.launchpad.net/~raof/mir/fix-deadlock-in-glib-alarm/+merge/266682 on it locally to see if you can reproduce the crash in CI?02:48
dufluRAOF: Yes and no. My mako is heavily hacked and I'm not wanting to change anything until I finish my performance work on it. Although I could run local builds...03:00
RAOFduflu: That's fine. I'll try building in a vivid chroot and deploying...03:01
shengchiehhi, guys. I met a mir exception error(0.12.1) when bootup on a arm device. so i try to rebuild mir with ./cross-sompile-chroot.sh but the built library can not be lunched functional on arm target. Does any one has the same experience and know how to solve it?03:26
duflushengchieh: Got a log of what the exception says?03:30
duflushengchieh: Also, feel free to log bugs and any issues you have can be discussed and resolved offline: https://bugs.launchpad.net/mir/+filebug03:31
shengchiehthe log is : $/usr/share/ubuntu-touch-session/usc-wrapper --file'/run/mir_socket' --from-dm-fd 9 --to-dm-fd 13 --vt 103:37
shengchiehWarning:ignoring unrecognised arguments: --vt 103:37
shengchieh[527.561310]Server: Starting03:37
shengchieh[527.562040]Loader: Loading modules from: /usr/lib/arm-linux-gnueabihf/mir/server-platform03:37
shengchieh[527.562228]Loader: Loading module:/usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-mesa.so.103:37
shengchieh[527.567219]Loader: Loading module:/usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-dummy.so03:37
shengchieh[527.576294]Loader: Loading module:/usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android.so.103:37
shengchieh[527.578435]Platform Loader: Selected driver: android (version 0.11.0)03:37
shengchiehKilled03:37
duflushengchieh: It sounds like you have built Mir 0.12 but have 0.11 installed on the system. That's OK, but if you're running a binary from 0.12 then it needs to find the drivers for 0.12 and not the system ones. Try setting environment MIR_SERVER_PLATFORM_PATH=(path to server-modules/) and MIR_CLIENT_PLATFORM_PATH=(path to client-modules/)03:40
dufluAlso, Mir 0.14 is released. We recommend using that.03:43
shengchiehHi duflu,  thanks for your suggestion, but we overwirte the previous .so files and use the same folder.03:44
duflushengchieh: Then you also need to overwrite /usr/lib/arm-linux-gnueabihf/mir/... with your newly built drivers03:44
dufluAlthough other parts of the phone will then fail (broken ABIs)03:45
shengchiehWe can not use Ubuntu's mir, because we have an integration issue with our devices.... Our EGL query an information which mir does not support03:47
shengchiehThat's what we need to modify somethin in mir to fit our egl03:47
shengchiehHere comes original error log: [157678.315339] <ERROR> mircommon: Caught exception at Mir/EGL driver boundary (in query): /build/buildd/mir-0.12.1+15.04.20150324/src/platforms/android/server/server_render_window.cpp(90): Throw in function virtual int mir::graphics::android::ServerRenderWindow::driver_requests_info(int) const03:47
shengchiehDynamic exception type: N5boost16exception_detail10clone_implINS0_19error_info_injectorISt13runtime_errorEEEE03:48
shengchiehstd::exception::what: driver requests info we dont provide. key: 1003:48
shengchiehSo, we need to build a modified graphics-android.so.1 for our devices.03:48
duflushengchieh: Good news: grapphics-android.so is not device specific. It's just Mir-version-specific03:48
duflushengchieh: It appears your problem is that mir-team broke the ABI of graphics-android.so.1 between releases 0.11 and 0.12 but failed to bump the ABI number. So that's a problem. Although overwriting the binary using your 0.12 build is probably the only option03:51
shengchiehSo, should I use mir 0.11 and have a build to  test it again?  I want to make sure the so files can be executed successfuly first.03:52
shengchiehBut I am confused about my mir version, becase based on the log, it looks like 0.1203:53
shengchieh /build/buildd/mir-0.12.1+15.04.20150324/src/platforms/android/server/server_render_window.cpp03:53
duflushengchieh: Yes, a recent Ubuntu Touch installation should have no Mir version older than 0.12 on it. The 0.11 issue sounds like it's from a stale package. Try uninstalling the driver package that is versioned 0.11* and replace it with the 0.12 driver package03:55
dufluIt should be called mir-platform-graphics-android103:57
shengchiehSorry, I am newbie for ubuntu touch, can I knnow how to uninstall the driver? thanks.03:59
duflushengchieh: Or download the latest 0.12 packages for armhf here: https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-013/+build/710538403:59
duflushengchieh: Make sure you have a working internet connection on the device, then: sudo mount -o remount,rw / ; sudo apt-get update ; sudo apt-get dist-upgrade04:00
dufluShould fix it completely actually04:00
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== guest42345 is now known as o
=== o is now known as Guest57566
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
alan_ggreyback: just a FYI - I've pushed my WIP on window management to lp. There's a bunch of prerequisites already queued but you've seen most of them. https://code.launchpad.net/~alan-griffiths/qtmir/window-management/+merge/26718112:05
greybackalan_g: many thanks, shall have a loo12:06
greybackk12:06
=== alan_g is now known as alan_g|lunch
=== chihchun_afk is now known as chihchun
dandraderanpok_, ping12:42
=== alan_g|lunch is now known as alan_g
kenvandinegreyback, http://paste.ubuntu.com/12013841/14:04
greybackkenvandine: why is mouse-primary-button-enum != primary-button-enum ?14:05
kenvandinewhoops14:06
kenvandinei think that was a mistake14:06
kenvandinegreyback, http://bazaar.launchpad.net/~ken-vandine/unity8/mouse_touchpad_schema/view/head:/data/com.canonical.Unity8.gschema.xml14:09
greybackkenvandine: ok, looks reasonable, now need to see what mir supports!14:19
kenvandinegreyback, great, thanks14:20
greybackanpok_: hey, you've knowledge of the input stack, can you have a look at Ken's xml file above and see if Mir would have any built-in support for those settings?14:27
alan_gcamako: can you confirm whether this is OK with your Mir-on-X work? https://code.launchpad.net/~andreas-pokorny/mir/disable-android-input-stack-when-platform-available/+merge/26702214:33
camakoalan_g, will do14:33
=== dandrader is now known as dandrader|afk
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== dandrader_ is now known as dandrader
AlbertAcool a short example exhibits the same GCC5 armhf bug...16:50
AlbertAhttp://pastebin.ubuntu.com/12014642/16:50
AlbertAnow to report the issue...16:50
alan_gAlbertA: it /could/ be simpler. Vis: "int main()"16:53
alan_gthanks for tracking it down16:53
AlbertAalan_g: heh true...force of habit16:54
greybackAlbertA: hey, could I get you to rebase lp:~albaguirre/qtubuntu/use-mir-surface-apis on top of lp:~dandrader/qtubuntu/busySwap-lp1473720. I want to land both, but they conflict16:56
AlbertAgreyback: np16:56
greybackta16:56
bschaeferAlbertA, nice find!17:07
AlbertAgreyback: ok I merged daniel's branch into https://code.launchpad.net/~albaguirre/qtubuntu/use-mir-surface-apis/+merge/26225717:14
greybackAlbertA: could you please re-propose the MR, with daniel's branch as a prereq. Just to keep reviews clear17:15
AlbertAgreyback: done17:18
greybackthank you17:18
anpok_greyback: will take a look17:43
greybackanpok_: thanks. I know libinput probably has support for more bits, but we're stuck with android input on phone, yeah?17:44
anpok_nope..17:50
anpok_we can settle with one17:50
anpok_interesting part is.. we might have to apply that per session..17:50
greybackeh? use-case?17:51
greybackwe don't want clients of unity8 to have their own input config17:52
anpok_and thus either expose the settings to usc, and let usc apply it... or apply those settings within nested mir...17:52
greybackI vote for USC17:52
anpok_just a matter of where to put the code.. and when to switch settings17:52
greybackor make a special mir_client interface for neste servers, which adds bits like this17:52
anpok_exposing the setting to usc.. might mean that there is client api for config.. yes..17:53
anpok_greyback: how are those speed settings defined?17:59
anpok_i mean... are there more detailed descriptions available or is this just a list of required settings and we shall figure out which ranges are reasonable?18:00
greybackanpok_: it's just a list of required settings really18:10
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader

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