Skip to content

Instantly share code, notes, and snippets.

@TrigonaMinima
Last active June 3, 2017 21:49
Show Gist options
  • Save TrigonaMinima/4bdcbc79aee058e34ea74a5657d65beb to your computer and use it in GitHub Desktop.
Save TrigonaMinima/4bdcbc79aee058e34ea74a5657d65beb to your computer and use it in GitHub Desktop.
unresolved sound issues

Below are some basic tips to help debug audio problems, but for accurate and up-to-date tips and tricks, please see: https://wiki.mageia.org/en/Support:DebuggingSoundProblems

  • General Recommendation: Enable PulseAudio. If you have opted to not to use PulseAudio, we would strongly advise you enable it. For the vast majority of desktop use cases, PulseAudio is the recommended and best supported option.

  • kmix (KDE), gnome-control-center sound (GNOME) and pavucontrol (generic) will launch graphical applications to allow you to view your sound devices and adjust volume levels

  • ps aux | grep pulseaudio will check that PulseAudio is running.

  • pactl stat will check that you can connect to the PulseAudio daemon correctly.

  • pactl list sink-inputs will tell you which programs are currently playing sound via PulseAudio.

  • systemctl status osspd.service will tell you the current state of the OSS Proxy Daemon. This is used to enable sound from legacy applications which use the OSS sound API. You should install the ossp package if you need this functionality.

  • pacmd ls will give you a LOT of debug information about the current state of your audio.

  • lspcidrake -v | grep -i audio will tell you which low-level driver your card uses by default.

  • /usr/sbin/lsmod | grep snd will enable you to check which sound related kernel modules (drivers) are loaded.

  • alsamixer -c 0will give you a text-based mixer to the low level ALSA mixer controls for first sound card

  • /usr/sbin/fuser -v /dev/snd/pcm* /dev/dsp will tell which programs are currently using the sound card directly (normally this should only show PulseAudio)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment