You are not logged in.
Pages: 1
Why pipewire? Because, it is considerably more reliable, and is a comfortable drop-in replacement for many use-cases.
How to install and start using pipewire?
It's very simple. First it is recommended to install the metapackage
pipewire-audio
which depends on wireplumber (the recommended session manager), pipewire-pulse (to replace PulseAudio), pipewire-alsa (ALSA) and libspa-0.2-bluetooth (for Bluetooth support). Moreover, installing this metapackage will remove pulseaudio to prevent any conflicts between both sound server.
Next, put these lines to your
.xsessionrc
file
wireplumber &
pipewire &
pipewire-pulse &
Attention! Order is important here!
After installing these packages and configuring your xsession, it is recommended to reboot the system.
P.S.
I also recommend installing a package called
pavucontrol
which makes it easy to adjust the audio outputs.
Last edited by stopAI (2023-08-16 16:14:49)
Offline
pavucontrol dependence pulseaudio-utils, pulseaudio-utils and pipewire-audio Install together ??
Offline
@stopAI
Thanks for the clear and simple instructions. It works! (in daedalus, not in chimaera)
pavucontrol dependence pulseaudio-utils, pulseaudio-utils and pipewire-audio Install together ??
I just installed pipewire-audio and it automatically removed pulseaudio. It did not remove pavucontrol or pulseaudio-utils. Those can coexist, and they they still work.
Offline
pavucontrol dependence pulseaudio-utils, pulseaudio-utils and pipewire-audio Install together ??
No, the pavucontrol package does not depend on pulseaudio-utils.....for pure set up with alsa, install
pipewire-audio
package...
The
pavucontrol
package can be useful if you want to change order of the audio cards, set your audio card as default, etc.
Last edited by stopAI (2023-11-27 17:02:41)
Offline
To the indicated, in my case, I only had to add the following:
pavucontrol-qt (1.2.0-1)
pavucontrol-qt-l10n (1.2.0-1)
Now works.
Thanks!!
Devuan GNU/Linux 5 (daedalus) x86_64
Last edited by leog (2023-11-28 12:45:19)
Offline
I have got the problem that there is no audio after following this instruction.
There also was no .xsessionrc before. Could this be part of the problem?
I am using devuan 5 (daedalus) 64-bit
kernel Linux 6.1.0-13-amd64 x86_64
mate desktop 1.26.0
Last edited by beginner (2023-11-28 20:57:28)
Offline
I don't have .xsessionrc either. I'm using xfce, so I put the start commands in a script and added that script to my desktop startup applications.
It looks like this. Give it a name, make it executable, put it in your path (/usr/local/bin or ~/bin if you have one) and add that script to your startup apps.
#!/usr/bin/env bash
wireplumber &
pipewire &
pipewire-pulse &
You'll need to exit the desktop and log in again for it to take effect. If you still have no sound, run pavucontrol and check the settings, and/or run alsamixer in a terminal and check the settings - F6 will let you select the audio device.
Offline
Somewhere I read the starting order was important... but mine looks different.
~.xsessionrc
# kill any existing pipewire instance to restore sound
pkill -u "$USER" -fx /usr/bin/pipewire-pulse 1>/dev/null 2>&1
pkill -u "$USER" -fx /usr/bin/wireplumber 1>/dev/null 2>&1
pkill -u "$USER" -fx /usr/bin/pipewire 1>/dev/null 2>&1
exec /usr/bin/pipewire &
# wait for pipewire to start before attempting to start related daemons
while [ "$(pgrep -f /usr/bin/pipewire)" = "" ] ; do
sleep 1
done
exec /usr/bin/wireplumber &
exec /usr/bin/pipewire-pulse &
I arrived here by attempting to remove pulseaudio altogether, but too many things were silent.
I can't be certain, I think I got it from this forum. HoaS?
Services, rc-update only has alsa-utils at sysinit level.
The only pulse audio packages I have are the ones that would also take most of the install as well, usually libpulse0, plasma-pa, pipewire-pulse, libpulse-mainloop-glib0. But not apulse.
Just my 2cents worth, hoping this may help someone.
Offline
Pages: 1