mal | @b100dian or rinigus any luck with waydroid on nagara? | 14:54 |
---|---|---|
rinigus | mal: haven't worked on that. but @b100dian tested few things with corresponding issue at https://github.com/sailfishos-sony-nagara/main/issues/45 | 14:56 |
mal | yeah, same issues on fairphones | 14:56 |
mal | rinigus: interesting that I don't see v33 in waydroid image, in /home/waydroid/rootfs/system/system_ext/apex/com.android.vndk.v* | 15:07 |
rinigus | mal: I haven't tried waydroid on nagara as was prioritizing sms issue. so, never looked into it. I guess will get there later (or @b100dian will resolve it before that) | 15:08 |
T42 | <b100dian> mal: did youmount | 15:58 |
T42 | <b100dian> sorry, did you also have the libapexsupport.so missing issue? | 15:59 |
T42 | <b100dian> and you mounted it from host? | 15:59 |
T42 | <b100dian> mount inside waydroid shows `overlay on /apex/com.android.vndk.v33 type overlay (ro,seclabel,relatime,lowerdir=/var/lib/waydroid/overlay:/var/lib/waydroid/rootfs,upperdir=/var/lib/waydroid/overlay_rw/system,workdir=/var/lib/waydroid/overlay_work/system)` | 16:10 |
mal | I copied the libs to overlay dir in /var/lib/waydroid/ | 16:21 |
mal | @b100dian so somehow it uses unpatched version of something, or things changed too much in a14 that it doesn't load correct lib at all | 16:30 |
mal | so it can't find the symbols of the patched lib | 16:31 |
T42 | <b100dian> I'm not even sure if it is supposed to work.. I am trying the lineage-20 images (so A12) on lineage-21 (so A13) host. Not sure waydroid "halium" fills in all the bits from the host as would the "mainline" version.. | 16:41 |
mal | @b100dian might have found something, there is libhidlbase.so in /vendor in a14 and since that is mounted in waydroid and that is higher priority that /system or /apex it loads the unpatched host, by adding this and same for lib the errors are gone | 16:46 |
mal | ls -l /var/lib/waydroid/overlay/vendor/lib64/libhidlbase.so | 16:46 |
mal | lrwxrwxrwx 1 root root 28 Aug 29 19:44 /var/lib/waydroid/overlay/vendor/lib64/libhidlbase.so -> /system/lib64/libhidlbase.so | 16:46 |
mal | how can I test apps in waydroid? | 16:46 |
mal | I still do see some error in logcat from surfaceflinger so might need something more | 16:47 |
T42 | <b100dian> mal: did you have UI? as in `waydroid show-full-ui` as defaultuser? | 16:47 |
mal | "Abort message: 'couldn't find an OpenGL ES implementation, make sure you set ro.hardware.egl or ro.board.platform'" | 16:47 |
mal | so it had issues finding working egl/opengl es | 16:48 |
T42 | <b100dian> so I asked in the Waydroid telegram channel: deathmist: says "also no you can't go backwards, if your vendor is newer you must also update the OS" | 16:51 |
T42 | <b100dian> mal: so you added the libhidlbase to lxc's config_nodes or just copied it in the overlay? | 16:54 |
mal | I just added the symlink manually to overlay folder | 16:55 |
mal | would be easier if there was a14 waydroid | 16:55 |
T42 | <b100dian> :D | 17:01 |
T42 | <b100dian> Hmm.. so `ln -s /system/lib64/libhidlbase.so /var/lib/waydroid/overlay/vendor/lib64/libhidlbase.so` followed by restart of waydroid does not change what /system/lib64 shows inside waydroid for me.. | 17:05 |
mal | it changes what is in /vendor | 17:07 |
mal | the overlay is done for vendor | 17:07 |
T42 | <b100dian> but shouldn't the vendor_extra have had the highest priority ;-? | 17:09 |
mal | well it works :) | 17:10 |
mal | I forgot the order I saw in strace | 17:10 |
Mister_Magister | btw I don't know if its related but on oneplus 6 i had to add symlink to make waydroid working. Don't ask me why https://forum.sailfishos.org/t/oneplus-6-t-the-port-to-get/19875/122?u=mister_magister | 17:18 |
T42 | <b100dian> I'm asking cause I am not seeing the same results as you do. So just by making libhidlbase links to your A14/LOS21 system you see waydroid starting? which waydroid image is that, lineage-20? | 17:19 |
T42 | <b100dian> Mister_magister: What error was that for? maybe an overlay exists instead of changing the image | 17:20 |
Mister_Magister | you think I remember? it wasn't starting and seemingly the file was missing | 17:21 |
mal | @b100dian for libEGL found, now another symbol issue | 17:24 |
mal | *got libEGL working now | 17:25 |
T42 | <b100dian> keep that bash history ;) | 17:27 |
mal | ls -l /var/lib/waydroid/overlay/system/lib64/egl/libEGL.so | 17:29 |
mal | lrwxrwxrwx 1 root root 12 Aug 29 20:13 /var/lib/waydroid/overlay/system/lib64/egl/libEGL.so -> ../libEGL.so | 17:29 |
T42 | <b100dian> so mal: you're running waydroid lineage-20 right? | 17:39 |
deathmist | btw when I said you can't run newer vndk with older system that was assuming someone wasn't willing to hack it to be functional :p the "easier" path probably would likely end up being updating waydroid patches from A13 to at least A14 | 18:31 |
mal | yeah, making a14 based waydroid would be nicer way of course | 18:45 |
mal | looks like there are really some compatibility issues "Abort message: 'Binder threadpool cannot be shrunk after starting'" | 18:51 |
mal | probably because to get rid of missing symbol issues I even had do a bit of tinkering with libui | 18:57 |
*** deathmist1 is now known as deathmist | 19:03 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!