config/media/pipewire.md: document use of wireplumber#738
Conversation
|
Could we maybe also have a brief description of "Why"? I don't know why these things matter and I'm curious. |
|
@Vaelatern I've added a new introductory sentence to this section. Does that provide sufficient context? |
|
Yes, thank you, that helps! |
|
Also, I don't think there is a way to guarantee that the wireplumber.desktop script runs after pipewire. (correct me if I am wrong) The previous PR changed the pipewire docs to reccomend using (Also, there is Although keep in mind:
|
| > `pipewire` and `wireplumber` from a `.xinitrc` script, it may be necessary to | ||
| > create a new shell script suitable for passing to `dbus-run-session` that will | ||
| > launch `pipewire`, `wireplumber` and the window manager or desktop environment | ||
| > in a common D-Bus session. |
There was a problem hiding this comment.
I really don't like recommending a solution like this, people will be confused and go to ask in #voidlinux a lot. We should at least say suggest people to prefer using their wm's startup scripts over xinitrc if this is an issue.
There was a problem hiding this comment.
How about I strike the "when launching from .xinitrc" paragraph (to avoid endorsing that as a solution) and change the note to
In its default configuration,
wireplumberrequires an active D-Bus session. When using Desktop Application Autostart symlinks, it should be sufficient to wrap the launch of a window manager or desktop environment indbus-run-session. Users of window managers that do not respect the autostart mechanism should consult upstream documentation regarding the process for automatically starting programs at launch.
At some point, we have to be willing to tell people that this isn't Ubuntu and they might need to do some learning on their own.
|
We should not ship configs that enable wireplumber by default when the default is to not do that. It will eventually land us in the same mess we are now trying to resolve. I'm currently using two |
|
If/when use of |
No. That information is already described in pipewire.conf(5) so there is no need to reproduce it here. |
|
I rewrote some things to prefer custom configuration edits that will make |
| sources and sinks as well as enforcing routing policy. Without a session | ||
| manager, PipeWire will not function. The reference | ||
| [`pipewire-media-session`](https://gitlab.freedesktop.org/pipewire/media-session) | ||
| package was originally provided and, in Void, configured to run by default to |
There was a problem hiding this comment.
I think this sounds better?
| package was originally provided and, in Void, configured to run by default to | |
| package was originally provided and, in Void and configured to run by default to |
There was a problem hiding this comment.
I reworded to
| package was originally provided and, in Void, configured to run by default to | |
| package was originally provided in the Void `pipewire` package and configured to run by default to |
When we actually remove
pipewire-media-sessionand don't overridecontext.execin the defaultpipewire.conf, the configuration part will need to be rewritten.