You are not logged in.

#1 2023-05-02 20:58:44

Tranalogic
Member
From: Near Vienna / Austria / Europe
Registered: 2022-11-20
Posts: 8

No sound after suspend - only over HDMI or Headphone - HP Fury 16 G9

Good Evening everyone.

I'am using an HP Fury 16 G9 Laptop with an A2000 Nvidia GPU. When I start the machine everything works fine.
However, when I suspend the laptop an wake it up again, the sound works only on my HDMI Output or my Headphone Jack.
The internal Speaker won't work, until I restart the Computer. BTW there is no Problem with the Hardware, my Windows 11 Installation works fine.

I have the sof-firmware, linux-firmware and alsa-ucm* packages installed. For the GPU, I installed the proprietary NVIDIA Driver, but mostly, the Laptop runs with the internal Intel UHD.

To the case:

My Hardware:

#lspci -v
00:1f.3 Multimedia audio controller: Intel Corporation Alder Lake-S HD Audio Controller (rev 11)
	Subsystem: Hewlett-Packard Company Device 89c6
	Flags: bus master, fast devsel, latency 64, IRQ 243, IOMMU group 17
	Memory at 625cb48000 (64-bit, non-prefetchable) [size=16K]
	Memory at 625ca00000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: [50] Power Management version 3
	Capabilities: [80] Vendor Specific Information: Len=14 <?>
	Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Kernel driver in use: sof-audio-pci-intel-tgl
	Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl

01:00.1 Audio device: NVIDIA Corporation Device 2291 (rev a1)
	Subsystem: Hewlett-Packard Company Device 89c6
	Flags: bus master, fast devsel, latency 0, IRQ 17, IOMMU group 18
	Memory at 88000000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [60] Power Management version 3
	Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [78] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [160] Data Link Feature <?>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

my Kernel boot Parameters:

rw verbose nowatchdog nvidia_drm.modeset=1

Kernel: Linux 6.3.1-zen (doesn't work with current Core Kernel 6.2x either)

I investigated a little bit already and saw in dmesg the following lines after the wake:

[  581.831548] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: Failed to set mailbox cmd 1 (status 0)
[  581.839436] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: Failed to set mailbox cmd 1 (status 0)
[  605.529798] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: Wake failed, re-enter hibernate: -42
[  605.696570] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: Wake failed, re-enter hibernate: -42
[  605.860446] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: Wake failed, re-enter hibernate: -42
[  606.029216] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: Wake failed, re-enter hibernate: -42
[  606.190751] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: Wake failed, re-enter hibernate: -42
[  606.192187] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: Timed out waking device
[  606.192192] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: Unable to exit Hibernate.
[  606.380644] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: Wake failed, re-enter hibernate: -42
[  606.544559] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: Wake failed, re-enter hibernate: -42
[  606.697550] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: Wake failed, re-enter hibernate: -42
[  606.849173] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: Wake failed, re-enter hibernate: -42
[  607.013758] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: Wake failed, re-enter hibernate: -42
[  607.015268] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: Timed out waking device
[  607.015273] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: Unable to exit Hibernate.

I tried already the following for the intel-hda:

options snd-hda-intel probe_mask=1

and the Kernel Boot Parameter equavilent.

I'm thankful for every answer and if you need more Information, please write. smile

Best Regards,
Roman

PS: Sorry for my bad english tongue

Offline

#2 2023-05-10 20:20:27

Tranalogic
Member
From: Near Vienna / Austria / Europe
Registered: 2022-11-20
Posts: 8

Re: No sound after suspend - only over HDMI or Headphone - HP Fury 16 G9

I tried the last days a lot of things and I figured out that,

I have two Suspend Options in /sys/power/mem_sleep.

s2idle works without any Problems. Hibernating as well, but if I change the mem_sleep to deep with

 echo deep > /sys/power/mem_sleep 

I get the errors from my first Post.

But, If I do a hibernate after the deep suspend, the sound works fine. I don't know. Could this be a sof-firmware problem or a Kernel Problem? I have a Realtek ALC245 Decoder in my machine, which is, AFAIK, not fully linux supported yet.

But the Mic works, when I have this sound problem with my speakers.

Any suggestions?

Thank you,

Roman smile

Last edited by Tranalogic (2023-05-10 20:21:01)

Offline

#3 2023-08-05 14:59:55

ofrofro
Member
Registered: 2023-08-05
Posts: 1

Re: No sound after suspend - only over HDMI or Headphone - HP Fury 16 G9

Hi, roman, I have exactly the same laptop (a2000 too, lol) and the same issue.

As you can see the issue comes from kernel component  "cs35l41-hda", which is possibly the driver for the speaker-related audio hardware "cs35l4" (it's a relatively new hardware from cirrus logic). And I have reported the bug on opensuse's bugzilla, and the cirrus opensource team are trying to fix it with kernel patches (check this: https://lkml.org/lkml/2023/7/21/901 ).

What about you? Have you made any improvements with this issue? If not, guess we can only wait for a new patch.

thanks,

yuan

Last edited by ofrofro (2023-08-07 04:14:54)

Offline

Board footer

Powered by FluxBB