SDB:Audio troubleshooting

(Redirected from Audio)
Jump to: navigation, search


Complete Audio Troubleshooting Guide (openSUSE, 2026)

This guide covers diagnosing and fixing sound problems on openSUSE Leap and Tumbleweed desktops, including:

  • No sound output
  • No audio devices detected
  • Wrong output device selection (HDMI vs analog)
  • Microphone/input issues
  • Bluetooth headset problems
  • Sound disappearing after suspend/resume
  • USB audio issues

Modern openSUSE desktops use PipeWire as the default audio system, with WirePlumber as the session manager, (and PulseAudio compatibility for older applications).

---

Verify hardware and ALSA layer

The first step is to ensure that the kernel recognizes your audio hardware and that ALSA is functioning. PipeWire and PulseAudio sit on top of ALSA, so if ALSA does not work, nothing else will.

List detected sound devices

aplay -l
cat /proc/asound/cards
cat /proc/asound/modules
inxi -Aa

Check:

  • Are devices listed?
  • Are kernel modules loaded (e.g., `snd_hda_intel`, `snd_sof_pci`)?
  • Firmware installed?

---

Modern Intel/AMD laptops

Many laptops with Intel or AMD CPUs require the `sof-firmware` package for the audio DSP to work correctly:

sudo zypper in sof-firmware

Missing firmware can result in:

  • No devices detected
  • No sound output
  • ALSA errors despite the card appearing in `aplay -l`

This step is only required for modern hardware; older Intel/AMD or generic chipsets usually work without SOF.

---

Test ALSA functionality

Check mixers:

alsamixer
  • Ensure correct sound card selected (press F6)
  • All channels unmuted
  • Volume levels appropriate

Test output:

speaker-test -c2 -twav
speaker-test -Dplug:front -c2 -twav

Collect detailed ALSA info:

sudo zypper in alsa-utils
alsa-info.sh --upload      # generates a shareable report URL
alsa-info.sh --no-upload   # local inspection only

If ALSA tests fail, resolve ALSA/hardware issues before proceeding further.

---

Restart and verify the audio stack

Once ALSA is confirmed working, check the higher-level audio stack.

PipeWire (default on modern openSUSE)

systemctl --user status pipewire pipewire-pulse wireplumber
systemctl --user restart pipewire pipewire-pulse wireplumber
pactl info

Interpret `pactl info`:

  • PulseAudio (on PipeWire) → normal modern setup
  • PulseAudio only → legacy PulseAudio

---

Legacy PulseAudio (if still in use)

systemctl --user status pulseaudio
pulseaudio -k
pulseaudio --start

openSUSE:Pipewire is recommended for modern systems.

---

Check outputs and volume

Use a mixer:

  • KDE: System Settings → Audio
  • GNOME: Settings → Sound
  • Generic tool: `pavucontrol`

Verify:

  • Correct output device selected
  • Not muted
  • Application routed to correct output
  • Volume level raised

---

Check sinks and sources

List outputs:

pactl list short sinks

List inputs:

pactl list short sources

---

HDMI vs Analog output issues

Many systems expose multiple outputs. If sound seems to play but you hear nothing:

  • Open mixer
  • Select correct output device (eg "Built-in Audio Analog Stereo" vs HDMI)

---

Bluetooth audio

Ensure support is installed:

sudo zypper in pipewire-bluetooth

Common issues:

  • Incorrect profile (A2DP vs HSP/HFP)
  • Codec switch problems
  • Disconnect/reconnect devices
  • Restart the pipewire, pipewire-pulse and wireplumber services.

---

Microphone / input issues

Check devices:

arecord -l
pactl list short sources

Check that ALSA UCM configuration is installed:

rpm -q alsa-ucm-conf

Missing UCM configuration can cause microphones or other audio inputs on some hardware to be unavailable or incorrectly configured, even though the underlying audio device is detected. If it is missing, install it with:

sudo zypper in alsa-ucm-conf

Verify:

  • Correct input selected
  • Not muted
  • Levels sufficient

Use pavucontrol to ensure the correct profile (Configuration tab) and appropriate port (Input Devices tab) is chosen, not muted, and level set as desired.

To prevent that wrong input devices are used consider to explicitly set profiles to "Off" on those. For example if you have an external headset it may help to switch off the internal microphone.

---

USB audio

If USB devices are detected but silent:

  • Unplug/replug the affected device
  • Restart PipeWire services
  • Ensure selected as default sink

---

Suspend / resume issues

Sound may disappear after suspend. Try the following first:

systemctl --user restart pipewire pipewire-pulse wireplumber

Things to check:

  • Power management settings
  • BIOS/UEFI audio options
  • Firmware (SOF on Intel/AMD laptops)

---

When requesting help

Provide diagnostics output:

aplay -l
pactl info
pactl list short sinks
inxi -Aa
journalctl --user -b | grep pipewire
alsa-info.sh --upload

This ensures accurate assistance from forums or bug reports.

---

Useful packages

pavucontrol
pipewire-bluetooth
sof-firmware
alsa-utils

---

See also