thesofproject / linux

Linux kernel source tree
Other
91 stars 134 forks source link

[BUG] audio crashes and stops working until reboot (Dell 9720 w/ Alder Lake PCH-P audio) #5213

Open eighthave opened 1 year ago

eighthave commented 1 year ago

Describe the bug

After a couple of days of running without reboot, the audio will stop working. It outputs what looks like a crash log to dmesg (I'm not a kernel dev, but I am a C/Python/Java/Debian Developer). To reset it, I have tried rmmod snd_sof_pci_intel_tgl; modprobe snd_sof_pci_intel_tgl but that doesn't seem to work. Rebooting always does.

To Reproduce

Keep using the laptop normally for work, usually sometime around Wednesday, the audio stops working. There is always error messages from sof-audio-pci-intel-tgl in dmesg.

Reproduction Rate

It happens every time after a couple of days.

Expected behavior

The audio to continue working and not crash.

Impact

After the crash, audio is totally non-functional. Apps that use the audio will sometimes hang.

Environment 1) Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).

Longer log: dmesg.txt