Subject: Re: bug#68512: Qutebrowser 3, no sound from pipewire-only system

From: chris <[email-masked]>
Date: Tue, 16 Jan 2024 12:49:26 -0800

On  1月16日 火, Sergey Trofimov wrote:

> How is pipewire configured on your system? The thing is that qtwebengine@5
> is linked with PulseAudio and ALSA libraries, but @6 is linked only with
> alsa. You probably miss pipewire-alsa compatibility configuration. Do you
> use home-pipewire-service-type? It sets both pulse/alsa shims and it works
> for me this way.

This system does not use dbus and pipewire was configured about a year ago when there were few options for using pipewire out of the box in any sort of way.

Guix home is configured to write a pipewire and three wireplumber config files, as described at this link https://wiki.alpinelinux.org/wiki/PipeWire#Configuration

.config/pipewire/pipewire.conf
.config/wireplumber/wireplumber.conf
.config/wireplumber/main.lua.d/80-disable-dbus.lua
.config/wireplumber/bluetooth.lua.d/80-disable-logind.lua

With with those files in place, pipewire and wireplumber are started sequentially to get working sound. I use this in my .config/sway/config (possibly this is copy-pasted from unmatched-paren)
```
exec_always killall -wqr "(pipewire|wireplumber)" \
  || sleep 1 && ((pipewire &); sleep 2 && (wireplumber &))
```