Wednesday, 2022-08-24

*** amccarthy is now known as Guest93000:58
*** amccarthy_ is now known as amccarthy00:58
T42<Spidey24Z> hello05:29
T42<Spidey24Z> need help with camera this a log https://pst.klgrth.io/paste/gxp2m05:30
T42<kreatowastaken> is `E surfaceflinger: open() failed for /dev/cgroup_info/cgroup.rc: No such file or directory` fatal?09:23
*** hummer12007_ is now known as hummer1200711:07
T42<kreatowastaken> i found https://community.arm.com/support-forums/f/graphics-gaming-and-vr-forum/7472/why-didn-t-mali864-perform-better-than-mali76412:21
T42<kreatowastaken> this guy seems like he got the same issue12:21
T42<kreatowastaken> that error may be irrelevant12:21
T42<kreatowastaken> minimer doesnt segfault now but still black screen12:28
T42<kreatowastaken> `QObject: Cannot create children for a parent that is in a different thread.`12:28
T42<kreatowastaken> says this12:28
T42<kreatowastaken> might be related idk12:28
T42<kreatowastaken> strace: https://gist.github.com/kreatoo/b19ba63962cc245fa97628fffd0ca18412:39
Thaodankreatowastaken: No cgroup.rc not found isn't fatal.13:34
ThaodanAndroid doesn't manage cgroups in our env.13:34
T42<kreatowastaken> okay13:43
T42<Spidey24Z> droid-hal-init: no such service 'data_on'  i need to add netd.rc file or what ?14:52
T42<11> I'm back, and so, does anyone have an idea for a media codec?14:52
T42<11> https://pastebin.mozilla.org/QS2vw38C16:54
T42<11> microtube log16:54
T42<Verevka86> Forwarded from kuba7: I found that videos  can't be played... LL's videoplayer, Gallery, Fileman, Picoplayer, microtube... no app can play video17:00
T42<Verevka86> Forwarded from unknown: weird, will check soon (re @Verevka86: I found that videos ...)17:00
T42<Verevka86> Forwarded from unknown: @kuba7 install droidmedia-0.20210818.0-1.armv7hl.rpm (https://repo.sailfishos.club/4.4.0.58/xiaomi-vince/armv7hl/droidmedia-0.20210818.0-1.armv7hl.rpm) , and reboot17:00
T42<Verevka86> Forwarded from kuba7: unfortunately didn't help (re @Verevka86: @kuba7 install droid...)17:00
Mister_Magisteryo17:01
Mister_Magisterwhat the heck microtube does here17:01
Mister_Magisterxd17:01
T42<Verevka86> there is also a problem with the video in the latest assembly of xiaomi vince judging by their chat17:01
T42<Mister_Magister> its vp917:02
T42<Mister_Magister> do you have issue with playing videos via microtube? (re @11: https://pastebin.moz...)17:02
T42<11> i can't show the whole srtace17:02
T42<11> it's in the codec, the gallery crashes when you start the video17:03
T42<Mister_Magister> if so then you have either broken vp9 or your device doesn't have hw decoding for it (re @Mister_Magister: do you have issue wi...)17:03
T42<Mister_Magister> ye17:03
T42<Mister_Magister> wouldn't have to use vp9 if jolla didn't break avc117:03
T42<Mister_Magister> but here we are17:03
T42<Mister_Magister> btw you will get more info about codec if you do17:04
T42<Mister_Magister> ```17:04
T42<Mister_Magister> GST_DEBUG=3 microtube```17:04
T42<11> my device is 2013, probably there is no such support17:04
T42<Mister_Magister> or gallery for that matter17:04
T42<Mister_Magister> yup (re @11: my device is 2013, p...)17:04
T42<Mister_Magister> my 2014 devices don't have it17:04
T42<Mister_Magister> there's nothing you can do except for bothering jolla to fix avc117:05
T42<11> ( (re @Mister_Magister: there's nothing you ...)17:05
T42<Mister_Magister> i think only devices from 2016 onwards have it17:05
T42<Mister_Magister> jolla is aware of the issue but as always, they don't care17:05
T42<Mister_Magister> and 2013/14 phones don't have enough horsepower to do software decoding17:06
T42<11> well, at least the videos in the browser work17:06
T42<Mister_Magister> magic17:07
T42<11> there is another codec17:07
T42<Mister_Magister> there is, if you don't do dash17:07
T42<11> h.26517:07
T42<Mister_Magister> but only for 360 and 72017:07
T42<Mister_Magister> not on youtube (re @11: h.265)17:07
T42<Mister_Magister> but again 2013 device won't support it either17:08
T42<11> himm, I could watch 1080 with almost no friezes (re @Mister_Magister: but only for 360 and...)17:08
T42<Mister_Magister> magic (re @11: himm, I could watch ...)17:08
T42<11> does this mean I have no other option than switching to a newer device?17:09
T42<Mister_Magister> basically17:10
T42<Mister_Magister> i can try and experiment with software decoding but gallery will enforce hw decoding as I do in microtube/picoplayer17:10
T42<Mister_Magister> and if your hardware can't decode it the decoder will crash17:10
T42<Mister_Magister> and because jolla did'nt do hardware decoding the right way you can't switch between them easily17:11
T42<11> chem, I will be happy with such a decision, if you do something, you can mention me or write to PM17:11
T42<Mister_Magister> trying software decoding would take too much effort17:12
T42<11> if you want i can give strace and logcat galleries17:12
T42<Mister_Magister> that doesn't help in anyway17:12
T42<Mister_Magister> that doesn't help in any way (edited)17:12
T42<Mister_Magister> because again17:12
T42<Mister_Magister> GST_DEBUG gives valuable info17:12
T42<Mister_Magister> strace/logcat gives no info17:13
T42<Mister_Magister> and i don't need your log because i can reproduce the issue17:13
T42<Mister_Magister> JOLLA FIX GODDAMN AVC117:13
T42<Mister_Magister> UGH17:13
T42<Mister_Magister> maybe creating forum thread would move thing forward17:13
T42<kreatowastaken> any ideas? :/ (re @kreatowastaken: strace: https://gist...)17:14
T42<kreatowastaken> exiting on signal 2 is because i ctrl + cd outta it17:15
T42<kreatowastaken> it basically gets stuck17:15
T42<kreatowastaken> and the screen is still black17:15
T42<kreatowastaken> so weird17:15
T42<kreatowastaken> and logcat doesnt have any meaningful output either17:16
T42<11> https://t.me/sailfishos_porters/148225 (re @Mister_Magister: GST_DEBUG gives valu...)17:16
T42<Mister_Magister> don't need it17:16
T42<Mister_Magister> gst-droid can't decode something if its not supported by hardware17:16
T42<Mister_Magister> you can't just add hardware decoding functionality17:17
T42<11> fun .... one codec is broken, the second does not support the device17:17
T42<Mister_Magister> which codec is broken17:18
T42<11> Yes, I understand this, but about software decoding?17:18
T42<11> https://t.me/sailfishos_porters/148200 (re @Mister_Magister: which codec is broke...)17:18
T42<Mister_Magister> you would need to recreate entire player to have software decoding17:18
T42<Mister_Magister> thats how jolla made it17:18
T42<Mister_Magister> ah yes (re @11: https://t.me/sailfis...)17:19
T42<Mister_Magister> this one is broken17:19
T42<Mister_Magister> avc1 is broken, vp9 not supported by device, neither av117:19
T42<11> so I have to leave porting, it makes no sense to continue17:19
T42<Mister_Magister> well17:20
T42<Mister_Magister> you can bother jolla everyday till they fix avc117:20
T42<Mister_Magister> thats one way17:20
T42<Mister_Magister> xd17:20
T42<Mister_Magister> or fix it yourself17:20
T42<11> I feel like I'm just being blacklisted (re @Mister_Magister: you can bother jolla...)17:20
T42<Mister_Magister> welcome to sailfish17:21
T42<11> sad..17:21
T42<Mister_Magister> i didn't want to force vp9 decoding but i didn't have a choice17:21
T42<Mister_Magister> seeking is broken in streaming avc117:21
T42<11> to whom can I write about the codec?17:24
T42<Mister_Magister> nobody will care anyway as they already know about the issue cause i already complained about it17:25
T42<Mister_Magister> and nothing changed past year17:26
T42<11> ...17:26
T42<Mister_Magister> well okay year is overexaggeration17:26
T42<Mister_Magister> half a year17:26
T42<11> I spent a month on this to get this...17:27
T42<Mister_Magister> i spent a year to get g2 and 5z just to gui17:27
T42<Mister_Magister> git gut17:27
T42<Mister_Magister> i think making thread on forum maaaaaybe could do something17:28
T42<Mister_Magister> as its more persistant17:28
T42<Mister_Magister> but doubt it17:28
T42<11> yes, it’s useless, they’ll just say that the codec is outdated and they replaced it with a newer one completely forgetting about old devices17:29
T42<Mister_Magister> nah17:29
T42<Mister_Magister> they will say "we are aware of issue and working on it"17:29
T42<Mister_Magister> and one year later when you ask hows progress you will get same thing17:30
T42<11> we all know how they work on the problem17:30
T42<Mister_Magister> because jolla didn't think that maybe somebody will get out of their playhouse and actually try to use their stuff outside of their apps17:30
T42<Mister_Magister> while their apps don't predict streaming video17:31
T42<Mister_Magister> so nobody tested streaming avc117:31
T42<Mister_Magister> "it plays local file? good enough"17:31
T42<11> are you talking about standard applications?17:31
T42<Mister_Magister> ye17:31
T42<Mister_Magister> gallery can't play network file17:31
T42<Mister_Magister> or file outside of tracker17:31
T42<11> so this, my gallery is crashing17:32
T42<Mister_Magister> on vp9 it will crash17:32
T42<Mister_Magister> not on avc117:32
T42<Mister_Magister> because your phone can't decode vp917:32
T42<Mister_Magister> and i'm talking about avc1 being broken17:32
T42<Mister_Magister> you can actually test that17:32
T42<Mister_Magister> download video via microtube and see it in gallery17:32
T42<Mister_Magister> microtube downloads avc117:33
T42<11> and on which version of sailfish it is not broken?17:33
T42<Mister_Magister> onne17:33
T42<Mister_Magister> none (edited)17:33
T42<Mister_Magister> when you stream avc1 and seek the decoder crashes17:35
T42<Mister_Magister> so not very useful17:35
T42<Mister_Magister> but when you don't stream its fine17:35
T42<Mister_Magister> so jolla sees no issue17:35
T42<Mister_Magister> as their apps don't stream17:35
T42<Mister_Magister> perfect walled garden17:36
T42<11> videodecoder gstvideodecoder.c:1052:gst_video_decoder_drain_out:<droidvdec0> Sub-class should implement drain() (re @Mister_Magister: download video via m...)17:36
T42<Mister_Magister> its just warning17:36
T42<11> crash after that17:37
T42<11> https://pastebin.mozilla.org/LjzHVRHO17:37
T42<Mister_Magister> eh i already explained it17:38
T42<11> what a pity..17:38
T42<Mister_Magister> keep calm and blame jolla if we get enough people rioting maybe they will bother to fix it17:39
T42<Mister_Magister> ut it usually goes this way17:39
T42<Mister_Magister> if it doesn't break their stuff17:39
T42<Mister_Magister> it does not concern them17:39
T42<11> i would fill jolla's face17:40
T42<Mister_Magister> similar was when i wanted multi camera17:40
T42<Mister_Magister> no xperia phones at the time had multi camera17:40
T42<Mister_Magister> so it didn't bother them17:40
T42<kreatowastaken> does it have support for it now? (re @Mister_Magister: similar was when i w...)17:40
T42<Mister_Magister> ye (re @kreatowastaken: does it have support...)17:40
T42<kreatowastaken> pog17:40
T42<Mister_Magister> after i made it and mal picked it up17:40
T42<11> well, it was their thing that broke) (re @Mister_Magister: it does not concern ...)17:40
T42<Mister_Magister> browser is working and gallery can't stream so no issue (re @11: well, it was their t...)17:41
T42<11> I am amazed at their logic (re @Mister_Magister: browser is working a...)17:41
T42<kreatowastaken> oof17:42
T42<11> it's easier to install ubuntu touch17:42
T42<Mister_Magister> i don't even care anymore, if enough users will complain and jolla fixes it then i will enable avc1 back17:42
T42<kreatowastaken> man this thing is so weird17:47
T42<kreatowastaken> if i start minimer it gets stuck and when i try to start surfaceflinger while minimer is running surfaceflinger segfaults17:47
T42<kreatowastaken> same thing happens in reverse17:47
T42<kreatowastaken> if i start surfaceflinger it gets stuck and when i try to start minimer while surfaceflinger is running now minimer segfaults17:47
T42<Mister_Magister> they can't owrk at the same time17:48
T42<Mister_Magister> because they both take over the gpu/display17:48
T42<kreatowastaken> oh17:48
T42<kreatowastaken> ohhh17:48
T42<kreatowastaken> makes sense ok17:48
T42<kreatowastaken> `QObject: Cannot create children for a parent that is in a different thread.` this doesnt tho lol17:48
T42<kreatowastaken> it just gives this error then gets stuck17:48
T42<Mister_Magister> try running surfaceflinger alone?17:49
T42<kreatowastaken> that gets stuck too17:49
T42<kreatowastaken> but that gives no output17:49
T42<kreatowastaken> unlike minimer17:49
T42<Mister_Magister> huh17:49
T42<kreatowastaken> wish i knew how to read strace lol17:50
T42<Mister_Magister> nobody knows how to read strace17:52
T42<Mister_Magister> we just pretend to know and pick out what we want to know17:52
T42<Mister_Magister> "oh in output there is path to this lib i wanted? oh good good…"17:52
T42<kreatowastaken> lol17:53
T42<kreatowastaken> true17:53
T42<kreatowastaken> btw17:53
T42<kreatowastaken> minimer and test_hwcomposer gets stuck on the very same place17:53
T42<kreatowastaken> they just spam17:53
T42<kreatowastaken> clock_gettime and nanosleep stuff for some reason17:53
T42<kreatowastaken> i have 0 idea as what those mean so17:53
T42<11> let's start a riot (re @kreatowastaken: i have 0 idea as wha...)17:54
T42<kreatowastaken> stracing surfaceflinger gives this...17:55
T42<kreatowastaken> `[pid  5439] +++ exited with 0 +++`17:55
T42<kreatowastaken> then theres no output17:55
T42<11> Oops, I replied to the wrong person, sorry.17:55
T42<kreatowastaken> wonder if that is intended or not but ye17:55
T42<kreatowastaken> np17:55
T42<kreatowastaken> can someone check if this is intended or not (re @kreatowastaken: stracing surfaceflin...)17:55
T42<elros34> @kreatowastaken did you enabled mali quirks? If you want test surfaceflinger I think on newer hybris you need to also start bootanim service in some order18:02
T42<kreatowastaken> yes (re @elros34: @kreatowastaken did ...)18:02
T42<kreatowastaken> i did18:02
T42<kreatowastaken> should i disable it?18:02
T42<kreatowastaken> how do i start the bootanim service?18:02
T42<elros34> no, it shouldn't harm. Did you rebuild droid-hal/libhybris after that18:03
T42<kreatowastaken> yeah18:03
T42<kreatowastaken> a couple of times lol18:03
T42<kreatowastaken> its enabled for a while18:03
T42<elros34> bootanim should be in one of ini*rc files, but it shouldn't be very hard to find binary in /systme18:03
ThaodanMrMagister please check your attitude and language.. some things are to much.18:03
T42<kreatowastaken> okay ill check18:04
T42<kreatowastaken> system/bin/bootanimation18:04
T42<kreatowastaken> i assume it is this?18:04
T42<elros34> most likely18:04
Thaodanbootanimation is disable in sailfishos18:04
T42<kreatowastaken> sooo18:06
T42<11> I'm in trouble..18:06
T42<kreatowastaken> do i just run surfaceflinger then?18:07
Thaodanhere it's disabled https://github.com/mer-hybris/droid-hal-configs/blob/24a1884bd22a303a79e8f0cebc9521fd512ac258/sparse-10/usr/libexec/droid-hybris/system/etc/init/disabled_services.rc#L2518:07
T42<elros34> try or search in channel logs, I do not know how exctcly you can start it18:07
T42<kreatowastaken> aight18:07
ThaodanYou have to start it manually I assume18:07
T42<elros34> if it works then you can try qpa-hwcomposer-plugin18:08
T42<elros34> sorry qpa-surfaceflinger-plugin18:08
Thaodanthat's unused these days18:08
T42<kreatowastaken> whats that18:08
ThaodanAbout 11's: issues I think mrmagister mr magister mixes things up, from what I saw videc is just crashing on the android side18:09
T42<kreatowastaken> thaodan you mean start bootanim manually?18:09
Thaodanmal had similar point18:09
Thaodanstart like this /system/bin/bootanimation18:09
T42<elros34> @kreatowastaken alternative to qpa-hwcomposer-plugin but not used anymore. Used a last resort if you can't get working hwcomposer-plugin18:09
T42<kreatowastaken> i did18:09
T42<kreatowastaken> https://hastebin.com/boqokidapi.csharp18:10
Thaodan(vidc as in the android side of gst-droid since we use the vidc kernel module with the vendors blobs)18:10
T42<kreatowastaken> i ran it alongside surfaceflinger18:10
T42<kreatowastaken> just so you know18:10
T42<elros34> I remember something about that missing env, try to search this in channel logs18:10
ThaodanI assume it shouldn't run like this but yeah as elros said ^18:11
Thaodanor try minimer18:11
T42<kreatowastaken> i did18:11
T42<kreatowastaken> it gets stuck18:11
T42<kreatowastaken> Forwarded from kreatowastaken: strace: https://gist.github.com/kreatoo/b19ba63962cc245fa97628fffd0ca18418:12
Thaodanthere's also gst-plugins-qti-oss that can be used without android18:12
T42<kreatowastaken> strace: https://gist.github.com/kreatoo/b19ba63962cc245fa97628fffd0ca18418:12
Thaodanhttps://source.codeaurora.org/quic/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss18:12
T42<kreatowastaken> i use mali tho18:13
T42<kreatowastaken> not18:13
T42<kreatowastaken> qcom18:13
T42<kreatowastaken> okay18:17
T42<kreatowastaken> env ANDROID_ROOT=/18:17
T42<kreatowastaken> surfaceflinger outputs a lot of stuff now so18:17
T42<kreatowastaken> i think it is working?18:17
T42<kreatowastaken> idk18:17
T42<kreatowastaken> i think test_hwcomposer works18:18
T42<kreatowastaken> when i run it it gives18:18
T42<kreatowastaken> lineageos bootup logo18:18
T42<kreatowastaken> ill try minimer18:18
T42<kreatowastaken> minimer18:19
T42<kreatowastaken> doesnt give anything18:19
T42<kreatowastaken> show*18:19
T42<kreatowastaken> yeah18:20
T42<kreatowastaken> i see18:20
T42<kreatowastaken> the lineageos boot animation18:20
T42<kreatowastaken> with surfaceflinger and bootanimation on18:20
T42<kreatowastaken> why doesnt minimer still behave the same damn18:20
T42<Spidey24Z> same thing with exynos7880 mali83xx (re @kreatowastaken: yeah18:22
T42<Spidey24Z> i see18:22
T42<Spidey24Z> the linea...)18:22
T42<Spidey24Z> i tried qpa-surfaceflinger-plugin not work also18:23
T42<elros34> what was error?18:23
T42<elros34> did you set correct env variables?18:24
T42<kreatowastaken> damn18:24
T42<kreatowastaken> so this isnt a only-me issue (re @Spidey24Z: same thing with exyn...)18:24
T42<Spidey24Z> mask mce and user@100000 reboot try test_hwcomposer (re @kreatowastaken: why doesnt minimer s...)18:24
T42<kreatowastaken> you can mask mce?18:25
T42<kreatowastaken> i didnt know that (re @Spidey24Z: mask mce and user@10...)18:25
T42<kreatowastaken> lol18:25
T42<kreatowastaken> ok masked18:25
T42<Spidey24Z> hwcomposer segfault (re @elros34: what was error?)18:25
T42<Spidey24Z> yes (re @elros34: did you set correct ...)18:26
T42<kreatowastaken> masking mce didnt change minimer18:26
T42<Spidey24Z> it segfault on ubport but ui work (re @Spidey24Z: hwcomposer segfault)18:27
T42<kreatowastaken> test_hwcomposer just shows nothing18:27
T42<Spidey24Z> strace test_hwcomposer (re @kreatowastaken: test_hwcomposer just...)18:27
T42<kreatowastaken> gets stuck on `futex(0x2e057ec8, FUTEX_WAIT_PRIVATE, 0, NULL`18:27
T42<Spidey24Z> start mce and user@10000018:28
T42<kreatowastaken> ok18:29
T42<elros34> @Spidey24Z with  EGL_PLATFORM=null?18:29
T42<elros34> @kreatowastaken did you check logcat on every test, especially when something stuck?18:30
T42<Spidey24Z> no EGL_PLATFORM=hwcomposer (re @elros34: @Spidey24Z with  EGL...)18:30
T42<elros34> so you did not test surfaceflinger18:30
T42<kreatowastaken> i didnt check it rn18:30
T42<kreatowastaken> ill check it18:30
T42<kreatowastaken> it has stuff bout minimer for 3 secs18:32
T42<kreatowastaken> ill check18:32
T42<kreatowastaken> surfaceflinger18:32
T42<Spidey24Z> @kreatowastaken you can try with EGL_PLATFORM=fbdev18:32
T42<kreatowastaken> try what?18:32
T42<Spidey24Z> minimer18:33
T42<kreatowastaken> `qmlscene: gralloc.c:344: hybris_gralloc_fbdev_format: Assertion `framebuffer_device' failed.` then segfaults18:33
T42<Spidey24Z> try start lipstick with EGL_PLATFORM=18:34
T42<Spidey24Z> try start lipstick with EGL_PLATFORM=fbdev (edited)18:34
T42<Spidey24Z> as user18:35
T42<kreatowastaken> `[C] unknown:0 - Failed to create display (Connection refused)`18:35
T42<Spidey24Z> you started it as root ? (re @kreatowastaken: [C] unknown:0 - Fail...)18:40
T42<kreatowastaken> no18:40
T42<Spidey24Z> see logcat18:40
T42<Spidey24Z> @kreatowastaken (re @HengYeDev: @elros34 did some mo...)18:43
T42<elros34> IIRC fix was in mce and @kreatowastaken should already try it18:45
T42<kreatowastaken> try what?18:45
T42<kreatowastaken> what ayman sent?18:45
T42<elros34> patched mce18:45
T42<kreatowastaken> if you mean the commit u sent before18:45
T42<kreatowastaken> i tried that18:45
T42<kreatowastaken> it didnt make any difference18:46
T42<elros34> assuming you have installed that mce18:46
T42<kreatowastaken> i did18:46
T42<elros34> surfaceflinger works so this is what you should try18:46
T42<kreatowastaken> `Version        : 1.109.1+HEAD.20220823090942.60a288c-1`18:48
T42<kreatowastaken> `mce-1.109.1+HEAD.20220823090942.60a288c-1.aarch64.rpm`18:48
T42<kreatowastaken> its the same version18:48
T42<kreatowastaken> i didnt install the fork18:49
T42<kreatowastaken> i patched mce with the commit u sent me (re @elros34: assuming you have in...)18:49
T42<kreatowastaken> should i use the fork instead?18:49
T42<elros34> what for, you patched source and used correct version18:50
T42<kreatowastaken> i just asked since i didnt check if there were other commits (re @elros34: what for, you patche...)18:51
T42<kreatowastaken> i cant enter to the charging screen (re @Spidey24Z: @kreatowastaken)18:52
T42<kreatowastaken> btw18:52
T42<Spidey24Z> @elros34 do i need bluebinder if i use bluetooth-rfkill ?18:52
T42<kreatowastaken> ok nvm18:53
T42<kreatowastaken> i entered the charging screen18:53
T42<kreatowastaken> minimer still doesnt work like that18:54
T42<kreatowastaken> black screen18:54
T42<elros34> do you mean that actdead mode works for you?18:54
T42<kreatowastaken> idk what actdead mode is18:55
T42<Spidey24Z> charging animation ? (re @kreatowastaken: i entered the chargi...)18:55
T42<kreatowastaken> ye18:55
T42<kreatowastaken> the same screen he showed18:56
T42<kreatowastaken> how can i try qpa-surfaceflinger-plugin18:56
T42<kreatowastaken> btw18:56
T42<Spidey24Z> then black screen (re @kreatowastaken: the same screen he s...)18:56
T42<kreatowastaken> ye (re @Spidey24Z: then black screen)18:56
T42<kreatowastaken> when i ran minimer18:56
T42<kreatowastaken> wait18:56
T42<kreatowastaken> wait18:56
T42<kreatowastaken> i forgot to mask user@10000018:56
T42<elros34> but which charging screen: sfos or some device mode18:56
T42<kreatowastaken> sfos18:57
T42<kreatowastaken> wait no18:57
T42<kreatowastaken> i mean18:57
T42<kreatowastaken> it shows the "device mode" screen18:57
T42<kreatowastaken> but it boots to sfos in the background18:57
T42<kreatowastaken> so18:57
T42<Spidey24Z> device mode ofcurse (re @elros34: but which charging s...)18:58
T42<Spidey24Z> ? (re @Spidey24Z: @elros34 do i need b...)18:58
T42<kreatowastaken> well18:59
T42<kreatowastaken> it showed a different screen than the18:59
T42<kreatowastaken> device mode one18:59
T42<kreatowastaken> when i tried to poweroff18:59
T42<Spidey24Z> https://github.com/mer-hybris/qt5-qpa-surfaceflinger-plugin (re @kreatowastaken: how can i try qpa-su...)18:59
T42<kreatowastaken> ill check it out ty (re @Spidey24Z: https://github.com/m...)18:59
T42<kreatowastaken> is it on the repos?18:59
T42<elros34> @Spidey24Z I guess no?rfkill you use for broadcom bluetooth18:59
T42<kreatowastaken> or do i compile it urself18:59
T42<elros34> you need to build it and not that urls18:59
T42<kreatowastaken> when i ran minimer it showed the (what i would assume) the sfos charging screen19:00
T42<Spidey24Z> yeah it do the job but bluetooth not turning on (re @elros34: @Spidey24Z I guess n...)19:00
T42<kreatowastaken> does that even count as working idk (re @kreatowastaken: when i ran minimer i...)19:01
T42<elros34> @kreatowastaken this doesn't make sense, minimer start simple qml file, defnitely not any charging screen19:01
T42<kreatowastaken> oh (re @elros34: @kreatowastaken this...)19:01
T42<kreatowastaken> well idk then19:01
T42<elros34> read it, few lines19:01
T42<kreatowastaken> read what?19:01
T42<elros34> the file you start with minimer19:01
T42<kreatowastaken> oh19:02
T42<kreatowastaken> it looks like it shows wallpaper.jpg19:02
T42<kreatowastaken> idk qml but19:02
T42<elros34> yeah19:02
T42<Spidey24Z> @elros34 parse_event: event { 'change', '/devices/bcm-bt-rfkill.23/rfkill/rfkill0', 'rfkill', '' }19:02
T42<Spidey24Z> connmand:  725] [c0] bcm_bt_rfkill_setpower: unblocked vreg:High [POWER ON]19:02
T42<kreatowastaken> okay then19:02
T42<kreatowastaken> ill try19:02
T42<kreatowastaken> the qt5-qpa-surfaceflinger-plugin19:02
T42<elros34> this is correct url for qpa plugin: https://github.com/nephros/qt5-qpa-surfaceflinger-plugin19:02
T42<kreatowastaken> is it on the repos?19:02
T42<kreatowastaken> or do i compile like mce19:02
T42<elros34> @Spidey24Z 1 line from log will not give  me any clue19:03
T42<kreatowastaken> ok looks like its not on repos19:04
T42<kreatowastaken> ill compile it19:04
T42<Spidey24Z> there's nothing else about bluetoot in log (re @elros34: @Spidey24Z 1 line fr...)19:04
T42<Spidey24Z> there's nothing else about bluetooth in log (edited) (re @elros34: @Spidey24Z 1 line fr...)19:04
T42<elros34> then you need to enable verbose output for rfkill-event19:05
T42<Spidey24Z> how ? (re @elros34: then you need to ena...)19:05
T42<kreatowastaken> `Problem: nothing provides 'libsf.so.1()(64bit)' needed by the to be installed qt5-qpa-surfaceflinger-plugin-5.6.0+git2-1.aarch64`19:06
T42<kreatowastaken> solutions are dont install or ignore deps19:06
T42<elros34> did you even change rfkill name in sources?19:06
T42<Spidey24Z> it's bcm43xx (re @elros34: did you even change ...)19:07
T42<kreatowastaken> on the README.md it says libsf_compat_layer is needed19:07
T42<kreatowastaken> how can i find this?19:07
T42<elros34> @Spidey24Z lucky you:)19:07
T42<kreatowastaken> it doesnt look like its on the repos19:08
T42<Spidey24Z> CONFIG_BT_BCM4343=y19:08
T42<Spidey24Z> CONFIG_BCM_BT_RFKILL=y19:08
T42<Spidey24Z> CONFIG_BCM_BT_LPM=y (re @elros34: @Spidey24Z lucky you...)19:08
T42<Spidey24Z> CONFIG_BT_RFCOMM should i disable this one ?19:09
T42<elros34> dosen't mean it using same name as the one hardcoded in sources but most likely19:09
T42<elros34> no idea why would you. patcher works correctly, is initialization completed?19:10
T42<Spidey24Z> it's BCM4343A0 in hcd file (re @elros34: dosen't mean it usin...)19:10
T42<Spidey24Z> yeah it complete (re @elros34: no idea why would yo...)19:10
T42<elros34> its about /sys/class/rfkill/rfkill%u/name19:11
T42<kreatowastaken> ok found it19:12
T42<kreatowastaken> its on droid-local-repo as libhybris-libsf19:13
T42<Spidey24Z> bcm-bt-rfkill (re @elros34: its about /sys/class...)19:13
T42<kreatowastaken> installed qt5-qpa-surfaceflinger-plugin19:13
T42<kreatowastaken> whats next19:13
T42<kreatowastaken> do i just try minimer with it?19:13
T42<kreatowastaken> how do i use surfaceflinger with minimer?19:15
T42<elros34> do not remember exactly but try: LD_PRELOAD=/usr/libexec/droid-hybris/system/lib64/libsurfaceflinger.so /system/bin/surfaceflinger;19:16
T42<elros34> EGL_PLATFORM=null QT_QPA_PLATFORM=surfaceflinger minimer ...19:16
T42<Spidey24Z> @elros34 #define BCM_RFKILL_NAME "bcm43xx Bluetooth\n" change it to this name ? (re @Spidey24Z: bcm-bt-rfkill)19:17
T42<elros34> mabe but first you should enabled verbose mode and see what is going on19:17
T42<kreatowastaken> `CANNOT LINK EXECUTABLE "/system/bin/surfaceflinger": library "/usr/libexec/droid-hybris/system/lib64/libsurfaceflinger.so" needed or19:18
T42<kreatowastaken> dlopened by "/system/bin/surfaceflinger" is not accessible for the namespace "(default)"` (re @elros34: do not remember exac...)19:18
T42<Spidey24Z> how can i enable verbose mode? (re @elros34: mabe but first you s...)19:18
T42<elros34> check bluetooth-rfkill-event supported arguments in sources19:18
T42<Spidey24Z> okay (re @elros34: check bluetooth-rfki...)19:19
T42<elros34> @kreatowastaken what if you would bind mount that .so to system?19:19
T42<kreatowastaken> surfaceflinger looks like its working19:21
T42<kreatowastaken> gonna try minimer now19:21
T42<kreatowastaken> https://hastebin.com/tirabokezi.typescript19:22
T42<kreatowastaken> i have libhybris-libsf installed but that doesnt seem to add this file19:23
T42<Spidey24Z> did you install libhybris-libsf ? (re @kreatowastaken: https://hastebin.com...)19:23
T42<kreatowastaken> yes19:24
T42<kreatowastaken> `i+ | libhybris-libsf | SurfaceFlinger support helpers for libhybris | package`19:24
T42<elros34> you know how to use strace now so figure out why it can't find library19:24
T42<Spidey24Z> maybe not this file that missing (re @kreatowastaken: i have libhybris-lib...)19:24
T42<kreatowastaken> it doesnt seem like theres any file named that (re @elros34: you know how to use ...)19:24
T42<Spidey24Z> use ldd (re @Spidey24Z: maybe not this file ...)19:25
T42<kreatowastaken> i did find -iname libsf_compat_layer.so19:25
T42<kreatowastaken> on /19:25
T42<kreatowastaken> and it didnt find anything19:25
T42<elros34> then it's probably not build19:26
T42<elros34> make modules | grep libsf19:26
T42<kreatowastaken> no output19:27
T42<elros34> and without grep?:)19:27
T42<kreatowastaken> https://hastebin.com/adelibuhok (re @elros34: and without grep?:))19:29
T42<elros34> nothing useful there so just do make libsf_compat_layer19:30
T42<kreatowastaken> a lot of errors19:31
T42<kreatowastaken> ill send em 1sec19:31
T42<kreatowastaken> https://hastebin.com/lokikugeje19:32

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