Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: PipeWire instead PulseAudio
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1245

PostPosted: Sun Jan 31, 2021 7:40 am    Post subject: HOWTO: PipeWire instead PulseAudio Reply with quote

1. Install PipeWire
Code:
 ~ $ emerge -avtp pipewire

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R    ] media-video/pipewire-0.3.20:0/0.3::gentoo  USE="X ffmpeg pulseaudio vulkan -bluetooth -debug -doc -gstreamer -jack -systemd -test" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

2. Disable PulseAudio autostart
Code:
~ $ grep -i spawn /etc/pulse/client.conf
autospawn = no

3. Enable PipiWire-Pulse
Code:
 ~ $ cat /etc/pipewire/pipewire.conf
    ...
    #
    # You can optionally start the pulseaudio-server here as well
    # but it better to start it as a systemd service.
    # It can be interesting to start another daemon here that listens
    # on another address with the -a option (eg. -a tcp:4713)
    #
    "/usr/bin/pipewire-pulse" = { "#args" = "-a tcp:4713" }
}

4. Add PipeWire to AutoStart.
Code:
 ~ $ cat .xinitrc
#!/bin/bash
/usr/bin/pipewire &
KWIN_USE_INTEL_SWAP_EVENT=1 exec /usr/bin/startplasma-x11


Code:
~ $ ps aux | grep -i pulse
user+  3575  0.2  0.1 100584 25768 tty1     SLl  12:26   0:19 /usr/bin/pipewire-pulse
user+ 26639  0.0  0.0   8508   572 pts/1    S+   14:39   0:00 grep --colour=auto -i pulse
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum