**** BEGIN LOGGING AT Sun May 13 03:00:07 2018 May 13 04:39:15 Morning? May 13 04:39:40 Tofe: Where I need to add this? In the anbox.bb ? May 13 04:42:20 Because when I do that I get: ERROR: Nothing PROVIDES 'virtual/libEGL' (but /home/herrie/LuneOS/pyro/webos-ports/meta-webos-ports/meta-luneos/recipes-support/anbox/anbox.bb DEPENDS on or otherwise requires it). May 13 06:15:59 Tofe: I guess I need virtual/egl: https://github.com/shr-distribution/meta-smartphone/blob/pyro/meta-android/recipes-core/libhybris/libhybris_git.bb#L24 May 13 07:27:16 Tofe: If I depend on libhybris it seems to behave better but ashmem fails May 13 07:27:30 I'm out till late afternoon probably then can probably paste a log May 13 07:27:42 Might be similar to your Hammerhead isue May 13 07:27:54 Though Mido uses 3.18 May 13 07:43:31 Morning! May 13 07:46:30 Herrie: yes sorry it was virtual/egl; also you'll need a modified patch, I'll push that soon May 13 07:50:22 Herrie: ashmem and binder will still fail yes, the API must have changed I guess May 13 08:01:54 Also I've already seen this kind of issue reported twice on anbox's GH, so it seems the modules use a quite recent API May 13 08:14:53 oh but wait, this binder and ashmem stuff is already included in our android flavored kernels :D May 13 08:33:18 Tofe: Not sure if morphis patched the modules somehow May 13 08:33:28 But yes our kernels should have them already May 13 08:33:43 Herrie|Pre3: I now have built anbox for hammerhead May 13 08:33:51 not that I really expect it to work anyway May 13 08:33:59 I'll push the changes May 13 08:35:51 https://github.com/Tofee/meta-webos-ports/commit/b0f384739f0e3ccadf7ea9aecc508e5e01e9d0a7 this commit (I also changed the previous one slightly) should work now May 13 08:54:19 repushed, there was a typo May 13 08:54:52 ... and I forgot to put in place a recipe for the data May 13 09:01:23 Tofe: Will try when back later today, now @ zoo :P May 13 09:03:03 enjoy ! May 13 15:55:10 Herrie: now current status is that anbox crashes at startup, and I don't know why. But on a 3.4 kernel, it might be a whole lot of reasons... May 13 16:26:00 Tofe: OK May 13 16:26:03 Well I just got home May 13 16:26:07 Will have a go in a bit I guess May 13 16:43:47 Tofe: I'd need to add the kernel modules to the machine.conf in the meta-smartphone right? May 13 16:46:51 Tofe: I'd also need to add the arm64 image right to the anbox-data recipe? May 13 16:46:59 https://build.anbox.io/android-images/2017/08/04/android_1_arm64.img May 13 16:49:36 Herrie: that last one is already in my commits May 13 16:49:50 (in anbox branch, not webosose) May 13 16:50:06 (I didn't rebase it yet on top of webosose) May 13 16:50:35 for the kernel modules, you'll need to activate them in the defconfig May 13 16:51:22 Here's what I added for hammerhead: https://bpaste.net/show/7ec017e1213b May 13 16:59:56 Tofe: There's only arm, not arm64 in https://github.com/Tofee/meta-webos-ports/blob/2681f2c4371653417002fc5964f56770d8ce75c5/meta-luneos/recipes-support/anbox/anbox-data.bb May 13 17:01:27 ah yes, I forgot to add arm64 May 13 17:02:39 can you give me its sha256sum ? May 13 17:03:40 Also I realize I don't know which architecture suffix I should use May 13 17:04:43 aarch64 maybe ? May 13 17:24:49 Tofe not sure May 13 17:25:00 I'm not sure baout the sha256sum either May 13 17:25:01 wait a bit, I'm going to push that May 13 17:25:03 I'll try something here May 13 17:25:27 done May 13 17:25:34 hope it works, I didn't test it... May 13 17:26:14 Tofe: OK May 13 17:26:20 Well I'll be testing in a minute ;) May 13 17:28:44 There it goes May 13 17:28:45 Let's see May 13 17:28:51 Seems I'll be doing a webengine rebuild as well May 13 17:28:53 But well May 13 17:29:01 Lets first see how this anbox build behaves May 13 17:30:14 For me it goes pretty well now May 13 17:36:08 Well 3.4 is not expected to work, but without all the snappy stuf it might actually theoretically work May 13 17:36:17 Not sure what drives the 3.10+ requirement May 13 17:36:26 I got until the point where is starts, but nothing shows up May 13 17:36:28 I guess we could ping morphis about this May 13 17:38:20 also I'm discussing a PR for libhybris related to anbox https://github.com/libhybris/libhybris/pull/387 May 13 17:38:25 Well anbox compiled May 13 17:38:51 \o/ May 13 17:39:05 It's packaging now May 13 17:39:10 Then I'll start the build for whole image May 13 17:39:46 WARNING: anbox-3.0+gitrAUTOINC+4a5cb84231-r0 do_package_qa: QA Issue: anbox rdepends on kernel-module-squashfs, but it isn't a build dependency? [build-deps] May 13 17:39:53 I guess I need some defconfig tweak still May 13 17:40:19 you still have this rdepends ? looks like you don't have the latest version ? May 13 17:40:47 Well I manually picked some things May 13 17:40:50 I removed it, lately, because squashfs is builtin in the kernel for arm devices May 13 17:41:52 ok I just pushed some libhybris fixes, which should help starting the session manager May 13 17:42:00 at least for me is works, or seems to work May 13 17:42:05 Yes May 13 17:42:10 I have it in my defconfig as well May 13 17:42:28 so anbox-data builds ok for you ? May 13 17:42:32 https://github.com/Herrie82/android_kernel_xiaomi_msm8953/blob/pgz-14.1-eb8/arch/arm64/configs/mido_defconfig#L4662 May 13 17:42:35 Not sure May 13 17:43:11 my last changes were done in the dark, so I hope I didn't break it :p though it's far from being a complex recipe May 13 17:45:03 Herrie: also, I suggest you include anbox in the sideload directly, because it's a pain to guess all the dependencies May 13 17:45:37 (i.e. in the machine's image, like I did for qemu and hammerhead) May 13 17:46:25 Tofe: Not sure what you mean? May 13 17:47:11 Tofe: Ah you mean in the packagegroup May 13 17:47:14 https://github.com/Tofee/meta-webos-ports/commit/bc87827db4217d7e3e7e08d3606a61bb7458cc62#diff-c97edbed1c6225a88e460a687143aa3cR154 simply May 13 17:47:16 yes May 13 17:47:19 Where you add the anbox just like the memnotify? May 13 17:47:28 The anbox-data fails May 13 17:48:01 yes like memnotify May 13 17:48:08 ah, what fails? May 13 17:48:29 https://bpaste.net/show/18a4d0d06132 May 13 17:48:41 Seems it searches for arm64 and not aarch64 May 13 17:48:50 Testing now with arm64 instead of aarch64 May 13 17:49:01 ah, I messed up the name May 13 17:49:13 That seems to work May 13 17:49:20 back to webengine :P May 13 17:49:27 ok good May 13 17:49:40 I fixed that already actually, so we're all ok here I think May 13 17:50:00 Like I said I'm not sure what calls for the "hard" 3.10+ requirement of Anbox May 13 17:50:02 if it May 13 17:50:10 's the snap stuff we got rid of that May 13 17:50:16 So it could be something systemd etc May 13 17:50:20 But should be back-portable May 13 17:50:29 I don't know either; that would be great if it could work with 3.4 :p May 13 17:50:59 Yes May 13 17:51:10 Herrie: let me give you the steps to start the anbox thingy May 13 17:51:15 Or we should have some donation of a newer device :P May 13 17:51:27 Yeah I'll need those by the morning I guess ;) May 13 17:53:00 1) "systemctl start anbox-container-manager" May 13 17:53:00 2) export EGL_PLATFORM=wayland SDL_VIDEODRIVER=wayland XDG_RUNTIME_DIR=/tmp/luna-session/ May 13 17:53:00 3) anbox session-manager May 13 17:53:00 4) anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity May 13 17:53:39 step 3) should get you the android container started alright May 13 17:53:57 step 4) ... well... it doesn't complain, but doesn't show anything either. May 13 17:54:00 Anything I can check to test stuff May 13 17:54:38 there is "anbox system-info" May 13 17:54:46 but it crashes on my N5 May 13 17:55:04 (because of an invalid file handle, somehow, I don't know why) May 13 17:55:05 OK May 13 17:55:21 might be related to the drivers, so maybe it'll work on mido May 13 17:56:43 also when I start the session-manager, I get "EGL doesn't support surfaceless context", which isn't fatal, but I don't know how related it is to the fact that nothing shows up in the end May 13 17:57:32 ah and don't forget my latest commit about libhybris; this will get you through a crash for session-manager May 13 18:01:46 Tofe: Yeah I'll need to add that one still but well May 13 18:06:10 oooh I got something on the screen May 13 18:06:22 ...and it crashed :D May 13 18:06:52 so, when you'll start another adb shell for step 4), only do export XDG_RUNTIME_DIR=/tmp/luna-session/ May 13 18:07:00 the other ones will just get in the way May 13 18:08:14 mmmh not realted it seems, not sure what I did to help it start... May 13 18:16:49 ok I seem to have broken it somehow, let's reflash May 13 18:18:33 Well my webengine is at 50% :P May 13 18:44:14 ok I actually get lots of EGL errors May 13 18:44:49 W/Adreno-GSL( 0): : fd 27: error 2 No such file or directory May 13 18:44:49 W/Adreno-ES20( 0): : GL_INVALID_OPERATION May 13 18:44:58 I guess something's wrong here :p May 13 18:50:43 ok that's enough for today May 13 18:53:15 Yup ;) May 13 18:53:21 Sleep & fresh mind will help ;) May 13 18:53:45 Webengine only at 66% here May 13 19:03:21 :) May 13 19:15:16 When I have some spare EUR I guess I should upgrade my builder :P May 13 19:15:29 But we saw a very nice house today, so that might be in a while May 13 19:22:06 LOL May 13 19:26:46 Herrie: well it's not in the same price range... I hope... :) May 13 19:39:38 Tofe: Well no ;) May 13 19:39:51 Need to see what I can finance since my income is a bit funny May 13 19:39:58 And they look at what's "stable". May 13 19:40:04 And the definition is a bit flexible May 13 19:40:16 I.e. some count a 13th month, bonus etc, some don't May 13 19:40:22 Also depends on how company fills stuff in ;) May 13 19:40:51 So some homework to do ;) **** ENDING LOGGING AT Mon May 14 03:00:01 2018