Hello there.
Did an update yesterday which bumped me from pipewire (and wireplumber, plus all the related stuff) from 1.6.6 to 1.6.7; the next day, after rebooting, I had a bunch of crackling and cutouts happening. Tried rebooting, disconnecting and reconnecting the dongle, then checked the logs:
~ journalctl --user -u pipewire -u wireplumber -f
Jun 22 15:13:14 cachyos-x8664 systemd[1658]: Stopped Multimedia Service Session Manager.
Jun 22 15:13:14 cachyos-x8664 systemd[1658]: Stopping PipeWire Multimedia Service…
Jun 22 15:13:14 cachyos-x8664 systemd[1658]: Stopped PipeWire Multimedia Service.
Jun 22 15:13:14 cachyos-x8664 systemd[1658]: pipewire.service: Consumed 6.796s CPU time over 26min 23.131s wall clock time, 43.7M memory peak.
Jun 22 15:13:14 cachyos-x8664 systemd[1658]: Started PipeWire Multimedia Service.
Jun 22 15:13:14 cachyos-x8664 systemd[1658]: Started Multimedia Service Session Manager.
Jun 22 15:13:14 cachyos-x8664 pipewire[21306]: mod.rt: could not set nice-level to -11: Permission denied
Jun 22 15:13:14 cachyos-x8664 wireplumber[21307]: mod.rt: could not set nice-level to -11: Permission denied
Jun 22 15:13:17 cachyos-x8664 wireplumber[21307]: wp-device: SPA handle ‘api.libcamera.enum.manager’ could not be loaded; is it installed?
Jun 22 15:13:17 cachyos-x8664 wireplumber[21307]: s-monitors-libcamera: PipeWire’s libcamera SPA plugin is missing or broken. Some camera types may not be supported.
Jun 22 15:16:34 cachyos-x8664 wireplumber[21307]: wp-event-dispatcher: WpAsyncEventHook:0x56322fc8e960 failed: WpSiStandardLink:0x563230164820 link failed: 1 of 1 PipeWire links failed to activate
Not sure if it was the nice level permission that was the issue, but after downgrading back to 1.6.6, the issues immediately disappeared. Specifically, these downgrades:
warning: downgrading package pipewire (1:1.6.7-1.1 => 1:1.6.6-1)
warning: downgrading package pipewire-alsa (1:1.6.7-1.1 => 1:1.6.6-1)
warning: downgrading package pipewire-audio (1:1.6.7-1.1 => 1:1.6.6-1)
warning: downgrading package pipewire-pulse (1:1.6.7-1.1 => 1:1.6.6-1)
warning: downgrading package wireplumber (0.5.15-1.1 => 0.5.14-1)
warning: downgrading package gst-plugin-pipewire (1:1.6.7-1.1 => 1:1.6.6-1)
warning: downgrading package libpipewire (1:1.6.7-1.1 => 1:1.6.6-1)
Which can be replicated with this command:
sudo downgrade pipewire pipewire-audio pipewire-pulse pipewire-alsa wireplumber
Relevant packages look like this currently, this works fine:
gst-plugin-pipewire 1:1.6.6-1
kpipewire 6.7.0-1.1
lib32-libpipewire 1:1.6.6-1
lib32-pipewire 1:1.6.6-1
libpipewire 1:1.6.6-1
libwireplumber 0.5.14-1
pipewire 1:1.6.6-1
pipewire-alsa 1:1.6.6-1
pipewire-audio 1:1.6.6-1
pipewire-pulse 1:1.6.6-1
qemu-audio-pipewire 11.0.1-1
wireplumber 0.5.14-1
I’m posting here just in case this has something to do with the packaging, I’ll crosspost to pipewire too if I can. I’m leaving the rest here so others can fix it as well if they have the issue.
Thanks for all the hard work to the CachyOS team.