クイックチェック
# Check if volume is muted
amixer get Master
# List sound cards
aplay -l
cat /proc/asound/cards
# Check PipeWire service
systemctl --user status pipewire pipewire-pulse wireplumberUbuntu 26.04 オーディオ アーキテクチャ
Ubuntu 26.04 は、PipeWire をデフォルトのオーディオ サーバーとして使用し、古い PulseAudio を置き換えます。レイヤー階層:
Application
|
PipeWire (audio server)
|
ALSA (kernel audio driver)
|
Hardware sound cardPipeWire のトラブルシューティング
サービスステータスを確認する
systemctl --user status pipewire
systemctl --user status pipewire-pulse
systemctl --user status wireplumberPipeWire を再起動します
systemctl --user restart pipewire pipewire-pulse wireplumberオーディオデバイスを表示する
# List audio output devices
wpctl status
# View default output device
wpctl inspect @DEFAULT_AUDIO_SINK@
# Set volume
wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.8
# Unmute
wpctl set-mute @DEFAULT_AUDIO_SINK@ 0スイッチ出力デバイス
# List all sinks (output devices)
wpctl status | grep -A 20 "Audio"
# Set default output (replace ID with actual device ID)
wpctl set-default <DEVICE_ID>PipeWire 構成をリセットする
rm -rf ~/.config/pipewire ~/.local/state/pipewire
systemctl --user restart pipewire pipewire-pulse wireplumberALSA レイヤーのトラブルシューティング
サウンドカードドライバーを確認してください
# List sound cards
cat /proc/asound/cards
# If it shows "no soundcards found", the sound card driver is not loaded
sudo dmesg | grep -i "snd\|sound\|audio\|hda"ALSA ボリューム コントロール
alsamixeralsamixer 内:
- F6 を押してサウンド カードを選択します
- M を押してミュート/ミュート解除を切り替えます (
MMはミュートを意味します) - 上/下矢印キーを使用して音量を調整します
- マスター、PCM、スピーカーチャンネルがすべてミュートされていないことを確認してください
ALSA 設定を保存します。
sudo alsactl storeサウンドカードドライバーをリロードする
# Intel HDA sound card
sudo modprobe -r snd_hda_intel
sudo modprobe snd_hda_intel
# If loading fails
sudo dmesg | tail -20一般的なシナリオ
HDMIオーディオなし
# Check HDMI audio output
aplay -l | grep HDMI
# Switch to HDMI output in PipeWire
wpctl status
wpctl set-default <HDMI_DEVICE_ID>GNOME の [設定] > [サウンド] で HDMI 出力を選択することもできます。
Bluetooth ヘッドセットから音が出ない
# Confirm Bluetooth audio device is connected
wpctl status | grep -i bluetooth
# If there is a codec issue, install additional support
sudo apt install libspa-0.2-bluetooth
systemctl --user restart pipewire pipewire-pulse wireplumberブラウザのみ音が出ない
一部の Snap アプリケーションには権限の問題がある可能性があります。
# Check browser audio permissions
snap connections firefox | grep audio
# Ensure the audio interface is connected
sudo snap connect firefox:audio-playbackマイクが機能しない
# Check recording devices
arecord -l
# Test the microphone
arecord -d 5 -f cd test.wav
aplay test.wav
# Check input devices in PipeWire
wpctl status | grep -A 10 "Sources"
wpctl set-mute @DEFAULT_AUDIO_SOURCE@ 0PipeWire をさらに深く掘り下げる
Ubuntu 26.04 には PulseAudio デーモンが同梱されなくなったため、「PulseAudio へのフォールバック」は不可能になりました。PipeWire は、pipewire-pulse を通じて完全互換の PulseAudio インターフェイスを提供します。頑固な問題の場合は、PipeWire 自体を直接トラブルシューティングします。
# Fully restart the user audio stack
systemctl --user restart pipewire pipewire-pulse wireplumber
# Inspect PipeWire / WirePlumber logs to locate errors
journalctl --user -u pipewire -u pipewire-pulse -u wireplumber -b --no-pager
# Inspect the live graph (nodes, links, devices)
pw-top # top-like live view
pw-cli ls Node
wpctl status構成が破損している場合は、ユーザー構成をリセットして再起動します (上記の「PipeWire 構成のリセット」を参照)。
rm -rf ~/.config/pipewire ~/.local/state/pipewire ~/.config/wireplumber
systemctl --user restart pipewire pipewire-pulse wireplumberNote
pactl や pavucontrol などの使い慣れた PulseAudio ツールを使用して PipeWire を駆動することもできます。これらは、PulseAudio をインストールする必要がなく、pipewire-pulse 互換性レイヤーを通じて機能します。
診断情報の収集
# Generate a complete audio diagnostic report
sudo apt install alsa-utils
alsa-info.sh --upload出力リンクはコミュニティと共有してヘルプを得ることができます。
関連記事
- オーディオとビデオ — Ubuntu でのオーディオおよびビデオ プレーヤーのインストールと構成
- Bluetooth の問題 — Bluetooth デバイスの接続の失敗と切断のトラブルシューティング
- コーデック — より多くのオーディオおよびビデオ形式をサポートするためのマルチメディア コーデックのインストール