Sunday, 2020-01-19

Danct12_deathmist: i already do have it02:36
Danct12_still doesn't work though02:37
Danct12_binder spam still exists02:37
Danct12_anyway i think i should go back to hybris-15.102:45
Danct12_since i don't think this device tree works for me02:45
T42<alexisrev> I started earning the day I took the courage to invest in Bitcoin with Amos Bauer , now I'm glad I took that courage. I just got $5500 profits sent directly to my PayPal account.04:43
T42章翰雅 %lastname% was added by: 章翰雅 %lastname%06:15
Danct12_so i gave up with pie rebase, back with oreo branch06:43
Danct12_and now lipstick fails to start, here's the error in journalctl06:43
Danct12_test_hwc2 runs perfectly fine, i can see the spiral06:43
Danct12_looking at strace, it seems like its looking for libsdm-disp-vndapis.so06:57
Danct12_and they don't seem to exist anywhere06:58
Danct12_nope that's not the case, still crashing07:15
deathmistDanct12_: I had that missing too, it's not an issue07:26
Danct12_still dont know why it doesn't work07:28
Danct12_[F] unknown:0 - QPA-HWC: hwc_module->methods->open(hwc_module, HWC_HARDWARE_COMPOSER, &hwc_device) in create returned -2207:28
Danct12_could it be qt5-qpa-hwcomposer-plugin isn't compiled for libhwc2? since test_hwc2 works fine07:29
deathmistSELinux is still not disabled as per your full journal, show a new one if you aren't sure it's disabled, it definitly supports hwc2 since my phone uses hwc 2.1. perhaps SECURITY_SELINUX_BOOTPARAM_VALUE being 1 in your defconfig is causing issues, please set it to 007:30
Danct12_sadly i already went back to oreo branch, will come back sometime soon07:31
Danct12_services starts perfectly fine here, just not lipstick07:32
deathmistoh I may know why it didn't work, you never installed stragglers droid-hal RPM did you on Pie? that had the mount units from stragger_files define07:33
Danct12_i did, i got /persist along with others07:33
Danct12_i checked the symlinks and they're symlinked to vendor and it's directories07:34
deathmisthm, hard to guess then. show new journal from oreo base, can't help but guess if I don't see anything. you probably left some pie stuff in your trees which doesn't work for oreo or something07:35
Danct12_i rm -rf'd hadk folder, but i'll give you journalctl07:36
deathmistvery strange, I don't see anything obvious myself (though I may just have missed it). have you formatted /data when jumping across droid versions? I had issues with that before iirc07:57
Danct12_also how can ofc07:57
Danct12_* ofc i did07:58
Danct12_anyway how can i connect to wifi from the terminal?07:58
Danct12_connmanctl isn't available here07:58
Danct12_but it's still strange that test_hwc2  works, while not lipstick07:59
Danct12__figured it out08:07
Danct12__it was a permission problem, i can run minimer as root just fine08:08
Danct12__but if i run minimer as nemo it doesn't work08:08
Danct12__just fails with -2208:08
Danct12__here's the strace08:28
Danct12__just chmod'd it and now it worked08:32
Danct12__good news, added the nemo user to graphics group worked08:55
Danct12__not sure if this is what you're supposed to do.. but i got to the ui08:56
deathmistDanct12_: running "groups" as nemo gives me "nemo video users ssu timed oneshot system bluetooth graphics input audio camera media media_rw mtp inet", not sure why you wouldn't be in that group. you sure your dhd submodule back on 15.1 is on upgrade-3.2.1 branch?09:35
Danct12__deathmist: oh it's not, fixed that09:50
Danct12__rebuilding packages and rootfs now09:50
deathmistthe group handling was changed for master and releases >3.2.1 so that would make sense that it was broken then09:51
Danct12__deathmist: thanks, it works!11:12
deathmisthow does one disable NFC via a command? I'm just adding a temporary fix till the next release for the NFC toggle in settings not saving state across reboots thanks to droid groups being added after nfcd chowns during mic image creation etc12:05
Danct12__regarding codecs, does anyone know where to get free implementation of them?12:13
maldeathmist: why didn't you add the usual chown hack to .ks before image build?12:42
malI used a similar one for ofono12:43
deathmistoh I guess I should do that instead then12:43
maldeathmist: I have this just below ### begin 60_ssu in .ks: chown -R radio:radio /var/lib/ofono12:44
malso maybe something like that but for different group and folder could work?12:45
deathmistyeah I know "chown nfc:nfc /var/lib/nfcd" is the fix, can these hacks be removed on next release that the group handling has been changing for in dhd master?12:48
T42picolopoco was added by: picolopoco13:01
T42<picolopoco> hello13:01
T42Hello %lastname% was added by: Hello %lastname%13:29
Danct12__can anyone help me with video decoding?13:33
T42<elros34> what is your issue? Did you add gstreamer1.0-droid to patterns and package droidmedia and gst-droid?13:46
Danct12__videos just won't play, and yes, i do have gstreamer1.0-droid installed13:50
Danct12__minimediaservice is also running13:50
Danct12__and gst-droid is of course packaged, otherwise i won't be able to take pictures13:50
Danct12__actually, the video plays, but only audio13:50
deathmistwhat types of videos specifically? I needed to be able to play a bunch of them, I may still need more too13:51
Danct12__the video is black screen13:51
T42<AnonGhost_3301> Any development on poco ?13:54
Danct12__if i run the gallery app under a terminal this error shows when a video is played13:57
deathmistdid you try the file I sent? I don't know much at all about decoding14:00
Danct12__i've tried14:00
deathmistyou'll have to restart too afaik14:00
Danct12__i rebooted the device to make sure14:00
Danct12__still black screen with audio playing14:01
T42<elros34> you should check logcat why video decoder can't be found14:09
Danct12__oh it did output something14:13
Danct12__looking at this doesn't seem to be useful at all14:15
Danct12__and appearing as video decoding works without problem14:15
Danct12__except for ANDR-PERF-RESOURCEQS: Failed to apply optimization14:16
T42<elros34> pasting whole logs is good habit14:18
T42<elros34> by full log I mean: Restart device, run logcat so it include early boot messages, then try to play video maybe with GST_DEBUG=droid*:5. BTW you can disable time_daemon which restarts in your logcat14:45
Danct12__here is full logcat14:54
Danct12__and here is the output from the gallery app
T42<elros34> Danct12__ I wonder about 2 x "ServiceManager: Waiting for service sensorservice" but maybe it's normal at the begging. Do you have all mini services running? "pgrep -a mini"15:49
Danct12__yes, minimedia, miniaf, minisf is shown15:51
Danct12__and also sensors are working fine here, tested with csd test app15:52
T42<elros34> assuming you started video playback somewhere around 14:50:28 I really can't find any messages in logcat from video decoder. Have you tried to get general gstreamer debug log like GST_DEBUG=4 to see which decoder it wants to load?16:28
Danct12__just did16:34
Danct12__tried to load video/x-h26416:35
Danct12__i have a feeling that gst-droid video decoder isn't being used at all16:36
Danct12__since out of curiousity i tried to gst-inspect the decoder16:39
Danct12__here's the output16:39
T42<elros34> looks like it  missing sink capabilities16:41
Danct12__yeah, i believe that's the cause16:42
Danct12__which video decoding probably works just fine as we've seen logcat16:43
T42<elros34> If you don't have better idea you could try to downgrade droidmedia/gst-droid. Both contains some dynamic_codecs changes. In sink capabilities you must have video/x-h264 otherwise droidvdec wil not be used by playbin16:54
Danct12__maybe reverting this commit should fix?16:59
T42<elros34> I have no idea, that is question to mal17:00
malwhat is the problem?17:18
malwhich android base is that?17:19
Danct12__hybris 15.117:19
maldo you have media_codec*.xml files in /system/etc? if so are there symlinks in /etc/ pointing to those?17:20
Danct12__they all are linked to /vendor/etc, yes17:21
Danct12__here's all of them symlinked:
malDanct12__: remove file /home/nemo/.cache/gstreamer-1.0/registry.armv7hl.bin and then grab output of "GST_DEBUG=droid*:5 jolla-gallery" when you try to play some for example h.264 video17:35
malDanct12__: now show logcat17:43
malDanct12__: you can see those "No hardware support found for" lines in the log which tells android side is not doing what it should be17:43
Danct12__mal: ^17:45
maldo those time stamps match the time you tried to playback videos17:46
malare you sure the log is not missing something earlier17:46
Danct12__i apparently pressed enter to make new lines before launching jolla-gallery17:47
Danct12__in logcat17:47
Danct12__so i dont think i missed anything earlier17:47
Danct12__and even then, the timestamp do match17:49
maljust to be sure, show output "ls -l /system/etc/media*.xml" and "ls -l /vendor/etc/media*.xml"17:52
T42ot_kurva was added by: ot_kurva17:58
malDanct12__: remove the /home/nemo/.cache/gstreamer-1.0/registry.armv7hl.bin again, then reboot and try playback and grab new logcat, make sure it's the whole logcat18:02
mal01-19 18:04:18.233  2849  4958 E /vendor/bin/hw/ Failed to allocate omx component ''  err=InsufficientResources(0x80001000)18:10
mal01-19 18:04:18.234  2831  4278 W OmxInfoBuilder: Fail to add mime video/avc to codec
malso something is wrong in android side18:10
Danct12__yeah i guess i have no more idea about that..18:27
Danct12__maybe kernel config?18:27
malno, probable some android initialization issue, or some missing something, or firmware issue18:37
Danct12__wishing i could strace the service though18:47
T42<elros34> fails but looks like its initialized.  About firmware: I guess you are using this strange kernel config with audit disabled like previously. How about CONFIG_FW_LOADER_USER_HELPER, do you have it enabled?19:17
Danct12__elros34 FW_LOADER_USER_HELPER_FALLBACK (which enables the above) is disabled19:25
Danct12__should i turn it back on?19:25
T42<elros34> enable both19:29
Danct12__elros34 done, booted19:48
Danct12__but anyway that doesn't matter since we have this patch19:50
T42Cyril %lastname% was added by: Cyril %lastname%20:05
T42匡慧梅 %lastname% was added by: 匡慧梅 %lastname%23:38

Generated by 2.17.1 by Marius Gedminas - find it at!