The audio cuts out after a while

Hello guys,

The audio cuts out after a while. It happened on its own after some update

Open a terminal and keep it open while executing:

$ journalctl --user -f -u <your audio session service of choice>

I believe Manjaro still supports both PulseAudio and Pipewire, so I can’t just tell which one without knowing what you are using. But other than that, the command is the same and basically when the audio is cut, take a look what is being spitted.

Please post information about system

inxi -SMAaz

and audio cards detected in PulseAudio or PipeWire

pactl list cards

Do you mean, make it something like that?

journalctl --user -f -u PulseAudio

When I do it, it’s running, but nothing is happening for about 5 mins, so I stop it. How long do I have to wait?

System:
  Kernel: 6.15.7-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 15.1.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/vmlinuz-6.15-x86_64
    root=UUID=bba26979-5c0e-4c30-9129-fe2be81e5fda rw quiet splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 6.3.6 tk: Qt v: N/A info: frameworks v: 6.16.0
    wm: kwin_x11 vt: 2 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: H310M PRO-VH (MS-7B33) v: 1.0
    serial: <superuser required> uuid: <superuser required>
    UEFI-[Legacy]: American Megatrends v: 1.40 date: 05/21/2018
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel alternate: snd_soc_avs,snd_sof_pci_intel_cnl
    bus-ID: 00:1f.3 chip-ID: 8086:a348 class-ID: 0403
  Device-2: DSEA A/S Headset [PC 8] driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-1:2
    chip-ID: 1395:0025 class-ID: 0300
  API: ALSA v: k6.15.7-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.4.6 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Card #49
        Name: alsa_card.usb-Sennheiser_Communications_Sennheiser_USB_headset-00
        Driver: alsa
        Owner Module: n/a
        Properties:
                api.acp.auto-port = "false"
                api.acp.auto-profile = "false"
                api.alsa.card = "0"
                api.alsa.card.longname = "Sennheiser Communications Sennheiser USB headset at usb-0000:00:14.0-1, full sp"
                api.alsa.card.name = "Sennheiser USB headset"
                api.alsa.path = "hw:0"
                api.alsa.split-enable = "true"
                api.alsa.use-acp = "true"
                api.dbus.ReserveDevice1 = "Audio0"
                api.dbus.ReserveDevice1.Priority = "-20"
                device.api = "alsa"pactl list cards
                device.bus = "usb"
                device.bus-id = "usb-Sennheiser_Communications_Sennheiser_USB_headset-00"
                device.bus_path = "pci-0000:00:14.0-usb-0:1:1.0"
                device.description = "Headset [PC 8]"
                device.enum.api = "udev"
                device.form_factor = "headset"
                device.icon_name = "audio-headset-analog-usb"
                device.name = "alsa_card.usb-Sennheiser_Communications_Sennheiser_USB_headset-00"
                device.nick = "Sennheiser USB headset"
                device.plugged.usec = "4230207"
                device.product.id = "0x0025"
                device.product.name = "Headset [PC 8]"
                device.serial = "Sennheiser_Communications_Sennheiser_USB_headset"
                device.subsystem = "sound"
                sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/sound/card0"
                device.vendor.id = "0x1395"
                device.vendor.name = "DSEA A/S"
                media.class = "Audio/Device"
                spa.object.id = "2"
                factory.id = "15"
                client.id = "47"
                object.id = "49"
                object.serial = "49"
                object.path = "alsa:acp:headset"
                alsa.card = "0"
                alsa.card_name = "Sennheiser USB headset"
                alsa.long_card_name = "Sennheiser Communications Sennheiser USB headset at usb-0000:00:14.0-1, full sp"
                alsa.driver_name = "snd_usb_audio"
                alsa.mixer_name = "USB Mixer"
                alsa.components = "USB1395:0025"
                alsa.id = "headset"
                device.string = "0"
        Profiles:
                off: Выключено (sinks: 0, sources: 0, priority: 0, available: yes)
                output:analog-stereo+input:mono-fallback: Аналоговый стерео выход + Моно вход (sinks: 1, sources: 1, priority: 6501, available: yes)
                output:analog-stereo: Аналоговый стерео выход (sinks: 1, sources: 0, priority: 6500, available: yes)
                pro-audio: Pro Audio (sinks: 1, sources: 1, priority: 1, available: yes)
                input:mono-fallback: Моно вход (sinks: 0, sources: 1, priority: 1, available: yes)
        Active Profile: output:analog-stereo+input:mono-fallback
        Ports:
                analog-input-mic: Микрофон (type: Mic, priority: 8700, latency offset: 0 usec, availability unknown)
                        Properties:
                                port.type = "mic"
                                device.icon_name = "audio-input-microphone"
                                card.profile.port = "0"
                        Part of profile(s): input:mono-fallback, output:analog-stereo+input:mono-fallback
                analog-output-headphones: Наушники (type: Headphones, priority: 9900, latency offset: 0 usec, availability unknown)
                        Properties:
                                port.type = "headphones"
                                device.icon_name = "audio-headphones"
                                card.profile.port = "1"
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:mono-fallback

Card #50
        Name: alsa_card.pci-0000_00_1f.3
        Driver: alsa
        Owner Module: n/a
        Properties:
                api.acp.auto-port = "false"
                api.acp.auto-profile = "false"
                api.alsa.card = "1"
                api.alsa.card.longname = "HDA Intel PCH at 0xa1210000 irq 126"
                api.alsa.card.name = "HDA Intel PCH"
                api.alsa.path = "hw:1"
                api.alsa.split-enable = "true"
                api.alsa.use-acp = "true"
                api.dbus.ReserveDevice1 = "Audio1"
                api.dbus.ReserveDevice1.Priority = "-20"
                device.api = "alsa"
                device.bus = "pci"
                device.bus_path = "pci-0000:00:1f.3"
                device.description = "Встроенное аудио"
                device.enum.api = "udev"
                device.form_factor = "internal"
                device.icon_name = "audio-card-analog-pci"
                device.name = "alsa_card.pci-0000_00_1f.3"
                device.nick = "HDA Intel PCH"
                device.plugged.usec = "4349598"
                device.product.id = "0xa348"
                device.product.name = "Cannon Lake PCH cAVS"
                device.subsystem = "sound"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card1"
                device.vendor.id = "0x8086"
                device.vendor.name = "Intel Corporation"
                media.class = "Audio/Device"
                spa.object.id = "4"
                factory.id = "15"
                client.id = "47"
                object.id = "50"
                object.serial = "50"
                object.path = "alsa:acp:PCH"
                alsa.card = "1"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xa1210000 irq 126"
                alsa.driver_name = "snd_hda_intel"
                alsa.mixer_name = "Realtek ALC887-VD"
                alsa.components = "HDA:10ec0887,14629b33,00100302 HDA:8086280b,80860101,00100000"
                alsa.id = "PCH"
                device.string = "1"
        Profiles:
                off: Выключено (sinks: 0, sources: 0, priority: 0, available: yes)
                output:analog-stereo+input:analog-stereo: Аналоговый стерео дуплекс (sinks: 1, sources: 1, priority: 6565, available: yes)
                output:analog-stereo: Аналоговый стерео выход (sinks: 1, sources: 0, priority: 6500, available: yes)
                output:hdmi-stereo+input:analog-stereo: Цифровой стерео (HDMI) выход + Аналоговый стерео вход (sinks: 1, sources: 1, priority: 5965, available: yes)
                output:hdmi-stereo: Цифровой стерео (HDMI) выход (sinks: 1, sources: 0, priority: 5900, available: yes)
                output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) выход + Аналоговый стерео вход (sinks: 1, sources: 1, priority: 5765, available: no)
                output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) выход + Аналоговый стерео вход (sinks: 1, sources: 1, priority: 5765, available: no)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) выход (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) выход (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) выход + Аналоговый стерео вход (sinks: 1, sources: 1, priority: 665, available: no)
                output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) выход + Аналоговый стерео вход (sinks: 1, sources: 1, priority: 665, available: no)
                output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) выход + Аналоговый стерео вход (sinks: 1, sources: 1, priority: 665, available: no)
                output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) выход + Аналоговый стерео вход (sinks: 1, sources: 1, priority: 665, available: no)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) выход (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) выход (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) выход (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) выход (sinks: 1, sources: 0, priority: 600, available: no)
                input:analog-stereo: Аналоговый стерео вход (sinks: 0, sources: 1, priority: 65, available: no)
                pro-audio: Pro Audio (sinks: 4, sources: 2, priority: 1, available: yes)
        Active Profile: output:analog-stereo+input:analog-stereo
        Ports:
                analog-input-front-mic: Фронтальный микрофон (type: Mic, priority: 8500, latency offset: 0 usec, availability group: Legacy 1, not available)
                        Properties:
                                port.type = "mic"
                                port.availability-group = "Legacy 1"
                                device.icon_name = "audio-input-microphone"
                                card.profile.port = "0"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo
                analog-input-rear-mic: Тыловой микрофон (type: Mic, priority: 8200, latency offset: 0 usec, availability group: Legacy 2, not available)
                        Properties:
                                port.type = "mic"
                                port.availability-group = "Legacy 2"
                                device.icon_name = "audio-input-microphone"
                                card.profile.port = "1"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo
                analog-input-linein: Линейный вход (type: Line, priority: 8100, latency offset: 0 usec, availability group: Legacy 3, not available)
                        Properties:
                                port.type = "line"
                                port.availability-group = "Legacy 3"
                                card.profile.port = "2"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo
                analog-output-lineout: Линейный выход (type: Line, priority: 9000, latency offset: 0 usec, availability group: Legacy 4, available)
                        Properties:
                                port.type = "line"
                                port.availability-group = "Legacy 4"
                                card.profile.port = "3"
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
                analog-output-headphones: Наушники (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 5, not available)
                        Properties:
                                port.type = "headphones"
                                port.availability-group = "Legacy 5"
                                device.icon_name = "audio-headphones"
                                card.profile.port = "4"
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
                hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 6, available)
                        Properties:
                                port.type = "hdmi"
                                port.availability-group = "Legacy 6"
                                device.icon_name = "video-display"
                                card.profile.port = "5"
                                device.product.name = "Philips 196V4"
                                iec958.codecs.detected = "[\"PCM\"]"
                        Part of profile(s): output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo
                hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 7, not available)
                        Properties:
                                port.type = "hdmi"
                                port.availability-group = "Legacy 7"
                                device.icon_name = "video-display"
                                card.profile.port = "6"
                        Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1, output:hdmi-surround71-extra1+input:analog-stereo
                hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, availability group: Legacy 8, not available)
                        Properties:
                                port.type = "hdmi"
                                port.availability-group = "Legacy 8"
                                device.icon_name = "video-display"
                                card.profile.port = "7"
                        Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2, output:hdmi-surround71-extra2+input:analog-stereo

ArchWiki - PipeWire - Troubleshooting - Audio cutting out when multiple streams start playing

This problem can typically be diagnosed by reading the journal of the pipewire-pulse.service user unit and finding lines similar to:

pipewire-pulse[21740]: pulse-server 0x56009b9d5de0: [Nightly] UNDERFLOW channel:0 offset:370676 underrun:940

According to the official PipeWire troubleshooting guide, to solve this problem for wireplumber:

Underrun/Underflow and Broken Pipe Errors

Applications not providing data fast enough and not enough headroom in the device to recover. Increase headroom

mkdir -p ~/.config/wireplumber/wireplumber.conf.d/

Then make ~/.config/wireplumber/wireplumber.conf.d/50-alsa-config.conf in an editor and add:

monitor.alsa.rules = [
  {
    matches = [
      # This matches the value of the 'node.name' property of the node.
      {
        node.name = "~alsa_output.*"
      }
    ]
    actions = {
      # Apply all the desired node specific settings here.
      update-props = {
        api.alsa.period-size   = 1024
        api.alsa.headroom      = 8192
      }
    }
  }
]

Afterwards, restart everything via
systemctl --user restart wireplumber pipewire pipewire-pulse

I did that. First, volume was gone. Then, I rebooted the PC, and volume didn’t come on. Anyway, when I started changing the volume level, it came on, but it quickly went away. How I handled the bug before and now. I just unplug and plug the volume cable in. But it works for a certain period of time

Close, but not quite. Should be:

$ journalctl --user -f -u pulseaudio.service -u pulseaudio.socket

pulseaudio separates the actual server service with the one that clients (i.e. apps) connect to, hence the need to monitor both.

Since the unit name is wrong, it’s expected. It should normally spit messages everytime something audio related happening, e.g.: devices plugged in/out, apps connecting, etc.

You don’t run this then wait, but run and do whatever you usually do until the audio gets cut. That, is when you look at it again to see what has happened.

I’m still encountering this issue. Not often, but over time…it comes up

$ journalctl --user -f -u pulseaudio.service -u pulseaudio.socket

The command outputs nothing

inxi data shows pipewire-pulse installed rather than pulseaudio

To check all 3 pipewire services for errors:

systemctl --user --full --no-pager status pipewire pipewire-pulse wireplumber

Also suggest using pw-top to check for Xruns
PipeWire Wiki - Troubleshooting - Xruns

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
     Active: active (running) since Thu 2025-07-31 09:12:08 EEST; 13min ago
 Invocation: dce0754314f9467f9397514e031b9601
TriggeredBy: ● pipewire.socket
   Main PID: 1121 (pipewire)
      Tasks: 3 (limit: 9315)
     Memory: 4.7M (peak: 9.8M, swap: 3.7M, swap peak: 3.8M, zswap: 249.9K)
        CPU: 1.067s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1121 /usr/bin/pipewire

июл 31 09:12:08 hidden-ms7b33 systemd[943]: Started PipeWire Multimedia Service.

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; preset: enabled)
     Active: active (running) since Thu 2025-07-31 09:12:08 EEST; 13min ago
 Invocation: 602c4c723e804956988440767bee2e61
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 1124 (pipewire-pulse)
      Tasks: 3 (limit: 9315)
     Memory: 6.6M (peak: 15.5M, swap: 5.8M, swap peak: 5.8M, zswap: 486.2K)
        CPU: 1.185s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─1124 /usr/bin/pipewire-pulse

июл 31 09:12:08 hidden-ms7b33 systemd[943]: Started PipeWire PulseAudio.

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Thu 2025-07-31 09:12:08 EEST; 13min ago
 Invocation: 7c8f27a562ee439e841792dd5c460af7
   Main PID: 1123 (wireplumber)
      Tasks: 6 (limit: 9315)
     Memory: 6.8M (peak: 18.4M, swap: 5.1M, swap peak: 5.1M, zswap: 873.2K)
        CPU: 991ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─1123 /usr/bin/wireplumber

июл 31 09:12:08 hidden-ms7b33 systemd[943]: Started Multimedia Service Session Manager.
июл 31 09:12:09 hidden-ms7b33 wireplumber[1123]: spa.bluez5: BlueZ system service is not available
июл 31 09:12:09 hidden-ms7b33 wireplumber[1123]: wp-device: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
июл 31 09:12:09 hidden-ms7b33 wireplumber[1123]: s-monitors-libcamera: PipeWire's libcamera SPA plugin is missing or broken. Some camera types may not be supported.

I found that the bug is happening even when I use Windows. It looks like the issue is with the sound card

Updating BIOS might be beneficial for onboard audio device
MSI H310M-PRO-VH - BIOS

If that does not help, check for any error messages from the audio drivers:

sudo dmesg | grep snd

If the onboard audio is disabled in BIOS does the USB headset work without cutting out ?

[    0.958494] ata2.00: Features: Trust Dev-Sleep NCQ-sndrcv
[    4.363893] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops intel_audio_component_bind_ops [i915])
[    4.364210] usbcore: registered new interface driver snd-usb-audio
[    4.445816] snd_hda_codec_realtek hdaudioC1D0: ALC887-VD: picked fixup  for PCI SSID 1462:0000
[    4.446316] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC887-VD: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[    4.446319] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.446321] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[    4.446323] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    4.446325] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    4.446327] snd_hda_codec_realtek hdaudioC1D0:      Rear Mic=0x18
[    4.446329] snd_hda_codec_realtek hdaudioC1D0:      Front Mic=0x19
[    4.446331] snd_hda_codec_realtek hdaudioC1D0:      Line=0x1a

Here’s the thing… When the sound disappears, I put on my headphones and the sound is there

No error messages for Realtek ALC887-VD onboard audio device and nothing so far to suggest why it might be failing

If onboard audio is not available, PipeWire would switch to the USB headset if it is available

I suggest you install PulseAudio Volume Control pavucontrol-qt to check audio devices

If both devices are working normally, the Playback tab should have a dropdown menu to send audio streams to either device:

If there is only one output available and no dropdown menu, check the Output Devices and Configuration tabs, and

pactl list cards

If the Onboard audio is not shown, get a full ALSA diagnostic

sudo alsa-info.sh --upload

Funny thing, the issue was gone on its own. Probably some updates worked

Magic happened… :man_shrugging: