-
-
Save folliehiyuki/e037a36253d5b07a790a07a53c502c92 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Install the pipewire package and this minimal set of required plugins: | |
libspa-alsa-0.3.17_1 # The alsa backend | |
libspa-audioconvert-0.3.17_1 | |
libspa-audiomixer-0.3.17_1 # For mixing multiple streams | |
(these should be eventually added as dependencies to pipewire, basic functionality doesn't work without them) | |
2) Start the pipewire server as user: | |
$ pipewire | |
This is enough to play audio with `pw-play song.wav` | |
== Using Pipewire as a Pulseaudio replacement == | |
In addition to the above, | |
1) Uncomment the following line in /etc/pipewire/pipewire.conf: | |
#exec /usr/bin/pipewire-pulse | |
NOTE: I didn't have pulseaudio installed, which might conflict due to dbus magic (probably not, nobody reported this) | |
== ALSA integration (make libasound clients use pipewire) == | |
1) Install alsa-pipewire | |
2) Enable the pipewire alsa device and make it the default device: | |
# mkdir -p /etc/alsa/conf.d | |
# ln -s /usr/share/alsa/alsa.conf.d/50-pipewire.conf /etc/alsa/conf.d | |
# ln -s /usr/share/alsa/alsa.conf.d/99-pipewire-default.conf /etc/alsa/conf.d | |
== TODO: Investigate (non-fatal) errors == | |
[E][000001705.850547][bluez-monitor.c:453 sm_bluez5_monitor_start()] can't load api.bluez5.enum.dbus: No such file or directory | |
[E][000001705.974450][core.c:71 core_event_error()] core 0x560d1f4c12a0: proxy 0x560d1f4f7420 id:4: bound:-1 seq:4 res:-2 (No such file or directory) msg:"can't create device: No such file or directory" | |
[E][000001705.974485][media-session.c:1991 core_error()] error id:4 seq:4 res:-2 (No such file or directory): can't create device: No such file or directory | |
Last two go away when libspa-jack is installed (is it because I have jack installed? or due to /etc/pipewire/media-session.d/with-jack?) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment