pulseaudio does not start

Description

Applications that make use of audio (and by default, pulseaudio as their backend) fail in various ways.

mixer fails with:

May 23 15:14:44 porter mixer[10167]: PaClient: connection failed:  Connection refused

radio also fails attempting to connect to Pulseaudio

mediaplayer fails to play streams resulting in log messages from gstreamer's pulseaudio plugin:

Could not initialize supporting library.

It turns out that the pulseaudio daemon never starts:

root@porter:~# systemctl status --user pulseaudio.service ● pulseaudio.service - Sound Service Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled) Active: inactive (dead)

Further, the pulseaudio socket activation unit is not enabled:

root@porter:~# systemctl status --user pulseaudio.socket ● pulseaudio.socket - Sound System Loaded: loaded (/usr/lib/systemd/user/pulseaudio.socket; disabled; vendor preset: enabled) Active: inactive (dead) Listen: /run/user/0/pulse/native (Stream)

I've confirmed on my 0512 build that pulseaudio is socket activated by reviewing the output of systemd-analyze and also noting that the server is running so something changed since that build date.

Environment

0522 build of master on porter board

relates to

Activity

Matt Porter 
May 23, 2017 at 5:50 PM

Reproduced the same behavior as https://lf-automotivelinux.atlassian.net/browse/SPEC-611#icft=SPEC-611 with no audio on removable media resident files. Confirmed the gstreamer error messages noted in the description.

Workaround is to run

systemctl start --user pulseaudio.service

and then audio will work again.

Fixed

Details

Assignee

Reporter

Fix versions

Labels

Contract ID

Priority

Created May 23, 2017 at 5:47 PM
Updated May 28, 2017 at 9:27 PM
Resolved May 25, 2017 at 3:51 PM

Flag notifications