No sound at all after installing on an Asus Zenbook Duo

Hello everybody,
I got an Asus laptop that sounds very good on paper, the Asus Zenbook Pro Duo UX582 which has an intel CPU and an nvidia GPU…
But as I expected I’m having many trouble installing linux and I tried many distros…
As always, Manjaro (Gnome edition in this case) is the one that get me closer to a fully working laptop.

I only had to edit grub at boot screen and add ibt=off in order to boot correctly.

While I still have some issues, the major one is the fact I do not have any sound at all…

I found some posts in the internet stating to boot into the bios before booting to linux but that doesn’t fix the problem in my case.

Here are some (useful?) output related to the sound:

  • 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
card 1: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 31: HDA Analog Deep Buffer (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
  • inxi -A
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio
    driver: sof-audio-pci-intel-tgl
  Device-2: NVIDIA GA106 High Definition Audio driver: snd_hda_intel
  Sound API: ALSA v: k6.0.2-2-MANJARO running: yes
  Sound Server-1: PulseAudio v: 16.1 running: yes
  Sound Server-2: PipeWire v: 0.3.58 running: yes

I wonder if it’s not related to the hybrid graphics (which BTW I’m not sure if it’s working correctly since (according to Gnome Settings/About) I have the following graphics: Mesa Intel® Graphics (ADL GT2)

Can anyone help figure out how to fix that?

Before asking here, I tried to run Manjaro in a VM in windows… But please… I don’t want to go that way… :wink:

See my answer on linux dot org forum. This forum doesn’t allow me to paste a link, try this for the original location:

echo "aHR0cHM6Ly93d3cubGludXgub3JnL3RocmVhZHMvc291bmQtbm90LXdvcmtpbmctb24tYW55LWxpbnV4LWRpc3Ryby13aXRoLXplbmJvb2stMTQtb2xlZC40MTE3NC9wYWdlLTIjcG9zdC0xODM2MDkK" | base64 -d -

In a nutshell try this:

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

Alternative:

#!/bin/sh -e
  hda-verb /dev/snd/hwC0D0 0x20 0x500 0x1b
  hda-verb /dev/snd/hwC0D0 0x20 0x477 0x4a4b
  hda-verb /dev/snd/hwC0D0 0x20 0x500 0xf
  hda-verb /dev/snd/hwC0D0 0x20 0x477 0x74
  exit 0

See original post for details and credits.

Welcome to Manjaro Forum

New users are not permitted to post active links to prevent spam, but inactive links can be posted in preformatted text

https://www.linux.org/threads/sound-not-working-on-any-linux-distro-with-zenbook-14-oled.41174/page-2#post-183609 

Kernel has been patched for 2 different audio codecs on Asus UX582ZS systems, so hda-verb reconfiguration might not be needed
[PATCH v1] ALSA: hda/realtek: Add quirks for ASUS Zenbooks using CS35L41 - Stefan Binding