I don't know how to reproduce this problem, because I don't regularly play music or sound. All I know is that, sometimes, I'll load a video (from youtube or from a local file) and there will be no sound.
Everything looks fine software wise:
- Rebooting always fixes.
aplay
,paplay
and pals give no error message- I'm not in the
audio
group, as advised The device exists and appears in use:
$ lsof /dev/snd/by-path/pci-0000\:00\:1b.0 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME pulseaudi 17313 badp 23u CHR 116,10 0t0 7628 /dev/snd/by-path/../controlC0 pulseaudi 17313 badp 30u CHR 116,10 0t0 7628 /dev/snd/by-path/../controlC0
Restarting pulseaudio or alsa seems to do no good.
What is wrong here?
An interesting tool I hadn't seen from https://wiki.ubuntu.com/DebuggingSoundProblems :
ubuntu-bug audio
It attempts to do some interactive checks. If you haven 't, try running that when the issue occurs. But the checks are worth running any time. I believe the bug information generated will provide the information that the next links ask for. (For example, giving the equivalent of the
alsa-info.sh
from fedora. EDIT: Actually, you can find alsa-info.sh here.)That page has some other good info as well. I think most of the fixes are for constant problems, though, not intermittent ones like you are having.
Two Fedora-Linux wikis have some troubleshooting tips that could be extracted: https://fedoraproject.org/wiki/Bug_info_kernel_sound
https://fedoraproject.org/wiki/Bug_info_PulseAudio
From the fedora pages:
Application-wise, here's a post (from 2009) mentioning that Skype caused problems for him:
Of course, there are lot of possible culprits, but knowing that one of your apps has in the past caused problems is at least encouraging (or discouraging, if you want).
Long shot -- check your CPU time for the pulseaudio process -- noticed this from the manpage:
Rebooting helping and restarting alsa and pulseaudio may indicate your sound drivers.
Try to reload sound driver if it is not working.
(If you do not know what is your driver paste here output of lsmod, and name of your sound card)