No audio from speakers pipewire

Haven’t touched anything, no updates, no nothing. But no more sound from my speakers. When I boot into a live environment of EOS the speakers work fine. I have no clue what is wrong. Re-installing the distro is currently not an option.

pactl list sinks

pactl list sinks
Sink #46
        State: SUSPENDED
        Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink
        Description: Cannon Lake PCH cAVS HDMI / DisplayPort 3 Output
        Driver: PipeWire
        Sample Specification: s24-32le 2ch 48000Hz
        Channel Map: front-left,front-right
        Owner Module: 4294967295
        Mute: no
        Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE DECIBEL_VOLUME LATENCY 
        Properties:
                object.path = "alsa:pcm:0:hw:sofhdadsp,5:playback"
                api.alsa.path = "hw:sofhdadsp,5"
                api.alsa.open.ucm = "true"
                api.alsa.pcm.card = "0"
                api.alsa.pcm.stream = "playback"
                audio.channels = "2"
                audio.position = "FL,FR"
                device.routes = "1"
                alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = ""
                alsa.id = "HDMI3 (*)"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "5"
                alsa.card = "0"
                alsa.card_name = "sof-hda-dsp"
                alsa.long_card_name = "LENOVO-81NX-LenovoYogaS740_15IRH-LNVNB161216"
                alsa.driver_name = "snd_soc_skl_hda_dsp"
                device.profile.name = "HiFi: hw:sofhdadsp,5: sink"
                device.profile.description = "HDMI / DisplayPort 3 Output"
                card.profile.device = "0"
                device.id = "43"
                factory.name = "api.alsa.pcm.sink"
                priority.driver = "664"
                priority.session = "664"
                media.class = "Audio/Sink"
                node.nick = "sof-hda-dsp"
                node.name = "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink"
                device.description = "Cannon Lake PCH cAVS"
                device.icon_name = "audio-card"
                device.bus = "pci"
                device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
                node.pause-on-idle = "false"
                factory.id = "18"
                clock.quantum-limit = "8192"
                client.id = "33"
                node.driver = "true"
                factory.mode = "merge"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                object.id = "46"
                object.serial = "46"
                device.enum.api = "udev"
                api.alsa.card = "0"
                api.alsa.card.name = "sof-hda-dsp"
                api.alsa.card.longname = "LENOVO-81NX-LenovoYogaS740_15IRH-LNVNB161216"
                device.plugged.usec = "8170419"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
                device.subsystem = "sound"
                device.vendor.id = "0x8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "0xa348"
                device.product.name = "Cannon Lake PCH cAVS"
                device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
                device.nick = "sof-hda-dsp"
                api.alsa.use-acp = "true"
                api.acp.auto-profile = "false"
                api.acp.auto-port = "false"
                api.dbus.ReserveDevice1 = "Audio0"
                device.string = "0"
        Ports:
                [Out] HDMI3: HDMI / DisplayPort 3 Output (type: HDMI, priority: 700, availability group: HDMI/DP,pcm=5, not available)
        Active Port: [Out] HDMI3
        Formats:
                pcm

Sink #47
        State: SUSPENDED
        Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink
        Description: Cannon Lake PCH cAVS HDMI / DisplayPort 2 Output
        Driver: PipeWire
        Sample Specification: s24-32le 2ch 48000Hz
        Channel Map: front-left,front-right
        Owner Module: 4294967295
        Mute: no
        Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE DECIBEL_VOLUME LATENCY 
        Properties:
                object.path = "alsa:pcm:0:hw:sofhdadsp,4:playback"
                api.alsa.path = "hw:sofhdadsp,4"
                api.alsa.open.ucm = "true"
                api.alsa.pcm.card = "0"
                api.alsa.pcm.stream = "playback"
                audio.channels = "2"
                audio.position = "FL,FR"
                device.routes = "1"
                alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = ""
                alsa.id = "HDMI2 (*)"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "4"
                alsa.card = "0"
                alsa.card_name = "sof-hda-dsp"
                alsa.long_card_name = "LENOVO-81NX-LenovoYogaS740_15IRH-LNVNB161216"
                alsa.driver_name = "snd_soc_skl_hda_dsp"
                device.profile.name = "HiFi: hw:sofhdadsp,4: sink"
                device.profile.description = "HDMI / DisplayPort 2 Output"
                card.profile.device = "1"
                device.id = "43"
                factory.name = "api.alsa.pcm.sink"
                priority.driver = "680"
                priority.session = "680"
                media.class = "Audio/Sink"
                node.nick = "sof-hda-dsp"
                node.name = "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink"
                device.description = "Cannon Lake PCH cAVS"
                device.icon_name = "audio-card"
                device.bus = "pci"
                device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
                node.pause-on-idle = "false"
                factory.id = "18"
                clock.quantum-limit = "8192"
                client.id = "33"
                node.driver = "true"
                factory.mode = "merge"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                object.id = "47"
                object.serial = "47"
                device.enum.api = "udev"
                api.alsa.card = "0"
                api.alsa.card.name = "sof-hda-dsp"
                api.alsa.card.longname = "LENOVO-81NX-LenovoYogaS740_15IRH-LNVNB161216"
                device.plugged.usec = "8170419"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
                device.subsystem = "sound"
                device.vendor.id = "0x8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "0xa348"
                device.product.name = "Cannon Lake PCH cAVS"
                device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
                device.nick = "sof-hda-dsp"
                api.alsa.use-acp = "true"
                api.acp.auto-profile = "false"
                api.acp.auto-port = "false"
                api.dbus.ReserveDevice1 = "Audio0"
                device.string = "0"
        Ports:
                [Out] HDMI2: HDMI / DisplayPort 2 Output (type: HDMI, priority: 600, availability group: HDMI/DP,pcm=4, not available)
        Active Port: [Out] HDMI2
        Formats:
                pcm

Sink #48
        State: SUSPENDED
        Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink
        Description: Cannon Lake PCH cAVS HDMI / DisplayPort 1 Output
        Driver: PipeWire
        Sample Specification: s24-32le 2ch 48000Hz
        Channel Map: front-left,front-right
        Owner Module: 4294967295
        Mute: no
        Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE DECIBEL_VOLUME LATENCY 
        Properties:
                object.path = "alsa:pcm:0:hw:sofhdadsp,3:playback"
                api.alsa.path = "hw:sofhdadsp,3"
                api.alsa.open.ucm = "true"
                api.alsa.pcm.card = "0"
                api.alsa.pcm.stream = "playback"
                audio.channels = "2"
                audio.position = "FL,FR"
                device.routes = "1"
                alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = ""
                alsa.id = "HDMI1 (*)"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "3"
                alsa.card = "0"
                alsa.card_name = "sof-hda-dsp"
                alsa.long_card_name = "LENOVO-81NX-LenovoYogaS740_15IRH-LNVNB161216"
                alsa.driver_name = "snd_soc_skl_hda_dsp"
                device.profile.name = "HiFi: hw:sofhdadsp,3: sink"
                device.profile.description = "HDMI / DisplayPort 1 Output"
                card.profile.device = "2"
                device.id = "43"
                factory.name = "api.alsa.pcm.sink"
                priority.driver = "696"
                priority.session = "696"
                media.class = "Audio/Sink"
                node.nick = "sof-hda-dsp"
                node.name = "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink"
                device.description = "Cannon Lake PCH cAVS"
                device.icon_name = "audio-card"
                device.bus = "pci"
                device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
                node.pause-on-idle = "false"
                factory.id = "18"
                clock.quantum-limit = "8192"
                client.id = "33"
                node.driver = "true"
                factory.mode = "merge"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                object.id = "48"
                object.serial = "48"
                device.enum.api = "udev"
                api.alsa.card = "0"
                api.alsa.card.name = "sof-hda-dsp"
                api.alsa.card.longname = "LENOVO-81NX-LenovoYogaS740_15IRH-LNVNB161216"
                device.plugged.usec = "8170419"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
                device.subsystem = "sound"
                device.vendor.id = "0x8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "0xa348"
                device.product.name = "Cannon Lake PCH cAVS"
                device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
                device.nick = "sof-hda-dsp"
                api.alsa.use-acp = "true"
                api.acp.auto-profile = "false"
                api.acp.auto-port = "false"
                api.dbus.ReserveDevice1 = "Audio0"
                device.string = "0"
        Ports:
                [Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 500, availability group: HDMI/DP,pcm=3, not available)
        Active Port: [Out] HDMI1
        Formats:
                pcm

Sink #49
        State: SUSPENDED
        Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink
        Description: Cannon Lake PCH cAVS Speaker + Headphones
        Driver: PipeWire
        Sample Specification: s32le 2ch 48000Hz
        Channel Map: front-left,front-right
        Owner Module: 4294967295
        Mute: no
        Volume: front-left: 39322 /  60% / -13.31 dB,   front-right: 39322 /  60% / -13.31 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
                object.path = "alsa:pcm:0:hw:sofhdadsp:playback"
                api.alsa.path = "hw:sofhdadsp"
                api.alsa.open.ucm = "true"
                api.alsa.pcm.card = "0"
                api.alsa.pcm.stream = "playback"
                audio.channels = "2"
                audio.position = "FL,FR"
                device.routes = "2"
                alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = ""
                alsa.id = "HDA Analog (*)"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "sof-hda-dsp"
                alsa.long_card_name = "LENOVO-81NX-LenovoYogaS740_15IRH-LNVNB161216"
                alsa.driver_name = "snd_soc_skl_hda_dsp"
                device.profile.name = "HiFi: hw:sofhdadsp: sink"
                device.profile.description = "Speaker + Headphones"
                card.profile.device = "3"
                device.id = "43"
                factory.name = "api.alsa.pcm.sink"
                priority.driver = "744"
                priority.session = "744"
                media.class = "Audio/Sink"
                node.nick = "sof-hda-dsp"
                node.name = "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink"
                device.description = "Cannon Lake PCH cAVS"
                device.icon_name = "audio-card"
                device.bus = "pci"
                device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
                node.pause-on-idle = "false"
                factory.id = "18"
                clock.quantum-limit = "8192"
                client.id = "33"
                node.driver = "true"
                factory.mode = "merge"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                object.id = "49"
                object.serial = "49"
                node.max-latency = "4096/48000"
                api.alsa.period-size = "1024"
                api.alsa.period-num = "8"
                api.alsa.headroom = "0"
                device.enum.api = "udev"
                api.alsa.card = "0"
                api.alsa.card.name = "sof-hda-dsp"
                api.alsa.card.longname = "LENOVO-81NX-LenovoYogaS740_15IRH-LNVNB161216"
                device.plugged.usec = "8170419"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
                device.subsystem = "sound"
                device.vendor.id = "0x8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "0xa348"
                device.product.name = "Cannon Lake PCH cAVS"
                device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
                device.nick = "sof-hda-dsp"
                api.alsa.use-acp = "true"
                api.acp.auto-profile = "false"
                api.acp.auto-port = "false"
                api.dbus.ReserveDevice1 = "Audio0"
                device.string = "0"
        Ports:
                [Out] Speaker: Speaker (type: Speaker, priority: 100, availability unknown)
                [Out] Headphones: Headphones (type: Headphones, priority: 200, availability group: Headphone, not available)
        Active Port: [Out] Speaker
        Formats:
                pcm

pacman -Q | grep pipewire

gst-plugin-pipewire 1:0.3.80-1
kpipewire 5.27.8-1
libpipewire 1:0.3.80-1
pipewire 1:0.3.80-1
pipewire-alsa 1:0.3.80-1
pipewire-audio 1:0.3.80-1
pipewire-jack 1:0.3.80-1
pipewire-media-session 1:0.4.2-2
pipewire-pulse 1:0.3.80-1

systemctl status pipewire

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
     Active: active (running) since Fri 2023-09-15 20:45:46 CEST; 9min ago
TriggeredBy: ● pipewire.socket
   Main PID: 1608 (pipewire)
      Tasks: 3 (limit: 38146)
     Memory: 7.8M
        CPU: 1.688s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1608 /usr/bin/pipewire

Sep 15 20:45:46 mastermind systemd[1234]: Started PipeWire Multimedia Service.

inxi -Faz

Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Lenovo
    driver: sof-audio-pci-intel-cnl alternate: snd_hda_intel, snd_soc_skl,
    snd_sof_pci_intel_cnl bus-ID: 00:1f.3 chip-ID: 8086:a348 class-ID: 0401
  API: ALSA v: k6.5.3-arch1-1 status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 0.3.80 status: active with: 1: pipewire-pulse
    status: active 2: pipewire-media-session status: active 3: pipewire-alsa
    type: plugin 4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli

journalctl -b | grep PipeWire

Sep 15 20:45:35 user systemd[1159]: Listening on PipeWire PulseAudio.
Sep 15 20:45:35 user systemd[1159]: Listening on PipeWire Multimedia System Socket.
Sep 15 20:45:44 user systemd[1234]: Listening on PipeWire PulseAudio.
Sep 15 20:45:44 user systemd[1234]: Listening on PipeWire Multimedia System Socket.
Sep 15 20:45:46 user systemd[1234]: Started PipeWire Multimedia Service.
Sep 15 20:45:46 user systemd[1234]: Started PipeWire Media Session Manager.
Sep 15 20:45:47 user systemd[1234]: Started PipeWire PulseAudio.
Sep 15 20:45:54 user systemd[1159]: Closed PipeWire PulseAudio.
Sep 15 20:45:54 user systemd[1159]: Closed PipeWire Multimedia System Socket.

Pastebin of the full journalctl output

To me everything looks fine. Bluetooth headphones work. Speakers are working in live environment. I don’t understand the inner workings of the audio services etc. I just find it strange that Pipewire PulseAudio is closing after it started.

I also tried switching away from pipewire to pulseaudio, but that does nothing. I tried deleting configurations, restarting daemons etc. Audio has always been an issue for my laptop since I started using Linux. I find it strange that all of the sudden it stops working.

Anyone that can help me troubleshoot it a bit further?

If you haven’t tried switching to WirePlumber yet, it’s worth a shot. https://wiki.archlinux.org/title/WirePlumber

Be sure to run alsamixer and make sure the master volume is not muted. You can try changing the sound card that is in use while you are in there and see if it makes any difference.