Tuesday, 2019-08-20

masha1180mal: Hello. Any ideas why GUI doesn’t load? logcat: https://paste.ubuntu.com/p/tQtH2sFt3W/06:25
electro575why i don't arrived to listen mp4 ? on samsung t0lte @elros3411:27
electro575i have installed audioflinguerglue11:27
electro575and pulseaudio-modules-droid-glue11:28
electro575i'm on libhybris 14.111:29
malthose packages have nothing to do with mp4 playback, gst-droid does11:31
electro575i have followed two chapter on hadk about that11:32
electro575camera and11:32
electro575i have only installed : gstreamer1.0-droid-tools-0.2019080511:33
malas usual, logs logs logs11:34
electro575yes, just 2 min11:35
electro575yes okey11:39
electro575mal, my log11:44
T42<linusdan> electro575: morning:)11:46
T42<linusdan> Could you share t0lte defconfig now via google drive?11:46
electro575yes, i can do this11:47
electro575mal, https://dpaste.de/zrC011:47
T42<linusdan> electro575: Thanks! I'll be waiting :)11:49
electro575i do this11:49
electro575@linusdan : https://dpaste.de/bEYX11:50
T42<linusdan> electro575: Thank you very much!11:51
electro575no problem11:51
electro575an idea mal ?11:53
malelectro575: what app did you use to play the video?11:53
electro575native app11:54
electro575audio_hw_primary: select_output_device: AUDIO_DEVICE_OUT_SPEAKER11:55
electro575DroidMediaCodec: A buffer we don't know about is being finished!11:55
electro575DroidMediaCodec: retry reading again. error: 0x3d11:55
electro575DroidMediaCodec: error 0x16 stopping codec11:56
electro575it's not this chapter ? hls streams and other codecs11:59
electro575on faq11:59
malnot relevant12:00
malI mean the hsl stuff12:00
electro575listen a video not work but the most important is that my call not work12:02
electro575i have the GUI who show my call12:02
electro575but two song appear12:02
electro575and finish it without my action12:02
electro575i suppose the song is not available12:03
electro575how can i check audioflingerglue is starting ?12:08
malcheck if miniaf process is running12:10
malor was it miniafservice12:10
electro575i don't arrived to check miniafservice with systemctl status12:12
malit's not a systemd service, a normal process, "ps aux | grep miniaf"12:15
malso that is running12:15
electro575ps aux | grep blue -> https://dpaste.de/6T5312:16
electro575mal, conflicts packages : https://dpaste.de/aJvg12:21
malelectro575: I told you not to do the hls stuff12:28
malthat is obsolete12:28
electro575this song is working12:28
electro575yes, i have don't installed12:29
maldo not use the experimental repo12:29
electro575where can i setting up this ?12:29
electro575mp4 -> https://dpaste.de/Fojk12:31
electro575@elros34 : what do you use to fix audio problem ?12:34
electro575systemd[11407]: pulseaudio.service: Supervising process 11500 which is not our child. We'll most likely not notice when it exits.12:34
T42<elros34> just a side note, when you test video by gst-launch add video-sink=glimagesink otherwise you will not get video at all12:36
electro575okey, sorry12:36
T42<elros34> or better just use jolla-gallery with GST_DEBUG12:37
electro575can you explain ?12:37
electro575@elros34 : did you fix the sound problem when you try to call a person ?12:39
electro575i have two song and the call is terminated by the device12:39
T42<elros34> GST_DEBUG="droid*:4" jolla-gallery12:40
electro575@elros34 : https://dpaste.de/M7t512:41
T42<elros34> So increase debug level to 5 or so. Have you installed gst-droid like explained in hadk? About audio, you need to be more verbose. Does audio works at all when you play audio files? have you tried to grab logs during that call?12:42
electro575okey, humm, i have sound sms notification12:43
electro575yes, installed gst-droid like explained12:43
mal@elros34 logcat showed he needs audiopolicy in droidmedia12:44
malthere is PR which hopefully will get merged soon which will make it easier12:45
T42<adampigg> Mal, hasnt the audiopolicy PR been there a looooong time?12:48
electro575what i must do ?12:49
electro575i come back in 3-4 hours12:52
masha1180When I run test_hwcomposer, my device restarts and I see a black screen. How can a problem be identified?12:57
mal@adampigg yes, but it got changes just in the last few days which make it possible for merging12:58
malmasha1180: most likely some issue with firmware or mounts or something like that, you have some failing android side stuff in your logcat12:59
masha1180mal: Thanks. How can I identify what exactly is my problem?13:02
malfirst of all check that no mounts relevant mounts fail, then you might also want to update config submodule in case you haven't done it recently, it has some firmware loading changes13:08
T42<adampigg> Mal, ah, gr813:38
mal@adampigg some small nitpicking left in that13:39
T42<adampigg> Mal, so, is the consensus that audiopolicy is required these days?13:40
masha1180mal: I have mount errors in persist.mount and customize.mount. To avoid them, I commented on the line "Options=nosuid,nodev,barrier=1,def" in the file /lib/systemd/system/persist.mount and line "Options=ro,discard,nosuid,nodev,noatime,nodiratime,noexec,def" in the file /lib/systemd/system/customize.mount.13:42
masha1180What are these options responsible for and can I comment on them? https://pastebin.com/mHsLpN0p13:42
T42<adampigg> Masha1180, better to identify which option causes it to fail, and just remove/fix that13:44
masha1180@adampigg Thanks, ok , I will try.13:46
mal@adampigg no, it13:50
mal@adampigg no, it's only needed sometimes, so it's only enabled on-demand during build13:51
T42<adampigg> Mal, ok, the new.PR is clever about that then ?13:53
mal@adampigg same PR but it now uses MINIMEDIA_AUDIOPOLICYSERVICE_ENABLE:=1 in env.mk to enable audiopolicy13:55
masha1180If I remove the option "def", there is no persist.mount and customize.mount error.14:06
T42<adampigg> Doesnt linux use default, not def?14:13
T42<adampigg> Or, defaults14:15
malmaybe something cuts the option list?14:16
mal@adampigg should I close some of the mer bug you have made recently or will you?14:16
malthose that have been merged already14:16
mal@adampigg also when closing those should have a link to the pull request14:16
masha1180I do not know. I had the option "def".14:17
malmasha1180: check the original fstab, those should come from there or some .rc file14:19
T42<elros34> at the end of that mount unit you have path to file which was used to gnerate it14:19
T42<adampigg> Mal, could you, its not very convenient for me atm to copy/paste links....just got phone14:21
masha1180"def" this is "defcontext=u:object_r:persist_file:s0" from init.qcom.rc14:24
T42<adampigg> So, its been chopped?14:26
T42<adampigg> Thats selinux stuff isnt ir?14:26
masha1180put this in. again, the mount failed. Yes, this is SELinux option.14:28
T42<adampigg> Probably not needed as we dont use selinux14:30
masha1180since it was originally: Options=ro,discard,nosuid,nodev,noatime,nodiratime,noexec,def# Options had SELinux context option:  context=u:object_r:user_config_file:s014:30
malit's a bug here https://github.com/mer-hybris/droid-hal-device/blob/master/helpers/makefstab#L3314:51
electro5751re !16:09
electro5751@elros34 : have you an idea to fix the problem ?16:13
electro5751https://dpaste.de/25bd sorry16:14
electro5751mal, have you an idea about my log ?16:18
electro5751what is the correct name of jolla call app ?16:22
electro5751log for calling https://dpaste.de/S6kV16:32
electro5751pulseaudio[11500]: failed to set source 'source.primary' port to 'input-voice_call'16:33
electro5751pulseaudio[11500]: can't set profiles/ports to source voicecall16:33
vknechttried searching some of these keywords in irc logs ?16:34
electro5751not again16:34
vknecht"not again", or "not yet" ? doesn't mean the same ;-)16:35
electro5751not yet16:35
electro5751i have loste the link for search keyword in irc log16:35
electro5751can i have the link ?16:36
vknechtalso consider this utility, so you can have a local archive http://bit.ly/always-grep-irc-logs ; could help with more complicated queries16:39
electro5751i have tried this command to fix the problem : pactl set-source-port source.primary input-voice_call16:45
electro5751shared memfd open() failed: Function not implemented16:46
electro5751it's an update in the kernel16:46
malignore that memfd message16:47
malshow output of "pactl list"16:47
electro5751Name: module-policy-enforcement16:49
electro5751x-nemo.voicecall.status = "inactive"16:49
malshow output of both "ls -l /etc/" and "ls -l /system/etc/"16:55
electro5751have you an idea ?17:06
electro5751@elros34 ? an idea ?17:08
T42<elros34> still same, grab logs while you are making call to see if something fails17:28
electro5751yes, done17:29
electro5751pulseaudio[11500]: failed to set source 'source.primary' port to 'input-voice_call'17:29
electro5751pulseaudio[11500]: can't set profiles/ports to source voicecall17:29
electro5751@elros34 : done17:30
electro5751what is the system to switch input / output17:31
T42<elros34> it's a pain to use this dpaste on sailfish-browser17:33
electro5751you are on sailfish-browser ?17:33
electro5751where can i paste ?17:34
T42<elros34> don't execute pulseaudio commands as a root17:34
r0kk3rz poor sfos browser17:34
electro5751@elros34 : https://dpaste.de/W7Oe17:37
T42<elros34> for some reason you are missing input-voice_call17:40
electro5751what can be a solution ?17:42
vknechthere I have two occurences of "input-voice_call": one in "source.primary" Source, one in "droid_card.primary" Card #0 https://pastebin.com/raw/qz8LdA9A17:43
vknechtdoes "grep -r input-voice /etc/pulse/" returns something for you ?17:43
electro5751yes -> /etc/pulse/xpolicy.conf:ports  = droid.input.external@equals:"true"->input-voice_call17:43
vknechtok, have the same17:44
electro5751what can be the main reason17:45
T42<elros34> you could try to grab verbose logs from pulseaudio: systemctl --​user stop pulseaudio ; pulseaudio -vvvv -n --file=/etc/pulse/arm_droid_default.pa17:48
electro5751@elros34 : launch with root user ?17:49
electro5751@elros34 : https://dpaste.de/yvte17:50
malelectro5751: pulseaudio is never used as root17:52
maluse systemctl-​user stop pulseaudio ; pulseaudio -vvvv -n --file=/etc/pulse/arm_droid_default.pa17:53
malelectro5751: you should have seen before that the command failed "systemctl: unrecognized option '--​user'"17:54
electro5751systemctl-​user: command not found17:54
malthen just systemctl17:54
electro5751Multiple identities can be used for authentication:17:56
electro5751 1.  sailfish-code17:56
electro5751 2.  sailfish-fingerprint17:56
electro5751what is the correct ?17:56
electro5751for 1 -> find a password, ... i don't know what it is17:57
vknechtnever check developer-mode settings page ?17:58
electro5751humm, no17:59
malelectro5751: systemctl --user should have worked17:59
malit worked for me17:59
electro5751good yes18:00
electro5751@elros34 : it's done18:01
electro5751have you an idea ?18:29
vknechtelectro5751, wondering, did you check calls worked in LineageOS ?18:34
electro5751yes, it works18:34
electro5751i'm surprised too that call does not work18:35
electro5751on my device, 3G and mms not work18:36
vknechtreading a bit https://gavv.github.io/articles/pulseaudio-under-the-hood/ it seems input-voice_call source is not created because it's not detected, so maybe some ALSA [mapping] problem or something18:37
electro5751okey, thanks18:38
electro5751can we re-launch a detection with pulseaudio ?18:44
vknechtiiuc they're detected each time pulseaudio starts ; and it would bring nothing new if underlying ALSA stuff doesn't change18:47
electro5751i don't know what i must do to fix the error18:52
vknechtnot much people know ; so that's where the real "fun" begins ;-)18:53
electro5751haha ^^, yes18:54
vknechtdo you see that sort of stuff in your journal ? "snd-soc-dummy-dai <-> MultiMedia1 mapping ok"18:55
electro5751where do you see that ?18:56
electro5751give me the link18:56
vknechtcould be that there's an entry related to phone calls voice which as an unexpected name and pulseaudio doesn't make the relation18:56
vknecht(just wild guessing)18:56
vknechtanother way to dig would be to fetch https://git.merproject.org/mer-core?filter=pulse repositories and "git grep" them all to find input-voice_call occurences, to see what pulseaudio expects18:59
T42<elros34> this is the module which is used: https://github.com/mer-hybris/pulseaudio-modules-droid19:01
vknechtgood catch :-)19:03
electro5751what does not work so ?19:04
electro5751vknecht : no "snd-soc-dummy-dai" in my stuff19:04
vknechtforget that for now, read the pulseaudio-modules-droid doc first ;-)19:05
vknecht(and check it's installed, rpm -qi pulseaudio-modules-droid)19:06
electro5751i have too pulseaudio-modules-droid-glue19:07
vknechtsearch "realcall" in the page elros34 linked, it "sounds" interesting in your case...19:09
vknecht(and search for "realcall" in irc logs...)19:10
electro5751yes thanks19:11
electro5751vknecht : https://piggz.co.uk/sailfishos-porters-archive/index.php19:15
electro5751I'm not fluent in english, but can you say it to me if a solution has been found for this ?19:17
electro5751i suppose but, ...19:17
vknechttry following the discussion to get more context, something else might be needed19:18
vknechtpar ex. once you have the day of an interesting chat, get to classical html logs http://merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2018-05-29.log.html19:20
vknechtcheck previous days, and later discussion19:20
malalso need need to do anything to pulseaudio-modules-droid, you should have new enough version19:24
maljust the config file is needed19:24
electro5751yes, thanks19:24
electro5751E: [pulseaudio] droid-util.c: Failed to open output stream: -3819:31
electro5751E: [pulseaudio] droid-sink.c: Failed to open output stream.19:31
electro5751droid-util.c: Requested sample rate 48000 but got 44100 instead.19:31
electro5751log pulseaudio with a call19:33
electro5751jusa, can you see my log ?19:33
vknechtyou should show what you did exactly, first19:35
electro5751what is the config file ?19:41
electro5751this no ? /etc/pulse/arm_droid_card_custom.pa19:42
electro5751and so -> with this file19:43
electro5751i have in my journal : Sailfish pulseaudio[18194]: hw module 0x1a7aff0 set_parameters(realcall=on) failed: -219:43
malwhat do you have in that file?19:44
electro5751just this : load-module module-droid-card rate=48000 quirks=+realcall19:45
electro5751what can i do anymore ?19:51
electro5751<steevie> https://github.com/vlw/android_device_samsung_a3-common/blob/453b8e6eddc666011e090e19f9d3f24759bf6fab/patchfm.diff . as you can see from here it sets some audiomanager parameters. I need to set those, and that would require pulseaudio changes like in realcall for audio on calls19:52
malthose are related to fm radio19:55
malso why do you think those would be relevant?19:56
electro5751that would require pulseaudio changes like in realcall for audio on calls19:58
electro5751mal : https://github.com/mer-hybris/pulseaudio-modules-droid/commit/9a4165f42d2a3522414c826964ac2dc6df3908f619:59
electro5751why this output ? hw module 0x1a7aff0 set_parameters(realcall=on) failed: -220:00
T42<DSstill01> That's for me. Probably you don't need it20:02
T42<DSstill01> I mean,it was for me because now i'm using source-built audio,so,i dont even need it anymore20:03
electro575108-20 20:07:27.886 11035 15240 W AudioSystem: AudioPolicyService not published, waiting...20:07
electro5751it's maybe a problem no ? mal20:07
electro575108-20 20:08:01.923 11035 15240 I ServiceManager: Waiting for service media.audio_policy...20:08
T42<DSstill01> Yes it is20:12
electro5751a diff file : https://dpaste.de/LHSd20:36
electro5751what is the correct pattern for "input-voice_call" in pactl list20:39
T42<elros34> for audiopolicyservice you probably need this https://github.com/sailfishos/droidmedia/pull/11 maybe it will be merged soon20:43
electro5751@elros34 : do you think it's possible fix my problem ?20:47

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