We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

[Solved] No more sound, nor microphone - pulseaudio problem [answered]

asked 2016-09-12 13:02:41 +0300

alci gravatar image

updated 2016-09-13 13:14:40 +0300

[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.

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by misc11
close date 2016-09-13 13:55:30.802136

Comments

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
1

@Venty - ##310## does not open CSDTool.

The correct syntax is *#*#310#*#*

Spam Hunter ( 2016-09-12 14:44:23 +0300 )edit

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 )edit
2

Looks 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

1 Answer

Sort by » oldest newest most voted
0

answered 2016-09-12 18:12:19 +0300

TMavica gravatar image

Hey! I have this problem before, reset the device still nil help. I have a question, have you tried to phone, the microphone shouldnt work, but if you use loudspeaker at that moment, can you heard the sound/voice? I can heard the voice if I use loudspeaker when calling, but if I use loudspeaker in media player, it dont have sound! Therefore I think it is software problem, but reset is nil help! After a moment, the sound suddenly come back again! That is strange!

edit flag offensive delete publish link more

Comments

Just tried the SIM card trick, but it did not solve the problem. I also tried to swap the back cover, but it did not help either...

alci ( 2016-09-12 18:33:05 +0300 )edit

Question tools

Follow
2 followers

Stats

Asked: 2016-09-12 13:02:41 +0300

Seen: 1,237 times

Last updated: Sep 13 '16