Sound quality gets distorted after a few minutes

Hello,

I am using the latest version of EndeavourOS, and the sound quality is perfectly fine for the first 5-10 minutes after logging in. However, after that, the sound becomes distorted, as if it were coming from far away. I don’t have much knowledge of how audio works, but I believe this issue is related to PipeWire or WirePlumber.

It’s strange that the sound quality is flawless initially but degrades completely after a few minutes.

I ran a few commands to provide some information about my system/software:

lspci | grep -i audio:

00:1f.3 Multimedia audio controller: Intel Corporation Device 51cf (rev 01)

aplay -l:

**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 31: HDA Analog Deep Buffer (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

pactl list short sinks:

49 alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI3__sink PipeWire s24-32le 2ch 48000Hz SUSPENDED

50 alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI2__sink PipeWire s24-32le 2ch 48000Hz SUSPENDED

51 alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI1__sink PipeWire s24-32le 2ch 48000Hz SUSPENDED

52 alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink PipeWire s32le 2ch 48000Hz SUSPENDED

I have no idea why the sinks are suspended, but I ran the command when sound quality was working and when it wasn’t, in both cases they were labeled as SUSPENDED.

pacman -Qs pipewire

local/gst-plugin-pipewire 1:1.2.3-1
    Multimedia graph framework - pipewire plugin
local/libpipewire 1:1.2.3-1
    Low-latency audio/video router and processor - client library
local/libwireplumber 0.5.6-1
    Session / policy manager implementation for PipeWire - client library
local/pipewire 1:1.2.3-1
    Low-latency audio/video router and processor
local/pipewire-alsa 1:1.2.3-1
    Low-latency audio/video router and processor - ALSA configuration
local/pipewire-audio 1:1.2.3-1
    Low-latency audio/video router and processor - Audio support
local/pipewire-jack 1:1.2.3-1
    Low-latency audio/video router and processor - JACK replacement
local/pipewire-pulse 1:1.2.3-1
    Low-latency audio/video router and processor - PulseAudio replacement
local/wireplumber 0.5.6-1
    Session / policy manager implementation for PipeWire

If more information is needed please tell me which commands to run, I would really appreciate your help.