wireplumber configuration expects pipewire built with v4l else it fails with the following error: systemd[1108]: Started Multimedia Service Session Manager. Sep 14 13:07:46 gentoo wireplumber[213275]: SPA handle 'api.v4l2.enum.udev' could not be loaded; is it installed? Sep 14 13:07:46 gentoo wireplumber[213275]: wplua_pushobject: assertion 'G_IS_OBJECT (object)' failed Sep 14 13:07:46 gentoo wireplumber[213275]: Runtime error while loading 'v4l2.lua' Sep 14 13:07:46 gentoo wireplumber[213275]: [string "v4l2.lua"]:134: attempt to call a nil value (method 'connect') stack traceback: [string "v4l2.lua"]:134: in local 'chunk' [string "sandbox.lua"]:95: in function 'sandbox' Sep 14 13:07:46 gentoo wireplumber[213275]: disconnected from pipewire Sep 14 13:07:46 gentoo systemd[1108]: wireplumber.service: Main process exited, code=exited, status=70/SOFTWARE Sep 14 13:07:46 gentoo systemd[1108]: wireplumber.service: Failed with result 'exit-code'. Reproducible: Always Steps to Reproduce: 1. build media-video/pipewire "-v4l" 2. start media-video/wireplumber: start fails 3. Actual Results: wireplumber fails to start Expected Results: wireplumber starts seems a configuration problem that can be mitigated by v4l use flag in pipewire
Thank you for noticing and reporting this. This should get fixed upstream soon enough (famous last words?) and we'll backport the fixes then if there's no imminent release in sight. For better or worse there's already open PR for a slight ebuild improvement/fix, so that can be reused if it's still unmerged by then.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=282db130198575413021b639ded1afcec46a8cf0 commit 282db130198575413021b639ded1afcec46a8cf0 Author: Niklāvs Koļesņikovs <89q1r14hd@relay.firefox.com> AuthorDate: 2021-09-15 11:35:50 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-09-15 17:06:11 +0000 media-video/wireplumber: fix errors on missing BlueZ and V4L Two of the commits have not yet been accepted upstream but they were prepared with the help of upstream and should be in acceptably good quality to use until a fixed release is made. https://gitlab.freedesktop.org/pipewire/wireplumber/-/merge_requests/214 Thanks-to: Pascal Flöschel (initial bug report) Thanks-to: George Kiagiadakis <george.kiagiadakis@collabora.com> Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994085 Closes: https://bugs.gentoo.org/813043 Signed-off-by: Niklāvs Koļesņikovs <89q1r14hd@relay.firefox.com> Closes: https://github.com/gentoo/gentoo/pull/22290 Signed-off-by: Sam James <sam@gentoo.org> ...4.2-bluez-add-basic-check-for-nil-monitor.patch | 42 +++++++++ ...ice-demote-missing-SPA-warning-to-message.patch | 28 ++++++ ...ix-object-constructors-to-fail-gracefully.patch | 100 +++++++++++++++++++++ ...0.4.2-v4l-add-basic-check-for-nil-monitor.patch | 42 +++++++++ .../wireplumber/wireplumber-0.4.2-r1.ebuild | 6 +- 5 files changed, 217 insertions(+), 1 deletion(-)