You are not logged in.

#1 2015-01-26 12:47:00

mdi
Member
Registered: 2014-07-13
Posts: 13

[Solved] Pulse audio sound issues

I'm noticing a strange issue where when I reboot my machine, I can't play any audio until I start mpd. I'm using pulseaudio. I also have pulseaudio-alsa installed. Like I said, once I start mpd as my user, audio works fine.

Contents of /etc/asound.conf:

# defaults.ctl.card 1;
# defaults.pcm.card 1;

# Use PulseAudio by default
pcm.!default {
  type pulse
  fallback "sysdefault"
  hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
  }
}

ctl.!default {
  type pulse
  fallback "sysdefault"
}

# vim:set ft=alsaconf:

Last edited by mdi (2015-09-12 23:17:06)

Offline

#2 2015-01-26 16:21:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,076

Re: [Solved] Pulse audio sound issues

output of

fuser -v /dev/snd/*

while it isn't working should shed some light. My guess is you have some instance of mpd that starts not as your user and hogs the sound card and as soon as you start mpd as your user it kills/overrides that and starts to use pulse.

Last edited by V1del (2015-01-26 16:21:37)

Offline

#3 2015-09-12 23:16:37

mdi
Member
Registered: 2014-07-13
Posts: 13

Re: [Solved] Pulse audio sound issues

The fix turned out to be adding

start-pulseaudio-x11

to my

~/.xinitrc

Offline

Board footer

Powered by FluxBB