Monday, 2022-04-18

T42<nephros> Anyone in the mood to help me debug a lipstick/minimer segfaults?13:18
T42<nephros> logcat:
T42<elros34> have you tried mali quirk?13:35
T42<nephros> It is defined in the spec, yes.13:40
T42<nephros> Not sure what it does though, or where/how to check that.13:40
T42<elros34> so you should be able t find grep mali-hist-dump in
T42<nephros> yes it's there on the device: mali-hist-dump%s %s:%d (%s) %s: %s: Found mali-hist-dump thread, killing it ...13:46
T42<nephros> ... and so on13:46
T42<elros34> hm then one thing worth to check is whether /system/bin/surfaceflinger works to be sure android side is set up more or less correctly13:50
T42<nephros> If I run surfaceflinger, the screen goes from (white) sony logo to black, but doesn't display anything that I can see.13:52
T42<nephros> logcat gives this
T42<elros34> so it's not really correct, surfaceflinger crash. On lineage-14 I think you  should see boot animation after starting it13:58
T42<nephros> so I shouldn't rm -rf "$ANDROID_ROOT/vendor/cm/bootanimation" before building hal?14:00
T42<elros34> no idea why you did it but unlikely it's related. You are starting surfaceflinger from /system provided by lineage14:02
T42<elros34> did you reboot device first? Do you start it as root?14:02
T42<nephros> yes ran as root, and no device is not freshly booted.14:04
T42<nephros> I guess disable user@100000 and reboot?14:05
T42<elros34> yes you should have masked user@100000 to avoid starting lipstick14:07
T42<nephros> ok, disabled and rebooting. then run surfaceflinger as non-root?14:09
T42<elros34> I think better as root to avoid any permission issues14:12
T42<nephros> meh, now RNDIS net comes up vanishes immediately14:13
T42<nephros> ok, redid .stowaways, rebooted with user@100000 disabled, started surfaceflinger, logcat:
T42<nephros> OH! I can actually:15:10
T42<nephros> env ANDROID_ROOT=/ /system/bin/surfaceflinger15:10
T42<nephros> ... and then15:10
T42<nephros> env ANDROID_ROOT=/ /system/bin/bootanimation15:10
T42<nephros> then I see the animation!15:10
T42<elros34> so these surfaceflinger dumps are not critical and process keeps running?  what is the use for ANDROID_ROOT env? Is it used by anything?15:12
T42<nephros> No sure, but bootanimation complains (and segfaults) if it is not set.15:13
T42<nephros> yes. logcat complains loudly with the dumps, but it runs.15:14
T42<elros34> don't you have anything interesting in dmesg/journal? Maybe you could enable some  more verbose logs in GuiExtService to figure out why it fails. At least with surfaceflinger working there is always a not really used anymore qt5-qpa-surfaceflinger-plugin15:39
T42<nephros> will try that later (AFK now for a bit), thank you for your assistance so far!15:51
voidanix[m]hey, i have found this post:
voidanix[m]may i ask what does it mean by "introduces SELinux policies for display control (MCE), device startup and background services (systemd)"?20:09
megustaHey , do you have some quick user guide on HADK installation.20:57

Generated by 2.17.1 by Marius Gedminas - find it at!