Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1019404: wireplumber: doesn't start on non-systemd

136 views
Skip to first unread message

Adam Borowski

unread,
Sep 8, 2022, 2:20:03 PM9/8/22
to
Package: wireplumber
Version: 0.4.11-3
Severity: normal

Hi!
Unlike PulseAudio, the PipeWire stack doesn't get up by itself on systems
that use any init/rc system other than systemd.

It works fine afterwards; so far I've been using this unsightly script:
.--====
#!/bin/sh

pipewire &
sleep 1
wireplumber &
sleep 1
pipewire-pulse &
`----
but that's obviously a monstrosity you don't want. I'm including it here
only as a proof that I've tested PipeWire for sound; it works for me fine
on a bunch of machines


Meow!
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (120, 'experimental'), (1, 'experimental-debug')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-rc4-00016-g13430c8e1a1e (SMP w/64 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages wireplumber depends on:
ii init-system-helpers 1.64
ii libc6 2.35-0experimental2
ii libglib2.0-0 2.73.3-3
ii libpipewire-0.3-0 0.3.57-1
ii libwireplumber-0.4-0 0.4.11-3
ii pipewire 0.3.57-1

Versions of packages wireplumber recommends:
ii pipewire-pulse 0.3.57-1

Versions of packages wireplumber suggests:
pn libspa-0.2-bluetooth <none>

-- no debconf information

matthias....@tutanota.de

unread,
Feb 17, 2023, 1:10:04 PM2/17/23
to
Hi Adam,

running openRC, I just stole this wrapper script from alpine linux:


I moved it to /usr/libexec/pipewire-launcher and it also just *works*. Note that one has to run/call the script though dbus, see https://wiki.alpinelinux.org/wiki/PipeWire#Running. You also will have to kill/disable the pulseaudio daemon/service if using pipewire-pulse.

Matthias

PS: this is kinda needed is you want to enable webrtc screensharing in wayland

u...@nerd2nerd.org

unread,
Aug 2, 2023, 9:00:05 AM8/2/23
to
In addition to the startup issues above, recent versions of the
wireplumber package fail to start in the absence of systemd logind on
the system:
---
M 15:38:55.288462 mod.rt
../src/modules/module-rt.c:278:pw_rtkit_check_xdg_portal: Can't find
xdg-portal: (null)
M 15:38:55.288536 mod.rt
../src/modules/module-rt.c:991:pipewire__module_init: found session bus
but no portal
M 15:38:55.289375 mod.rt
../src/modules/module-rt.c:297:translate_error: RTKit error:
org.freedesktop.DBus.Error.ServiceUnknown
M 15:38:55.289505 mod.rt
../src/modules/module-rt.c:622:set_nice: could not set nice-level to
-11: No such file or directory
M 15:38:55.289691 mod.rt
../src/modules/module-rt.c:297:translate_error: RTKit error:
org.freedesktop.DBus.Error.ServiceUnknown
M 15:38:55.291435 mod.rt
../src/modules/module-rt.c:297:translate_error: RTKit error:
org.freedesktop.DBus.Error.ServiceUnknown
M 15:38:55.291641 mod.rt
../src/modules/module-rt.c:297:translate_error: RTKit error:
org.freedesktop.DBus.Error.ServiceUnknown
M 15:38:55.291654 mod.rt
../src/modules/module-rt.c:843:impl_acquire_rt: could not make thread
27742 realtime using RTKit: No such file or directory
failed to start systemd logind monitor: -2 (No such file or directory)
M 15:38:55.303907 wireplumber ../src/main.c:364:on_disconnected:
disconnected from pipewire
---

This can be fixed by editing
/usr/share/wireplumber/bluetooth.lua.d/50-bluez-config.lua and setting
---
["with-logind"] = false,
---
0 new messages