#sfdroid log for Monday, 2017-05-15

*** Piece_Maker <Piece_Maker!~Acou_Bass@host-78-144-157-133.as13285.net> has joined #sfdroid02:31
*** Acou_Bass <Acou_Bass!~Acou_Bass@host-89-241-242-228.as13285.net> has quit IRC (Ping timeout: 255 seconds)02:34
*** Piece_Maker is now known as Acou_Bass02:34
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-kihrpfdjdxrbqgcz> has joined #sfdroid02:46
*** piggz_ <piggz_!~piggz@95.147.209.146> has joined #sfdroid06:25
*** piggz_ <piggz_!~piggz@95.147.209.146> has quit IRC (Ping timeout: 268 seconds)06:31
*** piggz_ <piggz_!~piggz@95.147.209.146> has joined #sfdroid07:06
*** piggz_ <piggz_!~piggz@95.147.209.146> has quit IRC (Ping timeout: 272 seconds)07:13
locusfyay!07:52
locusfnow just gotta figure out the correct kernel08:00
mallocusf: I can build it, unless you are in a hurry to get it right now, the changes should be quite small afaik09:00
locusfmal: nope09:03
locusfnot in a hurry09:03
malI just rebase hybris-14.1 to lineage yesterday, need to test it soon09:05
*** nh1402 <nh1402!~nh1402@81.133.137.69> has joined #sfdroid10:15
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-146-124.play-internet.pl> has joined #sfdroid10:35
saidinesh5locusf: how do i use a more recent gcc for building this? https://build.merproject.org/package/live_build_log/home:saidinesh5:anbox/android-tools/sailfish_latest_armv7hl/armv8el10:46
saidinesh5nh1402: https://build.merproject.org/package/show/home:saidinesh5:anbox/anbox10:47
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-146-124.play-internet.pl> has quit IRC (Ping timeout: 272 seconds)10:47
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-146-124.play-internet.pl> has joined #sfdroid10:51
*** Mister_Magister_ is now known as Mister_Magister12:02
locusfsaidinesh5: don't know if its possible12:17
*** TheKit <TheKit!~nekit@178.45.144.138> has quit IRC (Remote host closed the connection)12:18
saidinesh5oh.. hmm..12:18
*** NeKit <NeKit!~nekit@178.45.144.138> has joined #sfdroid12:35
*** mp107 <mp107!~mp107___@PC-109-125-232-42.wegrow.domtel.com.pl> has joined #sfdroid14:35
*** mp107 <mp107!~mp107___@PC-109-125-232-42.wegrow.domtel.com.pl> has quit IRC (Quit: Leaving)14:48
*** nh1402 <nh1402!~nh1402@81.133.137.69> has quit IRC (Quit: Leaving)15:38
krnlyng__saidinesh5, neat16:36
krnlyng__saidinesh5, now we just need to test it if we've broken anything :D16:36
krnlyng__saidinesh5, what was the issue?16:36
krnlyng__ah i see the link16:36
saidinesh5krnlyng__: dunno.. something related to file name length i think16:37
saidinesh5krnlyng__: btw.  i think we have to split up that prepare-anbox script .. it was even doing bind mounts..16:39
krnlyng__saidinesh5, why split? i thought everything that belongs together should be in one place16:40
saidinesh5krnlyng__: the copying of files happens just once.. at the time of install16:40
saidinesh5the bind mounts happen everytime anbox is started..16:40
krnlyng__saidinesh5, yes16:40
krnlyng__but16:40
krnlyng__saidinesh5, this script only sets up a config file16:40
krnlyng__saidinesh5, which is loaded everytime by anbox16:40
saidinesh5Ahhh.. now i see the umount $ROOTFS16:41
saidinesh5i just saw the mount and jumped at that conclusion .. nevermind :p16:41
saidinesh5krnlyng__: another little nitpick.. could you rename the other project to anbox-sailfishos-image?16:42
saidinesh5if this project is anbox-sailfishos , the other being anbox-sfdroid-image feels odd..16:42
krnlyng__alright16:42
saidinesh5i am looking at that headless mode bit meanwhile though.. havent yet gotten to test anbox on device.. need to free up some space for the image to install i think16:43
saidinesh5willl do it tonight..16:44
saidinesh5my next phone will definitely be a 32GB+ model..16:46
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-146-124.play-internet.pl> has quit IRC (Remote host closed the connection)16:53
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-146-124.play-internet.pl> has joined #sfdroid16:57
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-146-124.play-internet.pl> has joined #sfdroid17:11
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-146-124.play-internet.pl> has quit IRC (Ping timeout: 268 seconds)17:11
maldid anyone have any issues applying the binder namespaces patches? https://lkml.org/lkml/diff/2013/12/22/16/1 https://lkml.org/lkml/diff/2013/12/22/15/117:45
krnlyng__mal, i think everyone had17:57
krnlyng__so far17:58
krnlyng__mal, for me it was minor issues, had to fix 2 rej's17:58
malkrnlyng__: I have 3 rejs for one and more than 11 for the other patch17:59
nh1402[m]i tried saidinesh5 patch from a few weeks ago now, that worked fine for me17:59
malnh1402[m]: where are those? I saw only the links I gave just a moment ago18:00
krnlyng__mal, which kernel version do you have?18:01
krnlyng__mal, there are patches for more recent kernel versions in the anbox repo18:01
mal3.418:01
nh1402[m]https://bpaste.net/show/adeda172130318:01
nh1402[m]mal: ^18:01
malnh1402[m]: is that both of them or just one?18:02
nh1402[m]I'm not sure18:02
krnlyng__mal, thats both18:02
saidinesh5mal: both18:02
malok, trying18:02
saidinesh5yeah had to clean up this patch for 3.4/Android .. it wasnt applying otherwise18:02
malonly one fail18:03
saidinesh5Ahh.. for me there were  a bunch..18:03
malsaidinesh5: the original patches had a lot but that seems almost ok18:04
saidinesh5yeah .. had to apply the original patches manually using a text editor.. otherwise it was full of rejects for me18:05
saidinesh5mal: 3 changes basically: https://github.com/CancroSailors/android_kernel_xiaomi_cancro/commits/anbox18:07
saidinesh5support for overlayfs, so we can reuse the android binary blobs and overlay them into the container's namespace, binder namespaces (so RIL wont break) , and  the third one to make lxc-checkconfig happy18:08
malsaidinesh5: ah, more defconfig changes than I assumed first18:12
saidinesh5yeah lxc2 wanted a lot more..18:12
saidinesh5mal: the def config changes, make sure you verify them with lxc-checkconfig18:12
malsaidinesh5: ok, need to find that18:15
saidinesh5it is installed when you install lxc .. you can install lxc from that repo18:15
saidinesh5ssu ar anbox-obs http://repo.merproject.org/obs/home:/saidinesh5:/anbox/sailfish_latest_armv7hl/18:15
saidinesh5zypper ref anbox-obs && zypper in anbox-sailfishos18:16
malsaidinesh5: ok, I thought it would be some offline script18:16
saidinesh5havent bothered separating that script18:16
saidinesh5cp /proc/config.gz /tmp/ && gunzip /tmp/config.gz18:16
saidinesh5CONFIG=/tmp/config lxc-checkconfig18:16
locusfisn't it in any repo?18:17
saidinesh5it should be in lxc repo18:17
locusflike git18:17
krnlyng__saidinesh5 has built the correct version of lxc in obs18:17
saidinesh5https://github.com/lxc/lxc/blob/master/src/lxc/tools/lxc-checkconfig.in18:17
malsaidinesh5: nothing provides anbox-sailfishos-image ?18:17
saidinesh5oh.. odd.. it is here: https://build.merproject.org/package/show/home:saidinesh5:anbox/anbox-sailfishos-image18:18
saidinesh5krnlyng__: did yu rebuild the rpm? or rename the old rpm?18:19
krnlyng__i rebuilt it18:19
krnlyng__https://bpaste.net/show/6e1b1bba618d18:19
saidinesh5hmm.. odd it isnt in the repo: http://repo.merproject.org/obs/home:/saidinesh5:/anbox/sailfish_latest_armv7hl/armv7hl/18:20
krnlyng__publish flag?18:20
krnlyng__i added it and triggered a rebuild18:22
krnlyng__time to test the rpms myself18:22
saidinesh5Ahh18:22
saidinesh5now we see it: http://repo.merproject.org/obs/home:/saidinesh5:/anbox/sailfish_latest_armv7hl/armv7hl/18:22
krnlyng__but the wayland code isn't doing itself either xD18:22
krnlyng__oh so rebuild wasn't necessary18:23
saidinesh5yeah odd.. i think it was just a publish flag thing18:23
saidinesh5oh well.. at least the repo is functional now..18:23
saidinesh5almost.. there's still the wonky adb18:24
saidinesh5adb/android-tools18:24
krnlyng__yeah18:24
krnlyng__we should probably just build an older version18:24
malsaidinesh5: maybe the rpm has some issues18:24
locusfit takes time to copy 270MB package18:24
krnlyng__because we don't have gcc-5/618:24
saidinesh5krnlyng__: how did you build it on your device? it should have the same gcc compiler right?18:25
krnlyng__i used an older version18:25
saidinesh5Ah so lets build the same version!18:25
saidinesh5just make sure to rename the binary to anbox-adb though18:25
krnlyng__yep18:26
krnlyng__just trying to complete the initial wayland code inside android first18:26
krnlyng__and we also should try and fix the boost mess at some point18:27
saidinesh5yeah, the boost mess will be the last thing for now though18:28
krnlyng__yeah18:28
locusfgood job guys18:28
saidinesh5locusf: O_O you ran it?18:28
locusfnot yet18:29
saidinesh5Ahh18:29
locusfjust giving some encouragement :)18:29
saidinesh5hehh i see.. thank you..18:29
locusfthe boost mess is solved with some massaging of mer:core with a proper MR18:29
locusfI suppose the versions arent that different?18:30
saidinesh5locusf: they already have boost 1.61 in the repos18:30
saidinesh5its just not in 2.1 ..18:30
locusfok18:30
saidinesh52.1 has 1.51 , and boost-1.51 doesnt have the modules anbox guys are using.18:31
saidinesh5i manually added boost-log to 1.51 and it compiled.. but 2 days ago they had to pull in boost-endian which pulls in some other boost module18:31
locusfheh18:32
krnlyng__the boost mess will be dropped by writing our own lxc container start stop functionality xD18:33
krnlyng__if and when we actually do that18:33
malsaidinesh5: now it finds the package18:36
saidinesh5yeah krnlyng__ had to enable the publish flags and rebuild it18:36
krnlyng__saidinesh5, seems the prepare-anbox script has an issue18:36
krnlyng__:(18:36
malkernel changes added, now build time18:36
krnlyng__ln -sf should be used instead of ln -s18:37
krnlyng__sorry18:37
saidinesh5Ahh18:37
krnlyng__or wait18:37
krnlyng__sorry18:37
krnlyng__i had the package installed already18:37
saidinesh5I see18:37
krnlyng__or rather the symlinks18:37
krnlyng__it's fine18:37
saidinesh5ln -sf should be the thing either way18:37
saidinesh5or else what'd happen to updates?18:37
krnlyng__yup18:38
locusfmal: \o/18:38
krnlyng__it's crashing lol18:39
saidinesh5krnlyng__: unsurprising :p18:39
saidinesh5where is it crashing though?18:39
krnlyng__after starting the container definately18:40
krnlyng__not sure where yet18:40
krnlyng__gdb18:40
saidinesh5maybe some file was missing and it was trying to read from it..18:40
krnlyng__or wait no18:41
krnlyng__it fails when starting the container it seems18:41
saidinesh5oh..18:41
saidinesh5error?18:41
krnlyng__same as always18:42
krnlyng__tripple Failed to start container18:42
saidinesh5hmm.. strace mayeb?18:43
krnlyng__already at it18:43
krnlyng__it's complaining about already existing files in /sys and cgroups18:48
*** nh1402 <nh1402!~nh1402@212.182.159.143.dyn.plus.net> has joined #sfdroid18:51
saidinesh5odd but sounds familiar18:51
malsaidinesh5: not all of the lxc flags are support in 3.4 kernel18:52
krnlyng__we're not already starting container manager after the rpm installation?18:52
saidinesh5mal: yup. although the ones missing dont seem to be mandatory18:52
saidinesh5so will have to add those patches again later on..18:52
malsaidinesh5: ok18:53
saidinesh5krnlyng__: we're not but what if it was to do with the container from your compiled anbox?18:53
saidinesh5krnlyng__: if you rebooted the device after an installation, it probably is started by systemd..18:54
saidinesh5ps aux | grep anbox ?18:54
krnlyng__nothing19:00
saidinesh5  krnlyng__ what flags did you compile lxc with?19:03
krnlyng__i think just the default ones19:03
krnlyng__and --prefix=/usr19:03
saidinesh5Ah hmm..19:03
*** piggz_ <piggz_!~piggz@95.147.209.146> has joined #sfdroid19:04
saidinesh5  %{?_with_runtime_path}   --disable-rpath  ..19:05
malsaidinesh5: ok, now patched kernel and anbox are installed but not sure how to debug this, nothing happens19:05
saidinesh5yeah there seems to be an error starting the container..19:05
krnlyng__mal, as root: anbox container-manager --daemon19:06
krnlyng__mal, then as nemo anbox session-manager --single-window19:06
malFailed to mount Android rootfs19:06
krnlyng__mal, do you have CONFIG_SQUASHFS_FS or what it's called?19:07
saidinesh5CONFIG_OVERLAYFS_FS i think19:07
saidinesh5okay even SQUASHFS...19:07
krnlyng__yeah both are required19:07
malsaidinesh5: hmm, your defconfig doesn't have SQUASHFS19:09
saidinesh5Ahh.. didnt push tht one19:10
krnlyng__ok19:10
krnlyng__container starts with the systemd services19:10
krnlyng__systemctl start anbox-container-manager.service19:10
krnlyng__as root19:11
krnlyng__systemctl start --user anbox-session-manager.service19:11
malsaidinesh5: ok, adding that also19:11
saidinesh5CONFIG_SQUASHFS=y19:11
saidinesh5krnlyng__: oh.. so its working after a reboot?19:12
krnlyng__nope had to start them manually19:12
krnlyng__you commented it out in the rpm spec19:12
krnlyng__still no app icons though19:13
saidinesh5Ah ..19:13
krnlyng__not sure if it is still booting19:13
krnlyng__it's doing *something*19:13
krnlyng__ahh i forgot19:15
saidinesh5hmm?19:15
krnlyng__anbox container-manager --privileged19:15
saidinesh5could you start that via. systemd?19:16
krnlyng__it think that command should work for manual too19:16
saidinesh5systemctl start anbox-container-manager19:16
krnlyng__yes i used that19:16
krnlyng__so segfault now...19:16
saidinesh5so that process should be running right?19:16
saidinesh5Ahh19:16
saidinesh5now gdb.19:16
krnlyng__yup19:16
saidinesh5i think that segfault prolly creates those files in sys and doesnt clear them?19:17
krnlyng__ok i know the fix19:18
saidinesh5Ah.. what's the issue?19:19
krnlyng__it's due to libhybris issue19:19
saidinesh5oh?19:19
krnlyng__or rather my mistake19:19
saidinesh5Ahh is this from a recent commit?19:19
krnlyng__yes19:19
saidinesh5Ahh19:19
*** piggz_ <piggz_!~piggz@95.147.209.146> has quit IRC (Ping timeout: 240 seconds)19:21
krnlyng__rebuilding19:21
krnlyng__should work nwo19:21
saidinesh5Aye19:22
malstill fails to mount19:22
malsaidinesh5: push the updated commit to github so I can check if something else is missing19:22
krnlyng__mal, do you have the overlayfs patches?19:22
malyes19:23
krnlyng__hmm wait there was somehting19:23
saidinesh5mal: link?19:23
krnlyng__mal, you need to enable squashfs compression19:23
krnlyng__decompression*19:23
malsaidinesh5: I mean you said you forgot to push something to your github19:23
malkrnlyng__: ok19:24
saidinesh5Ahh ..19:24
krnlyng__mal, while youre at it, lxc-checkconfig should at least look like this:19:24
saidinesh5just this: CONFIG_SQUASHFS=y19:24
saidinesh5i didnt push it as i havent verified that working on my device yet19:24
krnlyng__https://bpaste.net/show/552138c9172719:24
krnlyng__so veth should be enabled19:24
malkrnlyng__: which one of the compression methods?19:24
krnlyng__if i remember correctly xz19:25
krnlyng__let me check19:25
krnlyng__mal, yes XZ19:25
saidinesh5krnlyng__: CONFIG_HAVE_KERNEL_XZ=y ?19:25
krnlyng__+CONFIG_SQUASHFS_XZ=y19:25
krnlyng__-+19:26
saidinesh5Ah i have that one already19:26
krnlyng__we should definatley make a list afterwards19:26
saidinesh5yeah hence made all my kernel patches so far in a separate branch19:26
malkrnlyng__: https://pastebin.com/S761Rseu19:26
krnlyng__mal, CONFIG_NF_NAT_IPV4 might be necessary not 100% sure19:27
krnlyng__otherwise looks good to me19:27
malkrnlyng__: that is not possible, I added all of those and that came out19:28
krnlyng__ah ok19:28
malso maybe some are not supported19:28
krnlyng__well we'll see if it works :)19:28
krnlyng__in worst case you don't have networking19:28
malso do I need both CONFIG_HAVE_KERNEL_XZ=y and CONFIG_SQUASHFS_XZ=y?19:29
malkrnlyng__: then I will patch the kernel19:29
krnlyng__mal, you definately need CONFIG_SQUASFS_XZ. CONFIG_HAVE_KERNEL_XZ reading docs19:30
krnlyng__doesn't seem it's necessary at first look19:31
malI think latter is not related, that is for kernel compression19:32
krnlyng__yeah19:32
krnlyng__it's still segfaulting :(19:34
saidinesh5krnlyng__: now where?19:35
krnlyng__same19:35
saidinesh5cleared space on the phone19:38
saidinesh5installing now19:38
malhmm, now Failed to mount Android overlay19:39
malso something is still wrong19:39
saidinesh5strace maybe?19:41
mallooks like I forgot to enable overlayfs in defconfig19:44
saidinesh5Ahh19:44
krnlyng__https://bpaste.net/show/a2e9ac8a846b19:48
krnlyng__is there anything wrong with that other than that it is an ugly hack?19:48
saidinesh5not sure..19:48
krnlyng__$7 = 0x18a9a8 "/usr/lib/libhybris/eglplatform_wayland.so: undefined symbol: hybris_egl_display_get_mapping"19:50
krnlyng__hmm19:50
krnlyng__damn19:51
krnlyng__it's in libEGL.so19:51
krnlyng__it will work when built :D19:53
*** piggz_ <piggz_!~piggz@95.147.209.146> has joined #sfdroid19:53
saidinesh5lol19:54
saidinesh5fixing the icon issue too19:54
malkrnlyng__: ok, no more mount errors, should be --daemon put it to background, it doesn't19:54
krnlyng__mal, daemon only skips a warning apparently19:56
krnlyng__mal, and btw wait till the new rpm is built19:57
malkrnlyng__: ok19:58
malkrnlyng__: how about those systemd services, are those the proper way?19:58
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-147-32.play-internet.pl> has joined #sfdroid19:58
saidinesh5mal: got them from arch19:58
saidinesh5the systemd  serices19:58
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-146-124.play-internet.pl> has quit IRC (Ping timeout: 246 seconds)19:59
mallet's see what happens with the new package once it's built20:00
krnlyng__mal, which android base do you have? aosp? and version?20:00
malkrnlyng__: aosp520:01
krnlyng__ok20:01
krnlyng__mal, well i am not 100% sure but it might fail due to blob incompatibilities. these are usually fixable but a bit of a bummer. we need to figure out a good way to handle those.20:01
malok20:02
krnlyng__i thought about modifying the linker when undefined references are detected in libEGL.so and libGLES...so and automatically hook them to abort.20:03
krnlyng__they are usually not called ;)20:03
malsaidinesh5: hopefully the version number won't cause issues20:03
saidinesh5yeah vendor blobs usually can work across aosp versions too20:04
saidinesh5unless they fail..20:04
saidinesh5like missing symbols and what not20:04
krnlyng__i've fixed the errors that were there for jolla c and it has 5 too?20:04
krnlyng__i received a frame :P20:05
saidinesh5jolla C has 4.4 right?20:05
krnlyng__now waiting for more20:05
krnlyng__(takes a while)20:05
saidinesh5frame for?20:05
krnlyng__a window update* buffer* black image*20:05
saidinesh5Ahh20:05
krnlyng__the initial one is always black20:05
nh1402[m]4.4 errors?20:05
krnlyng__and i have UI :D20:05
saidinesh5yeah20:05
saidinesh5wow20:05
malOBS is still building20:06
krnlyng__oh20:06
krnlyng__:(20:06
krnlyng__i think we lost touch input somewhere along the way20:06
saidinesh5Ahh...20:06
krnlyng__but in any case it works20:06
* saidinesh5 checks20:06
krnlyng__now heading for proper rendering...20:06
saidinesh5krnlyng__: i think the touch maybe broken inside the image..20:07
saidinesh5there is     case SDL_FINGERUP: .. in the code..20:08
krnlyng__hmm20:08
*** piggz_ <piggz_!~piggz@95.147.209.146> has quit IRC (Ping timeout: 240 seconds)20:08
krnlyng__let me try again20:08
krnlyng__in the image i did not change the input code20:08
krnlyng__i mean at all20:08
krnlyng__it's still plain anbox20:08
saidinesh5oh..20:09
krnlyng__i will try later20:10
krnlyng__want this to compile :D20:10
saidinesh5yup20:10
malkrnlyng__: just curious, how did anbox behave before you added the latest fix? what crashed?20:11
saidinesh5anbox session manager probably..20:12
malsaidinesh5: krnlyng__ OBS build failed20:12
saidinesh5Bah20:12
saidinesh5yeah20:12
saidinesh5my bad20:12
malerror: File not found: /home/abuild/rpmbuild/BUILDROOT/anbox-sailfishos-1.0+anbox.20170515195631.3.gab990fa-10.35.1.jolla.arm/usr/share/pixmaps/anbox.png20:12
saidinesh5yup20:13
saidinesh5fixed20:13
saidinesh5mal: package built20:25
saidinesh5okay: root      7245  0.1  0.2  55228  4692 ?        Ssl  01:56   0:00 /usr/bin/anbox container-manager --privileged20:27
saidinesh5May 16 01:58:06 Sailfish systemd[993]: anbox-session-manager.service: main process exited, code=killed, status=11/SEGV20:28
saidinesh5hmm...20:28
krnlyng__oh20:29
saidinesh5lets see20:29
saidinesh5put it through gdb20:29
*** piggz_ <piggz_!~piggz@95.147.209.146> has joined #sfdroid20:30
saidinesh5krnlyng__: https://bpaste.net/show/abd52438df1d ?20:31
saidinesh5familiar?20:31
krnlyng__i've seen that20:32
krnlyng__how do you start session-manager?20:32
saidinesh5from nemo20:32
saidinesh5gdb anbox20:32
saidinesh5r session-manager20:32
krnlyng__does it print anything before that?20:32
krnlyng__i think that error happens after the actual error20:33
saidinesh5Ahh right. [EE 2017-05-15 20:33:26] [client.cpp:49@start] Failed to start container: Failed to start container: Failed to start container20:33
krnlyng__yup20:33
krnlyng__lxc-checkconfig?20:33
saidinesh5yeah 1 sec20:34
saidinesh5havent rebooted the phone after applying a patch20:34
saidinesh5doing that now20:34
krnlyng__ah20:34
saidinesh5https://bpaste.net/show/dcd6aef2074720:35
maldoesn't work20:36
malno both container-manager and session-manager start ok20:37
mal-no20:37
krnlyng__mal, did you put --single-window to session-manager?20:38
malno, I used the systemd-service20:38
krnlyng__it's required for now, until we change the rendering method20:38
krnlyng__i think it's not yet in the service20:39
malkrnlyng__: where are the logs from anbox?20:40
saidinesh5lets see .. running it via. strace20:40
krnlyng__mal, /var/lib/anbox/20:41
malkrnlyng__: only container.log20:42
krnlyng__mal, for logcat: adb shell20:42
malkrnlyng__: how to use that?20:43
krnlyng__mal, you need to run adb shell on the device itself20:43
krnlyng__for that you need adb, we need a package for that though20:44
saidinesh5krnlyng__:         lxc 20170515204110.946 ERROR    lxc_utils - utils.c:mkdir_p:253 - Invalid argument - failed to create directory '/sys/fs/cgroup/net_cls//lxc/default-999'20:44
krnlyng__ /system/bin/adb doesn't seem to work20:44
krnlyng__at least for me20:44
krnlyng__saidinesh5, container-manager is started with --privileged?20:44
saidinesh5yups: root      4046  0.0  0.2  57276  4960 ?        Ssl  02:09   0:00 /usr/bin/anbox container-manager --privileged20:44
*** piggz_ <piggz_!~piggz@95.147.209.146> has quit IRC (Ping timeout: 272 seconds)20:50
saidinesh5krnlyng__: what does your ls -l /sys/fs/cgroup/net_cls look like?20:51
*** piggz_ <piggz_!~piggz@95.147.209.146> has joined #sfdroid20:54
*** nh1402 <nh1402!~nh1402@212.182.159.143.dyn.plus.net> has quit IRC (Quit: Leaving)20:54
krnlyng__lrwxrwxrwx 1 root root 16 Jan  4  1970 /sys/fs/cgroup/net_cls -> net_cls,net_prio20:55
krnlyng__container currently not running20:56
saidinesh5and what about /sys/fs/cgroup/net_cls/lxc ?20:56
malmaybe I'll continue some other day, don't know what to try next20:56
saidinesh5Aye.. maybe by next time we'll have an adb too?20:57
saidinesh5drwxr-xr-x 2 root root 0 May 16 02:09 lxc20:57
saidinesh5?20:57
malkrnlyng__: what did you mean by the blobs you mentioned earlier? are there some blobs somewhere?21:01
krnlyng__mal, in order to render hw accelerated we use vendor blobs from the host system21:03
krnlyng__mal, thats the difference between anbox and anbox+sfdroid21:03
krnlyng__mal, because pure anbox would be too slow on a mobile device21:03
malok21:03
krnlyng__mal, maybe not too slow but slower21:03
saidinesh5mal: /var/lib/anbox/overlay/  that contains copies fo libraries form your system21:03
krnlyng__ok libwayland is built21:04
malok, but the rendered is not built againsta those?21:04
krnlyng__properly now i hope21:04
krnlyng__android-wlegl and surfaceflinger in progress21:04
saidinesh5and it is overlaid on top of the anbox's rootfs and the surfaceflinger then makes use of those libraries to render things21:04
krnlyng__mal, no and thats kind of a hack. for some devices we need an additional layer maybe21:04
malok, maybe that could be a problem then on fp221:05
krnlyng__mal, especially for gralloc, other libs are ok unless they have undefined symbols21:05
krnlyng__mal, yes21:05
krnlyng__mal, we will build adb soon21:05
malI get no errors anywhere21:05
krnlyng__mal,  then you can check with logcat21:05
malok21:06
krnlyng__mal, but it's cool that the container starts21:06
krnlyng__mal, thats the most important thing21:06
krnlyng__mal, the other problems can be fixed21:06
malok, the UI side does nothing, from UI it just has the waiting indicator for a while and then goes away, from commandline the same command starts but nothing happens21:07
krnlyng__mal, remind me tomorrow to build adb then we can check21:07
krnlyng__mal, then i will either implement a "fix" or a linker workaround21:08
krnlyng__depending on whats easier21:08
krnlyng__but i have to sleep now21:08
krnlyng__good night:)21:08
saidinesh5Ah nighters krnlyng__21:08
malI won't be available tomorrow21:10
saidinesh5oh dont worry, im here to remind :p21:11
krnlyng__i also noted it down in sfdroid todo21:13
saidinesh5krnlyng__: what''s the boot mess?21:15
saidinesh5Ahh boost mess21:15
saidinesh5nvm21:15
saidinesh5i need sleep now21:15
saidinesh5that's already in the todo :p21:16
saidinesh5hmm.. odd.. mkdir: cannot create directory `/sys/fs/cgroup/net_cls//lxc/default': Invalid argument21:24
*** piggz_ <piggz_!~piggz@95.147.209.146> has quit IRC (Ping timeout: 260 seconds)21:52
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-kihrpfdjdxrbqgcz> has quit IRC (Quit: Connection closed for inactivity)21:55
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-147-32.play-internet.pl> has quit IRC (Ping timeout: 258 seconds)22:35
*** TheKit <TheKit!~nekit@178-45-4-8.saransk.ru> has joined #sfdroid22:41
*** NeKit <NeKit!~nekit@178.45.144.138> has quit IRC (Ping timeout: 240 seconds)22:44

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!