Tuesday, 2022-08-23

T42<kreatowastaken> i still couldn't find anything about why mali has this error05:54
T42<edp_17> @kreatowastaken : I had that issue on my Galaxy Note 4. Applying this commit and rebuilding ofono has fixed that. https://github.com/DeadSquirrel01/ofono/commit/75180373c5f9da7a515a9db4808eb8b7f132200506:06
T42<kreatowastaken> uhhh06:07
T42<kreatowastaken> idk how ofono would affect that06:07
T42<kreatowastaken> i was talking about graphics not RIL stuff06:07
T42<Spidey24Z> already applied but still show private number (re @edp_17: @kreatowastaken : I ...)06:09
T42<kreatowastaken> here is the lipstick strace btw (re @kreatowastaken: lipstick output;06:10
T42<kreatowastaken> htt...)06:10
T42<Spidey24Z> what error? (re @kreatowastaken: i still couldn't fin...)06:10
T42<kreatowastaken> `08-23 05:49:42.387 23501 23501 E mali    : Initialization of a handle to the system environment failed (3)` (re @Spidey24Z: what error?)06:10
T42<kreatowastaken> and i couldnt find any details bout itt06:11
T42<kreatowastaken> and lipstick segfaults after `Cannot make QOpenGLContext current in a different thread`06:12
T42<kreatowastaken> i alr sent the strace06:12
T42<Spidey24Z> this is not a fatal error i get this on exynos7880 on ubport and ui work fine (re @kreatowastaken: 08-23 05:49:42.387 2...)06:13
T42<kreatowastaken> hmm06:13
T42<kreatowastaken> then i guess this is the main issue? (re @kreatowastaken: and lipstick segfaul...)06:13
T42<kreatowastaken> do you get `08-23 05:49:40.412 23459 23459 E libEGL  : validate_display:87 error 3008 (EGL_BAD_DISPLAY)`_06:14
T42<kreatowastaken> do you get `08-23 05:49:40.412 23459 23459 E libEGL  : validate_display:87 error 3008 (EGL_BAD_DISPLAY)`? (edited)06:14
T42<Spidey24Z> yeah see logcat when while you strace lipstick06:14
T42<Spidey24Z> yea (re @kreatowastaken: do you get 08-23 05:...)06:14
T42<kreatowastaken> and ui work fine?06:15
T42<kreatowastaken> then that isnt the main issue either06:15
T42<Spidey24Z> yeah see logcat while you strace lipstick (edited)06:15
T42<Spidey24Z> yes (re @kreatowastaken: and ui work fine?)06:15
T42<Spidey24Z> i did not get lipstick ui on exynos7880 because of hwcomposer but in ubport i got all this error and ui work (re @kreatowastaken: then that isnt the m...)06:17
T42<Spidey24Z> maybe this is your main issue (re @kreatowastaken: and lipstick segfaul...)06:17
T42<kreatowastaken> seems like it06:17
T42<edp_17> Sorry, I replied to yo instead of @Spidey24Z. I was talking about the private number problem. :) (re @kreatowastaken: idk how ofono would ...)06:47
T42<kreatowastaken> np06:48
T42<elros34> so why didn't you starce minimer? Lipstick is hard to start and hard to read strace. Mask user@100000, reboot, strace, got logcat, try /system/*/surfaceflinger06:55
T42<kreatowastaken> i didnt because i thought u said that becuz of the libEGL error07:03
T42<kreatowastaken> ill do that now07:03
T42<kreatowastaken> how can i transfer this though?07:04
T42<kreatowastaken> i guess ill start sshd07:04
T42<kreatowastaken> okay07:13
T42<kreatowastaken> i got strace of minimer07:13
T42<kreatowastaken> and logcat07:13
T42<kreatowastaken> logcat https://gist.github.com/kreatoo/ca04afe704eaa33f794ff31b9c06b31c07:17
T42<kreatowastaken> strace https://gist.github.com/kreatoo/9a41b62907e25b967696671199e1916d07:17
T42<kreatowastaken> idk what u mean by try /system/*/surfaceflinger07:18
T42<kreatowastaken> do you mean running it or?07:18
T42<kreatowastaken> do you want me to strace it?07:18
T42<elros34> hard to read this logcat with kernel messages. Run and see what will happen. So all of this is now with some cahnges in hybris-patches related to libegl?07:44
T42<kreatowastaken> yes07:45
T42<elros34> you hide commands so did you start minimer as root or user?07:45
T42<kreatowastaken> root07:45
T42<kreatowastaken> the command is the same as the faq just added strace -f07:46
T42<elros34> how can I know that, just do not remove that 1 simple line from  thousands of log lines07:47
T42<elros34> did you set env variable correctly too?07:48
T42<kreatowastaken> i didnt remove anything07:48
T42<kreatowastaken> i just get logs by just doing > log07:48
T42<kreatowastaken> so the command name doesnt show up07:48
T42<kreatowastaken> `EGL_PLATFORM=hwcomposer strace -f /usr/lib64/qt5/bin/qmlscene -platform hwcomposer main.qml > strace.log` is the command i ran07:49
T42<Spidey24Z> i get this error when i tried to on or off bluetooth https://pst.klgrth.io/paste/pp7p707:49
T42<elros34> @kreatowastaken isn't faster to copy directly from terminal instead redirecting to file, copy file to host, open, and copy content?07:54
T42<Spidey24Z> this error shows when i turn mobile data on https://pst.klgrth.io/paste/ps6zt07:54
T42<kreatowastaken> copying with my terminal is tedious so i do it like that instead07:55
T42<kreatowastaken> if it is wrong or whatever i could do it like that aswell07:55
T42<Spidey24Z> this's the config i used https://pst.klgrth.io/paste/amj5p (re @Spidey24Z: i get this error whe...)07:58
T42<elros34> @kreatowastaken it's not wrong (I assume you add 2>&1) just there is better way. I do not know if I would notice even obvious issue in these flooded logs. Because of some decon errors (maybe not real) all I can suggest you to try this patch: https://github.com/spiiroin/mce/commit/25c772f300387a9c0a426f87f03cbb63654194bb.08:08
T42<kreatowastaken> where do i apply this patch?08:09
T42<elros34> it's patch for mce so to mce sources. Best would be on top of same mce version you have already installed08:11
T42<elros34> I assume you tried mali quirk or at least 'grep mali-hist-dump <path to *mali.so>08:25
T42<kreatowastaken> ididnt08:27
T42<kreatowastaken> i didnt (edited)08:27
T42<kreatowastaken> https://hastebin.com/eneloqipac.sql08:27
T42<kreatowastaken> that commands output08:27
T42<kreatowastaken> btw how do i build mce?08:31
T42<elros34> you could just say: yes mali-hist-dump is found in *mali.so:) like any other package: build_packages.sh --help (-b)08:32
T42<kreatowastaken> okay08:33
*** Ischwitch is now known as Ingvix08:34
T42<elros34> if mali-hist-dump is found then it's worth to test mali_quirks but I am not sure this helped anybody:P08:36
T42<kreatowastaken> getting failed build depedencies error08:39
T42<kreatowastaken> mce.log https://hastebin.com/culotegizu08:39
T42<elros34> did you check what mce version do you have installed and build the same? btw error has nothing to mce09:02
T42<kreatowastaken> i was compiling the wrong version09:05
T42<kreatowastaken> installed one is 1.109.109:05
T42<kreatowastaken> ok got the right version09:06
T42<kreatowastaken> okay09:10
T42<kreatowastaken> compiled it09:10
T42<kreatowastaken> where is the rpm?09:10
T42<kreatowastaken> or do i need to remake the zip again09:10
T42<elros34> should be in usual place: droid-local-repo09:11
T42<elros34> or in package source/RPMS/ depends on how do you build09:11
T42<kreatowastaken> okay09:11
T42<kreatowastaken> ok installed09:14
T42<kreatowastaken> it still segfaults09:21
T42<kreatowastaken> ill send strace of minimer and logcat as before09:21
T42<kreatowastaken> strace https://gist.github.com/kreatoo/1ac1363316c03c009726a4220ec7bc8109:25
T42<kreatowastaken> logcat https://gist.github.com/kreatoo/78c08dab6afa3e4bdbfcbc2d218a700109:25
T42<11> mal , I don't understand why but your patch you gave doesn't work on lineage-15.1 but no problem on lineage14.1 , on lineage15.1 I get an early bootlup13:09
malwhat patch?13:26
T42<11> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=26ea12dec0c84133add937455be76d44fe253d8513:36
malis the build otherwise the same, are you sure you have all other kernel options correct? how quickly does it reboot?13:39
T42<11> now I will apply the patch and look at the logs, but somewhere at 6-7 seconds13:42
T42<Spidey24Z> Any idea about this error (re @Spidey24Z: this's the config i ...)13:50
mal@11 can you show the log?13:52
T42<11> 10 minutes, you need to add commit13:54
T42<11> okay, the error is gone .... although I tried 2 times before, and nothing worked14:15
T42<11> mal, sorry to bother you14:15
T42<11> what to do with "libarary "/vendor/lib/egl/libGLESv2S3D.so" not found"?16:12
T42<11> https://pastebin.com/qG3De0mc16:58
T42<11> https://pastebin.com/SpAKLY2Z17:00
mal@11 afaik that "libarary "/vendor/lib/egl/libGLESv2S3D.so" not found" is not a problem17:03
T42<11> But the fact that the gallery crashes if you start the video?17:04
maldo other apps work?17:06
malso maybe the issue is not graphics but the hardware video codecs?17:06
malplease show logcat also17:07
malyou can see in that log: root[18150]: rich-core: arguments: --pid=31 --signal=11 --name=CodecLooper17:08
malwhich indicates codec is crashing17:08
ThaodanThe way that qualcomm ports their socs is so frustrating.. When they ported Kona (SM8250) they just copied and pasted all the msm-4.14 changes reverting all the work that was done in 4.19..17:11
T42<11> it means the codec is crashing, but I don’t know how to solve it17:13
mallike I said, show logcat17:19
T42<11> https://pastebin.com/ZYRtuA9517:21
Thaodantry logcat -d > <text>17:21
T42<11> /bin/sh: syntax error: unexpected redirection (re @SailfishFreenodeIRCBridgeBot: <Thaodan>try logcat ...)17:43
Thaodanreplace <text> file the file you pant it to go to17:44
Thaodan<word> is place holder17:44
T42<11> and I don't understand why? , to write to a file?17:45
T42<11> and send you the file?17:46
T42<11> https://pastebin.com/x64FFFhp17:54
T42<Verevka86> Let me know if you find a solution, the same problem on vayu sm8150 hybris18.1, although this problem was not observed in earlier builds. (re @11: But the fact that th...)18:17
Thaodan11: yes18:20
ThaodanVerevka86: Which codec?18:21
ThaodanIt might be the different version of the qcom oss parts that make the difference, I couldn't trigger a crash in galery on sm815018:21
T42<11> Thaodan ,this is not only in the gallery. and in any application that plays video (except the browser)18:24
Thaodanwhat codec?18:24
T42<11> if i knew where to watch it18:25
Thaodanalso please dump to pastebin, they have to many trackers active (4)18:25
ThaodanYou can inspect the file on your pc to see18:26
T42<Verevka86> Standard video in sailfishos 4 gallery (re @SailfishFreenodeIRCBridgeBot: <Thaodan>what codec?)18:27
T42<11> what do you mean by "active trackers"? I'm just new to this18:27
Thaodan11: Third-parties that track what you do18:35
Thaodanlike the Statis18:35
ThaodanVerevka86: Don't to the reply function it doesn't work properly against the bridge (well kinda but it is just wasted  if you just answered a second ago)18:38
T42<11> I still don't understand18:38
ThaodanBut anyway for me playing videos works just fine on SM8150 ok this is Son-AOSP (AOSP plus CAF) but the soc is the same and the qcom oss parts too.18:39
ThaodanWhich qcomn oss version do you use?18:39
Thaodan@11: A tracker is something that follows you around the internet and tracks what you do. He is like the CIA, Statis, KGB etc.18:40
T42<11> and, you are talking about this, but what does it have to do with it?18:41
ThaodanThat pastebin uses those trackers that is why using it is not advisted18:42
T42<11> hemm, I can send you links to these files through my server18:42
T42<11> I don't see any other option18:43
T42<11> ok, where to upload the logs?18:43
malthe logcat already says you used h.264 file18:45
Thaodanpaste.suse.org is good or https://pastebin.mozilla.org/18:46
T42<11> ok, I will use these services, but as for the codec, I still don’t understand what’s the matter, I don’t understand the whole structure of the robot18:49
ThaodanI'll now test if h.264 works on SM8150 for me using big buck bunny18:51
T42<11> how the initialization system functions, and what components it all includes, sorry for the translation, I don’t know English well18:52
Thaodanwhat's your native language18:53
T42<11> Ukrainian18:53
ThaodanAh sorry I don't speak that :D Only German and some Finnish. But I hope your save.18:53
T42<11> Thanks18:54
ThaodanTo explain what I said: Sailfish sits on top of Android for it's hardware support as we only get the Android version of the drivers and software by the company that created the chip/soc in your phone.  To use those libraries we use libhybris as a mediator between linux and the android software we use. Some of those software from the vendor that create your phones chips is open source, some is closed.  When you port a phone you are18:57
Thaodanreliant that there's no bugs in either of the software provided by your phone manufacturer.18:57
ThaodanI assume right now that there might be a bug in said software that is fixed in later versions.18:58
ThaodanAs for me I can view videos just fine on my phone which has the same chip  Verevka86's phone.18:59
T42<11> about the old version, i don't think this will solve the problem, and what repositories do i need to replace, or what should i do to fix it?19:00
malit's not certain that the issue is in the android stuff, could be some permission issue or configuration issue or something else19:01
T42<11> could this be the case property_set("ro.boottime.time_daemon",failed: property already set?19:07
T42<11> in galleries and in utube the duration of the video is not even shown19:07
Thaodanmal: Yes that could be, sometimes the blobs just crash if there's a config missing19:07
T42<11> unfortunately that's not the point19:10
T42<11> although there are no more problems in the logs, I fixed everything19:10
T42<11> https://pastebin.mozilla.org/uWrofsLQ19:13
mal@11 time_daemon is useless process and can be disabled, I think it's disabled usually in our repos19:14
T42<11> well it was in /init.target.rc19:15
maljust ignore time_daemon19:15
maltry adding this file if you don't have it https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/sparse/etc/gst-droid/gstdroidcodec.conf19:16
malfirst to device19:16
T42<11> I noticed something when I started the video19:20
T42<11> https://pastebin.mozilla.org/5wfXguOt19:20
T42<11> Mal , yes i did that but it didn't help19:26
Thaodanmal: is that file still needes these days? new ports don't have it19:28
Thaodanhis issue is in the kernel module maybe19:28
Thaodan11: Do you have this file somewhere?19:29
malThaodan: afaik it might be needed on older android bases19:29
Thaodantry find /vendor -name system_properties.xml19:30
mal@11 was there any difference in logs after adding the file?19:30
T42<11> maybe it's important, i had a bug with virtual audio and i just removed it from minimedia19:30
Thaodanthis file is needed for vidc (the kernel module that access your phones soc to decode videos)19:30
T42<11> this file is not in /system/etc and also in /vendor/vendor/etc19:35
Thaodanit should be in /vendor/etc19:36
T42<11> https://pastebin.mozilla.org/9F2nP4rt19:38
ThaodanWhich phone soc do you have?19:39
malThaodan: strace would probably help figuring out if something is missing19:39
T42<11> I didn’t understand what you mean, but the code name is hlte and the processor is msm897419:40
ThaodanThat's why I asked :)19:40
T42<11> and yes, assembly based on Lineage 15.119:41
Thaodanmal: do you have system_properties.xml on fp2?19:42
ThaodanI'm not sure if vidc needs it on such an old soc19:42
malThaodan: no such file19:53
Thaodanok so it might be not needed19:54
T42<11> I want to say again that I made these changes in minimedia.cpp https://pastebin.mozilla.org/nDaBXfK419:56
T42<11> this interfered with the assembly, and the instructions in hadk-hot did not help19:57
malwhat do you mean? why did you do that?19:58
T42<11> it interfered with the assembly, wrote that an unknown function or something like that20:00
Thaodan11: That is probably because you have android with audiosession api applied20:07
ThaodanYou need to revert that change (or someone needs to fix droidmedia for lineage as said earlier)20:08
T42<11> I don't want to do it by hand20:09
T42<11> I'm talking about reverse changes20:09
T42<11> how can i download diff?20:10
mal@11 you don't need that now since you already hacked minimedia, and that audio policy only affect video recording20:10
Thaodan11: Do git revert <commit>  in that directory you have frameworks av and then build android wit that20:10
Thaodanmal: good point20:10
ThaodanSo yeah skip that for now20:11
malThaodan: also wondering if the audio policy code would work on non-lineage devices if we just add the new functions unconditionally20:11
Thaodanmal: you mean on the android side?20:12
malThaodan: or are those in any way separated in android code with some ifdef or something20:12
Thaodanmal: You would modify the interface class which are you not allowed to since it breaks all users of said class.20:12
ThaodanFor cases were manufactures applied hacks we have ifdefs e.g. mtk20:13
T42<11> and what should I do with this codec?20:15
T42<11> OMXNodeInstance: !!! Observer died. Quickly, do something, ... anything...21:29
malthat happens when something crashes or fails terribly21:33
T42<11> well, before that there was only setting up a device for audio output (re @SailfishFreenodeIRCBridgeBot: <mal>that happens wh...)21:34
T42<11> i.e. size setting, after audio, and immediately this error, and then Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE21:34
T42<11> i.e. size setting, after audio, and immediately this error, and then Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE21:34
T42<11> sorry for replying to your post21:35
T42<11> https://pastebin.mozilla.org/gap69ywM21:35
T42<11> BufferQueueProducer: [DroidMediaCodecBufferQueue] connect: already connected (cur=3 req=3)21:39
malthose messages are after the crash of codec looper21:39
T42<11> SurfaceUtils: Failed to connect to surface 0xae33c200, err -2221:39
T42<11> mal hmmm, should i do a reboot?21:40
malsure, although not sure if it will help21:40
T42<11> https://pastebin.mozilla.org/jT4Carya21:42
malmaybe running gallery app via gdb from terminal could tell where is crashes?21:43
T42<11> it crashes when i start any video21:44
T42<11> any application where there is a video simply freezes or crashes21:45
malyes but with gdb you could see which part of the code crashes it21:45
T42<11> How can I not go into the debugger21:45
T42<11> what is the gallery package called?21:46
malyou install gdb if it's not already installed then just "gdb jolla-gallery"21:46
T42<11> and I don't know how to use it so that it writes everything, I can only run the code line by line21:47
malnot sure what you mean21:48
T42<11> https://pastebin.mozilla.org/xYQbZf5W21:49
malafter you run "gdb jolla-gallery" then in the prompt it show type "run"21:49
malthread apply all bt21:49
malstrange error21:49
malbefore you type "run" do this "handle SIGILL pass nostop noprint"21:51
T42<11> https://pastebin.mozilla.org/OhnV2tKD21:52
malare you trying to run that as root using telnet? you should be running it as defaultuser via ssh21:54
T42<11> I ran via telnet through the defaultuser user21:55
maltelnet uses root not defaultuser21:56
maljust use ssh like I said, you can set password for the user from developer settings or using "passwd defaultuser" via telnet21:57
T42<11> ssh21:58
T42<11> https://pastebin.mozilla.org/R14tJZVT21:58
malfirst do zypper install -C "debuginfo(build-id)=dddfa9688e5f5f25bbe445382f805a38df4e5f56" and then try again22:00
maland before posting the log type "thread apply all bt" at the end after it crashed22:00
maland of course that zypper command as root22:01
T42<11> No provider of 'debuginfo(build-id)=dddfa9688e5f5f25bbe445382f805a38df4e5f56' found. ['--plus-content debug'?]22:03
malhmm, strange22:04
T42<11> add at the end of '--plus-content debug?22:04
malI think that is actually a know issue, the debug package is not in the jolla repo for that package22:05
malone option is to build gst-droid locally and copying it to the device22:05
T42<11> What is the link to the instructions?22:06
malif you run "build_packages.sh --gg" in your build environment in platform sdk it should build it22:06
T42<11> okey22:06
malit might even already be in your droid-local-repo folder22:06
malcheck in there first22:07
T42<11> this package is not built, all that is built by this command is droidmedia-localbuild pulseaudio-modules-droid-hidl22:11
malok, then try running: build_packages.sh --mw=https://github.com/sailfishos/gst-droid.git22:14
T42<11> these packages were already installed but i reinstalled https://pastebin.mozilla.org/HFzKPf1u22:30
malfdid you type what I asked after it crashed?22:34
T42<11> zypper22:34
malnot that22:34
malI mean when run the program in gdb after it crashes there should be a prompt like where typed "run", if not then do press ctrl+c first and then check if there was a prompt22:36
malthen once you have the prompt (gdb) at the end after the crash you type "thread apply all bt"22:38
T42<11> https://pastebin.mozilla.org/md1SLXUk22:41
malhmm, nothing obvious in that, need to check mor tomorrow, it's quite late already22:46
T42<11> Good night22:47
Thaodanmal:  debug symbols are missing22:49
malThaodan: not in that last one?22:57
malThaodan: based on earlier logs that gst_droidvdec_configure_state is seen in crashing thread22:57
Thaodanmal: hm I only saw the first one22:59
* Thaodan misses debuginfod in SailfishOS22:59
Thaodanthe first backtrace looked much different hm23:01
Thaodanstrange that there's so few information23:01
malThaodan: that suggests something might crash in android side really23:03
malmaking gdb not so good23:03
Thaodanmal: would libhybris debug symbols help?23:09
malThaodan: the earlier gdb output doesn't mention any libs in android side23:13
malwhich lists the missing symbols23:13

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