PipeWire: pipewire-media-session vs wireplumber

Just switched to wireplumber on an Arch-Gnome box and sound (including on Bluetooth) seems to be working fine so far.

1 Like

Oddly enough, this folder is back in a recent installation where all .config files were recreated, although now only PipeWire is running. However, the folder contains only one file named cookie.

1 Like

That’s the way it’s supposed to be. When being deleted, this folder is instantly recreated after log in with virgin settings.
This folder is needed, no matter if pulseaudio or pipewire are running.

3 Likes

Same here, running with pipewire-media-session, but I think it is expected behaviour caused by:
local/pipewire-pulse 1:0.3.40-1 cause many things depend on that I suppose.

According to Arch Wiki:

PulseAudio clients

Install pipewire-pulse. It will replace pulseaudio and pulseaudio-bluetooth. Reboot, re-login or execute systemctl start --user pipewire-pulse.service to see the effect.

Normally, no further action is needed, as the user service pipewire-pulse.socket should be enabled automatically by the package. To check if the replacement is working, run the following command and see the output:

$ pactl info

... Server Name: PulseAudio (on PipeWire 0.3.32) ...

My pactl info:

Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 46
Tile Size: 65472
User Name: myusername
Host Name: myhostname
Server Name: PulseAudio (on PipeWire 0.3.40)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo
Default Source: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
Cookie: 1aac:47f2

So according to Arch Wiki this is as expected:
Server Name: PulseAudio (on PipeWire 0.3.40)

And this is propably a reason behind this single “cookie” file:
Cookie: 1aac:47f2

Apart from my previous wonderings I finally decided to stay with pipewire-media-session for a while because it seems like for now there is more documentation and “mentions” on the Internet about it than for the WirePlumber and it works for me after all.

2 Likes

WirePlumber > in German: Drahtklempner … who always thinks up these totally stupid names …

Ist wohl eine schräge Umschreibung fßr Elektriker. :wink:

Oftmals ist es besser, diese verschwurbelten Namen lieber NICHT zu Ăźbersetzen :astonished:

So if you happen to need automatic bluetooth headphone profile swithcing, this can only be archived with pipewire-media-session currently. Wireplumber doesn’t have this kind of functionality at the moment but it will propably come in the future. Of course you can do this manually everytime you happen to need to do video call etc.

Also there seems to be some regressions after 0.3.38 version where this functionality seems to be a little hit and miss. Some are reporting that it works with the newest 0.3.40 version (after it broke on .39).

Automatic Bluetooth profile switching (#640) ¡ Issues ¡ PipeWire / pipewire ¡ GitLab

Wireplumber feature is on the works: https://gitlab.freedesktop.org/pipewire/wireplumber/-/merge_requests/200

4 Likes