HDMI audio switched monitors

I have a dual display setup with one monitor in from of me with a soundbar and the other behind me. I had a power outage and after I rebooted, I had no sound out of the soundbar. I tracked it down to everything working but the sound is now going to the other monitor. I tried turning off each monitor and that made no difference, What ever I do, I can’t get the sound to switch back. Here are the various command outputs for info:

inxi -Ax

Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
    driver: snd_hda_intel v: kernel bus-ID: 00:03.0
  Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Holco
    Enterprise Co /Shuttle 8 driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
  API: ALSA v: k6.5.13-7-MANJARO status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.3 status: off
  Server-3: PulseAudio v: 17.0 status: active

aplay -L

null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PulseAudio Sound Server)
hdmi:CARD=HDMI,DEV=0
    HDA Intel HDMI, 100027813
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA Intel HDMI, 100094417
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA Intel HDMI, HDMI 2
    HDMI Audio Output
usbstream:CARD=HDMI
    HDA Intel HDMI
    USB Stream Output
sysdefault:CARD=PCH
    HDA Intel PCH, ALC892 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    Front output / input
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Digital
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output

pacmd dump

### Configuration dump generated at Fri Apr 26 20:24:17 2024

load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
load-module module-augment-properties
load-module module-switch-on-port-available
load-module module-udev-detect
load-module module-alsa-card device_id="0" name="pci-0000_00_03.0" card_name="alsa_card.pci-0000_00_03.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1"
load-module module-alsa-card device_id="1" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1"
load-module module-bluetooth-policy
load-module module-bluetooth-discover
load-module module-bluez5-discover
load-module module-dbus-protocol
load-module module-native-protocol-unix
load-module module-gsettings
load-module module-default-device-restore
load-module module-always-sink
load-module module-intended-roles
load-module module-suspend-on-idle
load-module module-systemd-login
load-module module-position-event-sounds
load-module module-filter-heuristics
load-module module-filter-apply
load-module module-cli-protocol-unix

set-sink-volume alsa_output.pci-0000_00_1b.0.iec958-stereo 0x10000
set-sink-mute alsa_output.pci-0000_00_1b.0.iec958-stereo no
suspend-sink alsa_output.pci-0000_00_1b.0.iec958-stereo no
set-sink-volume alsa_output.pci-0000_00_03.0.hdmi-stereo 0x10000
set-sink-mute alsa_output.pci-0000_00_03.0.hdmi-stereo no
suspend-sink alsa_output.pci-0000_00_03.0.hdmi-stereo no

set-source-volume alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor 0x10000
set-source-mute alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor no
suspend-source alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor no
set-source-volume alsa_output.pci-0000_00_03.0.hdmi-stereo.monitor 0x10000
set-source-mute alsa_output.pci-0000_00_03.0.hdmi-stereo.monitor no
suspend-source alsa_output.pci-0000_00_03.0.hdmi-stereo.monitor no

set-card-profile alsa_card.pci-0000_00_03.0 output:hdmi-stereo
set-card-profile alsa_card.pci-0000_00_1b.0 output:iec958-stereo

set-default-sink alsa_output.pci-0000_00_03.0.hdmi-stereo
set-default-source alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor

### EOF

I should add the computer has 2 display ports and an HDMI port and I think I have the main monitor with the sound bar connected to HDMI. I had to order an extra long HDMI to Display port cable and the display port end is on the monitor. I may have switch the Display port cables though. While power was off I used the opportunity to swap out the CMOS battery as I had one rigged up and metal was poking through the shrink wrap. The original battery was under the heat sink so I soldered the wire to a new battery. Now I have a hard plastic case with long leads so it doesn’t sit under the heat sink anymore.

Welcome to Manjaro! :smiling_face_with_three_hearts:

  1. Please read the information behind this link. It will help you to post necessary information.
  1. Please press the three dots below your post and then press the :pencil2:
  • If you give us information about your system, we can see what we’re talking about and make better suggestions.
  • You can do this by using inxi in a terminal or in console.
sudo inxi --verbosity=8 --filter --width 
  • Personally identifiable information such as serial numbers and MAC addresses are filtered out by this command
  • Presenting the information in this way allows everyone to be familiar with the format and quickly find the items they need without missing anything.
  1. Copy the output from inxi (including the command) and paste it into your post.
  • To make it more readable, add 3 backticks ``` on an extra line before and after the pasted text.

Have you already :mag: for your problem in the forum ? (Wisdom lies in asking → listening → reading :wink: )

System:
 Kernel: 6.5.13-7-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
   clocksource: tsc avail: hpet,acpi_pm
   parameters: BOOT_IMAGE=/boot/vmlinuz-6.5-x86_64
   root=UUID=4e18be9d-1c64-41af-8e57-e7ca2cf5b6ee rw quiet apparmor=1
   security=apparmor udev.log_priority=3
 Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 wm: xfwm4 v: 4.18.0
   with: xfce4-panel tools: light-locker dm: LightDM v: 1.32.0 Distro: Manjaro
   base: Arch Linux
Machine:
 Type: Desktop System: Shuttle product: DS81D v: V1.0 serial: N/A
 Mobo: Shuttle model: FS81 v: 1.0 serial: <filter> part-nu: 1.0
   uuid: 03000200-0400-0500-0006-000700080009 UEFI: American Megatrends v: 3.14
   date: 09/17/2018
Battery:
 Device-1: hid-36:11:5c:33:02:3a-battery model: Bluetooth 5.1 Keyboard
   serial: N/A charge: N/A status: discharging
Memory:
 System RAM: total: 16 GiB available: 15.51 GiB used: 3.76 GiB (24.2%)
   igpu: 64 MiB
 Array-1: capacity: 32 GiB slots: 4 modules: 2 EC: None
   max-module-size: 8 GiB note: est.
 Device-1: ChannelA-DIMM0 type: DDR3 detail: synchronous size: 8 GiB
   speed: 1600 MT/s volts: curr: 1.5 min: 1.35 max: 1.5 width (bits): data: 64
   total: 64 manufacturer: Crucial part-no: CT102464BF160B.C16
   serial: <filter>
 Device-2: ChannelA-DIMM1 type: no module installed
 Device-3: ChannelB-DIMM0 type: DDR3 detail: synchronous size: 8 GiB
   speed: 1600 MT/s volts: curr: 1.5 min: 1.35 max: 1.5 width (bits): data: 64
   total: 64 manufacturer: Crucial part-no: CT102464BF160B.C16
   serial: <filter>
 Device-4: ChannelB-DIMM1 type: no module installed
PCI Slots:
 Slot: 0 type: PCIe lanes: 16 status: in use info: J6B2 length: long
   volts: 3.3 bus-ID: 00:01.0
 Slot: 1 type: PCIe lanes: 1 status: in use info: J6B1 length: short
   volts: 3.3 bus-ID: 00:1c.3 children: 1: 03:00.0 class-ID: 0200 type: network
 Slot: 2 type: PCIe lanes: 1 status: in use info: J6D1 length: short
   volts: 3.3 bus-ID: 00:1c.4
 Slot: 3 type: PCIe lanes: 1 status: in use info: J7B1 length: short
   volts: 3.3 bus-ID: 00:1c.5
 Slot: 4 type: PCIe lanes: 1 status: in use info: J8B4 length: short
   volts: 3.3 bus-ID: 00:1c.6
CPU:
 Info: model: Intel Core i7-4785T socket: BGA1155 bits: 64 type: MT MCP
   arch: Haswell gen: core 4 level: v3 note: check built: 2013-15
   process: Intel 22nm family: 6 model-id: 0x3C (60) stepping: 3
   microcode: 0x28
 Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
   L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
   L3: 8 MiB desc: 1x8 MiB
 Speed (MHz): avg: 1381 high: 2195 min/max: 800/3200 base/boost: 2200/3800
   scaling: driver: intel_cpufreq governor: schedutil volts: 1.2 V
   ext-clock: 100 MHz cores: 1: 800 2: 800 3: 2175 4: 1300 5: 2195 6: 800
   7: 800 8: 2183 bogomips: 35132
 Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2
   bts clflush cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
   dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
   fsgsbase fxsr ht ibpb ibrs ida invpcid invpcid_single lahf_lm lm mca mce
   md_clear mmx monitor movbe msr mtrr nonstop_tsc nopl nx pae pat pbe pcid
   pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand
   rdtscp rep_good sdbg sep smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3
   stibp syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx
   vnmi vpid x2apic xsave xsaveopt xtopology xtpr
 Vulnerabilities:
 Type: gather_data_sampling status: Not affected
 Type: itlb_multihit status: KVM: VMX disabled
 Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
   vulnerable
 Type: mds mitigation: Clear CPU buffers; SMT vulnerable
 Type: meltdown mitigation: PTI
 Type: mmio_stale_data status: Unknown: No mitigations
 Type: retbleed status: Not affected
 Type: spec_rstack_overflow status: Not affected
 Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
   prctl
 Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
   sanitization
 Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
   STIBP: conditional, RSB filling, PBRSB-eIBRS: Not affected
 Type: srbds mitigation: Microcode
 Type: tsx_async_abort status: Not affected
Graphics:
 Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics
   vendor: Holco Enterprise Co /Shuttle driver: i915 v: kernel arch: Gen-7.5
   process: Intel 22nm built: 2013 ports: active: DP-1,HDMI-A-3 empty: DP-2,
   HDMI-A-1, HDMI-A-2, VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0412 class-ID: 0300
 Display: x11 server: X.Org v: 21.1.12 with: Xwayland v: 23.2.6
   compositor: xfwm4 v: 4.18.0 driver: X: loaded: modesetting
   alternate: fbdev,vesa dri: crocus gpu: i915 display-ID: :0.0 screens: 1
 Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x286mm (40.00x11.26")
   s-diag: 1055mm (41.55")
 Monitor-1: DP-1 pos: primary,right model: 100027813 serial: <filter>
   built: 2021 res: 1920x1080 hz: 60 dpi: 80 gamma: 1.2 chroma: red: x: 0.651
   y: 0.329 green: x: 0.318 y: 0.620 blue: x: 0.149 y: 0.071 white: x: 0.314
   y: 0.329 size: 609x348mm (23.98x13.7") diag: 690mm (27.2") ratio: 16:9
   modes: 1920x1080, 1680x1050, 1280x1024, 1440x900, 1280x960, 1280x800,
   1152x864, 1280x720, 1024x768, 832x624, 800x600, 720x576, 720x480, 640x480,
   720x400
 Monitor-2: HDMI-A-3 mapped: HDMI-3 pos: left model: 100094417
   serial: <filter> built: 2022 res: 1920x1080 hz: 60 dpi: 82 gamma: 1.2 chroma:
   red: x: 0.651 y: 0.329 green: x: 0.318 y: 0.620 blue: x: 0.149 y: 0.071
   white: x: 0.314 y: 0.329 size: 598x336mm (23.54x13.23") diag: 685mm (27")
   ratio: 16:9 modes: 1920x1080, 1680x1050, 1280x1024, 1440x900, 1280x960,
   1280x800, 1152x864, 1280x720, 1024x768, 832x624, 800x600, 720x576,
   720x480, 640x480, 720x400
 API: EGL v: 1.5 hw: drv: intel crocus platforms: device: 0 drv: crocus
   device: 1 drv: swrast surfaceless: drv: crocus x11: drv: crocus
   inactive: gbm,wayland
 API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.2-manjaro1.1
   glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 4600 (HSW GT2)
   device-ID: 8086:0412 memory: 1.46 GiB unified: yes
 API: Vulkan v: 1.3.279 layers: 3 device: 0 type: integrated-gpu name: Intel
   HD Graphics 4600 (HSW GT2) driver: mesa intel v: 24.0.2-manjaro1.1
   device-ID: 8086:0412 surfaces: xcb,xlib
Audio:
 Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
   driver: snd_hda_intel v: kernel bus-ID: 00:03.0 chip-ID: 8086:0c0c
   class-ID: 0403
 Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Holco
   Enterprise Co /Shuttle 8 driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
   chip-ID: 8086:8c20 class-ID: 0403
 API: ALSA v: k6.5.13-7-MANJARO status: kernel-api with: aoss
   type: oss-emulator tools: alsactl,alsamixer,amixer
 Server-1: JACK v: 1.9.22 status: off tools: N/A
 Server-2: PipeWire v: 1.0.3 status: n/a (root, process)
   with: pipewire-media-session status: active tools: pw-cli
 Server-3: PulseAudio v: 17.0 status: active (root, process)
   with: pulseaudio-alsa type: plugin tools: pacat,pactl,pavucontrol
Network:
 Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
   vendor: Holco Enterprise Co /Shuttle RTL8111/8168/8411 driver: r8169
   v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 02:00.0
   chip-ID: 10ec:8168 class-ID: 0200
 IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
 IP v4: <filter> type: dynamic noprefixroute scope: global
   broadcast: <filter>
 IP v6: <filter> type: noprefixroute scope: link
 Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
   vendor: Holco Enterprise Co /Shuttle RTL8111/8168/8411 driver: r8169
   v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 03:00.0
   chip-ID: 10ec:8168 class-ID: 0200
 IF: enp3s0 state: down mac: <filter>
 Info: services: mld, NetworkManager, systemd-timesyncd
 WAN IP: <filter>
Bluetooth:
 Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) driver: btusb
   v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-6:5
   chip-ID: 0a12:0001 class-ID: e001
 Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.0
   lmp-v: 6 status: discoverable: no pairing: no class-ID: 6c0104
Logical:
 Message: No logical block device data found.
RAID:
 Message: No RAID data found.
Drives:
 Local Storage: total: 1.49 TiB used: 442.46 GiB (29.0%)
 SMART Message: Required tool smartctl not installed. Check --recommends
 ID-1: /dev/sda maj-min: 8:0 vendor: Fanxiang model: S301 512GB
   size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
   tech: SSD serial: <filter> fw-rev: 195 scheme: GPT
 ID-2: /dev/sdb maj-min: 8:16 vendor: Crucial model: CT1000MX500SSD1
   size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
   tech: SSD serial: <filter> fw-rev: 045 scheme: GPT
 ID-3: /dev/sdc maj-min: 8:32 model: Mass Storage Device size: 119.08 GiB
   block-size: physical: 512 B logical: 512 B type: USB rev: 2.0 spd: 480 Mb/s
   lanes: 1 mode: 2.0 tech: N/A serial: <filter> fw-rev: 1.00 scheme: MBR
 Message: No optical or floppy data found.
Partition:
 ID-1: / raw-size: 112.44 GiB size: 110.37 GiB (98.16%) used: 59 GiB (53.5%)
   fs: ext4 block-size: 4096 B dev: /dev/sda4 maj-min: 8:4 label: Manjaro
   uuid: 4e18be9d-1c64-41af-8e57-e7ca2cf5b6ee
 ID-2: /boot/efi raw-size: 1.79 GiB size: 1.78 GiB (99.80%)
   used: 53.9 MiB (2.9%) fs: vfat block-size: 512 B dev: /dev/sda1 maj-min: 8:1
   label: N/A uuid: 80E5-D996
 ID-3: /home raw-size: 430.78 GiB size: 422.95 GiB (98.18%)
   used: 177.17 GiB (41.9%) fs: ext4 block-size: 4096 B dev: /dev/sdb1
   maj-min: 8:17 label: home uuid: bfa899b9-f545-4ead-a125-da3138006af5
 ID-4: /run/media/gnuorder/Camera raw-size: 119.08 GiB
   size: 119.08 GiB (100.00%) used: 54.65 GiB (45.9%) fs: exfat
   block-size: 512 B dev: /dev/sdc1 maj-min: 8:33 label: Camera
   uuid: E0D1-C26C
 ID-5: /run/media/windows10 raw-size: 160.45 GiB size: 160.45 GiB (100.00%)
   used: 151.59 GiB (94.5%) fs: ntfs block-size: 4096 B dev: /dev/sda3
   maj-min: 8:3 label: Windows 10 uuid: 5208F48108F464FF
Swap:
 Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
   compressor: zstd max-pool: 20%
 ID-1: swap-1 type: partition size: 32.22 GiB used: 512 KiB (0.0%)
   priority: -2 dev: /dev/sda6 maj-min: 8:6 label: N/A
   uuid: 53407d13-0072-41a0-ac00-e7ab77c673cf
Unmounted:
 ID-1: /dev/sda2 maj-min: 8:2 size: 16 MiB fs: N/A label: N/A uuid: N/A
 ID-2: /dev/sda5 maj-min: 8:5 size: 79.77 GiB fs: ext4 label: Ubuntu
   uuid: 0ce37a6d-d76f-4599-ae2e-a701a9836721
 ID-3: /dev/sdb4 maj-min: 8:20 size: 500.7 GiB fs: ntfs label: N/A
   uuid: 0E3C0AAA0E3C0AAA
USB:
 Hub-1: 1-0:1 info: full speed or root hub ports: 2 rev: 2.0
   speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
   class-ID: 0900
 Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 4 rev: 2.0
   speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 8087:8008
   class-ID: 0900
 Hub-3: 2-0:1 info: full speed or root hub ports: 2 rev: 2.0
   speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
   class-ID: 0900
 Hub-4: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0
   speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 8087:8000
   class-ID: 0900
 Hub-5: 3-0:1 info: hi-speed hub with single TT ports: 10 rev: 2.0
   speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
   class-ID: 0900
 Hub-6: 3-2:2 info: Hitachi ports: 4 rev: 2.1 speed: 480 Mb/s (57.2 MiB/s)
   lanes: 1 mode: 2.0 chip-ID: 045b:0209 class-ID: 0900
 Hub-7: 3-2.1:4 info: Hitachi ports: 4 rev: 2.1 speed: 480 Mb/s (57.2 MiB/s)
   lanes: 1 mode: 2.0 chip-ID: 045b:0209 class-ID: 0900
 Device-1: 3-2.1.2:8 info: T & A Mobile Phones TCL TAB 8 LE
   type: <vendor specific> driver: usbfs interfaces: 1 rev: 2.0
   speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
   chip-ID: 1bbb:0c01 class-ID: 0000 serial: <filter>
 Device-2: 3-2.1.3:10 info: Super Top microSD card reader (SY-T18)
   type: mass storage driver: usb-storage interfaces: 1 rev: 2.0
   speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
   chip-ID: 14cd:1212 class-ID: 0806 serial: <filter>
 Device-3: 3-2.1.4:13 info: T & A Mobile Phones Alcatel JOY TAB 2
   type: <vendor specific> driver: usbfs interfaces: 1 rev: 2.0
   speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
   chip-ID: 1bbb:201c class-ID: 0000 serial: <filter>
 Device-4: 3-5:3 info: Areson Corp 2.4G Wireless Receiver
   type: keyboard,mouse driver: hid-generic,usbhid interfaces: 2 rev: 1.1
   speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
   chip-ID: 25a7:fa10 class-ID: 0301
 Device-5: 3-6:5 info: Cambridge Silicon Radio Bluetooth Dongle (HCI mode)
   type: bluetooth driver: btusb interfaces: 2 rev: 2.0
   speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
   chip-ID: 0a12:0001 class-ID: e001
 Hub-8: 3-7:9 info: Genesys Logic Hub ports: 4 rev: 2.0
   speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
   chip-ID: 05e3:0608 class-ID: 0900
 Device-1: 3-8:11 info: Genesys Logic GL827L SD/MMC/MS Flash Card Reader
   type: mass storage driver: usb-storage interfaces: 1 rev: 2.0
   speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
   chip-ID: 05e3:0723 class-ID: 0806
 Hub-9: 4-0:1 info: super-speed hub ports: 2 rev: 3.0
   speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
   class-ID: 0900
 Hub-10: 4-2:2 info: Hitachi ports: 4 rev: 3.0 speed: 5 Gb/s (596.0 MiB/s)
   lanes: 1 mode: 3.2 gen-1x1 chip-ID: 045b:0210 class-ID: 0900
 Hub-11: 4-2.1:3 info: Hitachi ports: 4 rev: 3.0 speed: 5 Gb/s (596.0 MiB/s)
   lanes: 1 mode: 3.2 gen-1x1 chip-ID: 045b:0210 class-ID: 0900
Sensors:
 System Temperatures: cpu: 56.0 C mobo: N/A
 Fan Speeds (rpm): N/A
Repos:
 Packages: pm: pacman pkgs: 2076 libs: 525 tools: pamac,yay pm: flatpak
   pkgs: 0
 Active pacman repo servers in: /etc/pacman.d/mirrorlist
   1: https://mirrors.manjaro.org/repo/stable/$repo/$arch
   2: https://opencolo.mm.fcix.net/manjaro/stable/$repo/$arch
   3: http://ftp.uni-kl.de/pub/linux/manjaro/stable/$repo/$arch
   4: https://mirror.init7.net/manjaro/stable/$repo/$arch
   5: https://mirrors.netix.net/manjaro/stable/$repo/$arch
   6: https://mirror.bouwhuis.network/manjaro/stable/$repo/$arch
   7: https://mirror.ufam.edu.br/manjaro/stable/$repo/$arch
   8: http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/stable/$repo/$arch
Processes:
 CPU top: 5 of 267
 1: cpu: 10.4% command: Xorg pid: 1211 mem: 151.9 MiB (0.9%)
 2: cpu: 6.4% command: scrcpy pid: 2420 mem: 137.8 MiB (0.8%)
 3: cpu: 5.4% command: firefox pid: 4701 mem: 720.4 MiB (4.5%)
 4: cpu: 4.0% command: baloo_file pid: 1763 mem: 40.3 MiB (0.2%)
 5: cpu: 3.4% command: adb pid: 2408 mem: 13.0 MiB (0.0%)
 Memory top: 5 of 267
 1: mem: 720.4 MiB (4.5%) command: firefox pid: 4701 cpu: 5.4%
 2: mem: 319.1 MiB (2.0%) command: firefox pid: 6607 cpu: 2.8%
 3: mem: 296.4 MiB (1.8%) command: firefox pid: 12998 cpu: 2.0%
 4: mem: 231.2 MiB (1.4%) command: firefox pid: 8281 cpu: 0.3%
 5: mem: 218.4 MiB (1.3%) command: firefox pid: 4945 cpu: 1.0%
Info:
 Processes: 267 Power: uptime: 20h 13m states: freeze,standby,mem,disk
   suspend: s2idle avail: shallow wakeups: 0 hibernate: platform avail: shutdown,
   reboot, suspend, test_resume image: 6.2 GiB
   services: upowerd,xfce4-power-manager Init: systemd v: 255
   default: graphical tool: systemctl
 Compilers: clang: 16.0.6 gcc: 13.2.1 alt: 12 Shell: Sudo (sudo) v: 1.9.15p5
   default: Bash v: 5.2.26 running-in: xfce4-terminal inxi: 3.3.34

Using hdajackretask, three hdmi ports show up and I’m able to disable the hdmi port of the monitor with sound but I still can’t get sound out of the other monitor. I don’t know why I can’t direct sound to all of the monitors but only one shows up in the mixer.

OK, it started playing sound out of both monitors. I don’t know what I did but I was listening on headphones to videos on setting up multiple monitors to see if anyone mentioned sound and I took them off and my soundbar was playing. I ran xrandr but didn’t change anything with it. Also pulseaudio mixer now shows hdmi2 and hdmi3 but shows then unavailable and both monitors stop playing when I select them, maybe due to hdajackretask (hdr). I would still like to be able to direct sound to each monitor from different browsers or programs. I will reset things with hdr and see what happens.

Kernel 6.5.13-7 is no longer supported. I suggest you install kernel 6.6

sudo mhwd-kernel -i linux66 

If audio is not working as expected with new kernel, please post more information about audio devices detected in PulseAudio

pactl list cards

Data shows 2 Monitors connected to system

Monitor-1: DP-1 pos: primary,right model: 100027813
Monitor-2: HDMI-A-3 mapped: HDMI-3 pos: left model: 100094417

Which one do you want to use for audio playback ?

PulseAudio automatically creates Profiles for user to control which sink (output) is used for audio playback
To play audio to 2 HDMI sinks at the same time, user can disable automatic profile configuration and use custom profiles - 2 independent sinks outputs and a third sink output to play to both independent sinks simultaneously

1 Like

Well I upgraded the kernel and will reboot after this. I did want monitor 2 to be the primary and fixed that but as for sound, it’s coming out of the right monitor, number 2. Where do I disable the automatic profile and use custom profiles? After I reboot I’ll let you know if I have problems.

To change audio output without information about audio devices:

  • open PulseAudio Volume Control > Configuration tab ( pavucontrol --tab=5 )
  • click on the Profile drop-down menu and select the correct Profile
  • click the padlock icon to lock the Profile

Archwiki has 2 examples for independent audio outputs. More information about audio devices from PulseAudio and ALSA is needed to adapt and implement these examples for a specific system

  1. PulseAudio/Examples - Simultaneous HDMI and analog output
    Create custom PulseAudio module configuration: ~/.config/pulse/default.pa replacing automatic detection modules with static sink modules
  2. PulseAudio/Examples - Independent analog and digital outputs on the same card
    Custom profile: /usr/share/pulseaudio/alsa-mixer/profile-sets/custom-profile.conf
    and a udev rule: /usr/lib/udev/rules.d/91-pulseaudio-custom.rules to load custom-profile for specific audio device