Randomly No Audio Devices

Sometimes when the computer is booted there will be no audio devices. Restarting once (sometimes twice is needed) will fix the issue but is a pain.

Anyone else seeing this issue and/or know a fix?

1 Like
System:
  Kernel: 5.13.5-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64 
  root=UUID=a1ac60ad-31da-4927-aaa5-ca82d1c1cf81 rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: KDE Plasma 5.22.4 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Convertible System: ASUSTeK product: ZenBook UX564EH_Q528EH v: 1.0 
  serial: <filter> 
  Mobo: ASUSTeK model: UX564EH v: 1.0 serial: <filter> 
  UEFI: American Megatrends LLC. v: UX564EH.303 date: 01/11/2021 
Battery:
  ID-1: BAT0 charge: 95.8 Wh (100.0%) condition: 95.8/96.0 Wh (99.7%) 
  volts: 11.7 min: 11.7 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A 
  status: Not charging cycles: 3 
  Device-1: hid-0018:04F3:2C26.0001-battery model: ELAN9009:00 04F3:2C26 
  serial: N/A charge: N/A status: N/A 
Memory:
  RAM: total: 15.32 GiB used: 3.13 GiB (20.5%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Quad Core model: 11th Gen Intel Core i7-1165G7 bits: 64 type: MT MCP 
  arch: Tiger Lake family: 6 model-id: 8C (140) stepping: 1 microcode: 88 
  cache: L2: 12 MiB bogomips: 44864 
  Speed: 2087 MHz min/max: 400/4700 MHz Core speeds (MHz): 1: 2087 2: 1201 
  3: 1149 4: 1384 5: 1102 6: 1556 7: 1260 8: 1100 
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_capabilities 
  arch_perfmon art avx avx2 avx512_bitalg avx512_vbmi2 avx512_vnni 
  avx512_vp2intersect avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f 
  avx512ifma avx512vbmi avx512vl bmi1 bmi2 bts cat_l2 cdp_l2 clflush 
  clflushopt clwb 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 fsrm fxsr gfni ht hwp hwp_act_window hwp_epp hwp_notify 
  hwp_pkg_req ibpb ibrs ibrs_enhanced ida intel_pt invpcid invpcid_single 
  lahf_lm lm mca mce md_clear mmx monitor movbe movdir64b movdiri msr mtrr 
  nonstop_tsc nopl nx ospke pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge 
  pku pln pni popcnt pse pse36 pts rdpid rdrand rdseed rdt_a rdtscp rep_good 
  sdbg sep sha_ni smap smep split_lock_detect ss ssbd sse sse2 sse4_1 sse4_2 
  ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer 
  tsc_known_freq umip vaes vme vmx vnmi vpclmulqdq vpid x2apic xgetbv1 xsave 
  xsavec xsaveopt xsaves xtopology xtpr 
  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: Enhanced IBRS, IBPB: conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: ASUSTeK 
  driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:9a49 class-ID: 0300 
  Device-2: NVIDIA TU117M vendor: ASUSTeK driver: nvidia v: 470.57.02 
  alternate: nouveau,nvidia_drm bus-ID: 58:00.0 chip-ID: 10de:1f99 
  class-ID: 0302 
  Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo 
  bus-ID: 3-5:3 chip-ID: 13d3:56eb class-ID: fe01 serial: <filter> 
  Display: x11 server: X.Org 1.20.11 compositor: kwin_x11 driver: 
  loaded: modesetting display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 3840x1685 s-dpi: 96 s-size: 1013x444mm (39.9x17.5") 
  s-diag: 1106mm (43.5") 
  Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.5x7.6") 
  diag: 395mm (15.5") 
  Monitor-2: HDMI-1 res: 1920x1080 hz: 60 dpi: 96 size: 509x286mm (20.0x11.3") 
  diag: 584mm (23") 
  OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 21.1.5 
  direct render: Yes 
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: ASUSTeK 
  driver: sof-audio-pci-intel-tgl 
  alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 00:1f.3 
  chip-ID: 8086:a0c8 class-ID: 0401 
  Device-2: Logitech H390 headset with microphone type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-2.4.1:6 
  chip-ID: 046d:0a8f class-ID: 0300 
  Sound Server-1: ALSA v: k5.13.5-1-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.32 running: no 
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel port: 4000 
  bus-ID: 00:14.3 chip-ID: 8086:a0f0 class-ID: 0280 
  IF: wlo1 state: down mac: <filter> 
  Device-2: TP-Link UE300 10/100/1000 LAN (ethernet mode) [Realtek RTL8153] 
  type: USB driver: r8152 bus-ID: 4-2.3:3 chip-ID: 2357:0601 class-ID: 0000 
  serial: <filter> 
  IF: enp0s20f0u2u3 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: dynamic noprefixroute scope: global 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8 
  bus-ID: 3-10:7 chip-ID: 8087:0026 class-ID: e001 
  Report: rfkill ID: hci0 rfk-id: 3 state: up address: see --recommends 
Logical:
  Message: No logical block device data found. 
RAID:
  Device-1: md127 maj-min: 9:127 type: mdraid level: N/A status: inactive 
  size: N/A 
  Info: report: N/A blocks: 2944 chunk-size: N/A 
  Components: Online: N/A Spare: 
  0: nvme1n1 maj-min: 259:3 size: 27.25 GiB state: S 
Drives:
  Local Storage: total: 969.92 GiB used: 29.94 GiB (3.1%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Intel model: HBRPEKNX0202A 
  size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 15.8 Gb/s 
  lanes: 2 type: SSD serial: <filter> rev: G002 temp: 32.9 C scheme: GPT 
  ID-2: /dev/nvme1n1 maj-min: 259:3 vendor: Intel model: HBRPEKNX0202AO 
  size: 27.25 GiB block-size: physical: 512 B logical: 512 B speed: 15.8 Gb/s 
  lanes: 2 type: SSD serial: <filter> rev: K5110440 temp: 41.9 C 
  ID-3: /dev/sda maj-min: 8:0 type: USB vendor: Western Digital 
  model: WD My Passport 264F size: 465.73 GiB block-size: physical: 512 B 
  logical: 512 B type: N/A serial: <filter> rev: 2005 scheme: GPT 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 476.64 GiB size: 468.09 GiB (98.21%) 
  used: 29.94 GiB (6.4%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2 
  label: N/A uuid: a1ac60ad-31da-4927-aaa5-ca82d1c1cf81 
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 288 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
  label: NO_LABEL uuid: 0D97-840A 
Swap:
  Alert: No swap data was found. 
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 465.73 GiB fs: ext4 label: 500GB 
  uuid: 18a7a8cd-55b8-491b-b8dd-717bc17d32d6 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 1 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  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 
  Device-1: 2-1:2 info: Western Digital My Passport 264F type: Mass Storage 
  driver: uas interfaces: 1 rev: 3.2 speed: 10 Gb/s power: 896mA 
  chip-ID: 1058:264f class-ID: 0806 serial: <filter> 
  Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-4: 3-2:2 info: Realtek RTS5411 Hub ports: 4 rev: 2.1 speed: 480 Mb/s 
  chip-ID: 0bda:5411 class-ID: 0900 
  Hub-5: 3-2.4:4 info: Realtek RTS5411 Hub ports: 4 rev: 2.1 speed: 480 Mb/s 
  chip-ID: 0bda:5411 class-ID: 0900 
  Device-1: 3-2.4.1:6 info: Logitech H390 headset with microphone 
  type: Audio,HID driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 
  rev: 1.1 speed: 12 Mb/s power: 100mA chip-ID: 046d:0a8f class-ID: 0300 
  Device-2: 3-2.4.2:8 info: Sunplus Innovation USB Full Speed Gaming Mouse 
  type: Mouse driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s 
  power: 98mA chip-ID: 1bcf:0808 class-ID: 0301 
  Device-3: 3-5:3 info: IMC Networks USB2.0 HD UVC WebCam type: Video 
  driver: uvcvideo interfaces: 5 rev: 2.0 speed: 480 Mb/s power: 500mA 
  chip-ID: 13d3:56eb class-ID: fe01 serial: <filter> 
  Device-4: 3-6:5 info: Realtek RTS5129 Card Reader Controller 
  type: <vendor specific> driver: rtsx_usb,rtsx_usb_ms,rtsx_usb_sdmmc 
  interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 0bda:0129 
  class-ID: ff00 serial: <filter> 
  Device-5: 3-10:7 info: Intel AX201 Bluetooth type: Bluetooth driver: btusb 
  interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0026 
  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: Realtek Hub ports: 4 rev: 3.1 speed: 5 Gb/s 
  chip-ID: 0bda:0411 class-ID: 0900 
  Device-1: 4-2.3:3 
  info: TP-Link UE300 10/100/1000 LAN (ethernet mode) [Realtek RTL8153] 
  type: Network driver: r8152 interfaces: 1 rev: 3.0 speed: 5 Gb/s 
  power: 256mA chip-ID: 2357:0601 class-ID: 0000 serial: <filter> 
  Hub-8: 4-2.4:4 info: Realtek Hub ports: 4 rev: 3.1 speed: 5 Gb/s 
  chip-ID: 0bda:0411 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 43.0 C mobo: N/A 
  Fan Speeds (RPM): cpu: 1700 
Info:
  Processes: 263 Uptime: 1h 13m wakeups: 8781 Init: systemd v: 248 
  tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1424 
  lib: 366 flatpak: 0 Shell: Bash v: 5.1.8 running-in: konsole inxi: 3.3.06

When it happens again I will post the logs.

It happened again. I linked the boot journal log (too big to paste here) and I see some things about pulseaudio failing. I don’t see anything under /var/logs that relate to audio. Let me know if there is something else that would be helpful.

Just updated to [Stable Update] 2021-08-09 - Kernels, Xorg-Server, Systemd, Virtualbox, Mesa, Plasma, Pipewire. Updated to pulseaudio 15. Hoping it fixes the issue. :crossed_fingers:

The issue still happens with pulseaudio 15. However, I will note that it doesn’t seem to happen as often as it did before. It’s only happened once so far.

It’s been a few weeks without the issue occurring so I will say a combination of newer kernel versions with Pulseaudio 15+ fixes whatever the issue was.

I observe that you have solved but have multiple sound modules that could load.
I suspect when you had no sound, one of the other modules loaded before the correct one and that borked sound.

If interested, while sound works, confirm what module you are using right now.
Then test whether blacklisting the sound modules and full reboot still gives you sound.

You use root powers to create a blacklist file called (it can be called anything.conf)
/etc/modprobe.d/blacklist.conf

Contents of that file assumes your sound is working on posted module, and I have not tested if your sound is lost because of any depedency for the others, contents:

blacklist snd_hda_intel
blacklist snd_sof_pci_intel_tgl

The new driver sof_pci_intel_tgl is the correct Sound Open Firmware driver to support internal digital microphones
The legacy driver snd_hda_intel does not support the internal microphones but is still used for other audio

There is a modprobe option that can force a specific driver (but it is not needed here)

options snd-intel-dspcfg dsp_driver=1

To force use of legacy driver. Or for the SOF driver

options snd-intel-dspcfg dsp_driver=3

intel-dsp-config.c - sound/hda/intel-dsp-config.c - Linux source code (v5.14) - Bootlin

1 Like

ah ok never knew that

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.