Sound randomly stops

Hi. I’ve been having a weird problem with sound and can’t figure out what causes it and how I can solve it. I have a soundbar connected via optical cable and sometimes there is no sound coming out until I switch to another output and back to this in the settings. The bar below the drop down menu in the sound tab in settings still shows that there should be something coming out, but there is nothing coming out of the sound bar. Can it be a problem with the soundbar and not my OS?

This is mu inxi output

CPU: 8-Core AMD Ryzen 7 3800X (-MT MCP-) speed/min/max: 3685/2200/3900 MHz 
Kernel: 5.12.9-1-MANJARO x86_64 Up: 10m Mem: 3189.9/32097.8 MiB (9.9%) 
Storage: 10.69 TiB (11.5% used) Procs: 387 Shell: Zsh inxi: 3.3.04

and hwinfo --sound output

15: PCI 2800.1: 0403 Audio device                               
  [Created at pci.386]
  Unique ID: iWw1.5XNHVlY7gl6
  Parent ID: ALE3.CS5kfnTSviA
  SysFS ID: /devices/pci0000:00/0000:00:03.1/0000:26:00.0/0000:27:00.0/0000:28:00.1
  SysFS BusID: 0000:28:00.1
  Hardware Class: sound
  Model: "ATI Navi 10 HDMI Audio"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0xab38 "Navi 10 HDMI Audio"
  SubVendor: pci 0x1002 "ATI Technologies Inc"
  SubDevice: pci 0xab38 
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xfcda0000-0xfcda3fff (rw,non-prefetchable)
  IRQ: 87 (538 events)
  Module Alias: "pci:v00001002d0000AB38sv00001002sd0000AB38bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #46 (PCI bridge)

33: PCI 2a00.4: 0403 Audio device
  [Created at pci.386]
  Unique ID: fCoq.s0nSdeysNH4
  Parent ID: JZZT.cMs4xXjZHl5
  SysFS ID: /devices/pci0000:00/0000:00:08.1/0000:2a:00.4
  SysFS BusID: 0000:2a:00.4
  Hardware Class: sound
  Model: "AMD Starship/Matisse HD Audio Controller"
  Vendor: pci 0x1022 "AMD"
  Device: pci 0x1487 "Starship/Matisse HD Audio Controller"
  SubVendor: pci 0x1462 "Micro-Star International Co., Ltd. [MSI]"
  SubDevice: pci 0xcb85 
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xfcc00000-0xfcc07fff (rw,non-prefetchable)
  IRQ: 89 (1418 events)
  Module Alias: "pci:v00001022d00001487sv00001462sd0000CB85bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #27 (PCI bridge)

54: USB 00.0: 0401 Multimedia audio controller
  [Created at usb.122]
  Unique ID: ds7n.E2p8N6Tgkj9
  Parent ID: mZxt.lRoCB54l1cE
  SysFS ID: /devices/pci0000:00/0000:00:08.1/0000:2a:00.3/usb3/3-2/3-2.2/3-2.2:1.0
  SysFS BusID: 3-2.2:1.0
  Hardware Class: sound
  Model: "Logitech Headset H340"
  Hotplug: USB
  Vendor: usb 0x046d "Logitech, Inc."
  Device: usb 0x0a38 "Headset H340"
  Revision: "1.15"
  Driver: "snd-usb-audio"
  Driver Modules: "snd_usb_audio"
  Speed: 12 Mbps
  Module Alias: "usb:v046Dp0A38d0115dc00dsc00dp00ic01isc01ip00in00"
  Driver Info #0:
    Driver Status: snd_usb_audio is active
    Driver Activation Cmd: "modprobe snd_usb_audio"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #69 (Hub)
1 Like

Does this also happen on the LTS kernels? (Install both 5.10 and 5.4 and feed back, please?)

For the future, please always post an inxi --admin --verbosity=7 --filter --no-host --width as that would be the minimum required information we need to help you… (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
:crossed_fingers:

Apologies for the inxi output, here is the expanded information:

    System:
  Kernel: 5.12.9-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.12-x86_64 
  root=UUID=8682ffe7-30e3-4e7a-9ab6-a129b26f1cc7 rw quiet udev.log_priority=3 
  Desktop: GNOME 3.38.4 tk: GTK 3.24.29 wm: gnome-shell dm: GDM 40.0 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Desktop System: Micro-Star product: MS-7B85 v: 1.0 serial: <filter> 
  Mobo: Micro-Star model: B450 GAMING PRO CARBON AC (MS-7B85) v: 1.0 
  serial: <filter> UEFI: American Megatrends LLC. v: 1.F2 date: 02/05/2021 
Battery:
  ID-1: hidpp_battery_0 charge: N/A condition: N/A volts: 3.9 min: N/A 
  model: Logitech G403 Prodigy Wired/Wireless Gaming Mouse type: N/A 
  serial: <filter> status: Discharging 
Memory:
  RAM: total: 31.35 GiB used: 11.8 GiB (37.6%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: 8-Core model: AMD Ryzen 7 3800X bits: 64 type: MT MCP arch: Zen 2 
  family: 17 (23) model-id: 71 (113) stepping: 0 microcode: 8701021 cache: 
  L2: 4 MiB bogomips: 124848 
  Speed: 2962 MHz min/max: 2200/3900 MHz boost: enabled Core speeds (MHz): 
  1: 2962 2: 2209 3: 2154 4: 2060 5: 1988 6: 2382 7: 1921 8: 2622 9: 2401 
  10: 2218 11: 2189 12: 2812 13: 2322 14: 2773 15: 2717 16: 2129 
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 
  bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy 
  constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc 
  cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid 
  fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs irperf lahf_lm lbrv lm 
  mba mca mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc 
  nopl npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq 
  pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse 
  pse36 rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sev sev_es sha_ni 
  skinit smap smca sme smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp 
  succor svm svm_lock syscall tce topoext tsc tsc_scale umip v_vmsave_vmload 
  vgif vmcb_clean vme vmmcall wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr 
  xsaveopt xsaves 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: 
  conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] 
  vendor: Tul driver: amdgpu v: kernel bus-ID: 28:00.0 chip-ID: 1002:731f 
  class-ID: 0300 
  Device-2: Huawei UVC Camera type: USB driver: snd-usb-audio,uvcvideo 
  bus-ID: 3-2.4:14 chip-ID: 12d1:4321 class-ID: 0102 serial: <filter> 
  Display: x11 server: X.org 1.20.11 compositor: gnome-shell driver: 
  loaded: amdgpu,ati unloaded: modesetting,radeon alternate: fbdev,vesa 
  resolution: <missing: xdpyinfo> 
  OpenGL: renderer: AMD Radeon RX 5700 XT (NAVI10 DRM 3.40.0 5.12.9-1-MANJARO 
  LLVM 12.0.0) 
  v: 4.6 Mesa 21.1.2 direct render: Yes 
Audio:
  Device-1: AMD Navi 10 HDMI Audio driver: snd_hda_intel v: kernel 
  bus-ID: 28:00.1 chip-ID: 1002:ab38 class-ID: 0403 
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus-ID: 2a:00.4 chip-ID: 1022:1487 
  class-ID: 0403 
  Device-3: Logitech Headset H340 type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-2.2:7 chip-ID: 046d:0a38 
  class-ID: 0300 
  Device-4: Huawei UVC Camera type: USB driver: snd-usb-audio,uvcvideo 
  bus-ID: 3-2.4:14 chip-ID: 12d1:4321 class-ID: 0102 serial: <filter> 
  Sound Server-1: ALSA v: k5.12.9-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.30 running: no 
Network:
  Device-1: Intel Wireless-AC 9260 driver: iwlwifi v: kernel bus-ID: 21:00.0 
  chip-ID: 8086:2526 class-ID: 0280 
  IF: wlo1 state: down mac: <filter> 
  Device-2: Intel I211 Gigabit Network vendor: Micro-Star MSI driver: igb 
  v: kernel port: f000 bus-ID: 22:00.0 chip-ID: 8086:1539 class-ID: 0200 
  IF: enp34s0 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 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb 
  v: 0.8 bus-ID: 3-4:6 chip-ID: 8087:0025 class-ID: e001 
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends 
Logical:
  Permissions: Unable to run lvs. Root privileges required. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 10.69 TiB used: 1.24 TiB (11.6%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba model: RD500 
  size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 rotation: SSD serial: <filter> rev: ECFA10.1 scheme: GPT 
  ID-2: /dev/sda maj-min: 8:0 vendor: Toshiba model: HDWE140 size: 3.64 TiB 
  block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 7200 rpm serial: <filter> rev: FP1R scheme: GPT 
  ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD30EZRZ-00WN9B0 
  size: 2.73 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 5400 rpm serial: <filter> rev: 0A80 scheme: GPT 
  ID-4: /dev/sdc maj-min: 8:32 vendor: Samsung model: SSD 850 EVO 500GB 
  size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  rotation: SSD serial: <filter> rev: 2B6Q scheme: GPT 
  ID-5: /dev/sdd maj-min: 8:48 vendor: Western Digital model: WD20EZRX-00D8PB0 
  size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 5400 rpm serial: <filter> rev: 0A80 scheme: MBR 
  ID-6: /dev/sde maj-min: 8:64 vendor: Samsung model: SSD 840 EVO 250GB 
  size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  rotation: SSD serial: <filter> rev: DB6Q scheme: GPT 
  ID-7: /dev/sdf maj-min: 8:80 vendor: Samsung model: SSD 850 EVO 1TB 
  size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  rotation: SSD serial: <filter> rev: 2B6Q scheme: GPT 
  ID-8: /dev/sdg maj-min: 8:96 type: USB vendor: Seagate model: ST9500325AS 
  size: 465.76 GiB block-size: physical: 512 B logical: 512 B 
  rotation: 5400 rpm serial: <filter> rev: 1.04 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 250.42 GiB size: 245.49 GiB (98.03%) 
  used: 29.64 GiB (12.1%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2 
  label: N/A uuid: 8682ffe7-30e3-4e7a-9ab6-a129b26f1cc7 
  ID-2: /boot/efi raw-size: 513 MiB size: 512 MiB (99.80%) 
  used: 308 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A 
  uuid: 05C7-8BA2 
  ID-3: /home raw-size: 214.84 GiB size: 210.47 GiB (97.96%) 
  used: 102.14 GiB (48.5%) fs: ext4 dev: /dev/nvme0n1p3 maj-min: 259:3 
  label: N/A uuid: c5c8264e-0464-4a71-9043-e6597c2f34e9 
  ID-4: /mnt/lin_part raw-size: 3.64 TiB size: 3.58 TiB (98.40%) 
  used: 627.03 GiB (17.1%) fs: ext4 dev: /dev/sda1 maj-min: 8:1 
  label: lin_part uuid: 017ba951-61ea-47e7-885f-b8526d3f49f5 
  ID-5: /mnt/lin_ssd raw-size: 232.88 GiB size: 228.23 GiB (98.00%) 
  used: 205.14 GiB (89.9%) fs: ext4 dev: /dev/sde1 maj-min: 8:65 
  label: lin_ssd uuid: 9f4b17d1-a489-439c-ac7d-a8a354a0cf74 
  ID-6: /run/media/pantelis/NAS raw-size: 465.76 GiB 
  size: 465.76 GiB (100.00%) used: 309.37 GiB (66.4%) fs: fuseblk 
  dev: /dev/sdg maj-min: 8:96 label: NAS uuid: 413B055F623434BD 
Swap:
  Alert: No swap data was found. 
Unmounted:
  ID-1: /dev/sdb1 maj-min: 8:17 size: 2.73 TiB fs: <superuser required> 
  label: diskos 3 terata uuid: 521A6F971A6F773F 
  ID-2: /dev/sdc1 maj-min: 8:33 size: 100 MiB fs: <superuser required> 
  label: N/A uuid: 8C80-E5E3 
  ID-3: /dev/sdc2 maj-min: 8:34 size: 16 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
  ID-4: /dev/sdc3 maj-min: 8:35 size: 465.15 GiB fs: <superuser required> 
  label: N/A uuid: A8EC8A28EC89F0BC 
  ID-5: /dev/sdc4 maj-min: 8:36 size: 505 MiB fs: <superuser required> 
  label: N/A uuid: 9480E9F980E9E22A 
  ID-6: /dev/sdd1 maj-min: 8:49 size: 1.82 TiB fs: <superuser required> 
  label: mesa diskos uuid: 4EF088F3F088E317 
  ID-7: /dev/sdf1 maj-min: 8:81 size: 931.51 GiB fs: <superuser required> 
  label: SSD_1_teras uuid: 8620D99820D98F93 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 10 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 1-3:2 info: BUFFALO (formerly Mel ) HD-PVU2 type: Mass Storage 
  driver: usb-storage interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 2mA 
  chip-ID: 0411:0181 class-ID: 0806 serial: <filter> 
  Device-2: 1-9:6 info: SHARKOON Keyboard type: Keyboard,HID 
  driver: hid-generic,usbhid interfaces: 3 rev: 1.1 speed: 12 Mb/s 
  power: 100mA chip-ID: 1ea7:0907 class-ID: 0300 serial: <filter> 
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-4: 3-1:2 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  power: 100mA chip-ID: 1a40:0101 class-ID: 0900 
  Hub-5: 3-2:3 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s 
  power: 100mA chip-ID: 05e3:0610 class-ID: 0900 
  Device-1: 3-2.1:5 info: Logitech USB Receiver type: Keyboard,Mouse,HID 
  driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s 
  power: 98mA chip-ID: 046d:c539 class-ID: 0300 
  Device-2: 3-2.2:7 info: Logitech Headset H340 type: Audio,HID 
  driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 2.0 
  speed: 12 Mb/s power: 120mA chip-ID: 046d:0a38 class-ID: 0300 
  Device-3: 3-2.4:14 info: Huawei UVC Camera type: Video,Audio 
  driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.1 speed: 480 Mb/s 
  power: 2mA chip-ID: 12d1:4321 class-ID: 0102 serial: <filter> 
  Device-4: 3-3:4 info: Micro Star PRO CARBON type: HID 
  driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 12 Mb/s 
  power: 500mA chip-ID: 1462:7b85 class-ID: 0300 serial: <filter> 
  Device-5: 3-4:6 info: Intel Wireless-AC 9260 Bluetooth Adapter 
  type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s 
  power: 100mA chip-ID: 8087:0025 class-ID: e001 
  Hub-6: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-7: 4-2:2 info: Genesys Logic Hub ports: 4 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 05e3:0612 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 49.9 C mobo: 0 C gpu: amdgpu temp: 55.0 C 
  mem: 60.0 C 
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1190 
Info:
  Processes: 423 Uptime: 1d 6h 59m wakeups: 70 Init: systemd v: 248 
  tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.0 Packages: pacman: 1421 
  lib: 392 Shell: Zsh v: 5.8 running-in: gnome-terminal inxi: 3.3.04

I’ve had the same problem on 5.10 as well, I will check with 5.4 and let you know. It’s random and sporadic, some days I get it all the time and some days I don’t get it at all.

1 Like