Friday, 2020-04-03

OksanaMusic starts stuttering intolerably after Sailfish blacks out the screen. I have already tried disabling "green leaf" power-saving mode; so, instead of getting into trouble right on black-out, it gets into trouble some minutes after black-out. Press a button to light up the screen, music starts playing fine (no need to unlock the screen).01:28
OksanaIt is device's own speakers, by the way. Fxtec Pro.01:29
OksanaBoth Jolla's Media and SirenSong are affected, equally.01:29
r0kk3rzthey both work the same way, so thats not surprising01:32
r0kk3rzmust be some issue with the fxtec sleep cycle01:32
T42<Lukapanio> https://paste.ubuntu.com/p/wcT7BRYvCP/06:03
T42<Lukapanio> here is strace of test_hwc206:04
T42<Lukapanio> started  /vendor/bin/hw/android.hardware.graphics.composer@2.1-service06:04
T42<Lukapanio>  manually06:04
T42<Lukapanio> @Lukapanio [started  /vendor/bin/hw/android.hardware.graph …], ok dont need that now06:16
T42<Lukapanio> was missing init06:17
T42<Lukapanio> strace https://paste.ubuntu.com/p/yCKt9vcWjb/06:24
T42<Lukapanio> no hwcomposer06:24
T42<Lukapanio> 04-02 19:27:57.019  2605  3128 D vndksupport: Loading /vendor/lib/hw/android.hardware.graphics.mapper@2.0-impl.so from current namespace instead of sphal namespace.06:28
T42<Lukapanio> 04-02 19:27:57.019  2605  3128 D vndksupport: Loading /vendor/lib/hw/gralloc.mt8163.so from current namespace instead of sphal namespace.06:28
T42<Lukapanio> 04-02 19:27:57.021  3581  3581 V HWC2    : Created display 106:28
T42<Lukapanio> 04-02 19:27:57.021  3581  3581 V HWC2    : [1] loadConfigs06:28
T42<Lukapanio> 04-02 19:27:57.021  3581  3581 V HWC2    : [1] loadConfig(0)06:28
T42<Lukapanio> 04-02 19:27:57.327  2614  2614 I wmt_launcher: fw log ctrl flag has been set06:28
T42<Lukapanio> 04-02 19:27:57.327  2614  2614 I wmt_launcher: fw dynamic ctrl flag has been set06:28
T42<Lukapanio> 04-02 19:27:58.230  2605  3128 D ComposerHal: destroying composer client06:28
T42<Lukapanio> 04-02 19:27:58.230  2605  3128 I HWC2On1Adapter: unregisterCallback(Hotplug)06:28
T42<Lukapanio> 04-02 19:27:58.230  2605  3128 I HWC2On1Adapter: unregisterCallback(Refresh)06:28
T42<Lukapanio> 04-02 19:27:58.230  2605  3128 I HWC2On1Adapter: unregisterCallback(Vsync)06:28
T42<Lukapanio> 04-02 19:27:58.230  2605  3128 W ComposerHal: destroying client resources for display 106:28
T42<Lukapanio> https://bpaste.net/ECXQ06:28
T42<Lukapanio> nothing in logcat06:29
T42<Lukapanio> I CAN START SURFACEFLINGER AND SEE BOTANIMATION06:38
T42<Lukapanio> sorry for caps lock))06:39
T42Khppafxrdr was added by: Khppafxrdr07:57
T42<Lukapanio> ok got gui09:49
T42<Lukapanio> now cant fet audio09:49
T42<Lukapanio> get*09:49
T42<Lukapanio> [  547.495807]  (1)[7699:test_audio][name:fault&]Unhandled fault: alignment fault (0x92000061) at 0x00000000003855d809:49
T42Alex %lastname% was added by: Alex %lastname%10:33
T42<Alex %lastname%> Hello to all members and admins of this group :D I'm from Greece and looking forward to make a sailfish os port for Redmi 8A 2/32 :D10:35
r0kk3rzgood luck10:36
T42<Lukapanio> (Photo, 800x1280) https://irc.thaodan.de/.imgstore/qO9VUnO2N9.png11:01
T42<Lukapanio> (Photo, 800x1280) https://irc.thaodan.de/.imgstore/zKpk70upVH.png11:01
T42<Lukapanio> (Photo, 800x1280) https://irc.thaodan.de/.imgstore/QjyfJjeHEL.png11:01
walidhis anbox-sailfishos work in 3.2.1 SFOS ?11:13
walidhi can't install it got dependencies error libboost_chrono-mt.so.1.51.0 needed by anbox-sailfishos-11:14
T42<edp_17> @walidh : Afaik anbox only works with 14.1 base.11:24
T42<Lukapanio> sfos on tablet looks good11:24
T42<Lukapanio> but need audio11:24
T42<Lukapanio> Unhandled fault: alignment fault (0x92000061) at 0x00000000003855d811:25
T42<Lukapanio> in dmesg11:25
T42<Lukapanio> no errors in logcat11:25
T42<Lukapanio> test_audio output11:25
T42<Lukapanio> Bus error11:25
walidhedp_17: yes my port based on 14.111:31
mal@Lukapanio which android base? are you sure android side initialization is fully working?11:49
T42<Lukapanio> @mal hybris 16, same problem with ubuntu touch on hybris 1412:19
T42<Lukapanio> sec will send logcat12:19
T42<Lukapanio> oh ASSERT(isCardIndexFound) fail: "vendor/mediatek/proprietary_mt8163/hardware/audio/mt8163/../common/V3/aud_drv/AudioALSADeviceParser.cpp", 96L12:23
T42<Lukapanio> in logcat12:23
T42<Lukapanio> probably missing https://github.com/mt8163/android_hardware_interfaces12:47
T42<elros34> When I build glibc-2.30+git3 using mb2 it complains about unpackaged %{_tmpfilesdir}/nscd.conf. I wonder how jolla manage to build glibc against 3.3.0 target without it13:16
T42<Nebrassy> @elros34 fixed android services crashing14:17
T42<Nebrassy> http://haste.aicp-rom.com/eyahiyirac.sql14:17
T42<Nebrassy> I don't see any problems, now build droid-media?14:17
T42<elros34> there are many issues which you already fixed like failing mount units14:20
T42<Nebrassy> oh, didn't see that, that never happened before14:23
T42<Nebrassy> but it's mounting them later on14:25
T42<elros34> not /system. Do you have up-to-date droid-config/hal repos uploaded?14:27
T42<Nebrassy> I only flashed hybris-boot aafter last time14:28
T42<Nebrassy> and yeah everything is on my giithub14:28
T42<Lukapanio> @Lukapanio [probably missing https://github.com/mt8163/and …], nope didnt helped14:28
T42<Lukapanio> (1)[2989:test_audio][name:fault&]Unhandled fault: alignment fault (0x92000061) at 0x0000000000219b7814:28
T42<elros34> @Nebrassy have you checked whether /system is mounted  and contains some files?14:35
T42<elros34> you dont have any straggler files defined. Compare out/target/product/*root/ with / on your device. Search for missing symlinks or context files14:37
T42<Lukapanio> @mal now all looks ok in logcat https://paste.ubuntu.com/p/MSn7vBMBS9/14:41
T42<Lukapanio> still same problem14:41
T42<Lukapanio> sh-3.2# test_audio14:42
T42<Lukapanio> cannot open device '/dev/snd/pcmC0D4c'14:42
T42<Lukapanio> cannot open device '/dev/snd/pcmC0D5p'14:42
T42<Lukapanio> cannot open device '/dev/snd/pcmC0D5c'14:42
T42<Lukapanio> cannot open device '/dev/snd/pcmC0D7p'14:42
T42<Lukapanio> cannot open device '/dev/snd/pcmC0D18p'14:42
T42<Lukapanio> cannot open device '/dev/snd/pcmC0D22p'14:42
T42<Lukapanio> Bus error14:42
T42<Lukapanio> sh-3.2#14:42
T42<Lukapanio> (2)[5497:test_audio][name:fault&]Unhandled fault: alignment fault (0x92000061) at 0x000000000057ab9814:43
malnobody uses test_audio, not sure if it's even supposed to work at all14:54
malyo ushould be testing audio normally via UI14:55
T42<Nebrassy> @elros34 [@Nebrassy have you checked whether /system is …], it booted now14:58
T42<Nebrassy> stuck at setup though, was stuck at looping load icon, now just black screen14:58
T42<elros34> if you mean that touchscreen didnt't work then remove :/dev/input/event1 from droid-hal-device.conf then correct touch node should be detected automatically15:01
T42<Nebrassy> touchscreen worked, selected language, agreed to something15:02
T42<Nebrassy> https://paste.ubuntu.com/p/C4xKkYm7xq/15:02
T42<elros34> What did you change so now android side does not fail early?15:03
T42<Nebrassy> reverted a bunch of binder commits https://github.com/nebrassy/kernel_xiaomi_sdm660-sailfish/commits/hybris-16.015:04
T42<Nebrassy> can you tell what's failing from that log?15:05
T42<elros34> @RealDanct12 IIRC you had simillar issue ^ but it was long time ago so maybe I am wrong15:05
T42<Nebrassy> erfan did the same too, he helped me fix it15:06
vknechtjust an idea, but when having that sort of problem, building for fixed-version "testing" instead of devel/lastest tended to help15:09
vknechtd-pre-user-session[4897]: [W] unknown:0 - StartupWizardManager: cannot load translation file "startupwizard" for locale ""15:09
T42<Nebrassy> logcat is a 40k line spam of adsprpcd15:10
T42<elros34> you should disable vendor.time_daemon in disabled_services.rc to make logs more readable15:11
T42<Lukapanio> @mal lol how can i test audio via ui if pulse failed to start15:12
T42<Lukapanio> Apr 03 17:34:50 FireHD82018 kernel:  (0)[3237:pulseaudio][name:fault&]Unhandled fault: alignment fault (0x92000061) at 0x0000000000096d0815:12
T42柯双植 %lastname% was added by: 柯双植 %lastname%15:13
T42<elros34> @Lukapanio that means nothing, check in journalctl pulseaudio logs15:20
T42<elros34> @Nebrassy that might be useful for you https://github.com/libhybris/libhybris/pull/44115:20
T42<Lukapanio> @elros34 [@Lukapanio that means nothing, check in journa …], after kernel:  (3)[2936:pulseaudio][name:fault&]Unhandled fault: alignment fault (0x92000061) at 0x0000000000314e0815:26
T42<Lukapanio> pulse stops15:26
T42<Nebrassy> @elros34 [@Nebrassy that might be useful for you https:/ …], Oh probably, lavender is almost identical15:27
T42<Lukapanio> @elros34 [@Lukapanio that means nothing, check in journa …], https://paste.ubuntu.com/p/Qx9VccMNjM/15:27
T42<Lukapanio> full journal15:27
T42<elros34> @Lukapanio do you have gt9xx_fw.bin somewhere in /system or /vendor?15:29
T42<Lukapanio> relly no idea what to do next15:29
T42<Lukapanio> @elros34 [@Lukapanio do you have gt9xx_fw.bin somewhere …], sec15:30
T42<elros34> or wait it's probably firmware for touchscreen15:30
T42<Lukapanio> @elros34 [@Lukapanio do you have gt9xx_fw.bin somewhere …], no15:31
T42<Lukapanio> @elros34 [or wait it's probably firmware for touchscreen], touchscreen is ok15:31
T42<Nebrassy> @vknecht [d-pre-user-session[4897]: [W] unknown:0 - Star …], Is this related? @elros3415:32
vknechtmaybe not root cause, but sounds familiar to me wrt. firsts wizard screens being skipped fast without interaction15:34
T42<Lukapanio> @elros34 [or wait it's probably firmware for touchscreen], ye goodix ts is my touchscreen15:34
vknechtlost quite some hours on it, until I build with "testing" instead of "devel", and issue was gone « magically »15:35
vknechtmaybe a classical symptom when devel/latest gets changes for new version...15:36
T42<Lukapanio> so @elros34  @mal whats next?15:40
T42<elros34> you can try to stop pulseaudio: "systemctl-user stop pulseaudio.service" and then start it in more verbose mode: pulseaudio -vvvv (+ params form /etc/sysconfig/pulseaudio"15:44
T42<elros34> start is as nemo not root15:46
T42<Nebrassy> @vknecht [lost quite some hours on it, until I build wit …], What's that?, I think I'm building release15:47
T42<elros34> @Lukapanio btw use /usr/libexec/droid-hybris/system/bin/logcat15:48
T42<birdzhang> @Nebrassy are you using upgrade-3.2.1 branch dhd?15:50
T42<birdzhang> show “id nemo”15:50
T42<Nebrassy> @birdzhang [@Nebrassy are you using upgrade-3.2.1 branch d …], Yes15:51
T42<birdzhang> okay15:51
T42<Lukapanio> @elros34 [you can try to stop pulseaudio: "systemctl-use …], https://bpaste.net/VWFA15:58
T42<Nebrassy> I haven't build droid-media btw15:58
T42<elros34> @Lukapanio show what you have in /dev/snd/15:59
T42<Lukapanio> @elros34 [@Lukapanio show what you have in /dev/snd/], https://bpaste.net/2DHA16:00
vknechtNebrassy[m], the devel vs. testing choice is done in kickstart file in the "adaptation" repo lines16:00
T42<Lukapanio> @elros34 [you can try to stop pulseaudio: "systemctl-use …], https://bpaste.net/X34Q dmesg part16:00
T42<Lukapanio> @elros34 [@Lukapanio btw use /usr/libexec/droid-hybris/s …], https://paste.ubuntu.com/p/qCZ2XgSJM5/ logcat16:02
T42<elros34> what about ls -al /dev/snd/?16:08
T42<Lukapanio> @elros34 [what about ls -al /dev/snd/?], https://bpaste.net/SMOA16:11
T42<elros34> do you have uevent* file somewhere in /vendor?16:15
T42<Lukapanio> @elros34 [do you have uevent* file somewhere in /vendor?], nope16:19
T42<elros34> ok, I assume you have it in out/*/root16:25
T42<Nebrassy> @elros34 [@Nebrassy that might be useful for you https:/ …], After doing this I just replace libhwc2_compat_layer.so?16:25
T42<Lukapanio> @elros34 [ok, I assume you have it in out/*/root], yes i do16:27
T42<Lukapanio> @elros34 [ok, I assume you have it in out/*/root], https://bpaste.net/EMNA16:28
T42<Lukapanio> so @elros34  @mal whats next?16:55
maldo you have disabled the android side audio processes the way is done here https://github.com/mer-hybris/droid-config-sony-ganges-pie/blob/master/sparse/usr/libexec/droid-hybris/system/etc/init/disabled_services.rc16:58
T42<Lukapanio> @mal ye https://bpaste.net/K7DQ17:02
T42<Lukapanio> @mal here is init https://bpaste.net/LZSQ17:07
T42<RealDanct12> @elros34 [@RealDanct12 IIRC you had simillar issue ^ but …], iirc it's some binder security patches17:57
T42<RealDanct12> reverting them makes the device gets to ui17:57
T42<Nebrassy> system_root and vendor are mounted correctly, sometimes I have to bind mount system manually17:57
T42<Nebrassy> the hwc2 compatibility layer change helped, I got to set pin, but wayland still crashes every 10 seconds18:01
T42<Nebrassy> https://paste.ubuntu.com/p/yKdFgmy9y4/18:01
T42<Nebrassy> @RealDanct12 [iirc it's some binder security patches], did you also get this problem on lavender?18:05
T42<RealDanct12> @Nebrassy [did you also get this problem on lavender?], i use an older kernel so i dont get it18:06
T42<RealDanct12> but hwc2 change helped yes18:06
T42<Nebrassy> @RealDanct12 [i use an older kernel so i dont get it], I mean the other one with compositor18:06
T42<RealDanct12> @Nebrassy [I mean the other one with compositor], no idea18:06
T42<RealDanct12> i dont get any of these aside from hwc2 comp layer18:07
T42<Nebrassy> I think it's either18:12
T42<Nebrassy> Dec 24 00:10:26 MiA2 lipstick[5388]: dbus[5388]: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file /home/abuild/rpmbuild/BUILD/dbus-1.13.12+git2.1/dbus/dbus/dbus-connection.c line 2820.18:12
T42<Nebrassy> or Dec 24 00:10:03 MiA2 invoker[5420]: WARNING: bool MIMPluginManagerPrivate::loadPlugin(const QDir&, const QString&) Error loading plugin from "/usr/lib/maliit/plugins/libmaliit-keyboard-plugin.so" "The shared library was not found."18:13
T42<Lukapanio> so @mal any idea?18:21
malI'm busy doing other things18:24
T42<Lukapanio> oh ok18:26
T42<Lukapanio> ping me if you will have time18:26
T42<elros34> This commit breaks gstreamer1.0-droid detection in patterns https://github.com/mer-hybris/droid-hal-device/commit/38e8f7bb99b50422d1281c12a35aebd72d6a699a19:09
T42<Nebrassy> @Nebrassy [the hwc2 compatibility layer change helped, I …], @NotKit any idea what's wrong here?19:39
*** rubdos_ is now known as rubdos19:42
T42<NotKit> @Nebrassy [@NotKit any idea what's wrong here?], it crashes with Dec 24 00:10:26 MiA2 lipstick[5388]: dbus[5388]: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file /home/abuild/rpmbuild/BUILD/dbus-1.13.12+git2.1/dbus/dbus/dbus-connection.c line 2820.22:29
T42<NotKit> doesn't seem to be hwc2 related22:29
walidhmal: try to install anbox got this error libboost_chrono-mt.so.1.51.0 needed by anbox-sailfishos-1+rebase.20180403185054.3eff08e-1.6.7.jolla.armv7hl22:53

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