You are not logged in.
Issues with getting audio output from Brave. Brave was installed by
yay -S brave-binThe brave-bin repo was chosen because the regular brave one was huge and took many hours to build, only to fail (several times).
Per a previous post that was similar, here is my output from the commands
sudo fuser -v /dev/snd/* USER PID ACCESS COMMAND
/dev/snd/controlC0: ryan 3584 F.... pipewire-media-
ryan 9860 F.... pulseaudio
/dev/snd/controlC1: ryan 3584 F.... pipewire-media-
ryan 9860 F.... pulseaudio
/dev/snd/controlC2: ryan 3584 F.... pipewire-media-
ryan 9794 F.... kded5
ryan 9860 F.... pulseaudio
ryan 9988 F.... kmix
/dev/snd/pcmC1D1p: ryan 9860 F...m pulseaudio
/dev/snd/seq: ryan 3582 F.... pipewire
/dev/snd/timer: ryan 9860 f.... pulseaudiopacmd list-sinks3 sink(s) available.
index: 0
name: <alsa_output.pci-0000_0b_00.1.hdmi-stereo-extra4>
driver: <module-alsa-card.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9030
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 0
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 1999.82 ms
card: 0 <alsa_card.pci-0000_0b_00.1>
module: 6
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "HDMI 4"
alsa.id = "HDMI 4"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "10"
alsa.card = "0"
alsa.card_name = "HDA ATI HDMI"
alsa.long_card_name = "HDA ATI HDMI at 0xfcda0000 irq 122"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:0b:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:09:00.0/0000:0a:00.0/0000:0b:00.1/sound/card0"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "ab38"
device.product.name = "Navi 10 HDMI Audio"
device.string = "hdmi:0,4"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "hdmi-stereo-extra4"
device.profile.description = "Digital Stereo (HDMI 5)"
device.description = "Navi 10 HDMI Audio Digital Stereo (HDMI 5)"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: yes)
properties:
device.icon_name = "video-display"
device.product.name = "U28E850"
active port: <hdmi-output-4>
index: 1
name: <alsa_output.pci-0000_0d_00.4.iec958-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY
state: RUNNING
suspend cause: (none)
priority: 9038
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 100.86 ms
max request: 17 KiB
max rewind: 17 KiB
monitor source: 1
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
fixed latency: 100.14 ms
card: 1 <alsa_card.pci-0000_0d_00.4>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC1220 Digital"
alsa.id = "ALC1220 Digital"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "1"
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfcc00000 irq 124"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:0d:00.4"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0d:00.4/sound/card1"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "1487"
device.product.name = "Starship/Matisse HD Audio Controller"
device.string = "iec958:1"
device.buffering.buffer_size = "17664"
device.buffering.fragment_size = "2944"
device.access_mode = "mmap"
device.profile.name = "iec958-stereo"
device.profile.description = "Digital Stereo (IEC958)"
device.description = "Starship/Matisse HD Audio Controller Digital Stereo (IEC958)"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
properties:
active port: <iec958-stereo-output>
* index: 2
name: <alsa_output.usb-Cambridge_Audio_Cambridge_Audio_USB_Audio_2.0_0000-00.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9049
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 2
sample spec: s32le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
card: 2 <alsa_card.usb-Cambridge_Audio_Cambridge_Audio_USB_Audio_2.0_0000-00>
module: 23
properties:
alsa.resolution_bits = "32"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "USB Audio"
alsa.id = "USB Audio"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "2"
alsa.card_name = "Cambridge Audio USB Audio 2.0"
alsa.long_card_name = "Cambridge Audio Cambridge Audio USB Audio 2.0 at usb-0000:0d:00.3-1.1, high spe"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "pci-0000:0d:00.3-usb-0:1.1:1.0"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0d:00.3/usb5/5-1/5-1.1/5-1.1:1.0/sound/card2"
udev.id = "usb-Cambridge_Audio_Cambridge_Audio_USB_Audio_2.0_0000-00"
device.bus = "usb"
device.vendor.id = "22e8"
device.vendor.name = "Cambridge Audio"
device.product.id = "dac2"
device.product.name = "DacMagic Plus"
device.serial = "Cambridge_Audio_Cambridge_Audio_USB_Audio_2.0_0000"
device.string = "front:2"
device.buffering.buffer_size = "705600"
device.buffering.fragment_size = "352800"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "DacMagic Plus Analog Stereo"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-usb"
ports:
analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
properties:
active port: <analog-output>pacmd list-sink-inputs1 sink input(s) available.
index: 282
driver: <protocol-native.c>
flags: START_CORKED
state: RUNNING
sink: 1 <alsa_output.pci-0000_0d_00.4.iec958-stereo>
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
muted: no
current latency: 135.10 ms
requested latency: 100.14 ms
sample spec: float32le 2ch 44100Hz
channel map: front-left,front-right
Stereo
resample method: copy
module: 9
client: 33 <Brave>
properties:
application.icon_name = "brave-browser"
media.name = "Playback"
application.name = "Brave"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "34"
application.process.id = "28823"
application.process.user = "ryan"
application.process.host = "torii"
application.process.binary = "brave"
application.language = "en_US.UTF-8"
window.x11.display = ":1"
application.process.machine_id = "34100401e5bc4cfbb318aba36f1cb9e6"
application.process.session_id = "7"
module-stream-restore.id = "sink-input-by-application-name:Brave"Audio plays back fine through other browsers - but something seems to be missing for Brave to be output to my USB audio.
Last edited by rhpittman314 (2020-11-27 09:48:35)
Offline
Try a prebuilt package like one from this repo
https://lonewolf.pedrohlc.com/chaotic-aur/
They build directly from the AUR and are nice guys easily contacted through Telegram or Github.
You can also try to enable pipewire. Go to brave://flags and search pipewire → Enable → Relaunch
Offline
Brave is playing back to the internal audio card instead of the USB card.
pacmd move-sink-input 282 alsa_output.usb-Cambridge_Audio_Cambridge_Audio_USB_Audio_2.0_0000-00.analog-stereodouble check that 282 it will change with every open audio stream. I suggest you install and use pavucontrol to have a GUI that visualises these relations
Last edited by V1del (2020-11-27 09:02:52)
Offline
Fixed with pavucontrol. Thanks!
Offline
Try a prebuilt package like one from this repo
https://lonewolf.pedrohlc.com/chaotic-aur/
They build directly from the AUR and are nice guys easily contacted through Telegram or Github.
Also, thanks for this - added to pacman conf.
Offline