From Mageia wiki
Contents
Debugging Sound Problems
This page is designed to be a placeholder for future expansion with more advice on debugging sound issues.
For now, here are a few useful resources:
- Ubuntu's Wiki page about the same topic.
- The alsa-info.sh script from upstream ALSA used to help debug sound issues.
- Top Five Wrong Ways to Fix Your Audio: A blog post by PulseAudio developer, David Henningsson.
The "Sound troubleshooting" suggestions in MCC
The Sound troubleshooting screen in MCC - Hardware - Sound Configuration - Advanced - Troubleshooting was probably what led you this page, below is a copy from the text on that screen
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.
Useful tools and commands
- "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 0" will 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)