View Full Version : have to restart pulse audio after every boot
sdowney717
September 27th, 2008, 01:52 PM
pulseaudio -k; sleep 4; pulseaudio -vv
kill and restart it then it is ok.
BwackNinja
September 27th, 2008, 02:47 PM
what does ps ax | grep pulseaudio tell you before you restart pulseaudio?
sdowney717
September 27th, 2008, 05:50 PM
before killing
scott@scott-desktop:~$ ps ax | grep pulseaudio
7515 ? Sl 0:00 /usr/bin/pulseaudio --log-target=syslog
7524 ? S 0:00 /usr/lib/pulseaudio/pulse/gconf-helper
7927 pts/0 S+ 0:00 grep pulseaudio
after killing
scott@scott-desktop:~$ ps ax | grep pulseaudio
7932 pts/0 Sl+ 0:00 pulseaudio -vv
7936 pts/0 S+ 0:00 /usr/lib/pulseaudio/pulse/gconf-helper
7966 pts/1 S+ 0:00 grep pulseaudio
scott@scott-desktop:~$
BwackNinja
September 27th, 2008, 06:13 PM
If I'm not mistaken, that would be the pulseaudio running as a per-session daemon called from sessions. Install padevchooser if you haven't already, and see if it has any output devices in pavucontrol before you restart pulseaudio. If it doesn't, that would mean that something was probably using sound through alsa before pulseaudio came into the picture, and with the way pulseaudio does things, it would not be able to connect while alsa is otherwise being used. Depending on the load order, it could possibly be the login sound doing that.
psyke83
September 27th, 2008, 06:42 PM
If I'm not mistaken, that would be the pulseaudio running as a per-session daemon called from sessions. Install padevchooser if you haven't already, and see if it has any output devices in pavucontrol before you restart pulseaudio. If it doesn't, that would mean that something was probably using sound through alsa before pulseaudio came into the picture, and with the way pulseaudio does things, it would not be able to connect while alsa is otherwise being used. Depending on the load order, it could possibly be the login sound doing that.
Exactly. One possible culprit is MPD.
sdowney717
September 27th, 2008, 09:25 PM
Also, I noticed the login sound comes on loud and then towards the end, sound level tapers off in a rather unusual manner.
BwackNinja
September 28th, 2008, 12:27 AM
Try disabling login sound. If that fixes it, then the problem is pretty bad because it would be widespread. If not, more digging :D
Sidenote: Its funny how you find out more about how something works when it doesn't.
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.