*** Piece_Maker <Piece_Maker!~Acou_Bass@host-89-241-255-180.as13285.net> has joined #sfdroid | 02:34 | |
*** Acou_Bass <Acou_Bass!~Acou_Bass@host-78-144-157-133.as13285.net> has quit IRC (Ping timeout: 272 seconds) | 02:37 | |
*** Piece_Maker is now known as Acou_Bass | 02:37 | |
*** piggz_ <piggz_!~piggz@95.147.209.146> has quit IRC (Read error: No route to host) | 05:28 | |
*** piggz_ <piggz_!~piggz@95.147.209.146> has joined #sfdroid | 05:28 | |
*** piggz_ <piggz_!~piggz@95.147.209.146> has quit IRC (Read error: Connection reset by peer) | 05:36 | |
*** piggz_ <piggz_!~piggz@95.147.209.146> has joined #sfdroid | 05:36 | |
kimmoli | oo | 06:10 |
---|---|---|
*** piggz_ <piggz_!~piggz@95.147.209.146> has quit IRC (Read error: Connection reset by peer) | 06:13 | |
*** piggz <piggz!~piggz@95.147.209.146> has joined #sfdroid | 06:13 | |
locusf | woah | 06:53 |
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has joined #sfdroid | 07:27 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sfdroid | 08:11 | |
locusf | does it take long to start android container and the window to appear? | 10:58 |
mal | locusf: on fp2 it doesn't work yet, container started ok but UI not | 11:12 |
locusf | mal: ok same symptoms then | 11:12 |
locusf | thanks for the packages btw :) | 11:13 |
mal | locusf: looks like the wayland version is already on github but not built on OBS afaik | 11:18 |
locusf | yeah | 11:20 |
locusf | krnlyng__: to the rescue | 11:20 |
nh1402 | again | 11:20 |
saidinesh5 | yup. it will be a little mroe while for it to be on OBS though | 12:27 |
saidinesh5 | it doesnt detect screen resolution yet.. doesnt do input, plus anbox side of cleanups and reimplementation is totally not done yet | 12:28 |
saidinesh5 | for me there's something wrong with my container patches on my device though | 12:29 |
nh1402 | saidinesh5: Google I/O today | 12:29 |
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Ping timeout: 246 seconds) | 12:31 | |
saidinesh5 | oh it started ? | 12:32 |
nh1402 | it starts today | 12:37 |
nh1402 | the keynote is later 3/4 hours time I think | 12:37 |
nh1402 | might be time to start looking at android o sources | 12:39 |
nh1402 | although the final sources don't get released till much later in the year | 12:39 |
saidinesh5 | Ahh | 12:43 |
saidinesh5 | might be time to look at fucshia sources :P | 12:43 |
nh1402 | that's a different OS altogether with a unix micro kernel | 12:44 |
nh1402 | with a horrid UI | 12:44 |
saidinesh5 | i thought the UI was just a proof of concept? | 12:45 |
saidinesh5 | iirc the demos on the verge was actually the UI running on an Android phone.. compiled with flutter | 12:46 |
nh1402 | that UI looks like it's designed for a TV | 12:47 |
nh1402 | not a phone | 12:47 |
* saidinesh5 shrugs | 12:48 | |
nh1402 | saidinesh5 agrees | 12:48 |
saidinesh5 | nh1402: any idea where i go for some help on kernel configs for LXC? | 13:15 |
saidinesh5 | #lxc and #lxcontainers seem to be very quiet | 13:15 |
nh1402 | luneos ? | 13:17 |
nh1402 | they use an lxc container for their ports I think | 13:18 |
saidinesh5 | hmm.. | 13:18 |
nh1402 | their channel is #webos-ports | 13:19 |
nh1402 | saidinesh5: I think Tofe should know (involved with luneos if I'm not mistaken), he/she is in the user list on #sailfishos-porters no idea if he/she's available though | 13:22 |
saidinesh5 | yup pinged him there | 13:22 |
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-147-60.play-internet.pl> has joined #sfdroid | 13:44 | |
*** Mister_Magister_ is now known as Mister_Magister | 13:45 | |
nh1402 | saidinesh5: anything? | 14:45 |
saidinesh5 | noope. no reply on any channel so far | 14:45 |
saidinesh5 | digging through the code slowly myself | 14:45 |
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has quit IRC (Quit: Leaving) | 15:31 | |
saidinesh5 | hmm.. unsure where to dig though. the net cls cgroup related files are more or less identical between mine and fp2 sources: https://github.com/atilag/fairphone2-kernel | 15:36 |
krnlyng__ | mal, do your gralloc headers contain any vendor specific modifications? | 16:49 |
krnlyng__ | mal, i am preparing a new image right now, will take some hours though since i need to implement linker hack & screen size acquiring in hwcomposer, but be prepared :) | 16:50 |
*** piggz <piggz!~piggz@95.147.209.146> has quit IRC (Read error: Connection reset by peer) | 16:53 | |
*** piggz <piggz!~piggz@95.147.209.146> has joined #sfdroid | 16:53 | |
mal | krnlyng__: not 100% sure, it should be mostly aosp, the repos are online | 16:54 |
mal | saidinesh5: wondering what repo that is, the official repo is elsewhere in fairphone gerrit | 16:56 |
saidinesh5 | Oh.. dunno just looked for fp2 kernel sources and found that | 16:57 |
saidinesh5 | mal: so your session manager was also running on fp2? | 16:57 |
saidinesh5 | what does your container.log look like? | 16:57 |
mal | yes, seemed like it | 16:57 |
mal | I can try | 16:58 |
saidinesh5 | Aye let me know | 16:58 |
saidinesh5 | cant seem to find any info on why it fails for me | 16:58 |
saidinesh5 | and not quite sure how to debug it | 16:58 |
saidinesh5 | seems like a kernel issue so far though.. mkdir failing that is | 16:59 |
Mister_Magister | krnlyng__: in sfdroid with anbox you can enable/disable android? | 17:40 |
krnlyng__ | Mister_Magister, you can start & stop the container yes | 17:40 |
krnlyng__ | Mister_Magister, needs GUI but can be done yes | 17:40 |
Mister_Magister | krnlyng__: because sfdroid on 1GB ram was kinda working. The multitasking was cut down to 2-3 apps but with zram it would be even better so if anbox can be disabled then you will be able to cut down multitasking just for a moment | 17:41 |
saidinesh5 | is it just me or is google io quite boring as of now? AI this , AI that.. | 17:56 |
saidinesh5 | seems a lot more like a shinier packaging for their Ads as of now.. | 17:57 |
Mister_Magister | saidinesh5: i hate google :D I'm making my own AI :V | 17:57 |
saidinesh5 | heh | 17:58 |
*** piggz <piggz!~piggz@95.147.209.146> has quit IRC (Quit: Konversation terminated!) | 18:12 | |
*** piggz <piggz!~piggz@95.147.209.146> has joined #sfdroid | 18:13 | |
*** cvp <cvp!~cvp@pD9EE3AA1.dip0.t-ipconnect.de> has joined #sfdroid | 18:19 | |
nh1402[m] | well all they've done is add a dot to icons to show that the app in question has a notification | 18:33 |
nh1402[m] | NO WAY | 18:33 |
*** cvp <cvp!~cvp@pD9EE3AA1.dip0.t-ipconnect.de> has quit IRC (Quit: Leaving) | 18:33 | |
nh1402[m] | AMAZING /s | 18:33 |
nh1402[m] | smart highlighting, and Picture in Picture | 18:34 |
saidinesh5 | *cough*applet layer*cough* | 18:35 |
nh1402[m] | what the heck is kotlin | 18:39 |
saidinesh5 | saner language that runs on JVM. | 18:42 |
saidinesh5 | quite famous and neater than Javaargh | 18:42 |
saidinesh5 | at least less painful back when i tried it | 18:42 |
nh1402[m] | so like Scala | 18:43 |
nh1402[m] | hmm, Android Go might be useful to us. | 18:43 |
locusf | android go? | 18:45 |
nh1402[m] | locusf: a configuration of Android O that runs on devices with 1GB RAM or less | 18:46 |
locusf | ok wow | 18:47 |
nh1402[m] | they even claim it works with 512MB RAM | 18:47 |
nh1402[m] | saidinesh5: wow, his pronunciation of hindi is really bad | 18:49 |
saidinesh5 | lol | 18:49 |
kimmoli | https://www.cnet.com/news/android-go-phone-os-features/ | 18:54 |
nh1402[m] | kimmoli: Once it's out we should configure sfdroid to use that by default. | 18:56 |
saidinesh5 | brace yourself .. google is competing with linked in.. more spam to your email ? :P | 18:58 |
nh1402[m] | saidinesh5: YES MORE SPAM | 18:59 |
nh1402[m] | saidinesh5: can you send me some spam mail, please. I can't get enough! /s | 19:00 |
saidinesh5 | heh | 19:00 |
nh1402[m] | Mister_Magister: Android Go | 19:02 |
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-lmywqmuxkmybzzww> has joined #sfdroid | 19:05 | |
krnlyng__ | mal, can you test the new rpms (both anbox and anbox-sailfishos-image updated)? | 19:37 |
krnlyng__ | mal, i think anbox is still building | 19:37 |
locusf | I can test too | 19:40 |
Mister_Magister | nh1402[m]: hmmmmmmmm | 19:43 |
locusf | [ 34s] /usr/sbin/zic: option requires an argument -- 'l' | 19:46 |
locusf | theres something like that in the obs build log for the image | 19:46 |
locusf | ah it needs forced reinstall | 19:48 |
krnlyng__ | locusf, do you have the updated kernel? | 19:49 |
locusf | I do | 19:49 |
locusf | any debug tips? | 20:18 |
krnlyng__ | locusf, not working? | 20:23 |
krnlyng__ | locusf, how did you start it? | 20:23 |
locusf | nope | 20:23 |
locusf | command line with anbox launch | 20:23 |
locusf | same line as with .desktop | 20:24 |
krnlyng__ | ah no you need this: | 20:24 |
krnlyng__ | as root | 20:24 |
krnlyng__ | anbox container-manager --privileged | 20:24 |
krnlyng__ | as normal user: | 20:24 |
krnlyng__ | anbox session-manager | 20:24 |
krnlyng__ | container manager needs to be running first | 20:24 |
locusf | those are both on | 20:24 |
krnlyng__ | hm ok | 20:24 |
krnlyng__ | then we need to debug with adb | 20:24 |
krnlyng__ | locusf, https://www.dropbox.com/s/hpm3pt9gamoidph/anbox-adb?dl=0 | 20:26 |
krnlyng__ | run this | 20:26 |
krnlyng__ | android-adb shell | 20:27 |
krnlyng__ | erm | 20:27 |
krnlyng__ | anbox-adb shell | 20:27 |
locusf | container.log has errors about anbox-init.sh having a SIGCHLD | 20:28 |
krnlyng__ | hm | 20:28 |
locusf | https://gist.github.com/locusf/e8c48680595da81f514550a2f92ea742 | 20:28 |
krnlyng__ | locusf, can you check if /var/lib/anbox/data/tombstones/tombstone_0* exist and upload those? | 20:29 |
locusf | nope no existing tombstones | 20:30 |
krnlyng__ | ok | 20:30 |
krnlyng__ | then the container doesn't start properly | 20:31 |
krnlyng__ | hmm | 20:31 |
krnlyng__ | maybe a kernel config missing? | 20:31 |
krnlyng__ | let me check my logs | 20:31 |
locusf | anything interesting in the gist | 20:31 |
mal | hmm, wondering what could be missing, I added all the lxc checker told but not all got enabled | 20:32 |
krnlyng__ | locusf, i have the same in the logs so it's probably fine | 20:32 |
krnlyng__ | locusf, ps aux | 20:32 |
mal | krnlyng__: which one do you have in log? the invalid pid thing? | 20:33 |
krnlyng__ | yes | 20:33 |
locusf | anything specific to look for | 20:33 |
krnlyng__ | and the init exited | 20:33 |
krnlyng__ | locusf, surfaceflinger and other android processes | 20:33 |
locusf | in ps axu | 20:33 |
mal | krnlyng__: ok, so those are not real errors? | 20:33 |
krnlyng__ | mal, maybe not | 20:33 |
locusf | nope | 20:34 |
locusf | I'll reboot | 20:35 |
krnlyng__ | locusf, try starting the container manager and session manager manually to see if they print errors | 20:35 |
krnlyng__ | after the reboot | 20:35 |
locusf | will do | 20:35 |
locusf | nothing is printed for either | 20:36 |
locusf | same logs | 20:39 |
krnlyng__ | locusf, my ps fax output: https://bpaste.net/show/5c49c478c802 | 20:39 |
krnlyng__ | locusf, nothing comparable? | 20:40 |
krnlyng__ | like /init --second-stage running? | 20:40 |
locusf | no | 20:40 |
krnlyng__ | can you send me the whole container.log file? | 20:41 |
krnlyng__ | or is that everything? | 20:41 |
locusf | I can | 20:41 |
locusf | one moment | 20:41 |
locusf | https://gist.github.com/locusf/e386c887b738fd4b4d8cffc53cca08c0 | 20:41 |
krnlyng__ | ahh actually: lxc_start - start.c:signal_handler:326 - Container init process 24698 exited. this i only have when the container is stopped | 20:42 |
mal | so something is causing the init to fail | 20:44 |
krnlyng__ | mhm | 20:45 |
krnlyng__ | locusf, can you strace anbox /init? | 20:46 |
krnlyng__ | locusf, instructions: | 20:46 |
krnlyng__ | locusf, copy /var/lib/anbox/rootfs/anbox-init.sh to /var/lib/anbox/overlay/anbox-init.sh | 20:46 |
krnlyng__ | modify /init call to /system/xbin/strace -o /data/log_init -fF /init | 20:47 |
krnlyng__ | then restart the container | 20:47 |
locusf | ok | 20:47 |
krnlyng__ | and cat /var/lib/anbox/data/log_init from outside | 20:47 |
krnlyng__ | modify inside anbox-init.sh* | 20:47 |
locusf | no log file found | 20:50 |
locusf | for log_init that is | 20:51 |
krnlyng__ | hmm | 21:05 |
krnlyng__ | no idea currently | 21:05 |
krnlyng__ | #lxc? | 21:05 |
mal | could there be some problem with the kernel still | 21:13 |
krnlyng__ | mal, saidinesh5 also has weird problems | 21:24 |
mal | ok | 21:24 |
krnlyng__ | whats the minimal kernel version which is supported by lxc 2.0? | 21:24 |
mal | krnlyng__: "We still support all kernels from 2.6.32 though the exact feature set does obviously vary based on kernel features" https://stgraber.org/2016/04/06/lxc-2-0-has-been-released/ | 21:27 |
krnlyng__ | ok | 21:27 |
saidinesh5 | not sure what the issue is but the lune os guys are able to use hammerhead (3.4) kernel with vvery minimal changes to power their lxc 2.0 | 21:48 |
saidinesh5 | their defconfig: https://github.com/shr-distribution/meta-smartphone/tree/krogoth/meta-lg/recipes-kernel/linux/linux-lg-hammerhead | 21:49 |
saidinesh5 | their commits: https://github.com/Tofee/android_kernel_lge_hammerhead/commits/hammerhead/3.4/cm-12.1 | 21:49 |
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-147-60.play-internet.pl> has joined #sfdroid | 22:10 | |
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-147-60.play-internet.pl> has quit IRC (Ping timeout: 255 seconds) | 22:10 | |
*** piggz <piggz!~piggz@95.147.209.146> has quit IRC (Read error: No route to host) | 22:11 | |
*** piggz <piggz!~piggz@95.147.209.146> has joined #sfdroid | 22:11 | |
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-147-60.play-internet.pl> has quit IRC (Quit: Konversation terminated!) | 22:26 | |
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-lmywqmuxkmybzzww> has quit IRC (Quit: Connection closed for inactivity) | 22:54 | |
saidinesh5 | Okay.. disabling CONFIG_NET_CLS_CGROUP moved me to the next error. that's progress! | 22:56 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!