Wednesday, 2021-03-17

T42<mintphin> should i try reclonining?00:01
malusually no need to do that01:13
T42<edp_17> @elros34 [you have it already installed. I am only sayin …], I've installed the patterns-sailfish-device-adaptation-hammerhead with zypper, then the ver --dup started to download packages.🤞07:54
T42<edp_17> Btw, when I did the OTA on my treltexx, all packages were installed but after the first start I had problems with starting apps (firejail issue). I manually needed to flash the hybris-boot.img to solve it, so it looks like the kernel wasn't installed as part of the OTA update.07:56
T42<zinstack625> Did an aarch64 hybris-16 build and a switch from armv7hl to aarch64 seemingly broke camera, any news on that?11:41
T42<zinstack625> Logcat/dmesg/journalctl are silent on that and GST_DEBUG warns about droideglsink not existing11:43
T42<edp_17> Hi all, is there a way to debug a binary without source? I've tried strace to get more info but nothing useful is there.11:45
mal@zinstack625 are mini*service process running?12:12
T42<zinstack625> mal: minimedia and minisf, don't think there are others12:13
T42<zinstack625> Video playback and audio is fine, just camera12:15
T42<zinstack625> Android side seems fine too, as logcat is silent (except the regulars like fingerprint and pmi)12:18
T42<Verevka86> @zinstack625 [mal: minimedia and minisf, don't think there a …], Missings libandroidicu.so, this not work 😔 -12:27
T42<Verevka86> https://github.com/SailfishOS-sagit/droid-config-sagit/commit/5a9cc0515375e479f98088c85f2da0a31dd34f0e12:27
T42<zinstack625> @Verevka86 there is no apex in hybris-1612:31
T42<Verevka86> @zinstack625 [@Verevka86 there is no apex in hybris-16], thought it was about 17.1😊, 16.0 all good for me12:32
T42<zinstack625> Yeah, 16.0 worked until I did aarch6412:33
T42<Verevka86> @zinstack625 [Yeah, 16.0 worked until I did aarch64], haven't checked yet12:33
T42<zinstack625> I think 17.1 misses an sepolicy at system, but am too lazy to check12:34
T42<lackingcheesepuffs> video recording is broken on my port, how do I debug it?12:36
T42<zinstack625> @lackingcheesepuffs GST_DEBUG=3 (higher is more verbose, lower is less), logcat and journalctl, see if audio dies at a switch to video, try strace, probably some other ways too12:42
T42<lackingcheesepuffs> @zinstack625 [@lackingcheesepuffs GST_DEBUG=3 (higher is mor …], how do I launch logcat in terminal?12:52
T42<zinstack625> @lackingcheesepuffs /system/bin/logcat12:52
T42<lackingcheesepuffs> ah thank you, I will try12:53
T42<mintphin> same issue still13:13
T42<zinstack625> Android 10 tree based builds can occupy just a slight over 8 gb, mine utilizes zram to keep alive. Check if you have enough ram13:40
T42<zinstack625> Oh, and mind you, I turn everything off, my ram usage at start of build is 150 mb, and it still manages to swap13:42
T42<zinstack625> When it starts actually building, memory usage is like 3gb I think13:43
T42<mintphin> ok yeah i used zram and it's working fine now14:32
T42<edp_17> @elros34 : I've applied the mousetracker manually on the n7000 and lipstick is complaining: file:///usr/share/lipstick-jolla-home-qt5/compositor.qml:24:1: module "com.mousetracker" is not installed import com.mousetracker 1.015:34
T42<edp_17> log: https://paste.ubuntu.com/p/44PwgCZXVM/15:34
T42<edp_17> compositor.qml: https://paste.ubuntu.com/p/WmCvvNTZg3/15:34
T42<edp_17> other info: https://paste.ubuntu.com/p/6Wy9XPMScy/15:34
T42<edp_17> On the treltexx, it works.15:35
T42<elros34> Did you install rpm? It has c++ plugin which provides that com.mousetracker15:35
T42<elros34> ah  according to logs you did15:36
T42<edp_17> No, I only copied the files and modified compositor.qml.15:37
T42<elros34> are you sure you copied it to correct path? com/jolla/ looks wrong15:38
T42<elros34> try rpm -U --nodeps mousetracker*.rpm15:39
T42<edp_17> I extracted the files from the .cpio in the .rpm. Then copied those into the path where they were in the .cpio. I'll double check it again.15:41
T42<edp_17> @elros34 : Yep, the correct location of the mousetracker folder was /usr/lib/qt5/qml/com. It works there now. Thanks.15:50
T42<mintphin> it's failing now15:53
T42<mintphin> `FAILED: ninja: 'out/target/product/laurel_sprout/kernel', needed by 'out/target/product/laurel_sprout/boot.img', missin15:53
T42<mintphin> g and no known rule to make it`15:53
T42<mintphin> do i need to provide offsets?15:55
T42<mintphin> wait15:57
T42<mintphin> found the issue in the faq15:57
T42<lackingcheesepuffs> tried building aarch64 with hybris-16.0, when running —mic it returns this16:09
T42<lackingcheesepuffs> Unable to find package: patterns-sailfish-device-configuration-jasmine_sprout16:09
T42<lackingcheesepuffs> but armv7hl was building fine16:09
T42Ivan %lastname% was added by: Ivan %lastname%16:19
T42<zinstack625> @lackingcheesepuffs try manually installing that with "sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R ./droid-local-repo/$DEVICE/droid-configs/patterns-sailfish-device-configuration-$DEVICE*16:29
T42<zinstack625> I still haven't resolved the issue with camera on 16.0 aarch64, but killing minimediaservice seemed to have triggered that: https://pastebin.com/xCSuJKSG16:43
T42<zinstack625> I hope that could have some info16:43
T42<zinstack625> Hmm, why is minimediaservice 32-bit when all the system is 64?16:46
T42<zinstack625> minimediaservice is 32-bit and libdroidmedia is 64, should that be an issue?16:48
rinigus@zinstack625: it could be OK. as I was told, some androids use 32bit bits for it17:51
T42<zinstack625> rinigus: the silence everywhere is sort of worrying17:52
rinigusnews from elsewhere: Purism L5 community member just made first VoLTE calls, from the look of it. those who are on matrix can check it out in #community-librem-5:talk.puri.sm room17:53
rinigusall was done by just enabling volte in the modem using AT commands17:53
rinigustested in germany, one of the local providers17:54
T42<elros34> @lackingcheesepuffs do not install that pattern in target. Update your droid-hal submodule instead17:56
T42<zinstack625> Just looked at camera provider file and it is indeed 32 bit17:57
T42<zinstack625> So should I build droidmedia 32 bit? If yes then how to do not hacky?17:58
mal@zinstack625 I remember some issues with camera on aarch64, you need to show logs and output from camera18:53
T42<zinstack625> mal: logcat is silent when camera starts, there is nothing in dmesg and journal, only GST_DEBUG18:54
T42<zinstack625> If GST_DEBUG is reasonable, how verbose should I set it?18:55
malso you anything about missing libs18:55
mal*do you see18:55
T42<zinstack625> No, and both 32 bit and 64 bit droidmedia libs are present18:56
malhave you tried to remove the gst cache?18:56
T42<zinstack625> How do I do that?18:57
malin ~/.cache/gstreamer-1.0 or something like that18:57
malit's important you do that and then get GST_DEBUG to see what happens18:58
T42<zinstack625> Oh, wait18:58
T42<zinstack625> Segfault at libgstdroid.so18:58
malif it sees some plugin loading fails it keeps the information in cache18:58
malcheck also logcat now18:59
T42<zinstack625> Logcat is silent, gst_debug revealed it's blacklisting libgstdroid.so19:04
malanything helpful in gst_debug?19:16
malor have you tried using gdb to check the crash?19:16
T42<zinstack625> gdb doesn't stop at a segfault, idk why19:18
T42<zinstack625> currently searching through 75k lines of gst_debug19:18
malremember to remove the cache again before doing that19:18
T42<zinstack625> Looks like it tries to load h263parse just before the error message19:24
T42<zinstack625> Fun thing is that the "segfault" is a message in stdout19:25
T42<zinstack625> or maybe a type name 'fraction'19:28
maljust to be sure, which gst.droid version are you using?19:34
T42<zinstack625> mal: zypper info gstreamer1.0-droid says that version is 0.20201104.0-119:37
T42<zinstack625> Not full gst_debug log is 7.5MB and 91k lines, can't really see anything suspicious there19:38
T42<zinstack625> I could share it if anyone wants19:38
malhave you first tried less versbose19:42
mal*verbose19:42
malanything in logcat when you do that test19:42
T42<zinstack625> With GST_DEBUG=4, the only thing in logcat is some Adreno messages about libegl loading19:45
T42<zinstack625> GST_DEBUG=3, some warnings about audio, but audio should be fine https://pastebin.com/JJxh2ab919:47
T42<elros34> just an idea: did you clean mw sources (gst-droid) when you switch from 32 to 64 bit?19:49
T42<zinstack625> I recloned hadk before building aarch6419:50
T42<zinstack625> But there are libraries present in both lib and lib6419:51
T42<zinstack625> Each different arch respectively, ofc19:51
T42<elros34> so maybe gdb will show where it segfault19:52
malit's quite difficult to help without seeing any output from anything19:53
T42<zinstack625> gdb just doesn't stop: https://pastebin.com/S7HqJ6uT20:05
T42<zinstack625> Logcat doesn't have anything: https://pastebin.com/SHuNP4fg20:06
T42<zinstack625> Not a mention of camera in journalctl or dmesg20:06
mal@zinstack625 why you not reading the output of gdb20:07
mal"run with --gst-disable-segtrap --gst-disable-registry-fork and debug."20:08
T42<zinstack625> "gdb —args jolla-camera --gst-disable-segtrap --gst-disable-registry-fork" is the same20:09
malthat's not how it works20:10
T42<zinstack625> ?20:10
malthose are parameters to gdb20:10
malnot to jolla-camera20:11
T42<zinstack625> And do I just pass them?20:12
T42<zinstack625> gdb doesn't seem to know what any of those are20:12
malah, wait20:12
malyou can't use jolla-camera to debug the issue20:13
malsorry20:13
malyou need to install gstreamer1.0-tools and then use gdb --args gst-inspect-1.0 --gst-disable-segtrap --gst-disable-registry-fork droidcamsrc20:16
mal@zinstack625 ^20:19
T42<zinstack625> stagefright, as it seems20:19
T42<mintphin> Hey, I'm now configuring the kernel and there's this option I'm unsure about22:22
T42<mintphin> I ran the kernel checker and it's throwing CONFIG_FW_LOADER_USER_HELPER as invalid, while it's not set22:23
T42<mintphin> However CONFIG_FW_LOADER_USER_HELPER_FALLBACK is set22:23
T42<mintphin> (to y)22:23
T42<mintphin> Should I disable it?22:23
T42<mintphin> Ah wait, I'm reading some previous messages and it seems to not affect functionality.22:24
T42<elros34> keep both enabled22:28
T42<mintphin> I'm getting some errors compiling the kernel23:02
T42<mintphin> https://paste.ubuntu.com/p/5SmhMSZwVY/23:02
T42<elros34> did you enable some crypt options?23:05
T42<mintphin> I just enabled the options mer-verify-kernel-config mentioned23:06
T42<mintphin> https://paste.ubuntu.com/p/tRb3jFfgdc/23:07
T42<elros34> you mean optional extra filesystem? Do you need it for anything? If not do not enable any of them23:07
T42<mintphin> ah ok23:08
T42<elros34> fix errors, enable namespaces and don't worry about rest now. You can always enable more options later when you will have working gui23:12
T42<mintphin> ok cool. it's compiling now23:38
T42<mintphin> same issue23:50

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