Tuesday, 2019-04-30

osum4est_it looks like the missing .so files are in /vendor/lib64, but test_hwcomposer is looking for a 32-bit version. is this what the problem is? how do i get the 32bit versions/get hwcomposer to work with 64bit?01:44
r0kk3rzim not sure its possible to work with 64bit hwcomposer02:13
osum4est_so it looks like i need to user surfaceflinger instead? is that the surfaceflinger-hack in the faq?02:28
osum4est_running /system/bin/surfaceflinger just hangs. doesn't crash, but nothing on my screen changes.02:38
r0kk3rzi think thats what minisf is for03:09
ghosalmartinhmm ive setup a free amazon ec2 instance, lets see how porting on it works08:05
ghosalmartinalthough there is an 8gig storage limit, bleurgh08:39
r0kk3rzsounds like not enough08:40
ghosalmartinso tis $0.11 a gig me thinks08:43
ghosalmartinsfos work usually needs what, 120gigs? :P08:43
ghosalmartin12 dollars a month seems reasonable, lets see how the build speed is though08:45
r0kk3rzcheck it can do sb2 before shelling out anything though08:46
ghosalmartini dont really use sb2 tbh, i offload most of that work to magical obs :P but i will do08:49
ghosalmartinso far its just a ubuntu image08:49
ghosalmartinill give it a test anyways just to know the limitations08:50
T4<StillJustGerd> Just a quick check, is the hybris-15.1 tree still broken?13:15
malno, it should work now13:16
T4<StillJustGerd> Thanks, I'll set it up then. I was asking because the 14.1 lineage tree for my device is unmaintained, whereas the 15.1 tree is maintained13:19
ghosalmartinr0kk3rz, yo what was the gitlab project for the pipeline?14:37
ghosalmartinahh found it14:39
malghosalmartin: is there a reason why you use so old libhybris in your bullhead OBS project?14:57
T4<DSstill01> where are sailfish android tombstones located?16:10
T4<elros34> mal: it might be this commit: https://github.com/libhybris/libhybris/commit/524ca76e0608028d0d64c2197bdbd93fb545b7cf. It cause hang and device reboot17:00
T4<elros34> for test_hwcomposer17:00
mal@elros34 how does strace look like?17:12
T4<elros34> mal: https://gist.github.com/elros34/a00fb33ade04077cb46d074481e9aa8b17:18
T4<elros34> second log17:18
T4<elros34> appplied few more gralloc related but no change: 8a25b0f 8c9fecd 2845ba3 f4aa7e017:27
ghosalmartinthat amazon ec2 wasnt ideal, it ran out of memory :(17:58
*** OhYash1 is now known as ohyash18:17
osum4estmal, still haven't been able to get hwcomposer to work. everytime it runs it tells me there are libraries missing then segfaults. the libraries only exist on my phone as 64-bit, i don't have 32-bit ones to use. does this mean i need to use the surfaceflinger-hack in the faq? test_hwcomposer strace: https://pastebin.com/sV6fYi1519:16
malsometimes missing libs are not really an issue19:16
malnot sure though in this case19:16
mallooks like it fail when creating some color manager19:17
osum4estmal, heres the strace from minimer: http://pasted.co/8d2c28f8 looks like it gets stuck waiting for android.ha....19:25
malcheck logcat19:27
malusing /usr/libexec/droid-hybris/system/bin/logcat19:27
malit should tell what it's waiting for19:28
osum4estits waiting for surfaceflinger as well as android.hardware.graphics.composer want me to pastebin it?19:30
osum4estcurrently i have user@10000 masked. upon boot it says "Waiting for SurfaceFlinger". here's the logcat after booting and then running hw_composer https://pastebin.com/FzqRSHDC19:38
osum4estwith GL_PLATFORM set of course19:38
wdehoogmal: elros34: last working libhybris for me is a205c27711f9493d756ddbdc7134251337393c0c19:40
wdehoog35976c201741cfc21c114615b8524db5367e034a fails with lipstick[1654]: [F] unknown:0 - QPA-HWC: hw_get_module(HWC_HARDWARE_MODULE_ID, (const hw_module_t **)(&hwc_module)) in create returned -219:41
osum4estwell the faq says to do surfaceflinger hack if logcat says its waiting for surfaceflinger so i'm going to try that19:45
malosum4est: wait19:50
osum4estmal, alright. waiting!19:51
malosum4est: build the droidmedia stuff mentioned in chapter 13.2, those provided minisf service, not sure if that could help19:51
malmaybe do the whole 13.2 while you are at it, you will need it later19:52
osum4estwill do, thanks!19:53
osum4estand yea i also did "ps aux" and no minisf programs were running. /system/bin/service check SurfaceFlinger also did not find anything. just saw those on an old irc log if it helps at all19:54
malwe disable normal surfaceflinger because it's not needed but we have a mini version of it for some things19:55
osum4estgot it. doing 13.2 now19:56
piggzseriously, how do i respond when someone claims my workaround for 3.0.3(installing the old libicu) causes esxessive battery drain20:10
piggzno toher chainges, just the existance of a unicode library causes power drain20:11
T4<elros34> wdehoog:  yeah 35976c2 breaks even getprop but few later commits fix it20:34
malit's completely possible that individual commits in libhybris are broken and only the complete set works20:37
wdehoogmal: elros34: thanks. now I wonder why libhybris gives me a UI. going to retry .3020:40
malwdehoog: maybe because in .31 the debugging support in enabled only if user specifically activates it20:42
osum4estmal, with user@100000 masked, the logs look the same. with it not masked it looks like surfaceflinger? keeps restarting. logcat: https://pastebin.com/W0n5gL7P hwcomposer strace: https://pastebin.com/7Xaq70FQ looks like colormanager is still having problems though. is this due to libsdm-color.so not being found? (found in logcat)20:59
osum4est"ps aux | grep mini" still shows nothing though. not sure if thats a valid test of minisf though21:00
malosum4est: hmm, now that logs gives maybe some hint, "E qdgralloc: Init: Failed to open ion device - Permission denied"21:17
osum4estyea, i saw that. not sure why file it is referencing though21:18
malosum4est: in your $ANDROID_ROOT run this: find out/ -name ueventd*21:18
malosum4est: I have a feeling make hybris-hal didn't build some things that are needed, it happens occasionally21:18
osum4estmal, https://pastebin.com/3Tfdbcsd21:19
osum4estoutput of the find command ^21:19
malosum4est: now check in HABUILD_SDK output of "make modules" and look for ueventd21:20
osum4estmal, ueventd is not in there. closest thing is just "uevents"21:21
malhmm, odd, pastebin the whole output21:22
malalso pastebin content of out/target/product/marlin/root/ueventd.rc21:22
osum4estmal, https://pastebin.com/9aEkb4eQ21:22
osum4estueventd.rc: https://pastebin.com/kYtSXCtF21:23
malso just like I guessed, another ueventd.rc is missing21:25
malosum4est: do you have some vendor folder in out/target/product/marlin/root/ or out/target/product/marlin/21:27
osum4esti have vendor folders in both places. out/target/product/marlin/root/vendor is empty. out/target/product/marlin/vendor has a build.prop, default.prop and a lib folder21:29
osum4estin the lib folders there is a modules folder, and in there is just a modules.dep21:29
osum4estand modules.dep is empty21:30
malok, as a temporary ugly hack copy file device/google/marlin/ueventd.common.rc to out/target/product/marlin/vendor/ with name ueventd.rc21:30
malthen run build_packages.sh -d and rebuild image21:31
malI probably need to make a test build with that device repo at some point and figure out how we need to modify build scripts to fix the issue, this is now happening on many devices and should be fixed21:34
wdehoogmal: 0.30 also gave me a UI. then I removed the .jolla-xxx files and then the troubles came back. startup wizard was broken and phone started to reboot21:40
malwdehoog: what files?21:41
wdehoogwith 0.31 startupwizard is works better but still not ok. UI is there but not correct21:41
wdehoogthe ones from the startup-wizard21:41
wdehoogtomorrow I'll try to get sme logs21:41
osum4estmal, it worked. i have ui. this is amazing, thanks!!! i need to fix the touch event in my spec file though, touch isn't working - but i think i know how to do that. as far as the ueventd.rc goes, can't i just add it to that sparse folder? or symlink it?21:49
malosum4est: no, sparse won't help with that21:52
malosum4est: it's used on droid-hal rpm build, sparse is in droid-config repos21:52
maldifferent repos21:52
malosum4est: touch input is fixed in one config file in sparse, you can find it there21:53
osum4estawesome, i got input working and set my pixel_ratio. i have another build problem though, i have to manually add /vendor and /system to my /etc/fstab and make the system symlink  after flashing. how can i integrate this into the build process?23:06
r0kk3rzyou might be able to add those to sparse23:23
osum4estwould i need to duplicate the current fstab and put it there? because currently there isn't one in sparse23:49
T4<DSstill01> It had been a difficult work, but finally i did it, i could install and run an android app, esketittt23:50
r0kk3rzosum4est: yeah you would23:50
T4<DSstill01> And btw it's impossible to make aliendalvik 8.1 work to every device since it's a device-specific system.img that runs with lxc23:52
T4<DSstill01> But 1.0.82 works after i copied some binder-based stuff from aliendalvik 0.46 (arm for hybris 11.0 only) to make 32bit binder works (because aliendalvik 1.0.82 system requires 64bit)23:54
T4<DSstill01> [Edit] But 1.0.82 works after i copied some binder-based stuff from aliendalvik 0.46 (arm for hybris 11.0 only) to make 32bit binder works (because aliendalvik 1.0.82 system requires 64bit binder)23:55
T4<DSstill01> So, after this i can call myself a genius23:55

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