T42 | <TheVancedGamer> mal: tested FP5, I drained 3% in 10 hours with only WiFi+BT connected, no SIM | 05:24 |
---|---|---|
mal | @TheVancedGamer quite odd why it behaves differently on my device | 11:03 |
rinigus | Hi! I am struggling with audio on Sony Nagara/LOS21/stock-based port. There is no sound and pulseaudio doesn't work. | 15:07 |
rinigus | In this port, AGM and other audio friends couldn't be used from source (didn't work) and I had to pull them as proprietary files: https://github.com/sony-nagara/android_device_sony_sm8450-common/blob/staging/lineage-21/proprietary-files.txt#L103 | 15:07 |
rinigus | As there is no pulseaudio process in ps -A, I started it as defaultuser using pulseaudio --daemonize=no -vvvv. As a sound, I tried to play in Settings a ringtone. | 15:07 |
rinigus | Here is the output and logcat from the start of pulseaudio: https://bpa.st/E5YA | 15:07 |
rinigus | In logcat, in general, there are lots of "waipio-asoc-snd soc: spf_core_platform:sound: check_userspace_service_state: pcm_id 0 state 0" | 15:08 |
rinigus | Here are currently installed audio packages: https://bpa.st/3VOA | 15:08 |
rinigus | And here is strace beginning of pulseaudio (run separately as strace /usr/bin/pulseaudio --daemonize=no > paudio.strace 2>&1): https://paste.opensuse.org/pastes/d8dbbc2e777b | 15:08 |
rinigus | Any tips on how to debug it? | 15:08 |
T42 | <elros34> isn't this "logcat" just regular kernel/dmesg output? You are starting pulseaudio without droid plugin. Is that really what you want? | 15:26 |
rinigus | @elros34: how can I start pulseaudio with droid plugin? sorry, never worked on it | 15:28 |
rinigus | and yes, that "logcat" part is regular dmesg | 15:28 |
rinigus | btw, thanks for looking into it! | 15:29 |
T42 | <elros34> see systemctl cat pulseaudio as user and then /etc/sysconfig/pulseaudio for additional argument | 15:29 |
rinigus | indeed! will rerun it then | 15:30 |
T42 | <elros34> masking pulseaudio service would be good to if you start it manually | 15:30 |
T42 | <elros34> systemctl cat pulseaudio is worng too sorry, just check file manually: /usr/lib/systemd/user/pulseaudio.service | 15:32 |
rinigus | @elros34: masking the system or user one? | 15:37 |
rinigus | masked both for good measure | 15:39 |
T42 | <elros34> user one | 15:39 |
rinigus | hmm, and I have sound when running manually. looks like CONFIG var wasn't somehow playing any role. let me try to fix systemd unit file and add pulseaudio arguments to it directly | 15:42 |
rinigus | @elros34 ^ | 15:42 |
rinigus | I think someone mentioned it in the channel logs | 15:42 |
T42 | <elros34> you mean CONFIG or HYBRIS_USE_VENDOR_NAMESPACE was ignored? | 15:44 |
T42 | <elros34> "pgrep -af pulse" should show whole command including —file=/etc/pulse* | 15:45 |
T42 | <elros34> mind there were path change in droid config for .pa file some time ago | 15:46 |
T42 | <elros34> you seams to use old one | 15:48 |
rinigus | @elros34: no, on reboot pulseaudio is killed. I was hoping that CONFIG is ignored. which new configs are we suppose to use? my setup is partially from tama, which is old | 15:49 |
T42 | <elros34> https://github.com/mer-hybris/droid-hal-configs/commit/db3ff079bbd0a996c085cf07acc8a31cb99a5242 | 15:50 |
T42 | <elros34> you have old submodule | 15:50 |
rinigus | thanks! will try with default_sailfish.pa and other changes | 15:52 |
T42 | <elros34> does restarting pulseaudio helps? | 15:52 |
T42 | <elros34> I meant pulseaudio service | 15:52 |
rinigus | @elros34: had to go away for a bit. will test with newer config | 15:56 |
rinigus | hmm, for some reason I don't have these configs on device... | 15:58 |
rinigus | my config was before dec 24 - so have to pull that into config and rebuild | 15:59 |
rinigus | @elros34: with new configs, sound works after reboot! hopefully will be stable and stay like that :) | 16:08 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!