Tuesday, 2021-04-13

*** wiktorek141 is now known as wiktorek14006:52
T42rigaslitsas was added by: rigaslitsas10:56
ruthenianboyHello after long time. I heard somebody is porting SFOS for Volla Phone. Do we know whos working on that?13:19
T42<neochapay> volla have sfos port13:26
T42<adampigg> 🤔13:27
ruthenianboyis it usable as daily driver?13:40
T42<pasik2> I have it in daily use and it works very well.13:53
T42<adampigg> so long as you dont upgrade to 4.014:48
refazinstack625: turns out I forgot to follow android base specific fixes from hadk-faq. there is no lipstick error in dmesg14:51
refaBut still, display not working14:51
refaThis is strace when running test_hwcomposer https://pastebin.com/CyCLzjVv. This is the minimer log https://pastebin.com/zURu5f0H (logcat https://pastebin.com/qqnu19by). surfaceflinger doesn't give any output. This is the logcat https://pastebin.com/NHXVYSJu14:53
refaMaybe piggz as sfos 2 porter for falcon can help14:54
piggzchrist, thats some time ago14:54
refapiggz do you remember how to make the display works? In sfos 1, lipstick hack was used to fix the display14:56
piggzflacon always used lipstick-hack14:56
refaAh I see...14:56
piggzbut, you could always try the sirface flinger qpa plugin14:57
refaOk I'll find out about it14:58
refaI think I read something about lipstick hack from the irc log in 2021... Maybe I'll check it too14:58
T42<elros34> if surfaceflinger doesn't work then check whole journal and logcat for other errors. Did you test surfaceflinger after stoping/masking lipstick?15:06
refaelros34: I haven't stoping/masking lipstick. It not written in the hadk faq15:07
refapiggz: I can't install qt5-qpa-surfaceflinger-plugin. Added it to the patterns, but nothing provides it15:08
T42<elros34> use systemctl mask user@100000, reboot, then try surfaceflinger and get full journal and logcat from that15:08
T42<elros34> you need to build it but it probably not buildable currently and if surfaceflinger doesn't work I don't think it makes sense to even try it15:09
refaelros34: no output from surfaceflinger. logcat https://pastebin.com/n08DwBbQ journalctl -b https://pastebin.com/4GQQVJqF15:14
refaAm I missing something?15:15
T42<elros34> that is not full log just few lines so hard to guess. Is user@100000 even masked?15:17
refaelros34: yes it masked15:18
refaelros34: which one do you need full log? logcat, journal, or both of them?15:18
T42<elros34> both, even dmesg  from very early boot15:19
refaelros34: journalctl https://pastebin.com/ZJi8VTjw dmesg https://pastebin.com/qZscrFYJ logcat https://pastebin.com/9MQycC3b15:25
T42<elros34> I can't see from dmesg whether you disabled selinux correct way (hard to catch 0.7s from boot) so please get: zcat /proc/config.gz | grep -i selinux and cat /proc/cmdline15:31
refaelros34 https://pastebin.com/ERfm33Ee15:33
T42<elros34> not sure which one has higher priority so change CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE from 1 to 0. Also you can add audit=0 to kernel commandline just to make logs more readable15:36
T42<elros34> it would be nice to also disable time_daemon. It's defined in one of /init*rc files or in /system15:42
refaelros34: just comment the time_daemon in init.qcom.rc ?15:53
T42<elros34> maybe add disabled15:54
T42<elros34> you can also strace -f /system/bin/surfaceflinger. Maybe it will reveal why it crash15:55
refaelros34: strace -f surfaceflinger https://pastebin.com/CrFS0PSp16:01
T42<elros34> did you stop it or it crash? Don't you have any surfaceflinger/lipstick hacks currently applied?16:04
refaelros34: I stop it. No hacks applied16:04
refaI'm trying surfaceflinger + minimer, and I got this error while running minimer16:06
refalibrary "/vendor/lib/egl/libGLESv2S3D_adreno.so" not found16:06
refaIs that a problem?16:06
T42<elros34> I do not think so. Just to be sure, did you try to press power button after starting surfaceflinger? You should see animation on screen it it works.16:07
refaYes I've tried16:08
refaNo animation at all16:08
T42<elros34> have you tried to start it like in lipstick-hack? LD_PRELOAD=/system/lib/libsurfaceflinger.so /system/bin/surfaceflinger wait few seconds, stop it then strace minimer16:17
refaelros34: I'll try it now16:20
refaelros34: nothing happened16:21
T42<elros34> minimer just hangs or crash16:22
refalogcat shows qdoverlay continously16:24
T42<elros34> something new?16:25
refaWhile minimer running, the logcat keeps outputting qdoverlay16:25
refaIs there something that I can check to make sure I'm not missing something?16:25
refaBecause in sfos 1 and sfos 2, graphics in falcon can works using lipstick hack16:26
refaDoes different android base can affect this?16:26
T42<elros34> but what exactly qdoverlay error you get? Probably if something was updated then 12->14 base can work differently16:28
refalogcat that showing qdoverlay https://pastebin.com/X9dcMgZB16:28
T42<elros34> is that all or there were some errors earlier? One thing you might check is whether you have QCOM_BSP added in droid-config.h. You can check that in $ANDROID_ROOT/droid-hal-device.log16:42
refaelros34: Found QCOM_BSP16:44
refaIs it a good idea to rebuild everything using cm12? But I need to find the cm12 zip file (or at least make it by myself) before...16:45
*** muhammadrefa is now known as refa16:46
T42<elros34> it's up to you, maybe you can wait if anybody has some better ideas why surfaceflinger shows nothing16:58
T42<elros34> That is old device and I can see that you didn't try patch hwcomposer and then running make copybit.msm8226 gralloc.msm8226 hwcomposer.msm8226 instruction from faq. I guess you already have patched hwc.cpp but it is worth to check17:12
T42Plamen %lastname% was added by: Plamen %lastname%18:24
refaelros34: yes I already have patched hwc.cpp. do I need to rebuild hwcomposer, copybit, and gralloc?21:04
T42Jame %lastname% was added by: Jame %lastname%22:02
T42<elros34> @refa then maybe it's not even worth22:24

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