commit 0d51f3b7 broke PA capture for Flatpak OBS
- PipeWire version (
pipewire --version
): git commit 0d51f3b7 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Gentoo Linux - Desktop Environment: KDE
- Kernel version (
uname -r
): 5.18.1-gentoo-r1 (custom patched with MGLRUv11)
Description of Problem:
Starting with commit 0d51f3b7 Flatpak OBS will abort with failed assert:
Assertion 'uchunk->index % bq->base == 0' failed at ../src/pulsecore/memblockq.c:289, function pa_memblockq_push(). Aborting.
How Reproducible:
Happens every time with commit 0d51f3b7 when using the OBS Flatpak (not sure if the PA capture plugin is part of the default scene or not).
Steps to Reproduce:
- Probably happens with regular OBS as well but I used flatpaked OBS from Flathub:
flatpak run com.obsproject.Studio
- Before or after showing the main window the program will abort and print
Assertion 'uchunk->index % bq->base == 0' failed at ../src/pulsecore/memblockq.c:289, function pa_memblockq_push(). Aborting.
This probably only happens if the PulseAudio desktop capture plugin is in use.
Additional Info
- The commit before the broken one also fails to start the screen capture with possibly KDE reporting in a popup:
Failed to create PipeWire context
whle OBS printswarning: [pipewire] Failed to start screencast, denied or cancelled by user
. However I'll just note that here and deal with it at some other time (I very rarely test OBS and it's pure luck I hit this regression only half a day after it was added).