**** BEGIN LOGGING AT Thu Nov 25 02:59:56 2021 Nov 25 07:31:37 Morning! Nov 25 07:44:49 Morning! **** BEGIN LOGGING AT Thu Nov 25 07:45:48 2021 Nov 25 11:04:02 Tofe: Having some issues with your instructions for Waydroid: Nov 25 11:04:08 mount --bind /tmp/luna-session /run/luna-session/ Nov 25 11:04:08 mount: /run/luna-session/: mount point does not exist. Nov 25 11:27:04 morning Nov 25 11:29:41 JaMa: Morning! Nov 25 11:29:52 Tofe: I made a quick suggestion for the gbinder.conf installation: https://github.com/Tofee/meta-webos-ports/pull/7 Nov 25 13:16:10 Tofe: Seems somehow it cannot find gbinder for python at my end :S Nov 25 13:16:53 Which should be provided by python3-gbinder which should be pulled in by waydroid.bb, no ? Nov 25 14:58:18 JaMa: You around? Nov 25 15:20:56 Somehow the python3-gbinder python3-pygobject libgbinder which are in the DEPENDS of waydroid.bb don't get installed on the image itself.... When I add them to the RDEPENDS in the packagegroup they get installed, but that's not the proper way I guess? RDEPENDS:${PN}:append:qemux86-64 = " ${QEMU_RDEPENDS} waydroid python3-gbinder python3-pygobject libgbinder" Nov 25 15:21:07 Must be doing something silly wrong Nov 25 15:24:59 Tofe: This is my waydroid.log for now: https://bpa.st/STPQ Nov 25 15:57:25 Herrie: maybe I forgot something; I did add them by end, during my experiments, so maybe they're not on my image either Nov 25 15:58:41 Herrie: you have: lxc-start: waydroid: network.c: instantiate_veth: 291 Operation not supported - Failed to create veth pair "vethDzvBUy" and "veth4puIMt" Nov 25 15:59:02 so my guess is that there is something not active in the kernel for network in cgroups or something like that Nov 25 15:59:36 the pinephone defconfig is in meta-pine64-webos, is needed for compare Nov 25 15:59:41 if* Nov 25 16:00:26 maybe CONFIG_VETH Nov 25 16:00:37 Tofe: Yeah I'll check that one Nov 25 16:03:16 Tofe: More problematic is that "mount --bind /tmp/luna-session /run/luna-session" doesn't work I guess Nov 25 16:04:48 CONFIG_VETH is not set indeed Nov 25 16:05:00 I'll just cross check the Anbox DEFCONFIG options to be sure Nov 25 16:07:17 the main goal of the bind mount is to have /run/luna-session/wayland.0 socket available on the lxc side Nov 25 16:07:50 why do you think it doesn't work ? mount --bind fails ? Nov 25 16:08:57 Tofe: Yeah it fails Nov 25 16:09:28 "mount: /run/luna-session/: mount point does not exist." Nov 25 16:10:42 - /tmp/luna-session exists and has 3 files Nov 25 16:10:55 pulse, wayland-0 and wayland-0.lock Nov 25 16:13:15 ah, maybe create /run/luna-session first Nov 25 16:13:51 it's all still very sketchy :) Nov 25 16:15:18 Tofe: Yeah, I added some defconfig flags now Nov 25 16:15:25 I will run lxc-checkconfig as well Nov 25 16:15:36 Because we never run LXC inside qemux86-64 normally Nov 25 16:15:43 So I guess we'll be missing some flags Nov 25 16:15:51 Next to the required anbox/waydroid ones Nov 25 16:16:07 I think pinephone was good to go because we tried anbox on it before Nov 25 16:16:34 or maybe because the ubports guys did put it by default :p Nov 25 16:16:58 Tofe: Yeah both I guess Nov 25 16:37:08 Tofe: Should "waydroid container start" give any output? Nov 25 16:37:32 one line or two, complaining about the clipboard Nov 25 16:37:57 when the container is started, you then have to start either the full-ui, or the session+start app Nov 25 16:38:25 How is the container called? Nov 25 16:38:31 waydroid Nov 25 16:38:46 but you can do waydroid shell and get a shell in the container Nov 25 16:38:54 it's really user friendly Nov 25 16:39:01 well, hacker friendly Nov 25 16:44:23 Well container stops, so I cannot shell into it Nov 25 16:44:29 waydroid.log looks better though Nov 25 16:45:35 you have binder and ashmem modules in kernel, right? Nov 25 16:45:51 I guess so Nov 25 16:45:53 How to check Nov 25 16:46:05 if it's modules, just "lsmod" Nov 25 16:46:12 otherwise, maybe grep dmesg Nov 25 16:46:21 or grep /proc/config.gz Nov 25 16:46:45 Well I built it with "Y" not with "M" Nov 25 16:47:14 They appear in /dev though Nov 25 16:47:24 ok, so that's fine Nov 25 16:47:27 like on the pinephone Nov 25 16:49:55 I mean waydroid.log looks pretty OK: https://bpa.st/PV2Q Nov 25 16:50:49 lxc-checkconfig is good too except for CONFIG_NF_NAT_IPV4, CONFIG_NF_NAT_IPV6 and "checkpoint restore" that are missing Nov 25 16:53:17 Herrie: so "waydroid container start" exits without any message ? Nov 25 16:53:25 or does it wait Nov 25 16:53:53 because if it's waiting, that's good, and next step is to start the full-ui Nov 25 16:54:00 But seems these CONFIG_NF_NAT_IPV4 and CONFIG_NF_NAT_IPV6 have been replaced by CONFIG_NF_NAT Nov 25 16:54:04 In Kernel 5.1+ Nov 25 16:54:10 And that's set to M in my defconfig Nov 25 16:54:17 It just keeps waiting Nov 25 16:54:31 ok, so maybe it's fine then Nov 25 16:54:48 open another shell, export the XDG variables, and start full-ui Nov 25 16:56:07 Well I tried that before, doesn't work Nov 25 16:56:36 sorry, gotta go, a beer reunion for a future ex-colleague :) Nov 25 16:56:44 Good excuse Nov 25 16:56:50 Soon those won't be allowed here anymore :( Nov 25 16:56:55 Only till 17:00 it seems Nov 25 16:56:58 So enjoy it while you can Nov 25 16:57:11 exactly Nov 25 17:01:39 OK log for later: https://bpa.st/4HUQ Nov 25 17:01:44 Seems something cgroup related Nov 25 17:01:46 I'll have a look Nov 25 18:00:48 Herrie|Titan|2: pong Nov 25 18:02:53 JaMa: Trying to get waydroid to run (replacement of Anbox let's say). HAving some issues with dependencies to get installed in image Nov 25 18:04:24 https://github.com/Tofee/meta-webos-ports/commit/b862dcc902890adae7874561102bd2da49465380 Nov 25 18:04:44 Stuff like python3-gbinder, libgbinder etc Nov 25 18:04:55 I guess it should be RDEPENDS instead, since it needs it on runtime ? Nov 25 18:32:55 if it doesn't link with a library provided by these, then package.bbclass cannot automatically add runtime dependency on it and indeed it needs to be in RDEPENDS:${PN} Nov 25 18:45:29 OK Nov 25 18:45:38 Will try that later **** ENDING LOGGING AT Fri Nov 26 02:59:56 2021