Tofe | mal: do you know where I could find the built arm64 image you're using for running anbox on sfos? I'd just like to try your bionic lib, basically | 07:23 |
---|---|---|
mal | Tofe: I don't have full 64-bit image, only a 32-bit with 64-bit binder which runs on 64-bit kernels | 08:30 |
Tofe | ah ok | 08:41 |
steeeve | Mal: got networking. What about keyboard not showing up :/( | 10:17 |
steeeve | ? | 10:17 |
mal | you need to install some keyboard | 10:47 |
mal | so copy a keyboard apk to the /var/lib/anbox/data/app folder | 10:47 |
mal | and restart anbox | 10:48 |
Tofe | eww what, there's no vkb in anbox by default ? | 10:49 |
mal | nope | 10:50 |
Tofe | oh. | 10:50 |
mal | it's originally meant for desktop I think | 10:50 |
mal | I just need to find a suitable aosp keyboard that I can include in the image | 10:51 |
Tofe | I would have thought google's vkb would be builtin | 10:51 |
mal | also I need to move anbox data folder from /var/lib/anbox to user home because on official devices like xperia x the rootfs is quite small | 10:51 |
mal | Tofe: I think it was disabled, just need to see how to re-enable it | 10:52 |
Tofe | ah ok :) | 10:52 |
Tofe | I think I'll need to build the android image at some point, unfortunately; I need some of the patches for init | 10:52 |
Tofe | I'm stumbling on https://github.com/mlehtima/android_system_core/blob/hybris-14.1/init/property_service.cpp#L70 and it seems the only way is to comment out the "exit(1)" line | 10:54 |
mal | that exactly are you trying to do? | 10:58 |
mal | *what | 10:58 |
Tofe | mal just getting anbox to work on luneos :) | 11:04 |
Tofe | I'm reusing their arm64 image as-is for the moment | 11:04 |
mal | Tofe: are you trying to use the upstream anbox? I tried to get that running on sailfish without success so far, android side starts but graphics don't work i.e. the sdl side thingy | 11:07 |
Tofe | mal: well I'm not there yet because of the init issue; but we'll see | 11:17 |
Tofe | but yes, I'm trying upstream anbox | 11:17 |
Tofe | With a little patch for wayland | 11:18 |
mal | Tofe: I also had some patch for wayland, could you show your patch so I can see if that is done the same way | 11:19 |
Tofe | patches are there: https://github.com/Tofee/meta-webos-ports/tree/anbox/meta-luneos/recipes-support/anbox/anbox | 11:19 |
mal | thanks, I'll have a look | 11:24 |
Tofe | It's quite straightforward :) (maybe too straightforward, I don't know yet) | 11:26 |
mal | yep, I had almost the same, one mistake in my code | 11:27 |
mal | need to check the other patches also | 11:27 |
Tofe | The other ones are probably less interesting, they're more luneos-specific for many of them | 11:29 |
mal | at least I got it to build quite easily, just need to figure out why graphics didn't work, could be the mistake I had (it was in the SDL_SYSWM_WAYLAND) | 11:34 |
raandoom_ | does someone has any luck to run anbox with kernel 3.4? | 12:02 |
mal | almost, I got the android side running but graphics fail | 12:42 |
nh1402[m] | wow, didn't know that | 12:49 |
mal | could be some missing permission thingy or something in the namespace support | 12:52 |
raandoom_ | mal: can you show your kernel patches for it? | 15:06 |
raandoom_ | i tried to apply all patches from containers-v75 branch from begin and no luck :) | 15:07 |
raandoom_ | all == about 300 patches | 15:08 |
mal | I'll have to check which patch it was, it was just one or two additional patches after the normal patches | 15:26 |
steeeve | Im pretty sure that the cause of anbox-container-manager service stopping is that ip6tables in not present, in fact if i use new anbox-bridge and install iptables-ipv6 it doesnt crash | 15:52 |
steeeve | Which is better than removing anbox-bridhe line in systemd service :D | 15:53 |
mal | that is actually older anbox-bridge | 15:54 |
steeeve | No | 15:55 |
steeeve | The new one | 15:55 |
steeeve | Sailfish doesnt have ipv6 iptables, so, new script fails if you dont install it, first | 15:55 |
mal | the one I gave you yesterday is older than the one in one included in anbox installation | 15:56 |
steeeve | Srsly? | 15:57 |
steeeve | Ahh | 15:57 |
steeeve | Thats why branch was a commit hash :/ | 15:58 |
raandoom_ | mal: what do you mean with 'normal patches'? the last ~40 patches from containers-v75? | 16:11 |
mal | raandoom_: I mean the normal anbox patches (4 or something) | 16:13 |
mal | the huge amount of containers patches don't seem to be needed | 16:14 |
raandoom_ | mal: really? you are about last 7 patches here https://github.com/CancroSailors/android_kernel_xiaomi_cancro/commits/anbox ? | 16:16 |
raandoom_ | litew: do you read that? | 16:17 |
mal | well it doesn't work yet | 16:18 |
raandoom_ | mal: but we can start from this point too | 16:20 |
litew | raandoom_: yep | 18:00 |
litew | my pastebin is lost unfortunately, as I remember I had this critical error when starting surfaceflinger inside anbox container: "Couldn't set SCHED_FIFO for SFEventThread" | 18:00 |
mal | piggz: ping | 19:24 |
steeeve | mal: pong | 19:54 |
mal | ? | 19:54 |
steeeve | Hehe, you got re-pinged | 19:54 |
piggz | mal: pong | 21:20 |
piggz | mal: apologies, i got dragged to the pub for some sports event | 21:20 |
mal | piggz: just thinking about your overlay patch, the upstream anbox has support for the newer overlay support but that doesn't use workdir like your patch did https://github.com/anbox/anbox/commit/77a4cc7f3be0b5bcadd89352a21ac6358e4a3eb5 | 21:21 |
mal | piggz: so wondering why you needed workdir | 21:22 |
piggz | mal: afaict, if workdir is omitted, the fs is readonly | 21:24 |
mal | piggz: is there any need to have it rw? | 21:25 |
mal | the rootfs should be readonly | 21:25 |
piggz | *insert shrug emoji here* | 21:25 |
mal | the data folder is where data is stored | 21:25 |
piggz | https://unix.stackexchange.com/questions/324515/linux-filesystem-overlay-what-is-workdir-used-for-overlayfs/330166 | 21:25 |
piggz | mal: unless its a 3.18 issue, i wil have to look in my kernel sources | 21:27 |
piggz | mal: this says https://windsock.io/the-overlay-filesystem/ | 21:28 |
piggz | if the upperdir is omitted, the workdir is optional | 21:28 |
piggz | and we use upperdir? | 21:28 |
mal | piggz: we used that but upstream anbox uses lowerdir which doesn't need workdir I think | 21:30 |
mal | piggz: ah, the upstream overlay format requires kernel 4.0 or newer | 21:31 |
mal | so we need to have 3 different overlay support formats in anbox | 21:33 |
piggz | eek | 21:35 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!