I keep losing audio on new installation

I am running EndeavourOS on a Dell Alienware m16 R2 with specs:
OS: EndeavourOS Linux x86_64
Host: Alienware m16 R2
Kernel: 6.9.8-arch1-1
DE: GNOME 46.3.1
CPU: Intel Ultra 9 185H (22) @ 4.800
GPU: NVIDIA GeForce RTX 4070 Max-Q /
GPU: Intel Arc Graphics]
Memory: 64GB

I keep losing audio. During a time when the Audio wasn’t working, I installed VLC, and suddenly audio started working. Then today, audio was not working again. All I did was boot my laptop. after trying to several things and nothing worked. I then ran :

systemctl --user restart pipewire pipewire-pulse

My audio started working, Great except yesterday when I ran that command it didn’t work. I need stable audio. I can’t have a play roulette everytime I use my laptop with audio.

[edwin@alienware ~]$ journalctl -b | grep -i "audio\|sound\|alsa\|pulse\|pipewire"
Jul 08 18:28:19 alienware kernel: snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
Jul 08 18:28:19 alienware kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input17
Jul 08 18:28:19 alienware kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input18
Jul 08 18:28:19 alienware kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input19
Jul 08 18:28:19 alienware kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input20
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: enabling device (0000 -> 0002)
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
Jul 08 18:28:19 alienware kernel: snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: use msi interrupt mode
Jul 08 18:28:18 alienware bluetoothd[853]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
Jul 08 18:28:18 alienware systemd[1]: Starting Save/Restore Sound Card State...
Jul 08 18:28:18 alienware systemd[1]: Manage Sound Card State (restore and store) was skipped because of an unmet condition check (ConditionPathExists=/etc/alsa/state-daemon.conf).
Jul 08 18:28:18 alienware systemd[1]: Finished Save/Restore Sound Card State.
Jul 08 18:28:18 alienware systemd[1]: Reached target Sound Card.
Jul 08 18:28:18 alienware boltd[854]: watchdog: enabled [pulse: 90s]
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: hda codecs found, mask 5
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DMICs detected in NHLT tables: 2
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Firmware paths/files for ipc type 1:
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware file:     intel/sof-ipc4/mtl/sof-mtl.ri
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware lib path: intel/sof-ipc4-lib/mtl
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3:  Topology file:     intel/sof-ace-tplg/sof-hda-generic-2ch.tplg
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.9.0.1
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Booted firmware version: 2.9.0.1
Jul 08 18:28:19 alienware kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Topology: ABI 3:29:0 Kernel ABI 3:23:0
Jul 08 18:28:20 alienware kernel: snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC3254: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
Jul 08 18:28:20 alienware kernel: snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Jul 08 18:28:20 alienware kernel: snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
Jul 08 18:28:20 alienware kernel: snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
Jul 08 18:28:20 alienware kernel: snd_hda_codec_realtek ehdaudio0D0:    inputs:
Jul 08 18:28:20 alienware kernel: snd_hda_codec_realtek ehdaudio0D0:      Headset Mic=0x19
Jul 08 18:28:20 alienware kernel: snd_hda_codec_realtek ehdaudio0D0:      Headphone Mic=0x1b
Jul 08 18:28:20 alienware kernel: input: sof-hda-dsp Headphone Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input23
Jul 08 18:28:20 alienware kernel: input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input24
Jul 08 18:28:20 alienware kernel: input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input25
Jul 08 18:28:20 alienware kernel: input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input26
Jul 08 18:28:20 alienware systemd[1047]: Listening on PipeWire PulseAudio.
Jul 08 18:28:20 alienware systemd[1047]: Listening on PipeWire Multimedia System Sockets.
Jul 08 18:28:21 alienware systemd[1047]: Started PipeWire Multimedia Service.
Jul 08 18:28:21 alienware systemd[1047]: Started PipeWire PulseAudio.
Jul 08 18:28:22 alienware pipewire[1347]: ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for %f
Jul 08 18:28:22 alienware pipewire[1347]: spa.alsa: 'plug:{SLAVE="a52:0,'hw:%f,3'"}': playback open failed: No such device
Jul 08 18:28:22 alienware pipewire[1347]: mod.adapter: 0x585e7872af80: can't get format: No such device
Jul 08 18:28:22 alienware pipewire[1347]: mod.adapter: usage: node.name=<string>
Jul 08 18:28:28 alienware systemd[1521]: Listening on PipeWire PulseAudio.
Jul 08 18:28:28 alienware systemd[1521]: Listening on PipeWire Multimedia System Sockets.
Jul 08 18:28:29 alienware wireplumber[1349]: wplua: [string "alsa.lua"]:347: table index is nil
                                                     [string "alsa.lua"]:347: in function <[string "alsa.lua"]:333>
Jul 08 18:28:30 alienware systemd[1521]: Starting GNOME sound sample caching service...
Jul 08 18:28:30 alienware systemd[1521]: Started GNOME sound sample caching service.
Jul 08 18:28:30 alienware systemd[1521]: Reached target GNOME sound sample caching target.
Jul 08 18:28:30 alienware systemd[1521]: Started PipeWire Multimedia Service.
Jul 08 18:28:30 alienware systemd[1521]: Started PipeWire PulseAudio.
Jul 08 18:28:31 alienware pipewire[2112]: ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for %f
Jul 08 18:28:31 alienware pipewire[2112]: spa.alsa: 'plug:{SLAVE="a52:0,'hw:%f,3'"}': playback open failed: No such device
Jul 08 18:28:31 alienware pipewire[2112]: mod.adapter: 0x5f08dc7004d0: can't get format: No such device
Jul 08 18:28:31 alienware pipewire[2112]: mod.adapter: usage: node.name=<string>
Jul 08 18:28:41 alienware systemd[1047]: Stopping PipeWire PulseAudio...
Jul 08 18:28:41 alienware systemd[1047]: Stopped PipeWire PulseAudio.
Jul 08 18:28:41 alienware wireplumber[1349]: wireplumber: disconnected from pipewire
Jul 08 18:28:41 alienware systemd[1047]: Stopping PipeWire Multimedia Service...
Jul 08 18:28:41 alienware systemd[1047]: Stopped PipeWire Multimedia Service.
Jul 08 18:28:41 alienware systemd[1047]: Closed PipeWire PulseAudio.
Jul 08 18:28:41 alienware systemd[1047]: Closed PipeWire Multimedia System Sockets.
Jul 08 18:30:59 alienware systemd[1521]: Stopping PipeWire PulseAudio...
Jul 08 18:30:59 alienware systemd[1521]: Stopped PipeWire PulseAudio.
Jul 08 18:30:59 alienware wireplumber[2113]: wireplumber: disconnected from pipewire
Jul 08 18:30:59 alienware xdg-desktop-por[2021]: Caught PipeWire error: connection error
Jul 08 18:30:59 alienware systemd[1521]: Stopping PipeWire Multimedia Service...
Jul 08 18:30:59 alienware systemd[1521]: Stopped PipeWire Multimedia Service.
Jul 08 18:30:59 alienware systemd[1521]: Started PipeWire Multimedia Service.
Jul 08 18:30:59 alienware systemd[1521]: Started PipeWire PulseAudio.
Jul 08 18:31:01 alienware pipewire[2626]: ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for %f
Jul 08 18:31:01 alienware pipewire[2626]: spa.alsa: 'plug:{SLAVE="a52:0,'hw:%f,3'"}': playback open failed: No such device
Jul 08 18:31:01 alienware pipewire[2626]: mod.adapter: 0x62e9346bd190: can't get format: No such device
Jul 08 18:31:01 alienware pipewire[2626]: mod.adapter: usage: node.name=<string>

I don’t know if that helps. hope it does. can someone please help?Preformatted text

Hi.

Please click the edit button of your original post, select the terminal output, then press CTRL+E or click the button highlighted below.


image


Edit button:


image

I think I did what you wanted

1 Like

A similar issue is reported here and interested people I expect, are still working through it:

You’re already using the temporary fix mentioned there, but I link the thread in case a solution is mentioned there you might be interested in.

1 Like

Thank you

I tried the other method in that post and thought it was working, but just now, after a reboot, audio was not working.

I did the following command and it started working. I just don’t want to keep doing the same command over and over againg

systemctl --user restart pipewire pipewire-pulse

unfortunately at the moment it is the only solution… but you have to repeat it at every restart.
I made a bash script and put it into autostart. Works! However, since I hope to find a real and non-temporary solution or that the next kernel update will resolve this conflict, I have chosen not to start the script at startup: so I can understand if the problem has been resolved or if I continue to use this ‘crutch’

3 Likes