[Pkg-utopia-maintainers] Bug#1014522: pipewire: Regressions in 0.3.53-1

cristianrigamonti at libero.it cristianrigamonti at libero.it
Thu Jul 7 15:51:24 BST 2022


Package: pipewire
Version: 0.3.53-1
Severity: normal

When upgrading pipewire (and all the related packages, see below) from
version 0.3.51-1+b1 to 0.3.53-1 I experienced two problems:


1. Playing videos with mpv and the --keep-open=yes option (to keep the mpv
window open at the end of playback) results in the mpv window always getting
stuck and unresponsive at the end of playback: I have to use xkill to get rid of
the window.

Additionally, while the window is stuck, I get the following error message
periodically in the system log:

  wireplumber[228375]: error reading timerfd: Resource temporarily unavailable

pipewire is configured to replace pulseaudio, as described at
https://wiki.debian.org/PipeWire and mpv is configured to use pulseaudio
(as provided by pipewire) for audio output.


2. Using ffmpeg to record video and audio from the desktop (screencasting)
always results in corrupted files: the video stream is OK, but the audio stream
has errors and is abnormally longer than the video stream

During recording, I get lots of warning messages indicating problems in the
audio stream

  "Non-monotonous DTS in output stream 0:1..."

The command line used is:

  ffmpeg -f x11grab -s 1300x700 -i :0.0+0,0 \
  -f pulse -i alsa_output.pci-0000_00_1b.0.analog-stereo.monitor -ac 1 \
  -crf 17 -preset ultrafast output.mp4

(here again ffmpeg is using the the pulseaudio emulation provided by pipewire)


I never experienced the two problems with previous pipewire versions.

Reverting all the pipewire-related packages (*) to version 0.3.51-1+b1 fixes both problems.
(I also tried different wireplumber versions, but that doesn't seem to be relevant)

(*) Namely: 
  pipewire pipewire-bin pipewire-doc pipewire-audio-client-libraries pipewire-pulse
  pipewire-tests libpipewire-0.3-0 libpipewire-0.3-modules libspa-0.2-modules
  libspa-0.2-bluetooth libspa-0.2-jack 

Notes:

- I haven't tested version 0.3.52-1, so I'm not sure if the regression was
  introduced in 0.3.53 or 0.3.52.

- As the pipewire pulseaudio emulation is involved in both problems, maybe the
  pipewire-pulse package is to be investigated, but I haven't tried reverting
  only that package, as I'm not sure mixing packages with different versions
  could introduce other problems.


-- System Information:
Debian Release: 11.3
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 'stable'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-15-amd64 (SMP w/2 CPU threads)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pipewire depends on:
ii  init-system-helpers      1.60
ii  libpipewire-0.3-modules  0.3.53-1
ii  pipewire-bin             0.3.53-1

pipewire recommends no packages.

pipewire suggests no packages.

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list