Skip to content

Instantly share code, notes, and snippets.

@st3r4g
Last active March 28, 2022 21:51
Show Gist options
  • Save st3r4g/6c681a28b0403b3b02636f510ff68039 to your computer and use it in GitHub Desktop.
Save st3r4g/6c681a28b0403b3b02636f510ff68039 to your computer and use it in GitHub Desktop.
Info moved to the official docs: https://docs.voidlinux.org/config/media/pipewire.html
== Troubleshooting ==
- Be sure to have XDG_RUNTIME_DIR setup correctly
- Check that no pulseaudio process is running (`pgrep pulseaudio`)
== System pipewire ==
#!/bin/sh
mkdir -p /run/pipewire
umask 000
PIPEWIRE_RUNTIME_DIR=/run/pipewire pipewire
#!/bin/execlineb -P
foreground { mkdir -p /run/pipewire }
fdmove -c 2 1
s6-env PIPEWIRE_RUNTIME_DIR=/run/pipewire execline-umask 000 pipewire
== System pipewire-pulse
#!/bin/sh
mkdir -p /run/pulse
umask 000
PULSE_RUNTIME_PATH=/run pipewire-pulse
#!/bin/execlineb -P
foreground { mkdir -p /run/pulse }
fdmove -c 2 1
s6-env PULSE_RUNTIME_PATH=/run execline-umask 000 pipewire-pulse
@paper42
Copy link

paper42 commented Jan 24, 2021

It shouldn't be the problem, SBC codec was in pipewire before and SBC is supported by everything. Maybe try disabling the Built-in Audio in pavucontrol under Configuration? @kkga

@kkga
Copy link

kkga commented Jan 25, 2021

Maybe try disabling the Built-in Audio in pavucontrol under Configuration? @kkga

Thanks for the tip. Switching audio profiles back and force between HSP and then back to A2DP makes it work 👍
Have to do this every time I connect the headset or toggle mute though, but it works. Seems to be an issue of pipewire-pulse, because regular pulseaudio works without these workarounds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment