Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was listening to music, and my sound suddenly went dead in all my applications. I'm using Ubuntu 12.04, which uses pulseaudio, so I tried sudo /etc/init.d/pulseaudio restart, but nothing happened. According to lsof | grep pcm, nothing is using the soundcard at the moment, although I'm not entirely sure if my source for that command is applicable.

Is there a way another way to restart Ubuntu 12.04's sound system from the command line without rebooting the system?

share|improve this question
This answer worked for me.… – rickfoosusa Aug 25 '14 at 23:58
up vote 92 down vote accepted

I've used pulseaudio -k && sudo alsa force-reload a couple of times, and it worked well. The first part kills pulseaudio, the second reloads ALSA. You don't need to restart pulseaudio, because it auto-restarts.

share|improve this answer
This helped to me to fix the issue 'no sound after suspend' I have suffered from for don't remember how long. – khustochka Aug 31 '13 at 19:19
Thanks worked perfectly – Ankur Agarwal Sep 29 '13 at 14:11
Ubuntu sometimes freezes for me and goes mental for about 10 minutes, after which it "wakes up" in a bit of a daze, including the sound not working. This fixed it! – Matt Fletcher Nov 28 '13 at 14:19
This can also occur if the AudioThread is killed by the OOM killer thanks to misbehaving apps. The above worked perfectly. – Ken Sharp Mar 3 '14 at 14:41
Sometimes you might need to clear pulse config with "rm -R ~/.pulse*" before issuing any restart. – Radu Maris Sep 23 '14 at 11:33

What I do when my sound doesn't work is

killall pulseaudio

and then I press Alt-F2 and type in pulseaudio. It usually works for me.

share|improve this answer

In my case there were nasty messages in kern.log / dmesg:

sound hdaudioC0D2: HDMI: invalid ELD buf size -1

The solution was simply to suspend and resume the machine!

$ sudo pm-suspend
share|improve this answer

FINALLY! This worked for me, and has worked repeatedly:

"Go in to the Preferences and switch the Output Module to ALSA audio output. Quit VLC & relaunch. It worked ok to me"

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.