Saturday, 2025-05-10

T42<TheVancedGamer> mal: tested FP5, I drained 3% in 10 hours with only WiFi+BT connected, no SIM05:24
mal@TheVancedGamer quite odd why it behaves differently on my device11:03
rinigusHi! I am struggling with audio on Sony Nagara/LOS21/stock-based port. There is no sound and pulseaudio doesn't work.15:07
rinigusIn 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#L10315:07
rinigusAs 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
rinigusHere is the output and logcat from the start of pulseaudio: https://bpa.st/E5YA15:07
rinigusIn 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
rinigusHere are currently installed audio packages: https://bpa.st/3VOA15:08
rinigusAnd here is strace beginning of pulseaudio (run separately as strace /usr/bin/pulseaudio --daemonize=no > paudio.strace  2>&1): https://paste.opensuse.org/pastes/d8dbbc2e777b15:08
rinigusAny 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 it15:28
rinigusand yes, that "logcat" part is regular dmesg15:28
rinigusbtw, thanks for looking into it!15:29
T42<elros34> see systemctl cat pulseaudio as user and then /etc/sysconfig/pulseaudio for additional argument15:29
rinigusindeed! will rerun it then15:30
T42<elros34> masking pulseaudio service would be good to if you start it manually15:30
T42<elros34> systemctl cat pulseaudio  is worng too sorry, just check file manually: /usr/lib/systemd/user/pulseaudio.service15:32
rinigus@elros34: masking the system or user one?15:37
rinigusmasked both for good measure15:39
T42<elros34> user one15:39
rinigushmm, 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 directly15:42
rinigus@elros34 ^15:42
rinigusI think someone mentioned it in the channel logs15: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 ago15:46
T42<elros34> you seams to use old one15: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 old15:49
T42<elros34> https://github.com/mer-hybris/droid-hal-configs/commit/db3ff079bbd0a996c085cf07acc8a31cb99a524215:50
T42<elros34> you have old submodule15:50
rinigusthanks! will try with default_sailfish.pa and other changes15:52
T42<elros34> does restarting pulseaudio helps?15:52
T42<elros34> I meant pulseaudio service15:52
rinigus@elros34: had to go away for a bit. will test with newer config15:56
rinigushmm, for some reason I don't have these configs on device...15:58
rinigusmy config was before dec 24 - so have to pull that into config and rebuild15: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/!