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
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

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
Comment by Toolybird (Toolybird) - Saturday, 10 December 2022, 23:31 GMT
> Unfortunately my kernel compiling days are behind me

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
Comment by loqs (loqs) - Sunday, 11 December 2022, 21:30 GMT
Upstream is aware of the issue [1] and it only applies to kernels before 5.17.
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
Comment by Albert Heinle (ioah) - Thursday, 22 December 2022, 15:35 GMT
I am experiencing a similar issue, on a Thinkpad X1 Carbon.

At the beginning, sound seems to work, but after the second application tries to run something with sound, sound is completely lost.
Comment by Nikita (rokser) - Monday, 26 December 2022, 20:34 GMT
I have the same issue on Acer Swift 3. Sound disappears after the first application playing it is closed.
Comment by Alexandre ZANNI (noraj) - Tuesday, 03 January 2023, 14:10 GMT
Same here with LTS (currently 5.15.86) at the exception that I have no sound at all not even at the beginning nor for the 1st app.

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.
Comment by loqs (loqs) - Friday, 06 January 2023, 17:53 GMT Comment by loqs (loqs) - Thursday, 12 January 2023, 23:27 GMT
Can you confirm the issue is fixed in linux-lts 5.15.87-1?
Comment by Albert Heinle (ioah) - Thursday, 12 January 2023, 23:36 GMT
Confirmed on my end (at least by playing around a little bit with different apps) that it fixed the issue on my end. Thank you everyone.
Comment by GI (gi1242) - Friday, 13 January 2023, 00:37 GMT
It works for me too! Thank you so much!!

Loading...