Very quiet audio fixed after suspend

Thanks in advance for the help :slight_smile:

When I boot, audio is very quiet. I set PC volume to 120%, turn the speakers up to 90%, and can faintly hear my 90s lofi beats youtube video. If I suspend the computer, then wake it, the lofi beats permuate my soul and shake my house; it is super loud. I can return the PC volume to 50% or so, with the speakers at 25%.

I would like to make it so the audio functions correctly when the system turns on, rather than requiring me to boot, suspend, and resume.

The fact that the volume fixes after the PC has suspended was only realized today; I feel like it is a vital clue, but I have no idea where to look next.

Audio devices:

lspci | grep -i audio
00:1f.3 Audio device: Intel Corporation Comet Lake PCH cAVS
01:00.1 Audio device: NVIDIA Corporation GA102 High Definition Audio Controller (rev a1)

The issue is with the ā€˜Intel Corporation Comet Lake PCH cAVSā€™ device; HDMI works as advertised. Headphones also work as expected, even if plugged into the onboard audio. Itā€™s only the rear line out that has this issue.

I have reason to believe this isnā€™t just a Manjaro issue; I had the same problem with my previous install, OpenSUSE

Things Iā€™ve tried:

  • Going into aslamixer and making sure all channels are up
    • This is what is recommended in basically every post I can find; dozens of them
  • Using pavucontrol to do the same thing
  • Using hdajackretask to change the line out to be registered as a ā€˜headphoneā€™

Iā€™m in a dual boot environment, and the audio on the other operating system is always loud enough.

Other outputs that might be helpful:

sudo dmesg | grep -C 2 -i audio
[    2.984908] snd_hda_intel 0000:01:00.1: enabling device (0100 -> 0102)
[    2.984950] snd_hda_intel 0000:01:00.1: Disabling MSI
[    2.984953] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    2.989349] RAPL PMU: API unit is 2^-32 Joules, 3 fixed counters, 655360 ms ovfl timer
[    2.989351] RAPL PMU: hw unit of domain pp0-core 2^-14 Joules
--
[    3.024061] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:046D:C539.0003/input/input12
[    3.032423] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input8
[    3.042238] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC1220: line_outs=1 (0x1b/0x0/0x0/0x0/0x0) type:line
[    3.042242] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.042243] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x14/0x0/0x0/0x0/0x0)
[    3.042244] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    3.042245] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    3.042245] snd_hda_codec_realtek hdaudioC0D0:      Rear Mic=0x18
[    3.042247] snd_hda_codec_realtek hdaudioC0D0:      Front Mic=0x19
[    3.042247] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x1a
[    3.042248] snd_hda_codec_realtek hdaudioC0D0:      Line=0x15
[    3.053531] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x351
[    3.053598] thermal thermal_zone3: failed to read out thermal zone (-61)
--
[    4.558007] iwlwifi 0000:00:14.3: Registered PHC clock: iwlwifi-PTP, with index: 0
[    4.636064] usb 1-10: set resolution quirk: cval->res = 384
[    4.636153] usbcore: registered new interface driver snd-usb-audio
[    4.945985] Bluetooth: hci0: Waiting for firmware download to complete
[    4.946155] Bluetooth: hci0: Firmware loaded in 1583261 usecs
sudo lsmod | grep -iE 'snd|intel'
btintel                57344  1 btusb
snd_usb_audio         466944  2
snd_usbmidi_lib        49152  1 snd_usb_audio
bluetooth            1097728  32 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
snd_ump                36864  1 snd_usb_audio
snd_rawmidi            53248  2 snd_usbmidi_lib,snd_ump
snd_seq_device         16384  2 snd_ump,snd_rawmidi
mc                     90112  5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
intel_rapl_msr         20480  0
intel_rapl_common      45056  1 intel_rapl_msr
snd_sof_pci_intel_cnl    12288  0
intel_tcc_cooling      12288  0
snd_sof_intel_hda_common   249856  1 snd_sof_pci_intel_cnl
intel_powerclamp       20480  0
soundwire_intel        81920  1 snd_sof_intel_hda_common
snd_sof_intel_hda_mlink    36864  2 soundwire_intel,snd_sof_intel_hda_common
soundwire_cadence      45056  1 soundwire_intel
snd_sof_intel_hda      24576  1 snd_sof_intel_hda_common
kvm_intel             425984  0
snd_sof_pci            24576  2 snd_sof_intel_hda_common,snd_sof_pci_intel_cnl
snd_sof_xtensa_dsp     16384  1 snd_sof_intel_hda_common
snd_sof               425984  3 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_hda
kvm                  1376256  1 kvm_intel
snd_sof_utils          16384  1 snd_sof
soundwire_generic_allocation    12288  1 soundwire_intel
soundwire_bus         139264  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
snd_soc_skl           241664  0
snd_soc_hdac_hda       28672  2 snd_sof_intel_hda_common,snd_soc_skl
snd_hda_ext_core       36864  5 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda_mlink,snd_soc_skl,snd_sof_intel_hda
snd_soc_sst_ipc        20480  1 snd_soc_skl
snd_soc_sst_dsp        45056  1 snd_soc_skl
ghash_clmulni_intel    16384  0
snd_hda_codec_realtek   200704  1
snd_soc_acpi_intel_match    94208  3 snd_sof_intel_hda_common,snd_soc_skl,snd_sof_pci_intel_cnl
snd_hda_codec_generic   114688  1 snd_hda_codec_realtek
snd_soc_acpi           16384  3 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_soc_skl
ledtrig_audio          12288  1 snd_hda_codec_generic
snd_soc_core          462848  5 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl
aesni_intel           360448  10
snd_hda_codec_hdmi     94208  1
crypto_simd            16384  1 aesni_intel
snd_compress           28672  1 snd_soc_core
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel
ac97_bus               12288  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_hda_intel          65536  4
snd_intel_dspcfg       40960  4 snd_hda_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_skl
snd_intel_sdw_acpi     16384  2 snd_sof_intel_hda_common,snd_intel_dspcfg
snd_hda_codec         225280  7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
intel_pmc_bxt          16384  1 iTCO_wdt
snd_hda_core          151552  10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
intel_cstate           20480  0
snd_hwdep              20480  2 snd_usb_audio,snd_hda_codec
snd_pcm               204800  13 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
snd_timer              53248  1 snd_pcm
snd                   155648  28 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_ump,snd_pcm,snd_rawmidi
intel_uncore          258048  0
soundcore              16384  1 snd
intel_pch_thermal      20480  0
crc32c_intel           16384  3
spi_intel_pci          12288  0
spi_intel              36864  1 spi_intel_pci

dmesg after suspending and resuming:

sudo dmesg | tail -n 105
[   35.447618] systemd-journald[433]: Time jumped backwards, rotating.
[  174.728732] rfkill: input handler enabled
[  175.882076] logitech-hidpp-device 0003:046D:4085.0008: HID++ 4.2 device connected.
[  175.994657] rfkill: input handler disabled
[  176.058519] block nvme0n1: No UUID available providing old NGUID
[  177.820229] Bluetooth: RFCOMM TTY layer initialized
[  177.820235] Bluetooth: RFCOMM socket layer initialized
[  177.820236] Bluetooth: RFCOMM ver 1.11
[  228.718736] wlo1: deauthenticating from ----- by local choice (Reason: 3=DEAUTH_LEAVING)
[  232.027367] PM: suspend entry (deep)
[  232.033586] Filesystems sync: 0.006 seconds
[  232.365082] rfkill: input handler enabled
[  232.503461] Freezing user space processes
[  232.505915] Freezing user space processes completed (elapsed 0.002 seconds)
[  232.505917] OOM killer disabled.
[  232.505918] Freezing remaining freezable tasks
[  232.507196] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[  232.507238] printk: Suspending console(s) (use no_console_suspend to debug)
[  232.548276] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  232.548642] ata1.00: Entering standby power mode
[  233.256428] ACPI: PM: Preparing to enter system sleep state S3
[  234.479885] ACPI: PM: Saving platform NVS memory
[  234.480029] Disabling non-boot CPUs ...
[  234.482734] smpboot: CPU 1 is now offline
[  234.487037] smpboot: CPU 2 is now offline
[  234.491209] smpboot: CPU 3 is now offline
[  234.495340] smpboot: CPU 4 is now offline
[  234.499435] smpboot: CPU 5 is now offline
[  234.503493] smpboot: CPU 6 is now offline
[  234.507552] smpboot: CPU 7 is now offline
[  234.511682] smpboot: CPU 8 is now offline
[  234.514888] smpboot: CPU 9 is now offline
[  234.516581] smpboot: CPU 10 is now offline
[  234.518145] smpboot: CPU 11 is now offline
[  234.519724] smpboot: CPU 12 is now offline
[  234.521260] smpboot: CPU 13 is now offline
[  234.522852] smpboot: CPU 14 is now offline
[  234.524375] smpboot: CPU 15 is now offline
[  234.525976] smpboot: CPU 16 is now offline
[  234.527499] smpboot: CPU 17 is now offline
[  234.529070] smpboot: CPU 18 is now offline
[  234.530584] smpboot: CPU 19 is now offline
[  234.535611] ACPI: PM: Low-level resume complete
[  234.535677] ACPI: PM: Restoring platform NVS memory
[  234.536610] Enabling non-boot CPUs ...
[  234.536762] smpboot: Booting Node 0 Processor 1 APIC 0x2
[  234.540273] CPU1 is up
[  234.540403] smpboot: Booting Node 0 Processor 2 APIC 0x4
[  234.543853] CPU2 is up
[  234.543970] smpboot: Booting Node 0 Processor 3 APIC 0x6
[  234.547280] CPU3 is up
[  234.547389] smpboot: Booting Node 0 Processor 4 APIC 0x8
[  234.550636] CPU4 is up
[  234.550735] smpboot: Booting Node 0 Processor 5 APIC 0xa
[  234.553956] CPU5 is up
[  234.554056] smpboot: Booting Node 0 Processor 6 APIC 0xc
[  234.557294] CPU6 is up
[  234.557390] smpboot: Booting Node 0 Processor 7 APIC 0xe
[  234.560645] CPU7 is up
[  234.560737] smpboot: Booting Node 0 Processor 8 APIC 0x10
[  234.563989] CPU8 is up
[  234.564079] smpboot: Booting Node 0 Processor 9 APIC 0x12
[  234.567329] CPU9 is up
[  234.567417] smpboot: Booting Node 0 Processor 10 APIC 0x1
[  234.568304] CPU10 is up
[  234.568400] smpboot: Booting Node 0 Processor 11 APIC 0x3
[  234.569171] CPU11 is up
[  234.569261] smpboot: Booting Node 0 Processor 12 APIC 0x5
[  234.570019] CPU12 is up
[  234.570106] smpboot: Booting Node 0 Processor 13 APIC 0x7
[  234.570877] CPU13 is up
[  234.570964] smpboot: Booting Node 0 Processor 14 APIC 0x9
[  234.571734] CPU14 is up
[  234.571823] smpboot: Booting Node 0 Processor 15 APIC 0xb
[  234.572597] CPU15 is up
[  234.572683] smpboot: Booting Node 0 Processor 16 APIC 0xd
[  234.573485] CPU16 is up
[  234.573572] smpboot: Booting Node 0 Processor 17 APIC 0xf
[  234.574400] CPU17 is up
[  234.574481] smpboot: Booting Node 0 Processor 18 APIC 0x11
[  234.575329] CPU18 is up
[  234.575411] smpboot: Booting Node 0 Processor 19 APIC 0x13
[  234.576287] CPU19 is up
[  234.582221] ACPI: PM: Waking up from system sleep state S3
[  234.615980] nvme nvme1: 20/0/0 default/read/poll queues
[  234.621198] nvme nvme0: 20/0/0 default/read/poll queues
[  234.930465] ata3: SATA link down (SStatus 4 SControl 300)
[  235.300090] OOM killer enabled.
[  235.300094] Restarting tasks ... done.
[  235.301929] random: crng reseeded on system resumption
[  235.310407] PM: suspend exit
[  235.590945] rfkill: input handler disabled
[  235.616940] Generic FE-GE Realtek PHY r8169-0-300:00: attached PHY driver (mii_bus:phy_addr=r8169-0-300:00, irq=MAC)
[  235.813838] r8169 0000:03:00.0 enp3s0: Link is Down
[  238.050472] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[  238.050484] ata1.00: Entering active power mode
[  238.085485] sd 0:0:0:0: [sda] Starting disk
[  238.108912] ata1.00: configured for UDMA/100
[  238.809357] wlo1: authenticate with ----
[  238.814681] wlo1: send auth to --- (try 1/3)
[  238.843664] wlo1: authenticated
[  238.846933] wlo1: associate with --- (try 1/3)
[  238.850859] wlo1: RX AssocResp from --- (capab=0x1511 status=0 aid=8)
[  238.858741] wlo1: associated
cat /proc/cpuinfo                                                                                                                                                                                                                                                         ī‚² āœ” 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 165
model name	: Intel(R) Core(TM) i9-10850K CPU @ 3.60GHz
stepping	: 5
microcode	: 0xf8
cpu MHz		: 800.050
cache size	: 20480 KB
physical id	: 0
siblings	: 20
core id		: 0
cpu cores	: 10
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 22
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp vnmi pku ospke md_clear flush_l1d arch_capabilities
vmx flags	: vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec
bugs		: spectre_v1 spectre_v2 spec_store_bypass swapgs itlb_multihit srbds mmio_stale_data retbleed eibrs_pbrsb gds
bogomips	: 7202.00
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

<snip>
sudo dmidecode -t 2
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
	Manufacturer: HP
	Product Name: 8703
	Version: 00
	Serial Number: <snip>
	Asset Tag:  
	Features:
		Board is a hosting board
		Board is removable
		Board is replaceable
	Location In Chassis:  
	Chassis Handle: 0x0003
	Type: Motherboard
	Contained Object Handles: 0

well actually there are 2 different ā€œaudio-systemsā€ used in linux. pulseaudio (the older one) and pipewire (the designated new one). please post the output of the mandatory first

inxi --admin --verbosity=7 --filter --no-host --width

to get an overview what system is installed.a solution can be to switch the audio from pulseaudio to pipewire (or vice-versa) depending on the audio-chipset that is installed.

Thatā€™s a very neat command, thanks! Snipped out stuff that is likely not relevant

# inxi --admin --verbosity=7 --filter --no-host --width
<snip>
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl
    bus-ID: 00:1f.3 chip-ID: 8086:06c8 class-ID: 0403
  Device-2: NVIDIA GA102 High Definition Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.1 chip-ID: 10de:1aef
    class-ID: 0403
  Device-3: Logitech Webcam C310 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-10:6 chip-ID: 046d:081b
    class-ID: 0102 serial: <filter>
  Device-4: Blue Microphones Yeti Nano
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-2:3 chip-ID: b58e:0005 class-ID: 0300
    serial: <filter>
  API: ALSA v: k6.6.25-1-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: off tools: pw-cli
  Server-3: PulseAudio v: 17.0 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl,pamixer,pavucontrol
<snip>

I do recall attempting to get pipework working; let me see if swtiching to that makes any difference.

Thanks!

The problem persists; very very quiet on boot.

Installed Pipewire with:

sudo pacman -S manjaro-pipewire

Had to say OK to replacing a handfule of .*-pulse packages; no problems other than that. Restarted to make sure I was starting with a fresh slate.

Confirmed itā€™s active with the previous command:

<snip>
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl
    bus-ID: 00:1f.3 chip-ID: 8086:06c8 class-ID: 0403
  Device-2: NVIDIA GA102 High Definition Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.1 chip-ID: 10de:1aef
    class-ID: 0403
  Device-3: Logitech Webcam C310 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-10:6 chip-ID: 046d:081b
    class-ID: 0102 serial: <filter>
  Device-4: Blue Microphones Yeti Nano
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-2:3 chip-ID: b58e:0005 class-ID: 0300
    serial: <filter>
  API: ALSA v: k6.6.25-1-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: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
<snip>

Any other ideas I can try? If I can just find a starting point for how to debug this, I would be super grateful.

JACK, PulseAudio and PipeWire all rely on ALSA (the arcane one)

I suggest check ALSA audio playback settings for onboard audio device ALC1220

alsamixer --card=0

But if you have problems with ALSA settings it is better to post information in text-format than a screenshot of alsamixer

amixer --card=0

I suggest set audio level for youtube (input level for PipeWire) to 100%
and PipeWire output level to 100%
and then adjust final output levels in ALSA for speakers and headphones

I turned it up to 11

Before suspend:

Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [off]
  Front Right: Playback 87 [100%] [0.00dB] [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [off]
  Front Right: Playback 31 [100%] [12.00dB] [off]
Simple mixer control 'Front Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [off]
  Front Right: Playback 31 [100%] [12.00dB] [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [off]
  Front Right: Playback 31 [100%] [12.00dB] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 39 [62%] [12.00dB] [on]
  Front Right: Capture 39 [62%] [12.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 0 [0%] [-17.25dB] [off]
  Front Right: Capture 0 [0%] [-17.25dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '4ch' '6ch'
  Item0: '2ch'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Rear Mic' 'Front Mic' 'Mic' 'Line'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Rear Mic' 'Front Mic' 'Mic' 'Line'
  Item0: 'Rear Mic'
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Rear Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [off]
  Front Right: Playback 31 [100%] [12.00dB] [off]
Simple mixer control 'Rear Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]

Audio is faintly heard.

After suspend:

Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [off]
  Front Right: Playback 87 [100%] [0.00dB] [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [off]
  Front Right: Playback 31 [100%] [12.00dB] [off]
Simple mixer control 'Front Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [off]
  Front Right: Playback 31 [100%] [12.00dB] [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [off]
  Front Right: Playback 31 [100%] [12.00dB] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 39 [62%] [12.00dB] [on]
  Front Right: Capture 39 [62%] [12.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 0 [0%] [-17.25dB] [off]
  Front Right: Capture 0 [0%] [-17.25dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '4ch' '6ch'
  Item0: '2ch'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Rear Mic' 'Front Mic' 'Mic' 'Line'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Rear Mic' 'Front Mic' 'Mic' 'Line'
  Item0: 'Rear Mic'
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Rear Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [off]
  Front Right: Playback 31 [100%] [12.00dB] [off]
Simple mixer control 'Rear Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]

I do not see any significant differences in ALSA mixer settings

I suggest you get more ALSA data for both states before and after suspend

sudo alsa-info.sh --with-dmesg

and look for differences in the data

!!HDA-Intel Codec information shows the audio codec power states

!!ALSA/HDA dmesg should show additional messages after suspend

The raw files were too large to post; here is the diff (diff pre post):

$ diff /tmp/alsa-info.txt.Oth7EDGLtt /tmp/alsa-info.txt.eNspcEtnVo
6c6
< !!Script ran on: Wed Apr 24 05:15:56 UTC 2024
---
> !!Script ran on: Wed Apr 24 05:16:29 UTC 2024
545c545
<   Amp-Out vals:  [0x38 0x38]
---
>   Amp-Out vals:  [0x57 0x57]
558c558
<   Amp-Out vals:  [0x38 0x38]
---
>   Amp-Out vals:  [0x57 0x57]
572c572
<   Amp-Out vals:  [0x38 0x38]
---
>   Amp-Out vals:  [0x57 0x57]
704c704
<   Amp-Out vals:  [0x80 0x80]
---
>   Amp-Out vals:  [0x00 0x00]
753c753
<   Amp-Out vals:  [0x80 0x80]
---
>   Amp-Out vals:  [0x00 0x00]
807c807
<   Amp-Out vals:  [0x80 0x80]
---
>   Amp-Out vals:  [0x00 0x00]

With a little more context:

$ diff -C 15 /tmp/alsa-info.txt.Oth7EDGLtt /tmp/alsa-info.txt.eNspcEtnVo
*** /tmp/alsa-info.txt.Oth7EDGLtt	2024-04-23 22:15:57.299902301 -0700
--- /tmp/alsa-info.txt.eNspcEtnVo	2024-04-23 22:16:30.173205001 -0700
***************
*** 1,21 ****
  upload=true&script=true&cardinfo=
  !!################################
  !!ALSA Information Script v 0.5.3
  !!################################
  
! !!Script ran on: Wed Apr 24 05:15:56 UTC 2024
  
  
  !!Linux Distribution
  !!------------------
  
  ID_LIKE=arch
  
  
  !!DMI Information
  !!---------------
  
  Manufacturer:      HP
  Product Name:      OMEN 30L Desktop GT13-0xxx
  Product Version:   
  Firmware Version:  F.20
--- 1,21 ----
  upload=true&script=true&cardinfo=
  !!################################
  !!ALSA Information Script v 0.5.3
  !!################################
  
! !!Script ran on: Wed Apr 24 05:16:29 UTC 2024
  
  
  !!Linux Distribution
  !!------------------
  
  ID_LIKE=arch
  
  
  !!DMI Information
  !!---------------
  
  Manufacturer:      HP
  Product Name:      OMEN 30L Desktop GT13-0xxx
  Product Version:   
  Firmware Version:  F.20
***************
*** 530,587 ****
    Control: name="Headphone Playback Volume", index=0, device=0
      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
    Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
    Amp-Out vals:  [0x00 0x00]
    Converter: stream=1, channel=0
    PCM:
      rates [0x7e0]: 44100 48000 88200 96000 176400 192000
      bits [0x1e]: 16 20 24 32
      formats [0x1]: PCM
    Power states:  D0 D1 D2 D3 EPSS
    Power: setting=D0, actual=D0
  Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
    Control: name="Surround Playback Volume", index=0, device=0
      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
    Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
!   Amp-Out vals:  [0x38 0x38]
    Converter: stream=1, channel=0
    PCM:
      rates [0x7e0]: 44100 48000 88200 96000 176400 192000
      bits [0x1e]: 16 20 24 32
      formats [0x1]: PCM
    Power states:  D0 D1 D2 D3 EPSS
    Power: setting=D0, actual=D0
  Node 0x04 [Audio Output] wcaps 0x41d: Stereo Amp-Out
    Control: name="Front Playback Volume", index=0, device=0
      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
    Device: name="ALC1220 Analog", type="Audio", device=0
    Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
!   Amp-Out vals:  [0x38 0x38]
    Converter: stream=1, channel=0
    PCM:
      rates [0x7e0]: 44100 48000 88200 96000 176400 192000
      bits [0x1e]: 16 20 24 32
      formats [0x1]: PCM
    Power states:  D0 D1 D2 D3 EPSS
    Power: setting=D0, actual=D0
  Node 0x05 [Audio Output] wcaps 0x41d: Stereo Amp-Out
    Control: name="Center Playback Volume", index=0, device=0
      ControlAmp: chs=1, dir=Out, idx=0, ofs=0
    Control: name="LFE Playback Volume", index=0, device=0
      ControlAmp: chs=2, dir=Out, idx=0, ofs=0
    Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
!   Amp-Out vals:  [0x38 0x38]
    Converter: stream=1, channel=0
    PCM:
      rates [0x7e0]: 44100 48000 88200 96000 176400 192000
      bits [0x1e]: 16 20 24 32
      formats [0x1]: PCM
    Power states:  D0 D1 D2 D3 EPSS
    Power: setting=D0, actual=D0
  Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
    Converter: stream=0, channel=0
    Digital:
    Digital category: 0x0
    IEC Coding Type: 0x0
    PCM:
      rates [0x5f0]: 32000 44100 48000 88200 96000 192000
      bits [0xe]: 16 20 24
--- 530,587 ----
    Control: name="Headphone Playback Volume", index=0, device=0
      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
    Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
    Amp-Out vals:  [0x00 0x00]
    Converter: stream=1, channel=0
    PCM:
      rates [0x7e0]: 44100 48000 88200 96000 176400 192000
      bits [0x1e]: 16 20 24 32
      formats [0x1]: PCM
    Power states:  D0 D1 D2 D3 EPSS
    Power: setting=D0, actual=D0
  Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
    Control: name="Surround Playback Volume", index=0, device=0
      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
    Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
!   Amp-Out vals:  [0x57 0x57]
    Converter: stream=1, channel=0
    PCM:
      rates [0x7e0]: 44100 48000 88200 96000 176400 192000
      bits [0x1e]: 16 20 24 32
      formats [0x1]: PCM
    Power states:  D0 D1 D2 D3 EPSS
    Power: setting=D0, actual=D0
  Node 0x04 [Audio Output] wcaps 0x41d: Stereo Amp-Out
    Control: name="Front Playback Volume", index=0, device=0
      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
    Device: name="ALC1220 Analog", type="Audio", device=0
    Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
!   Amp-Out vals:  [0x57 0x57]
    Converter: stream=1, channel=0
    PCM:
      rates [0x7e0]: 44100 48000 88200 96000 176400 192000
      bits [0x1e]: 16 20 24 32
      formats [0x1]: PCM
    Power states:  D0 D1 D2 D3 EPSS
    Power: setting=D0, actual=D0
  Node 0x05 [Audio Output] wcaps 0x41d: Stereo Amp-Out
    Control: name="Center Playback Volume", index=0, device=0
      ControlAmp: chs=1, dir=Out, idx=0, ofs=0
    Control: name="LFE Playback Volume", index=0, device=0
      ControlAmp: chs=2, dir=Out, idx=0, ofs=0
    Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
!   Amp-Out vals:  [0x57 0x57]
    Converter: stream=1, channel=0
    PCM:
      rates [0x7e0]: 44100 48000 88200 96000 176400 192000
      bits [0x1e]: 16 20 24 32
      formats [0x1]: PCM
    Power states:  D0 D1 D2 D3 EPSS
    Power: setting=D0, actual=D0
  Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
    Converter: stream=0, channel=0
    Digital:
    Digital category: 0x0
    IEC Coding Type: 0x0
    PCM:
      rates [0x5f0]: 32000 44100 48000 88200 96000 192000
      bits [0xe]: 16 20 24
***************
*** 689,719 ****
    Pincap 0x0001001c: OUT HP EAPD Detect
    EAPD 0x2: EAPD
    Pin Default 0x02211010: [Jack] HP Out at Ext Front
      Conn = 1/8, Color = Black
      DefAssociation = 0x1, Sequence = 0x0
    Pin-ctls: 0xc0: OUT HP
    Unsolicited: tag=01, enabled=1
    Power states:  D0 D1 D2 D3 EPSS
    Power: setting=D0, actual=D0
    Connection: 1
       0x0c
  Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
    Control: name="Surround Playback Switch", index=0, device=0
      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
!   Amp-Out vals:  [0x80 0x80]
    Pincap 0x00000034: IN OUT Detect
    Pin Default 0x01813040: [Jack] Line In at Ext Rear
      Conn = 1/8, Color = Blue
      DefAssociation = 0x4, Sequence = 0x0
    Pin-ctls: 0x20: IN
    Unsolicited: tag=05, enabled=1
    Power states:  D0 D1 D2 D3 EPSS
    Power: setting=D0, actual=D0
    Connection: 1
       0x0d
  Node 0x16 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-Out vals:  [0x80 0x80]
    Pincap 0x00000034: IN OUT Detect
    Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
--- 689,719 ----
    Pincap 0x0001001c: OUT HP EAPD Detect
    EAPD 0x2: EAPD
    Pin Default 0x02211010: [Jack] HP Out at Ext Front
      Conn = 1/8, Color = Black
      DefAssociation = 0x1, Sequence = 0x0
    Pin-ctls: 0xc0: OUT HP
    Unsolicited: tag=01, enabled=1
    Power states:  D0 D1 D2 D3 EPSS
    Power: setting=D0, actual=D0
    Connection: 1
       0x0c
  Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
    Control: name="Surround Playback Switch", index=0, device=0
      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
!   Amp-Out vals:  [0x00 0x00]
    Pincap 0x00000034: IN OUT Detect
    Pin Default 0x01813040: [Jack] Line In at Ext Rear
      Conn = 1/8, Color = Blue
      DefAssociation = 0x4, Sequence = 0x0
    Pin-ctls: 0x20: IN
    Unsolicited: tag=05, enabled=1
    Power states:  D0 D1 D2 D3 EPSS
    Power: setting=D0, actual=D0
    Connection: 1
       0x0d
  Node 0x16 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-Out vals:  [0x80 0x80]
    Pincap 0x00000034: IN OUT Detect
    Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
***************
*** 738,768 ****
    Unsolicited: tag=00, enabled=0
    Power states:  D0 D1 D2 D3 EPSS
    Power: setting=D0, actual=D0
    Connection: 1
       0x0f
  Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
    Control: name="Center Playback Switch", index=0, device=0
      ControlAmp: chs=1, dir=Out, idx=0, ofs=0
    Control: name="LFE Playback Switch", index=0, device=0
      ControlAmp: chs=2, dir=Out, idx=0, ofs=0
    Control: name="Rear Mic Boost Volume", index=0, device=0
      ControlAmp: chs=3, dir=In, idx=0, ofs=0
    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
    Amp-In vals:  [0x00 0x00]
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
!   Amp-Out vals:  [0x80 0x80]
    Pincap 0x00003734: IN OUT Detect
      Vref caps: HIZ 50 GRD 80 100
    Pin Default 0x01a19041: [Jack] Mic at Ext Rear
      Conn = 1/8, Color = Pink
      DefAssociation = 0x4, Sequence = 0x1
    Pin-ctls: 0x24: IN VREF_80
    Unsolicited: tag=02, enabled=1
    Power states:  D0 D1 D2 D3 EPSS
    Power: setting=D0, actual=D0
    Connection: 5
       0x0c* 0x0d 0x0e 0x0f 0x26
  Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
    Control: name="Front Mic Boost Volume", index=0, device=0
      ControlAmp: chs=3, dir=In, idx=0, ofs=0
    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
--- 738,768 ----
    Unsolicited: tag=00, enabled=0
    Power states:  D0 D1 D2 D3 EPSS
    Power: setting=D0, actual=D0
    Connection: 1
       0x0f
  Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
    Control: name="Center Playback Switch", index=0, device=0
      ControlAmp: chs=1, dir=Out, idx=0, ofs=0
    Control: name="LFE Playback Switch", index=0, device=0
      ControlAmp: chs=2, dir=Out, idx=0, ofs=0
    Control: name="Rear Mic Boost Volume", index=0, device=0
      ControlAmp: chs=3, dir=In, idx=0, ofs=0
    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
    Amp-In vals:  [0x00 0x00]
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
!   Amp-Out vals:  [0x00 0x00]
    Pincap 0x00003734: IN OUT Detect
      Vref caps: HIZ 50 GRD 80 100
    Pin Default 0x01a19041: [Jack] Mic at Ext Rear
      Conn = 1/8, Color = Pink
      DefAssociation = 0x4, Sequence = 0x1
    Pin-ctls: 0x24: IN VREF_80
    Unsolicited: tag=02, enabled=1
    Power states:  D0 D1 D2 D3 EPSS
    Power: setting=D0, actual=D0
    Connection: 5
       0x0c* 0x0d 0x0e 0x0f 0x26
  Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
    Control: name="Front Mic Boost Volume", index=0, device=0
      ControlAmp: chs=3, dir=In, idx=0, ofs=0
    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
***************
*** 792,822 ****
    Pin Default 0x04a1104f: [Jack] Mic at Ext Right
      Conn = 1/8, Color = Black
      DefAssociation = 0x4, Sequence = 0xf
    Pin-ctls: 0x24: IN VREF_80
    Unsolicited: tag=04, enabled=1
    Power states:  D0 D1 D2 D3 EPSS
    Power: setting=D0, actual=D0
    Connection: 5
       0x0c* 0x0d 0x0e 0x0f 0x26
  Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
    Control: name="Front Playback Switch", index=0, device=0
      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
    Amp-In vals:  [0x00 0x00]
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
!   Amp-Out vals:  [0x80 0x80]
    Pincap 0x0001373c: IN OUT HP EAPD Detect
      Vref caps: HIZ 50 GRD 80 100
    EAPD 0x2: EAPD
    Pin Default 0x01014020: [Jack] Line Out at Ext Rear
      Conn = 1/8, Color = Green
      DefAssociation = 0x2, Sequence = 0x0
    Pin-ctls: 0x40: OUT VREF_HIZ
    Unsolicited: tag=06, enabled=1
    Power states:  D0 D1 D2 D3 EPSS
    Power: setting=D0, actual=D0
    Connection: 5
       0x0c 0x0d 0x0e* 0x0f 0x26
  Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
  Node 0x1d [Pin Complex] wcaps 0x400400: Mono
    Pincap 0x00000020: IN
--- 792,822 ----
    Pin Default 0x04a1104f: [Jack] Mic at Ext Right
      Conn = 1/8, Color = Black
      DefAssociation = 0x4, Sequence = 0xf
    Pin-ctls: 0x24: IN VREF_80
    Unsolicited: tag=04, enabled=1
    Power states:  D0 D1 D2 D3 EPSS
    Power: setting=D0, actual=D0
    Connection: 5
       0x0c* 0x0d 0x0e 0x0f 0x26
  Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
    Control: name="Front Playback Switch", index=0, device=0
      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
    Amp-In vals:  [0x00 0x00]
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
!   Amp-Out vals:  [0x00 0x00]
    Pincap 0x0001373c: IN OUT HP EAPD Detect
      Vref caps: HIZ 50 GRD 80 100
    EAPD 0x2: EAPD
    Pin Default 0x01014020: [Jack] Line Out at Ext Rear
      Conn = 1/8, Color = Green
      DefAssociation = 0x2, Sequence = 0x0
    Pin-ctls: 0x40: OUT VREF_HIZ
    Unsolicited: tag=06, enabled=1
    Power states:  D0 D1 D2 D3 EPSS
    Power: setting=D0, actual=D0
    Connection: 5
       0x0c 0x0d 0x0e* 0x0f 0x26
  Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
  Node 0x1d [Pin Complex] wcaps 0x400400: Mono
    Pincap 0x00000020: IN

I cloned git.alsa-project.org Git - alsa.git/summary and ran hda_analyzer.py:

$ git clone git://git.alsa-project.org/alsa.git
$ cd alsa/hda-analyzer
$ sudo python3 hda_analyzer.py

I was able to verify that by adjusting the Output Amplifier for Node[0x04] AUD_OUT I can control the volume of my left and right speakers. If I set it to 0x38 (56, in decimal), it is very quiet. If I set it to 0x57 (87, in decimal) it is the correct volume.

So, it sounds like the Amp-Out vals is starting at a lower volume during boot, then being reset to 100% when suspend is activated. But why?

I had a similar issue with a laptop with the same ALC1220 chipset and could fix it the way I described here:

Due to the fact that you are using a HP Omen Desktop your mileage may vary and

model=lenovo-y530

could be the wrong parameter in your case.

You can find a model list here: HD-Audio Codec-Specific Models ā€” The Linux Kernel documentation

Check the parameters for ALC1220 and maybe you can find one that fits your needs.

Thanks for the suggestion; I created a file with the contents:

# cat /etc/modprobe.d/sound-fix.conf
options snd_hda_intel model=lenovo-y530

Reboot, and verified that the option was active with:

# cat /sys/module/snd_hda_intel/parameters/model 
lenovo-y530,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)

This didnā€™t fix my problem. I found some worse options:

  • dual-codecs ā€“ resulted in no detected speakers, although I could enable a ā€˜Pro audioā€™ sound card. In short, no sound, even with my normal fixes
  • no-primary-hp ā€“ no sound, even with normal fixes

Looking through the list here, I didnā€™t see anything else that looked promising.

FWIW, it looks like these models are implemented in patch_realtek.c. My next test might be to figure out if there is a way I can define a function that there that sets the Amp-Out vals on boot to 0x57. I havenā€™t had time to do that, but the data structures donā€™t look impossible.

1 Like

Have you found any fix? I have the exact same problem on debian 12 and I am also running a HP Omen Desktop

I believe you will have greater success asking for support at the:

Good luck.

1 Like

i think it doesnt really matter in this case and this is the only time someone with the exact same problem

It looks like your comment was incomplete; although, in fairness, there is no obvious attention to punctuation, so itā€™s difficult to know.

This forum is intended for users of Manjaro. In case you do actually use Manjaro in addition to Debian:

Hi @osno and welcome to the Manjaro community.

Rather than add a request to a two-month-old thread without a solution, please consider starting (your own) new thread; give specific details of your issue and your attempts to fix it yourself, so that others can help more effectively.

Output from the following commands will provide;

information about your system; and

inxi --admin --verbosity=8 --filter --no-host --width

recent logs:

journalctl --boot=-1 --priority=3 --catalog --no-pager

As a new user, please take some time to familiarise yourself with Forum requirements; in particular, the many ways to use the forum to your benefit. To that end, some or all these links will be invaluable:

Last, but not least, the Stable Update Announcements which, as a Manjaro user, you should check frequently for important update related information.

Of course, none of this information likely relates to Debian, so I should imagine it really does matter which OS you happen to be using when asking for support, donā€™t you think?

Cheers.

Node 0x04 [Audio Output] wcaps 0x41d: Stereo Amp-Out
    Control: name="Front Playback Volume", index=0, device=0
      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
    Device: name="ALC1220 Analog", type="Audio", device=0
    Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
!   Amp-Out vals:  [0x38 0x38]

My next test might be to figure out if there is a way I can define a function that there that sets the Amp-Out vals on boot to 0x57

Better solution than using hda-analyzer GUI would be to install alsa-utils and use hda-verb command to reconfigure Amp-Out

Optimal solution would be to report issue and hda-analyzer / hda-verb solutions to bugzilla.kernel.org so ALSA developers can create a kernel patch
Reporting issues ā€” The Linux Kernel documentation

The most reliable workaround I found was suspending the computer right after it turns on, then resuming; no fix at the moment. nikgnomic is giving good advice though; should probably report this upstream.

Thanks!