[02:47] duflu: Do you have a working mako handy? [02:48] duflu: 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? [03:00] RAOF: 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:01] duflu: That's fine. I'll try building in a vivid chroot and deploying... [03:26] hi, 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:30] shengchieh: Got a log of what the exception says? [03:31] shengchieh: Also, feel free to log bugs and any issues you have can be discussed and resolved offline: https://bugs.launchpad.net/mir/+filebug [03:37] the log is : $/usr/share/ubuntu-touch-session/usc-wrapper --file'/run/mir_socket' --from-dm-fd 9 --to-dm-fd 13 --vt 1 [03:37] Warning:ignoring unrecognised arguments: --vt 1 [03:37] [527.561310]Server: Starting [03:37] [527.562040]Loader: Loading modules from: /usr/lib/arm-linux-gnueabihf/mir/server-platform [03:37] [527.562228]Loader: Loading module:/usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-mesa.so.1 [03:37] [527.567219]Loader: Loading module:/usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-dummy.so [03:37] [527.576294]Loader: Loading module:/usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android.so.1 [03:37] [527.578435]Platform Loader: Selected driver: android (version 0.11.0) [03:37] Killed [03:40] shengchieh: 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:43] Also, Mir 0.14 is released. We recommend using that. [03:44] Hi duflu, thanks for your suggestion, but we overwirte the previous .so files and use the same folder. [03:44] shengchieh: Then you also need to overwrite /usr/lib/arm-linux-gnueabihf/mir/... with your newly built drivers [03:45] Although other parts of the phone will then fail (broken ABIs) [03:47] We can not use Ubuntu's mir, because we have an integration issue with our devices.... Our EGL query an information which mir does not support [03:47] That's what we need to modify somethin in mir to fit our egl [03:47] Here comes original error log: [157678.315339] 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) const [03:48] Dynamic exception type: N5boost16exception_detail10clone_implINS0_19error_info_injectorISt13runtime_errorEEEE [03:48] std::exception::what: driver requests info we dont provide. key: 10 [03:48] So, we need to build a modified graphics-android.so.1 for our devices. [03:48] shengchieh: Good news: grapphics-android.so is not device specific. It's just Mir-version-specific [03:51] shengchieh: 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 option [03:52] So, 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:53] But I am confused about my mir version, becase based on the log, it looks like 0.12 [03:53] /build/buildd/mir-0.12.1+15.04.20150324/src/platforms/android/server/server_render_window.cpp [03:55] shengchieh: 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 package [03:57] It should be called mir-platform-graphics-android1 [03:59] Sorry, I am newbie for ubuntu touch, can I knnow how to uninstall the driver? thanks. [03:59] shengchieh: Or download the latest 0.12 packages for armhf here: https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-013/+build/7105384 [04:00] shengchieh: 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-upgrade [04:00] Should fix it completely actually === 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 [12:05] greyback: 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/267181 [12:06] alan_g: many thanks, shall have a loo [12:06] k === alan_g is now known as alan_g|lunch === chihchun_afk is now known as chihchun [12:42] anpok_, ping === alan_g|lunch is now known as alan_g [14:04] greyback, http://paste.ubuntu.com/12013841/ [14:05] kenvandine: why is mouse-primary-button-enum != primary-button-enum ? [14:06] whoops [14:06] i think that was a mistake [14:09] greyback, http://bazaar.launchpad.net/~ken-vandine/unity8/mouse_touchpad_schema/view/head:/data/com.canonical.Unity8.gschema.xml [14:19] kenvandine: ok, looks reasonable, now need to see what mir supports! [14:20] greyback, great, thanks [14:27] anpok_: 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:33] camako: 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/267022 [14:33] alan_g, will do === 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 [16:50] cool a short example exhibits the same GCC5 armhf bug... [16:50] http://pastebin.ubuntu.com/12014642/ [16:50] now to report the issue... [16:53] AlbertA: it /could/ be simpler. Vis: "int main()" [16:53] thanks for tracking it down [16:54] alan_g: heh true...force of habit [16:56] AlbertA: 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 conflict [16:56] greyback: np [16:56] ta [17:07] AlbertA, nice find! [17:14] greyback: ok I merged daniel's branch into https://code.launchpad.net/~albaguirre/qtubuntu/use-mir-surface-apis/+merge/262257 [17:15] AlbertA: could you please re-propose the MR, with daniel's branch as a prereq. Just to keep reviews clear [17:18] greyback: done [17:18] thank you [17:43] greyback: will take a look [17:44] anpok_: thanks. I know libinput probably has support for more bits, but we're stuck with android input on phone, yeah? [17:50] nope.. [17:50] we can settle with one [17:50] interesting part is.. we might have to apply that per session.. [17:51] eh? use-case? [17:52] we don't want clients of unity8 to have their own input config [17:52] and thus either expose the settings to usc, and let usc apply it... or apply those settings within nested mir... [17:52] I vote for USC [17:52] just a matter of where to put the code.. and when to switch settings [17:52] or make a special mir_client interface for neste servers, which adds bits like this [17:53] exposing the setting to usc.. might mean that there is client api for config.. yes.. [17:59] greyback: how are those speed settings defined? [18:00] 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:10] anpok_: it's just a list of required settings really === dandrader is now known as dandrader|afk === dandrader|afk is now known as dandrader