Cannot get audio to work on Asus Vivobook 15 pro

Installed Endeavour OS Gnome, but I am unable to get audio to work. Tried looking around in forums, but nothing seemed to help. Any help would be appreciated. Whenever I try to change my volume, I get the output “Dummy Output”. Looked around in BIOS, but found nothing related to sound card or such.

Here are outputs to some commands that I saw were needed to debug this issue

inxi -Fzxxxa

System:
  Kernel: 6.1.39-1-lts arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
    parameters: initrd=\eb25866c01644f48a3fd49f38fe28cc1\6.1.39-1-lts\initrd
    nvme_load=YES nowatchdog rw
    root=UUID=9a39f290-d68b-4dd2-a044-32a74f04fdd4
    systemd.machine_id=eb25866c01644f48a3fd49f38fe28cc1
  Desktop: GNOME v: 44.3 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM v: 44.1
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: Vivobook_ASUSLaptop K6500ZE_K6500ZE
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: K6500ZE v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: K6500ZE.300 date: 07/06/2022
Battery:
  ID-1: BAT0 charge: 43.4 Wh (62.4%) condition: 69.6/70.0 Wh (99.4%)
    power: 21.3 W volts: 11.7 min: 11.9 model: ASUSTeK ASUS Battery type: Li-ion
    serial: N/A status: discharging cycles: 21
CPU:
  Info: model: 12th Gen Intel Core i5-12450H bits: 64 type: MST AMCP
    arch: Alder Lake gen: core 12 level: v3 note: check built: 2021+
    process: Intel 7 (10nm ESF) family: 6 model-id: 0x9A (154) stepping: 3
    microcode: 0x42A
  Topology: cpus: 1x cores: 8 mt: 4 tpc: 2 st: 4 threads: 12 smt: enabled
    cache: L1: 704 KiB desc: d-4x32 KiB, 4x48 KiB; i-4x32 KiB, 4x64 KiB
    L2: 7 MiB desc: 4x1.2 MiB, 1x2 MiB L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 2535 high: 2924 min/max: 400/4400:3300 scaling:
    driver: intel_pstate governor: powersave cores: 1: 2924 2: 2500 3: 2500
    4: 2500 5: 2500 6: 2500 7: 2500 8: 2500 9: 2500 10: 2500 11: 2500 12: 2500
    bogomips: 59916
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed 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: Enhanced IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Alder Lake-P GT1 [UHD Graphics] vendor: ASUSTeK driver: i915
    v: kernel arch: Gen-12.2 process: Intel 10nm built: 2021-22+ ports:
    active: eDP-1 empty: DP-1,DP-2 bus-ID: 0000:00:02.0 chip-ID: 8086:46a3
    class-ID: 0300
  Device-2: NVIDIA GA107M [GeForce RTX 3050 Ti Mobile] vendor: ASUSTeK
    driver: nouveau v: kernel non-free: 535.xx+ status: current (as of 2023-07)
    arch: Ampere code: GAxxx process: TSMC n7 (7nm) built: 2020-22 ports:
    active: none empty: HDMI-A-1 bus-ID: 0000:01:00.0 chip-ID: 10de:25a0
    class-ID: 0302
  Device-3: Sonix USB2.0 FHD UVC WebCam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-9:4 chip-ID: 3277:0010
    class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.2
    compositor: gnome-shell driver: X: loaded: modesetting
    alternate: fbdev,intel,nouveau,nv,vesa dri: iris gpu: i915 display-ID: :1
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: Samsung 0x4161 built: 2020 res: 1920x1080 hz: 60
    dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5")
    ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 23.1.4 renderer: Mesa Intel Graphics (ADL GT2)
    direct-render: Yes
Audio:
  Device-1: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel
    bus-ID: 0000:01:00.1 chip-ID: 10de:2291 class-ID: 0403
  API: ALSA v: k6.1.39-1-lts status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 0.3.76 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    vendor: AzureWave driver: mt7921e v: kernel bus-ID: 0000:2d:00.0
    chip-ID: 14c3:7922 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: IMC Networks Wireless_Device driver: btusb v: 0.8 type: USB
    rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-10:5
    chip-ID: 13d3:3568 class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: see --recommends
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:467f rev: class-ID: 0104
Drives:
  Local Storage: total: 476.94 GiB used: 54.45 GiB (11.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Intel model: SSDPEKNU512GZ
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 002C temp: 33.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 475.96 GiB size: 467.42 GiB (98.21%)
    used: 54.29 GiB (11.6%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: N/A mobo: N/A
  Fan Speeds (RPM): cpu: 1900
Info:
  Processes: 276 Uptime: 11m wakeups: 3594 Memory: total: 16 GiB
  available: 15.35 GiB used: 2.67 GiB (17.4%) Init: systemd v: 253
  default: graphical tool: systemctl Compilers: gcc: 13.1.1 Packages:
  pm: pacman pkgs: 922 libs: 233 tools: yay pm: pkg pkgs: 0 pm: flatpak
  pkgs: 0 Shell: Zsh v: 5.9 running-in: gnome-terminal inxi: 3.3.28

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

cat /proc/asound/modules

 0 snd_hda_intel
1 Like

Are you dualbooting win/linux?

You could try and install alsa-tools and then:

1.Full shutdown. 2. Power on 3. Execute below 4 commands:

hda-verb /dev/snd/hwC0D0 0x20 0x500 0xf
hda-verb /dev/snd/hwC0D0 0x20 0x400 0x7774
hda-verb /dev/snd/hwC0D0 0x20 0x500 0x45
hda-verb /dev/snd/hwC0D0 0x20 0x400 0x5289

According to this bug

This may affect your Asus modell also. Look here at linux hardware

More info here

1 Like

Just downgrade to whatever Gen. 5.x kernel, don’t add\fiddle\change anything in the sound system, and see what happens.
That has worked for me, proof on files.

1 Like

Sometimes you need to get your hands dirty. And this fix has been proven to work if you bothered to read the bug post. And this work only until next reboot. If it works. It’s not permanent.

The bug will still be there. And this goes back a while. Been affecting users since 4.19 and still are. See comment 25 here

If anything then upgrade your kernel to 6.4. Don’t downgrade. And make sure you have your firmware updated. Or use the commands above as a temp fix.

1 Like

Thanks, @boxer: appreciated, tried, but still not working for me.

I can give (way) more detailed tests if you want, but I don’t want to clutter up this thread.

This is what I’ve just tried:

sudo hda-verb /dev/snd/hwC0D0 0x20 0x500 0xf
sudo hda-verb /dev/snd/hwC0D0 0x20 0x400 0x7774
sudo hda-verb /dev/snd/hwC0D0 0x20 0x500 0x45
sudo hda-verb /dev/snd/hwC0D0 0x20 0x400 0x5289
  • full poweroff
  • boot kernel 6.4.7

Result: Not working. Attached pix

  • no-kernel-6_4_7-pic-window-230730-1814-18.png
  • no-kernel-6_4_7-pic-window-230730-1815-06.png

Then, Reboot/Restored linux-rt-lts 5.15.107.62.realtime1-2
Result: Working. Attached pix

  • ok-kernel-5_15_107-pic-window-230730-1819-46.png
  • ok-kernel-5_15_107-pic-window-230730-1820-07.png

More Info:

$ uname -r

5.15.107.62.realtime1-2-rt-lts

Current working kernel:

$ sudo pacman -Qs linux-rt

local/linux-rt-lts 5.15.107.62.realtime1-2
local/linux-rt-lts-headers 5.15.107.62.realtime1-2

Installed kernels:

$ pacman -Q | grep ^linux

linux 6.4.7.arch1-1
linux-api-headers 6.3-1
linux-firmware 20230625.ee91452d-5
linux-firmware-whence 20230625.ee91452d-5
linux-headers 6.4.7.arch1-1
linux-lts 6.1.39-1
linux-lts-headers 6.1.39-1
linux-rt-lts 5.15.107.62.realtime1-2
linux-rt-lts-headers 5.15.107.62.realtime1-2

$ find /boot/vmlinuz*

/boot/vmlinuz-linux
/boot/vmlinuz-linux-lts
/boot/vmlinuz-linux-rt-lts

Images: working


Images: not working


Thanks, Piero

1 Like

Try using Pro audio

You have the same audio chip as johan_liebert ? This affects the Realtek ALC294. Do you dualboot win/linux?

What is your output on a working and non working system say?

aplay -l
lspci -k and
inxi -Fxz ?

REALLY, thanks again.

(Er… no)

No, just EOS.

Done: see attached pic ‘no-kernel-6_4_7-AudioPro-pic-window-230731-1916-12.png’

and its ‘pulsemixer --list’:
notworking-pulsemixerDefHdmi.txt

Here they are in my pastebin:

…what to say:

  • Yes, I know I could/should try to update my firmware: but I’ve had some/too many bad experiences, and since I need that PC up and running, I’ll do that sometime later, when I buy a new PC - just in case;

  • I don’t know if this can be useful, but I run - daily - some audio checks, as in this script in my pastebin:
    AudioCheck-sh.txt

Whatever, thanks again for your attention.
Piero