GNU bug report logs -
#68512
Qutebrowser 3, no sound from pipewire-only system
Previous Next
Reported by: chris <chris <at> bumblehead.com>
Date: Tue, 16 Jan 2024 16:45:01 UTC
Severity: normal
Done: chris <chris <at> bumblehead.com>
Bug is archived. No further changes may be made.
Full log
Message #23 received at 68512 <at> debbugs.gnu.org (full text, mbox):
chris <chris <at> bumblehead.com> writes:
> On 1月16日 火, Sergey Trofimov wrote:
>
>> How is pipewire configured on your system? The thing is that
>> qtwebengine <at> 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 &))
> ```
Well, qtwebengine doesn't link with PipeWire anyway, you have to
use either PulseAudio or ALSA. Here is an example
~/.config/alsa/asoundrc on my system, created by
home-pipewire-service-type. If you add such file to your setup -
qutebrowser should be able to use alsa lib to output audio through
pipewire.
--8<---------------cut here---------------start------------->8---
</gnu/store/a331f91m9g8898lccyj7fniqsyv406y9-pipewire-1.0.0/share/alsa/alsa.conf.d/50-pipewire.conf>
</gnu/store/a331f91m9g8898lccyj7fniqsyv406y9-pipewire-1.0.0/share/alsa/alsa.conf.d/99-pipewire-default.conf>
pcm_type.pipewire {
lib
"/gnu/store/a331f91m9g8898lccyj7fniqsyv406y9-pipewire-1.0.0/lib/alsa-lib/libasound_module_pcm_pipewire.so"
}
ctl_type.pipewire {
lib
"/gnu/store/a331f91m9g8898lccyj7fniqsyv406y9-pipewire-1.0.0/lib/alsa-lib/libasound_module_ctl_pipewire.so"
}
--8<---------------cut here---------------end--------------->8---
This bug report was last modified 1 year and 114 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.