masha1180 | mal: Hello. Any ideas why GUI doesn’t load? logcat: https://paste.ubuntu.com/p/tQtH2sFt3W/ | 06:25 |
---|---|---|
electro575 | hi | 11:14 |
electro575 | why i don't arrived to listen mp4 ? on samsung t0lte @elros34 | 11:27 |
electro575 | i have installed audioflinguerglue | 11:27 |
electro575 | and pulseaudio-modules-droid-glue | 11:28 |
electro575 | i'm on libhybris 14.1 | 11:29 |
mal | those packages have nothing to do with mp4 playback, gst-droid does | 11:31 |
electro575 | i have followed two chapter on hadk about that | 11:32 |
electro575 | camera and | 11:32 |
electro575 | i have only installed : gstreamer1.0-droid-tools-0.20190805 | 11:33 |
mal | as usual, logs logs logs | 11:34 |
electro575 | yes, just 2 min | 11:35 |
electro575 | yes okey | 11:39 |
electro575 | mal, my log | 11:44 |
electro575 | https://dpaste.de/xyNyi | 11:44 |
T42 | <linusdan> electro575: morning:) | 11:46 |
T42 | <linusdan> Could you share t0lte defconfig now via google drive? | 11:46 |
electro575 | hi | 11:47 |
electro575 | yes, i can do this | 11:47 |
electro575 | mal, https://dpaste.de/zrC0 | 11:47 |
T42 | <linusdan> electro575: Thanks! I'll be waiting :) | 11:49 |
electro575 | i do this | 11:49 |
electro575 | @linusdan : https://dpaste.de/bEYX | 11:50 |
T42 | <linusdan> electro575: Thank you very much! | 11:51 |
electro575 | no problem | 11:51 |
electro575 | an idea mal ? | 11:53 |
mal | electro575: what app did you use to play the video? | 11:53 |
electro575 | gallery | 11:53 |
electro575 | galerie | 11:54 |
electro575 | native app | 11:54 |
electro575 | audio_hw_primary: select_output_device: AUDIO_DEVICE_OUT_SPEAKER | 11:55 |
electro575 | DroidMediaCodec: A buffer we don't know about is being finished! | 11:55 |
electro575 | DroidMediaCodec: retry reading again. error: 0x3d | 11:55 |
electro575 | DroidMediaCodec: error 0x16 stopping codec | 11:56 |
electro575 | it's not this chapter ? hls streams and other codecs | 11:59 |
electro575 | on faq | 11:59 |
mal | no | 12:00 |
mal | not relevant | 12:00 |
mal | I mean the hsl stuff | 12:00 |
mal | *hls | 12:01 |
electro575 | listen a video not work but the most important is that my call not work | 12:02 |
electro575 | i have the GUI who show my call | 12:02 |
electro575 | but two song appear | 12:02 |
electro575 | and finish it without my action | 12:02 |
electro575 | i suppose the song is not available | 12:03 |
electro575 | how can i check audioflingerglue is starting ? | 12:08 |
mal | check if miniaf process is running | 12:10 |
mal | or was it miniafservice | 12:10 |
electro575 | https://dpaste.de/VHPU | 12:12 |
electro575 | i don't arrived to check miniafservice with systemctl status | 12:12 |
electro575 | mal | 12:13 |
mal | it's not a systemd service, a normal process, "ps aux | grep miniaf" | 12:15 |
mal | so that is running | 12:15 |
electro575 | yes | 12:15 |
electro575 | ps aux | grep blue -> https://dpaste.de/6T53 | 12:16 |
electro575 | mal, conflicts packages : https://dpaste.de/aJvg | 12:21 |
mal | electro575: I told you not to do the hls stuff | 12:28 |
mal | that is obsolete | 12:28 |
electro575 | this song is working | 12:28 |
electro575 | https://dpaste.de/ysNw | 12:28 |
electro575 | yes, i have don't installed | 12:29 |
mal | do not use the experimental repo | 12:29 |
electro575 | where can i setting up this ? | 12:29 |
electro575 | mp4 -> https://dpaste.de/Fojk | 12:31 |
electro575 | @elros34 : what do you use to fix audio problem ? | 12:34 |
electro575 | systemd[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 all | 12:36 |
electro575 | okey, sorry | 12:36 |
T42 | <elros34> or better just use jolla-gallery with GST_DEBUG | 12:37 |
electro575 | can you explain ? | 12:37 |
electro575 | @elros34 : did you fix the sound problem when you try to call a person ? | 12:39 |
electro575 | i have two song and the call is terminated by the device | 12:39 |
T42 | <elros34> GST_DEBUG="droid*:4" jolla-gallery | 12:40 |
electro575 | @elros34 : https://dpaste.de/M7t5 | 12: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 |
electro575 | okey, humm, i have sound sms notification | 12:43 |
electro575 | yes, installed gst-droid like explained | 12:43 |
mal | @elros34 logcat showed he needs audiopolicy in droidmedia | 12:44 |
electro575 | https://dpaste.de/25bd | 12:45 |
mal | there is PR which hopefully will get merged soon which will make it easier | 12:45 |
T42 | <adampigg> Mal, hasnt the audiopolicy PR been there a looooong time? | 12:48 |
electro575 | what i must do ? | 12:49 |
electro575 | i come back in 3-4 hours | 12:52 |
masha1180 | When 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 merging | 12:58 |
mal | masha1180: most likely some issue with firmware or mounts or something like that, you have some failing android side stuff in your logcat | 12:59 |
masha1180 | mal: Thanks. How can I identify what exactly is my problem? | 13:02 |
mal | first 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 changes | 13:08 |
masha1180 | mal:Thanks. | 13:11 |
T42 | <adampigg> Mal, ah, gr8 | 13:38 |
mal | @adampigg some small nitpicking left in that | 13:39 |
T42 | <adampigg> Mal, so, is the consensus that audiopolicy is required these days? | 13:40 |
masha1180 | mal: 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 |
masha1180 | What are these options responsible for and can I comment on them? https://pastebin.com/mHsLpN0p | 13:42 |
T42 | <adampigg> Masha1180, better to identify which option causes it to fail, and just remove/fix that | 13:44 |
masha1180 | @adampigg Thanks, ok , I will try. | 13:46 |
mal | @adampigg no, it | 13:50 |
mal | @adampigg no, it's only needed sometimes, so it's only enabled on-demand during build | 13: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 audiopolicy | 13:55 |
masha1180 | If 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, defaults | 14:15 |
mal | maybe 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 |
mal | those that have been merged already | 14:16 |
mal | @adampigg also when closing those should have a link to the pull request | 14:16 |
masha1180 | I do not know. I had the option "def". | 14:17 |
mal | masha1180: check the original fstab, those should come from there or some .rc file | 14:19 |
T42 | <elros34> at the end of that mount unit you have path to file which was used to gnerate it | 14:19 |
masha1180 | ok | 14:19 |
T42 | <adampigg> Mal, could you, its not very convenient for me atm to copy/paste links....just got phone | 14:21 |
masha1180 | "def" this is "defcontext=u:object_r:persist_file:s0" from init.qcom.rc | 14:24 |
T42 | <adampigg> So, its been chopped? | 14:26 |
T42 | <adampigg> Thats selinux stuff isnt ir? | 14:26 |
masha1180 | put this in. again, the mount failed. Yes, this is SELinux option. | 14:28 |
T42 | <adampigg> Probably not needed as we dont use selinux | 14:30 |
masha1180 | since it was originally: Options=ro,discard,nosuid,nodev,noatime,nodiratime,noexec,def# Options had SELinux context option: context=u:object_r:user_config_file:s0 | 14:30 |
masha1180 | Yes | 14:31 |
mal | it's a bug here https://github.com/mer-hybris/droid-hal-device/blob/master/helpers/makefstab#L33 | 14:51 |
electro5751 | re ! | 16:09 |
electro5751 | @elros34 : have you an idea to fix the problem ? | 16:13 |
electro5751 | https://dpaste.de/M7t5 | 16:14 |
electro5751 | https://dpaste.de/25bd sorry | 16:14 |
electro5751 | mal, have you an idea about my log ? | 16:18 |
electro5751 | what is the correct name of jolla call app ? | 16:22 |
electro5751 | log for calling https://dpaste.de/S6kV | 16:32 |
electro5751 | pulseaudio[11500]: failed to set source 'source.primary' port to 'input-voice_call' | 16:33 |
electro5751 | pulseaudio[11500]: can't set profiles/ports to source voicecall | 16:33 |
vknecht | tried searching some of these keywords in irc logs ? | 16:34 |
electro5751 | not again | 16:34 |
vknecht | "not again", or "not yet" ? doesn't mean the same ;-) | 16:35 |
electro5751 | not yet | 16:35 |
electro5751 | i have loste the link for search keyword in irc log | 16:35 |
electro5751 | can i have the link ? | 16:36 |
vknecht | https://piggz.co.uk/sailfishos-porters-archive/ | 16:37 |
electro5751 | thanks | 16:37 |
vknecht | also consider this utility, so you can have a local archive http://bit.ly/always-grep-irc-logs ; could help with more complicated queries | 16:39 |
electro5751 | yes | 16:41 |
electro5751 | i have tried this command to fix the problem : pactl set-source-port source.primary input-voice_call | 16:45 |
electro5751 | https://dpaste.de/jdzv | 16:46 |
electro5751 | shared memfd open() failed: Function not implemented | 16:46 |
electro5751 | it's an update in the kernel | 16:46 |
mal | ignore that memfd message | 16:47 |
mal | show output of "pactl list" | 16:47 |
electro5751 | okey | 16:47 |
electro5751 | https://dpaste.de/W7Oe | 16:48 |
electro5751 | Name: module-policy-enforcement | 16:49 |
electro5751 | x-nemo.voicecall.status = "inactive" | 16:49 |
mal | show output of both "ls -l /etc/" and "ls -l /system/etc/" | 16:55 |
electro5751 | yes | 16:56 |
electro5751 | https://dpaste.de/aobK | 16:57 |
electro5751 | https://dpaste.de/udAa#L3,9 | 16:58 |
electro5751 | have you an idea ? | 17:06 |
electro5751 | mal | 17:06 |
electro5751 | @elros34 ? an idea ? | 17:08 |
T42 | <elros34> still same, grab logs while you are making call to see if something fails | 17:28 |
electro5751 | yes, done | 17:29 |
electro5751 | pulseaudio[11500]: failed to set source 'source.primary' port to 'input-voice_call' | 17:29 |
electro5751 | pulseaudio[11500]: can't set profiles/ports to source voicecall | 17:29 |
electro5751 | https://dpaste.de/W7Oe | 17:29 |
electro5751 | @elros34 : done | 17:30 |
electro5751 | https://dpaste.de/jdzv | 17:30 |
electro5751 | what is the system to switch input / output | 17:31 |
T42 | <elros34> it's a pain to use this dpaste on sailfish-browser | 17:33 |
electro5751 | you are on sailfish-browser ? | 17:33 |
electro5751 | where can i paste ? | 17:34 |
T42 | <elros34> don't execute pulseaudio commands as a root | 17:34 |
electro5751 | yes | 17:34 |
r0kk3rz | poor sfos browser | 17:34 |
electro5751 | @elros34 : https://dpaste.de/W7Oe | 17:37 |
T42 | <elros34> for some reason you are missing input-voice_call | 17:40 |
electro5751 | :/ | 17:41 |
electro5751 | what can be a solution ? | 17:42 |
vknecht | here I have two occurences of "input-voice_call": one in "source.primary" Source, one in "droid_card.primary" Card #0 https://pastebin.com/raw/qz8LdA9A | 17:43 |
vknecht | does "grep -r input-voice /etc/pulse/" returns something for you ? | 17:43 |
electro5751 | yes -> /etc/pulse/xpolicy.conf:ports = droid.input.external@equals:"true"->input-voice_call | 17:43 |
vknecht | ok, have the same | 17:44 |
electro5751 | what can be the main reason | 17: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.pa | 17:48 |
electro5751 | @elros34 : launch with root user ? | 17:49 |
electro5751 | @elros34 : https://dpaste.de/yvte | 17:50 |
electro5751 | https://dpaste.de/F2EM | 17:51 |
mal | electro5751: pulseaudio is never used as root | 17:52 |
electro5751 | sorry | 17:53 |
mal | use systemctl-user stop pulseaudio ; pulseaudio -vvvv -n --file=/etc/pulse/arm_droid_default.pa | 17:53 |
mal | electro5751: you should have seen before that the command failed "systemctl: unrecognized option '--user'" | 17:54 |
electro5751 | systemctl-user: command not found | 17:54 |
mal | then just systemctl | 17:54 |
electro5751 | Multiple identities can be used for authentication: | 17:56 |
electro5751 | 1. sailfish-code | 17:56 |
electro5751 | 2. sailfish-fingerprint | 17:56 |
electro5751 | what is the correct ? | 17:56 |
electro5751 | for 1 -> find a password, ... i don't know what it is | 17:57 |
vknecht | never check developer-mode settings page ? | 17:58 |
electro5751 | https://dpaste.de/pvE7 | 17:59 |
electro5751 | humm, no | 17:59 |
mal | electro5751: systemctl --user should have worked | 17:59 |
mal | it worked for me | 17:59 |
electro5751 | good yes | 18:00 |
electro5751 | https://dpaste.de/WvWd | 18:01 |
electro5751 | @elros34 : it's done | 18:01 |
electro5751 | have you an idea ? | 18:29 |
electro5751 | @elros34 | 18:29 |
vknecht | electro5751, wondering, did you check calls worked in LineageOS ? | 18:34 |
electro5751 | yes, it works | 18:34 |
electro5751 | i'm surprised too that call does not work | 18:35 |
electro5751 | on my device, 3G and mms not work | 18:36 |
vknecht | reading 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 something | 18:37 |
electro5751 | okey, thanks | 18:38 |
electro5751 | can we re-launch a detection with pulseaudio ? | 18:44 |
vknecht | iiuc they're detected each time pulseaudio starts ; and it would bring nothing new if underlying ALSA stuff doesn't change | 18:47 |
electro5751 | okey | 18:50 |
electro5751 | i don't know what i must do to fix the error | 18:52 |
vknecht | not much people know ; so that's where the real "fun" begins ;-) | 18:53 |
electro5751 | haha ^^, yes | 18:54 |
vknecht | do you see that sort of stuff in your journal ? "snd-soc-dummy-dai <-> MultiMedia1 mapping ok" | 18:55 |
electro5751 | where do you see that ? | 18:56 |
electro5751 | give me the link | 18:56 |
vknecht | could be that there's an entry related to phone calls voice which as an unexpected name and pulseaudio doesn't make the relation | 18:56 |
vknecht | (just wild guessing) | 18:56 |
vknecht | journalctl | 18:56 |
vknecht | another 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 expects | 18:59 |
T42 | <elros34> this is the module which is used: https://github.com/mer-hybris/pulseaudio-modules-droid | 19:01 |
vknecht | good catch :-) | 19:03 |
electro5751 | what does not work so ? | 19:04 |
electro5751 | vknecht : no "snd-soc-dummy-dai" in my stuff | 19:04 |
vknecht | forget 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 |
electro5751 | i have too pulseaudio-modules-droid-glue | 19:07 |
electro5751 | https://dpaste.de/5PnB | 19:08 |
vknecht | search "realcall" in the page elros34 linked, it "sounds" interesting in your case... | 19:09 |
vknecht | (and search for "realcall" in irc logs...) | 19:10 |
electro5751 | yes thanks | 19:11 |
electro5751 | vknecht : https://piggz.co.uk/sailfishos-porters-archive/index.php | 19:15 |
vknecht | ? | 19:16 |
electro5751 | I'm not fluent in english, but can you say it to me if a solution has been found for this ? | 19:17 |
electro5751 | i suppose but, ... | 19:17 |
vknecht | https://piggz.co.uk/sailfishos-porters-archive/index.php?log=2018-05-29.txt#line17 | 19:17 |
vknecht | try following the discussion to get more context, something else might be needed | 19:18 |
vknecht | par 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.html | 19:20 |
vknecht | check previous days, and later discussion | 19:20 |
electro5751 | yes | 19:20 |
mal | also need need to do anything to pulseaudio-modules-droid, you should have new enough version | 19:24 |
mal | just the config file is needed | 19:24 |
electro5751 | yes, thanks | 19:24 |
electro5751 | https://dpaste.de/70Ke | 19:29 |
electro5751 | E: [pulseaudio] droid-util.c: Failed to open output stream: -38 | 19:31 |
electro5751 | E: [pulseaudio] droid-sink.c: Failed to open output stream. | 19:31 |
electro5751 | droid-util.c: Requested sample rate 48000 but got 44100 instead. | 19:31 |
electro5751 | https://dpaste.de/DoWg | 19:32 |
electro5751 | log pulseaudio with a call | 19:33 |
electro5751 | jusa, can you see my log ? | 19:33 |
vknecht | you should show what you did exactly, first | 19:35 |
electro5751 | what is the config file ? | 19:41 |
electro5751 | this no ? /etc/pulse/arm_droid_card_custom.pa | 19:42 |
electro5751 | and so -> with this file | 19:43 |
electro5751 | i have in my journal : Sailfish pulseaudio[18194]: hw module 0x1a7aff0 set_parameters(realcall=on) failed: -2 | 19:43 |
mal | what do you have in that file? | 19:44 |
electro5751 | just this : load-module module-droid-card rate=48000 quirks=+realcall | 19:45 |
electro5751 | what 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 calls | 19:52 |
mal | those are related to fm radio | 19:55 |
electro5751 | yes | 19:56 |
mal | so why do you think those would be relevant? | 19:56 |
electro5751 | that would require pulseaudio changes like in realcall for audio on calls | 19:58 |
electro5751 | mal : https://github.com/mer-hybris/pulseaudio-modules-droid/commit/9a4165f42d2a3522414c826964ac2dc6df3908f6 | 19:59 |
electro5751 | http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2019-03-12.log.html | 19:59 |
electro5751 | why this output ? hw module 0x1a7aff0 set_parameters(realcall=on) failed: -2 | 20:00 |
T42 | <DSstill01> That's for me. Probably you don't need it | 20:02 |
T42 | <DSstill01> I mean,it was for me because now i'm using source-built audio,so,i dont even need it anymore | 20:03 |
electro5751 | okey | 20:04 |
electro5751 | 08-20 20:07:27.886 11035 15240 W AudioSystem: AudioPolicyService not published, waiting... | 20:07 |
electro5751 | it's maybe a problem no ? mal | 20:07 |
electro5751 | 08-20 20:08:01.923 11035 15240 I ServiceManager: Waiting for service media.audio_policy... | 20:08 |
T42 | <DSstill01> Yes it is | 20:12 |
electro5751 | a diff file : https://dpaste.de/LHSd | 20:36 |
electro5751 | what is the correct pattern for "input-voice_call" in pactl list | 20:39 |
T42 | <elros34> for audiopolicyservice you probably need this https://github.com/sailfishos/droidmedia/pull/11 maybe it will be merged soon | 20:43 |
electro5751 | @elros34 : do you think it's possible fix my problem ? | 20:47 |
electro5751 | bye | 20:56 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!