Skip to main content
Topic: Pipewire doesn't work on OpenRC (Read 2173 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Pipewire doesn't work on OpenRC

Pipewire does not work correctly in OpenRC distributions such as Artix Linux and Devuan. When attempting to share the screen via a browser or any WebRTC application (like Zoom), the system returns an error:
Code: [Select]
Failed to start screencasting: Failed to connect PipeWire context
wpctl status returns an error:
Code: [Select]
Could not connect to PipeWire
At the same time, the pipewire, pipewire-pulse, and wireplumber packages are installed. The pipewire-openrc package is also installed.
Is it possible to use Pipewire together with OpenRC? What settings need to be configured?
My system:
Distribution: Artix Linux
Init: OpenRC
DE: Plasma 6.4
Display server: Wayland

Re: Pipewire doesn't work on OpenRC

Reply #1
I don't use PW but have you installed and activated pipewire-openrc and pipewire-pulse-openrc?

Re: Pipewire doesn't work on OpenRC

Reply #2
I have used pipewire for a longer time as an early adopter til I ve found out that I am an alsa guy.
Pipewire with pulse audio and jack modules was stable running here for some years on several machines.
I think,  claiming that pipewire isnĀ“t working correctly on openrc based systems is not smart.
What is making me wonder here:
One would think that an a desktop environment  like KDE comes with fully integrated ready to use audiostack (pipewire).


Re: Pipewire doesn't work on OpenRC

Reply #3
I don't use OpenRC, but i just wanted to mention that there are known problems with screen sharing and using things like Zoom etc, when using Wayland. I'm not saying that's the OP's problem, but it could be.... try using an X session instead and see if that works?

Re: Pipewire doesn't work on OpenRC

Reply #4
Code: [Select]
rc-update add -U pipewire default
rc-update add -U pipewire-pulse default
rc-update add -U wireplumber default

Enables audio.

Re: Pipewire doesn't work on OpenRC

Reply #5
Code: [Select]
rc-update add -U pipewire default
rc-update add -U pipewire-pulse default
rc-update add -U wireplumber default

Enables audio.
Yes.
And if there is no login manager, but just an .xinit start script in /home you have to start pipewire, pipewise-seesion /wireplumber) and probably the pulse to pipewire thing.
So, to summarize: you can install Plasma Desktop environment and there is then no sound integration. Really?
My impression was, that if I am an installing a full blown DE: Plasma 6.4 then there is a sound stack allready there.
I guess DE means also systemsettings and bluetooth settings.
I guess there must be then a dependency pulled for bluetooth integration which is only happening with pulse or pipewire.
I mean I am using bluetooth withouth all that, but I do not have that comfort: I need to scan for bluetooth devices myself, thenn I have to edit my xinit, log out and in again and then I can start bluealsa

Re: Pipewire doesn't work on OpenRC

Reply #6
I just did an install using artix-plasma-openrc-20250901-x86_64.iso

Then did a check for the openrc user services:

Code: [Select]
$ rc-status -U
Runlevel: default
 dbus               [  started 00:01:11 (0) ]
 pipewire           [  started 00:01:11 (0) ]
 wireplumber        [  started 00:01:11 (0) ]
 pipewire-pulse     [  started 00:01:11 (0) ]

Tested sound from an application which worked without problem.

Where exactly does your installation experience deviate from the above? Please share details so we can check.

artist



Re: Pipewire doesn't work on OpenRC

Reply #7

And if there is no login manager, but just an .xinit start script in /home you have to start pipewire, pipewise-seesion /wireplumber) and probably the pulse to pipewire thing.



Huh? How is this related to starting user services?


So, to summarize: you can install Plasma Desktop environment and there is then no sound integration. Really?
My impression was, that if I am an installing a full blown DE: Plasma 6.4 then there is a sound stack allready there.

Your expectations and realities are two different things.
openrc just gained recently user services, which have been implemented for openrc iso, ie audio works.
Dinit is the other init currently supporting user services.

If you install plasma s6 or runit, there is no audio out of the box.

Most desktop software these days is built around systemd, and you are using a no systemd distro.
You need to change expectations and catch up with what or what not you are actually using.

Really.

Re: Pipewire doesn't work on OpenRC

Reply #8
@artoo
thanks for the  information and the reminder.
So KDE PLasma is not always coming with sound.
And some stuff is depending on systemd and will not work on Artix Linux.
Never saw those things, but yeah - if you say so I am believing that.