Bringing forth runit integration, pipewire and user-services
Martin Steigerwald
martin at lichtvoll.de
Sun Feb 9 18:18:01 GMT 2025
Hi Lorenzo, hi.
Thanks kindly for answering.
Lorenzo - 09.02.25, 12:57:05 MEZ:
> On Sat, 08 Feb 2025 19:41:31 +0100
>
> Martin Steigerwald <martin at lichtvoll.de> wrote:
> > > And again I also wondered about pipewire integration as well. AFAIR
> > > according to some discussion about it this cannot really be handled
> > > as a system service, but needs to be tied to the user session,
> > > probably by DBUS activation.
> > >
> > > Maybe what Alpine does there would be a good approach:
[…]
> > I now did this *exactly* as done in Alpine Linux. Which basically
> > means:
> >
> > - pipewire.desktop => /etc/xdg/autostart
> > - pipewire-launcher.sh => /usr/libexec/pipewire-launcher
> >
> > https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/p
> > ipewire/APKBUILD#L120
> >
> > And then it is XDG autostart which should work with all init systems.
> >
> > I will test this over the coming days. But so far it appears to work
> > just fine. I removed Pulseaudio package and sound still works :).
> >
> > One disadvantage is: Services are not stopped on logout. That is why
> > the scripts tries to stop them at the beginning. I am not sure
> > whether stopping on logout could be achieved with DBUS activation. I
> > doubt it.
> >
> > Also of course there is no service supervision. But given the time
> > frame for Trixie this might be the most realistic approach.
>
> could you try with the runit-user-session package? It would be very
> useful to know if it works with wayland.
> https://salsa.debian.org/debian/runit-services/-/tree/user-services?ref_
> type=heads Lack of time to test it is currently the main blocker.
Hmmm, I am still on X11. Last bug that made me switch to X11 again was
full screen mode in Nextcloud Talk giving a black screen.
With Wayland it is like Pulseaudio times. I meanwhile tried it more than
half a dozen of times and every single time within a day or two I had an
issue to cause me to switch back. Fortunately Pipewire seems to be pretty
stable so far. I had not reason to switch back to Pulseaudio so far.
Would a test on X11 also help?
If not, I could try to test on Wayland. In case I need to switch back
again it means reconfiguring various aspects of my Plasma desktop once
again. :( That is why I am a bit reluctant about it. I usually would have
tested again with Plasma 6.3. I tried to install Plasma 6.3 from
experimental, but got a black screen. So I downgraded to Plasma 6.2 which
took a lot of time. Maybe it was back then that it might require Pipewire,
and Pipewire service was not running, maybe it was a missing package. So I
decided to wait for Plasma 6.3 to enter unstable, cause then apt will make
sure that all necessary packages are upgraded.
I still need to be careful with committing time myself, but I could see
what I can do.
Best,
--
Martin
More information about the Debian-init-diversity
mailing list