FS#76795 - [linux-lts] 5.15.82-1 regression, No sound after upgrade
Attached to Project:
Arch Linux
Opened by GI (gi1242) - Saturday, 10 December 2022, 16:44 GMT
Last edited by Toolybird (Toolybird) - Friday, 13 January 2023, 05:26 GMT
Opened by GI (gi1242) - Saturday, 10 December 2022, 16:44 GMT
Last edited by Toolybird (Toolybird) - Friday, 13 January 2023, 05:26 GMT
|
Details
Description:
After upgrading to Linux 5.15.82-1-lts (linux-lts), there is no sound on PC speaker, or any plugged in HDMI outputs. The sound outputs are detected, and everything shows up fine; But when playback happens there is no sound. (USB headphones work fine.) Downgrading to 5.15.80-1 makes everything work again. This was reported on the forums here: https://bbs.archlinux.org/viewtopic.php?id=281743 https://bbs.archlinux.org/viewtopic.php?id=281830 In the second link V1del suspects it's one of these Kernel commits: commit b2ddd76237121155dcadfc4ae77ca1775dfc99f7 Author: Richard Fitzgerald <rf@opensource.cirrus.com> Date: Fri Nov 4 13:22:13 2022 +0000 ASoC: soc-pcm: Don't zero TDM masks in __soc_pcm_open() [ Upstream commit 39bd801d6908900e9ab0cdc2655150f95ddd4f1a ] commit b2ddd76237121155dcadfc4ae77ca1775dfc99f7 Author: Richard Fitzgerald <rf@opensource.cirrus.com> Date: Fri Nov 4 13:22:13 2022 +0000 ASoC: soc-pcm: Don't zero TDM masks in __soc_pcm_open() [ Upstream commit 39bd801d6908900e9ab0cdc2655150f95ddd4f1a ] Unfortunately my kernel compiling days are behind me, so I can't recomplie the kernel without these commits and confirm. Here's some hardware info on my computer. (I can provide anything else that's relevant.) Laptop: ThinkPad X1 Yoga Gen 6 (20XY0023US) CPU: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz Tiger Lake-LP Smart Sound Technology Audio Controller Thanks |
This task depends upon
Closed by Toolybird (Toolybird)
Friday, 13 January 2023, 05:26 GMT
Reason for closing: Fixed
Additional comments about closing: linux-lts 5.15.87-1
Friday, 13 January 2023, 05:26 GMT
Reason for closing: Fixed
Additional comments about closing: linux-lts 5.15.87-1
Your loss. If this is a kernel regression then the offending commit needs to be identified by someone then reported upstream [1]. It's that simple. There are tricks available to reduce compilation time e.g. don't build docs, don't build unused modules.
PS: in the forum thread, @loqs has kindly offered to build testing kernels. Anyone affected by this bug is *insane* if they don't accept the help.
[1] https://wiki.archlinux.org/title/Kernel#Debugging_regressions
There are two proposed fixes:
Firstly revert b2ddd76237121155dcadfc4ae77ca1775dfc99f7 [2]
Secondly cherry-pick 636110411ca726f19ef8e87b0be51bb9a4cdef06 [3] which needs at least e8444560b4d9302a511f0996f4cfdf85b628f4ca [4].
[1] https://lore.kernel.org/all/dc65501c-c2fd-5608-c3d9-7cea184c3989%40opensource.cirrus.com/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b2ddd76237121155dcadfc4ae77ca1775dfc99f7
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=636110411ca726f19ef8e87b0be51bb9a4cdef06
[4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e8444560b4d9302a511f0996f4cfdf85b628f4ca
At the beginning, sound seems to work, but after the second application tries to run something with sound, sound is completely lost.
Surprisingly I have been able to recover the audio by restarting PulseAudio like mentioned here: https://wiki.archlinux.org/title/KDE#No_sound_after_suspend. Even if I never suspended, it worked for me.
However, I have to restart PA each time I close and open a new app.
I hope I'm not offtopic.