[Solved] No more sound, nor microphone - pulseaudio problem [answered]
[Solved] I finally moved away /home/nemo/.config/pulse/ (rm -r /home/nemo/.config/pulse/) and sound is back ! Thanks for everybody's help !
For some days now, my Jolla phone does not emit any sound, nor does it seem to get any sound input from the microphone.
I hope this is a software problem, but I don't know where to look... I'd rather avoid having to reset to factory settings !...
So, any idea where to look for ?
[EDIT] Tried so far:
- test sound with csd: audio tests fail
- test sound with a bluetooth headset: no sound either
- power off, remove simcard: did not help. Put it back: no luck.
- swap smart cover from The First One to White, did not help
[EDIT2] trying to track down a pulseaudio problem:
- is pulseaudio responding ? No
[nemo@Sailfish ~]$ pactl info
Connection failure: Connection refused
pa_context_connect() failed:
Connection refused
- is pulseaudio installed ? Yes
[nemo@Sailfish ~]$ pkcon search name --filter installed pulseaudio
Searching by name
Waiting in queue
Starting
Refreshing software list
Querying
Installed alsa-plugins-pulseaudio-1.0.26-1.1.7.armv7hl Alsa to PulseAudio backend
Installed pulseaudio-8.0+git3-1.19.1.armv7hl General purpose sound server
Installed pulseaudio-modules-droid-sbj-8.0.49-10.32.2.jolla.armv7hl PulseAudio Droid HAL modules
Installed pulseaudio-modules-droid-sbj-common-8.0.49-10.32.2.jolla.armv7hl Common libs for the PulseAudio droid modules
Installed pulseaudio-modules-nemo-common-8.0.21-1.13.3.armv7hl Common libs for the Nemo PulseAudio modules
Installed pulseaudio-modules-nemo-mainvolume-8.0.21-1.13.3.armv7hl Mainvolume module for PulseAudio
Installed pulseaudio-modules-nemo-parameters-8.0.21-1.13.3.armv7hl Algorithm parameter manager module for PulseAudio
Installed pulseaudio-modules-nemo-stream-restore-8.0.21-1.13.3.armv7hl Modified version of the original stream-restore module for PulseAudio
Installed pulseaudio-policy-enforcement-8.0.25-1.19.1.armv7hl Pulseaudio module for enforcing policy decisions in the audio domain
Installed qt5-qtmultimedia-plugin-audio-pulseaudio-5.5.0+git10-1.23.2.armv7hl Qt Multimedia - Pulse Audio plugin
Installed sbj-pulseaudio-settings-0.8.60-10.53.12.jolla.armv7hl PulseAudio settings for sbj hw
Installed voicecall-qt5-0.6.16.1-1.28.1.armv7hl Dialer engine for Nemo Mobile
- does pulseaudio have problems ? Seems so...
[root@Sailfish nemo]# journalctl | grep pulse
Sep 13 09:19:32 Sailfish pulseaudio[975]: Assertion 'size < (1024102496)' failed at pulse/xmalloc.c:72, function pa_xmalloc0(). Aborting.
Sep 13 09:19:32 Sailfish kernel: pulseaudio(975) send signal 6 to pulseaudio(975)
Sep 13 09:19:32 Sailfish pulseaudio[951]: [60B blob data]
Sep 13 09:19:32 Sailfish systemd[824]: pulseaudio.service: control process exited, code=exited status=1
Sep 13 09:19:32 Sailfish systemd[824]: Unit pulseaudio.service entered failed state.
Sep 13 09:19:33 Sailfish systemd[824]: pulseaudio.service holdoff time over, scheduling restart.
Sep 13 09:19:34 Sailfish pulseaudio[1062]: Assertion 'size < (1024102496)' failed at pulse/xmalloc.c:72, function pa_xmalloc0(). Aborting.
Sep 13 09:19:34 Sailfish kernel: pulseaudio(1062) send signal 6 to pulseaudio(1062)
Sep 13 09:19:34 Sailfish pulseaudio[1048]: [60B blob data]
Sep 13 09:19:34 Sailfish systemd[824]: pulseaudio.service: control process exited, code=exited status=1
Sep 13 09:19:34 Sailfish systemd[824]: Unit pulseaudio.service entered failed state.
Sep 13 09:19:35 Sailfish systemd[824]: pulseaudio.service holdoff time over, scheduling restart.
Sep 13 09:19:35 Sailfish pulseaudio[1075]: Assertion 'size < (1024102496)' failed at pulse/xmalloc.c:72, function pa_xmalloc0(). Aborting.
Sep 13 09:19:35 Sailfish pulseaudio[1071]: [60B blob data]
Sep 13 09:19:35 Sailfish systemd[824]: pulseaudio.service: control process exited, code=exited status=1
Sep 13 09:19:35 Sailfish systemd[824]: Unit pulseaudio.service entered failed state.
Sep 13 09:19:35 Sailfish kernel: pulseaudio(1075) send signal 6 to pulseaudio(1075)
Sep 13 09:19:36 Sailfish systemd[824]: pulseaudio.service holdoff time over, scheduling restart.
Sep 13 09:19:36 Sailfish pulseaudio[1086]: Assertion 'size < (1024102496)' failed at pulse/xmalloc.c:72, function pa_xmalloc0(). Aborting.
Sep 13 09:19:36 Sailfish pulseaudio[1081]: [60B blob data]
Sep 13 09:19:36 Sailfish kernel: pulseaudio(1086) send signal 6 to pulseaudio(1086)
Sep 13 09:19:36 Sailfish systemd[824]: pulseaudio.service: control process exited, code=exited status=1
Sep 13 09:19:36 Sailfish systemd[824]: Unit pulseaudio.service entered failed state.
Sep 13 09:19:37 Sailfish systemd[824]: pulseaudio.service holdoff time over, scheduling restart.
Sep 13 09:19:37 Sailfish systemd[824]: pulseaudio.service start request repeated too quickly, refusing to start.
Sep 13 09:19:37 Sailfish systemd[824]: Unit pulseaudio.service entered failed state.
Sep 13 09:19:55 Sailfish start_alien.sh[1315]: 09-13 09:19:55.318 1390 1390 E binderpulse_hw: Fail to get Alien audio instance! Will try again later
- another debug info:
[nemo@Sailfish ~]$ pulseaudio -v
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 8.0-rebootstrapped
I: [pulseaudio] main.c: Page size is 4096 bytes
I: [pulseaudio] main.c: Machine ID is 8c18df265cf548b49e0dcbbc930bae3c.
I: [pulseaudio] main.c: Session ID is c3.
I: [pulseaudio] main.c: Using runtime directory /run/user/100000/pulse.
I: [pulseaudio] main.c: Using state directory /home/nemo/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-8.0/modules.
I: [pulseaudio] main.c: Running in system mode: no
W: [pulseaudio] pid.c: Stale PID file, overwriting.
I: [pulseaudio] main.c: System supports high resolution timers
I: [pulseaudio] cpu-arm.c: CPU flags: V6 V7 VFP EDSP NEON VFPV3
I: [pulseaudio] svolume_arm.c: Initialising ARM optimized volume functions.
I: [pulseaudio] sconv_neon.c: Initialising ARM NEON optimized conversions.
I: [pulseaudio] mix_neon.c: Initialising ARM NEON optimized mixing functions.
I: [pulseaudio] remap_neon.c: Initialising ARM NEON optimized remappers.
I: [pulseaudio] module-device-restore.c: Successfully opened database file '/home/nemo/.config/pulse/8c18df265cf548b49e0dcbbc930bae3c-device-volumes'.
I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0; argument: "").
E: [pulseaudio] xmalloc.c: Assertion 'size < (1024102496)' failed at pulse/xmalloc.c:72, function pa_xmalloc0(). Aborting.
Aborted
Ehh... there is a config file here... maybe it's faulty ?... removing it... YES. Problem solved.
Have you tested the hardware (microphones, speaker) with the CSD program yet? This lets you test all the different components seperately. Either run csd from the command line, or dial ##310## .
Venty ( 2016-09-12 13:24:34 +0300 )edit@Venty - ##310## does not open CSDTool.
The correct syntax is
Spam Hunter ( 2016-09-12 14:44:23 +0300 )edit*#*#310#*#*
Happend to my Jolla 1 twice: Just turn phone off, remove the SIMcard and put it back again, turn your phone on. Strange, but it works...at least in my case! Walter
wpeberg ( 2016-09-12 18:14:43 +0300 )edit@Venty csd confirms the failure: every audio test, except headset detection and buttons, FAIL... I also tried with a bluetooth headphone, and it fails too.
alci ( 2016-09-12 18:29:33 +0300 )editLooks like a PulseAudio issue, otherwise Bluetooth audio would have worked. Maybe you edited PulseAudio configuration, or installed something that might have changed the config?
Camil B ( 2016-09-13 11:35:49 +0300 )edit