You are not logged in.

#1 2021-01-04 18:10:23

dcaspar
Member
Registered: 2020-08-12
Posts: 33

Pulse Audio over network fails when Brave browser opens

I've been setting up Pulse audio to play over my home network today, following the instructions outlined here:
https://wiki.archlinux.org/index.php/Pu … er_network

When I boot the client computer everything works fine. I am able to see the sever computer in my pulsemixer and send audio to it without error.
KAraWUb.png
The server is set with a zeroconf name.

The problem is: as soon as I open a browser window the networked audio connection disappears out of pulse mixer.
UY7RcYk.png

The issue is only present when using Brave browser. Firefox is fine.

I have no clue why this might be the case and am not sure exactly where to start on troubleshooting it.
Any help would be really appreciated.

Last edited by dcaspar (2021-01-04 18:35:01)

Offline

#2 2021-01-04 18:28:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 11,851

Re: Pulse Audio over network fails when Brave browser opens

Which variant of brave? IF https://aur.archlinux.org/packages/brave-bin/ and it's dependency list is any indication it's only linked against alsa-lib which would mean you'd need to install pulseaudio-alsa for the ALSA -> pulse bridge. Though that should not screw with the pulse listing but maybe that redirection is an actual issue, any error messages in the pulse logs?

journalctl -b --user-unit=pulseaudio

Last edited by V1del (2021-01-04 18:31:21)

Offline

#3 2021-01-04 18:37:55

dcaspar
Member
Registered: 2020-08-12
Posts: 33

Re: Pulse Audio over network fails when Brave browser opens

The full output of the pulse log is such:

Jan 04 19:11:07 zero-X220i systemd[394]: Starting Sound Service...
Jan 04 19:11:07 zero-X220i pulseaudio[675]: Failed to find a working profile.
Jan 04 19:11:07 zero-X220i pulseaudio[675]: Failed to load module "module-alsa-card" (argument: "device_id="0" name="usb-Arturia_Arturia_KeyStep_32_00000000001A-00" card_name="alsa_card.usb-Arturia_Arturia_>
Jan 04 19:11:07 zero-X220i systemd[394]: Started Sound Service.
Jan 04 19:12:28 zero-X220i pulseaudio[675]: avahi_client_new() failed: An unexpected D-Bus error occurred

It looks like the unexpected D-Bus error is the issue?

Offline

#4 2021-01-04 18:41:49

dcaspar
Member
Registered: 2020-08-12
Posts: 33

Re: Pulse Audio over network fails when Brave browser opens

It is brave-bin. I installed pulseaudio-alsa and the issue persists.

The section pertaining to pulsaudio-alsa on the wiki says:
To prevent this, you will need to install the pulseaudio-alsa package. It contains the necessary /etc/asound.conf for configuring ALSA to use PulseAudio.

However, there is no file installed at /etc/asound.conf -- updatedb, locate didn't find an asound.conf file on my system either.

Last edited by dcaspar (2021-01-04 18:50:50)

Offline

#5 2021-01-05 18:07:26

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,913
Website

Re: Pulse Audio over network fails when Brave browser opens

because it's now located at /etc/alsa/conf.d/99-pulseaudio-default.conf


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#6 2021-01-05 20:48:50

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 11,851

Re: Pulse Audio over network fails when Brave browser opens

I'd also not put it past there being a bug with networked access and the stream information the ALSA -> pulse plugin can provide. To have a bit of a closer comparison, does it work with chromium?

Offline

#7 2021-01-07 16:14:29

dcaspar
Member
Registered: 2020-08-12
Posts: 33

Re: Pulse Audio over network fails when Brave browser opens

I think I might have narrowed this down.
It seems Brave (and Chrome) cause some kind of conflict with avahi-daemon.service, killing it upon launch.
Restarting the service once Brave is running and then restarting pulseaudio gets things up and running again, and they seem happy to coexist once Brave is open.

Last edited by dcaspar (2021-01-07 16:32:18)

Offline

Board footer

Powered by FluxBB