You are not logged in.

#1 2022-02-04 13:59:05

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,240

[SOLVED] Pipewire stopped working after last update

After the most recent pipewire updates I see no sound devices on the panel icons, and volume is off.  Also I see an error in the status output from:

$ systemctl --user status pipewire
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; vendor preset: enabled)
     Active: active (running) since Fri 2022-02-04 13:49:55 GMT; 18s ago
TriggeredBy: ● pipewire.socket
   Main PID: 4025 (pipewire)
      Tasks: 2 (limit: 9408)
     Memory: 3.5M
        CPU: 23ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─4025 /usr/bin/pipewire

Feb 04 13:49:55 lenovo2 systemd[851]: Started PipeWire Multimedia Service.
Feb 04 13:49:55 lenovo2 pipewire[4025]: spa.v4l2: '/dev/video0' VIDIOC_QUERYCTRL: Input/output error

Does anyone know of a work around?  There are also no .pacnew files in /usr/share/pipewire/media-session.d/.    I can't see any settings that could be changed that would help, and I have checked and restarted all the services, pipewire-media-session, pipewire-pulse and pipewire

Edit: Downgrading fixes it:

in /var/cache/pacman/pkg/

sudo pacman -U alsa-card-profiles-1:0.3.44-1-x86_64.pkg.tar.zst /var/cache/pacman/pkg/pipewire-1:0.3.44-1-x86_64.pkg.tar.zst /var/cache/pacman/pkg/pipewire-alsa-1:0.3.44-1-x86_64.pkg.tar.zst /var/cache/pacman/pkg/pipewire-jack-1:0.3.44-1-x86_64.pkg.tar.zst /var/cache/pacman/pkg/pipewire-pulse-1:0.3.44-1-x86_64.pkg.tar.zst

Then restarting works again....so version 1:0.3.45-1 looks like it is broken

Edit 2:

It looks like this commit upstream might fix this
https://gitlab.freedesktop.org/pipewire … 53cff7a5c2
- but it went in after 1:0.3.45 was released so the next release should fix this issue - or the commit could be backported to 1:0.3.45 for the arch packages.

Edit 3:

I realised that the custom build kernel I am using has
$ zcat /proc/config.gz | grep -i CONFIG_SND_VERBOSE_PROCFS
# CONFIG_SND_VERBOSE_PROCFS is not set

whereas the arch kernel is built with

CONFIG_SND_VERBOSE_PROCFS=y

So anyone using the current arch kernel will probably not see this problem, and only kernels built with the config parameter unset. So I will mark this as solved even though the fix for the issue will come with the version of pipewire next released after the current version in the arch repos.

Edit 4:

With a rebuilt custom kernel with

$ zcat /proc/config.gz | grep -i CONFIG_SND_VERBOSE_PROCFS
CONFIG_SND_VERBOSE_PROCFS=y

sounds works fine again with pipewire 1:0.3.45-1 so this is resolved.

Last edited by mcloaked (2022-02-04 20:38:44)


Mike C

Offline

Board footer

Powered by FluxBB