You are not logged in.

#1 2021-04-06 22:45:34

akhlaghi
Member
Registered: 2018-09-20
Posts: 8

[SOLVED] No audio after PipeWire update

After a 'pacman -Syu' update and reboot, I have lost all audio (on a Dell Vostro 7590 laptop).

My sound card is apparently recognized:

$ lspci | grep audio
00:1f.3 Multimedia audio controller: Intel Corporation Cannon Lake PCH cAVS (rev 10)

The general pipewire service is running fine apparently:

$ systemctl --user status pipewire.service
● pipewire.service - Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; vendor preset: enabled)
     Active: active (running) since Tue 2021-04-06 22:14:52 WEST; 1h 28min ago
TriggeredBy: ● pipewire.socket
   Main PID: 1082 (pipewire)
      Tasks: 2 (limit: 38240)
     Memory: 4.6M
        CPU: 67ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1082 /usr/bin/pipewire

Apr 06 22:14:52 hostname systemd[1074]: Started Multimedia Service.

However, the pipewire media-session service is apparently failing:

$ systemctl --user status pipewire-media-session.service
● pipewire-media-session.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/pipewire-media-session.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2021-04-06 22:14:52 WEST; 1h 23min ago
   Main PID: 1083 (pipewire-media-)
      Tasks: 2 (limit: 38240)
     Memory: 1.8M
        CPU: 31ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-media-session.service
             └─1083 /usr/bin/pipewire-media-session

Apr 06 22:14:52 hostname systemd[1074]: Started Multimedia Service Session Manager.
Apr 06 22:15:13 hostname pipewire-media-session[1083]: GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut

Please let me know if any extra information is necessary to find the cause/fix.

Thanks a lot in advance.

Last edited by akhlaghi (2021-04-07 14:52:46)

Offline

#2 2021-04-06 22:57:57

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 12,507

Re: [SOLVED] No audio after PipeWire update

Some config files were added to the backup array and thus will have been created as .pacnew files rather than outright overwriting previous contents. In this case the previous content is incompatible with new expectations go through your /etc/pipewire and subfolders and replace relevant confs with their pacnew variants.

Pacman should've told you about this and you are expected to asses and handle config changes that lead to a pacnew being generated.

IF that isn't it it could also be a level lower but for that we'd need

aplay -l
sudo dmesg | grep -E 'snd|sof'

Offline

#3 2021-04-06 23:18:57

akhlaghi
Member
Registered: 2018-09-20
Posts: 8

Re: [SOLVED] No audio after PipeWire update

Thanks a lot for the prompt reply.

The only '.pacnew' file in 'etc/pipewire' was 'media-session.d/alsa-monitor.conf' and the problem was not fixed after replacing it and the reboot. Here is the contents of this directory:

ls -l /etc/pipewire/media-session.d/
total 32
-rw-r--r-- 1 root root 4215 Apr  6 15:11 alsa-monitor.conf
-rw-r--r-- 1 root root 4123 Mar  1 16:50 alsa-monitor.conf.until-2021-04-06
-rw-r--r-- 1 root root 3603 Apr  6 15:11 bluez-monitor.conf
-rw-r--r-- 1 root root 3400 Apr  6 15:11 media-session.conf
-rw-r--r-- 1 root root 3294 Mar  1 16:50 media-session.conf.until-2021-03-20
-rw-r--r-- 1 root root 1280 Apr  6 15:11 v4l2-monitor.conf
-rw-r--r-- 1 root root    0 Apr  6 15:11 with-alsa
-rw-r--r-- 1 root root    0 Apr  6 15:11 with-jack
-rw-r--r-- 1 root root    0 Apr  6 15:11 with-pulseaudio

Here are the outputs of the two commands you mentioned:

$ aplay -l
aplay: device_list:274: no soundcards found...

$ sudo dmesg | grep -E 'snd|sof'
[sudo] password for user: 
[    0.588054] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.588054] software IO TLB: mapped [mem 0x000000006d6b2000-0x00000000716b2000] (64MB)
[   10.133701] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[   10.133901] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[   10.199037] snd_soc_skl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[   10.199350] snd_soc_skl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[   10.338460] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[   10.338757] sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[   10.338766] sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
[   10.340243] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[   10.992362] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   11.065827] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[   11.139218] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[   11.139223] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[   11.139229] sof-audio-pci 0000:00:1f.3: DMICs detected in NHLT tables: 2
[   11.139527] sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof/sof-cfl.ri failed with error -2
[   11.139532] sof-audio-pci 0000:00:1f.3: error: request firmware intel/sof/sof-cfl.ri failed err: -2
[   11.139534] sof-audio-pci 0000:00:1f.3: error: failed to load DSP firmware -2
[   11.139986] sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed err: -2

Apparently the problem is with 'sof-cfl.ri'! I checked and I am currently running sof-firmware 1.7-1 (the most recent version at this moment).

Offline

#4 2021-04-07 03:17:03

fbernier
Member
Registered: 2021-04-07
Posts: 1

Re: [SOLVED] No audio after PipeWire update

Experiencing the very same issue here, with the same error in dmesg since I upgraded pipewire today.

edit: I can confirm the issue is actually sof-firmware. I first downgraded all the pipweire packages I have installed and it didn't solve it, but downgrading sof-firmware from 1.7 to 1.6.1 fixed it.
Someone filed and issue here: https://github.com/thesofproject/sof/issues/4007

Last edited by fbernier (2021-04-07 03:32:52)

Offline

#5 2021-04-07 14:52:29

akhlaghi
Member
Registered: 2018-09-20
Posts: 8

Re: [SOLVED] No audio after PipeWire update

Thanks a lot for the tip on downgrading, following a downgrade my sound also returned.

A few hours later, I noticed that the issue has been closed! So after a new 'pacman -Syu', I noticed that Archlinux's sof-firmware 1.7-2 is also ready, and after installing it, I can confirm that the issue has been fixed.

Offline

#6 2021-04-08 06:31:14

nihakuto
Member
Registered: 2021-04-08
Posts: 2

Re: [SOLVED] No audio after PipeWire update

I am actually experiencing the exact same issue after an update, with no more pacnew files to look at. Sadly it seems as if I am not in the same sof-firmware cause.

Does any more-experienced user than I have any insight? Thanks!

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 12: HDMI 6 [HDMI 6]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: ALC1220 Digital [ALC1220 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

sudo dmesg | grep -E 'snd|sof'
[    3.926925] snd_hda_intel 0000:07:00.1: enabling device (0000 -> 0002)
[    3.927061] snd_hda_intel 0000:07:00.1: Disabling MSI
[    3.927072] snd_hda_intel 0000:07:00.1: Handle vga_switcheroo audio client
[    3.927176] snd_hda_intel 0000:09:00.4: enabling device (0000 -> 0002)
[    4.088350] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC1220: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[    4.088354] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.088356] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[    4.088357] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    4.088358] snd_hda_codec_realtek hdaudioC1D0:    dig-out=0x1e/0x0
[    4.088359] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    4.088360] snd_hda_codec_realtek hdaudioC1D0:      Front Mic=0x19
[    4.088361] snd_hda_codec_realtek hdaudioC1D0:      Rear Mic=0x18
[    4.088362] snd_hda_codec_realtek hdaudioC1D0:      Line=0x1a
[    4.187129] usbcore: registered new interface driver snd-usb-audio

No audio adapter listed anymore on lspci.

This is the most info I've managed to grab:

systemctl --user status pipewire-media-session.service
* pipewire-media-session.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/pipewire-media-session.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2021-04-08 02:08:13 EDT; 19min ago
   Main PID: 6077 (pipewire-media-)
      Tasks: 2 (limit: 38368)
     Memory: 3.6M
        CPU: 57ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-media-session.service
             `-6077 /usr/bin/pipewire-media-session

Apr 08 02:08:13 nihakutoarch systemd[653]: Started Multimedia Service Session Manager.
Apr 08 02:08:18 nihakutoarch pipewire-media-session[6077]: GetManagedObjects() failed: org.freedesktop.DBus.Error.Timed>
Apr 08 02:13:01 nihakutoarch pipewire-media-session[6077]: no node found for 46

Offline

#7 2021-04-08 06:40:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 12,507

Re: [SOLVED] No audio after PipeWire update

Which makes this not the "exact same issue" your devices are detected in some form, please open up a new thread and use [ code ] tags instead of [ quote ] and in addition to the outputs already posted throw in

pactl list cards
pactl list sinks

as well.

Offline

#8 2021-04-09 00:09:56

nihakuto
Member
Registered: 2021-04-08
Posts: 2

Re: [SOLVED] No audio after PipeWire update

V1del wrote:

Which makes this not the "exact same issue" your devices are detected in some form, please open up a new thread and use [ code ] tags instead of [ quote ] and in addition to the outputs already posted throw in

pactl list cards
pactl list sinks

as well.

I'll pay more attention next time I assess an issue, sorry about that. Thanks for the reply in any case.

I wanted to just leave a follow-up for anyone who may stumble upon this: Turns out a lot of B550 chipset motherboards (ROG b550-f wifi, in my case) have an issue where the bluetooth adapter stops being being detected after a while. All that's required to solve this, for many, is to power off and drain residual power (press the power button while unplugged). Afaik there's no official stance from manufacturer's on this, but there's significant evidence on reddit, etc...

It was just a coincidence that it happened right after an update to pipewire.

Offline

Board footer

Powered by FluxBB