-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] ] audio crashes and stops working after sleep (Dell 9720 w/ Alder Lake PCH-P audio) #5212
Comments
@eighthave lots of soundwire errors in the log - looks like the link fails to power up after suspend and then cascades. This could be the SDW controller or SDW codec, can you confirm SDW codec ID ?
|
@eighthave We need more debug trace to get what happened. Can you copy sof-dyndbg.conf.txt as /etc/modprobe.d/sof-dyndbg.conf reboot and attach the full kernel log with the issue? Does the issue happen only when a headset is plugged in? Or it happens without headset, too?
and
Where the error code -16 is -EBUSY and -11 is -EAGAIN. I suspect something has been wrong before the error was reported. |
It happened with and without a headset plugged into the 3.5mm headphone jack. I don't think it is related to plugging it in either, like I could reboot and not plug headphones in, and it would happen. I might be wrong, but I think that's the case. I've added that modprobe config, and I'll reply once it happens again. It seems to be working OK now after a reboot. @lgirdwood I'm not sure what "SDW codec ID" is exactly, could it be "rt714"? |
Looks like a kernel issue, moving. |
@eighthave, couple of questions to help us to progress:
Notes: what PW does is quite strange as it opens and closes the audio quite frequently, in just about a second. The last OK start:
First playback fail:
Quite long delay to report pm runtime resume fail:
|
This is an older install, there have been a series of issues with the sound that have been getting fixed. This seems like familiar symptoms but with different log output.
http://alsa-project.org/db/?f=5f5f365f50016df24719b2579b777ff655d6b7d5
Yes, I'll do so after I reboot next time (I'm in the middle of my work day)
Sleep as in closing the laptop lid. I use a default Debian config for that, so I believe that means s2_idle
I'm using Debian's kernels with Secure Boot on, so I could test those. With older kernels, I had other related issues, so it probably won't be so helpful, e.g #5213 |
I installed Debian 12 on my Tiger Lake laptop which has the same audio codecs as Dell 9720. And audio works just fine. I start YouTube, and closed the lid, then open it after some minutes. YouTube was continue playing with no issue. I am using the default kernel from the Debian 12 image. |
@eighthave one other thing to check is that you are up to date with system FW i.e. can you run |
Good idea. I was running 1.18, now I upgraded to 1.27. I'll report back whether things are working well or not. It is an intermittent issue, so I should probably try for a week before I can say. |
Describe the bug
The built-in audio is totally stuck, both the speaker and when I plug in a headset. It seems to be related to when the laptop is put to sleep. When I plug in a USB audio device, everything works fine. I'm the same machine as #5213, but it seems this is a different bug, based on the log output, but with the same or similar results.
To Reproduce
Audio stuck.
Reproduction Rate
It happens most of the time after a fresh reboot. After a while, it sometimes gets unstuck and stays unstuck for a bit.
Expected behavior
Audio to work fine after sleep, and all the time.
Impact
Built-in audio does not work at all, it makes it impossible to do online meetings, listen to music, watch videos, etc.
Environment
Screenshots or console output
dmesg
audio-stuck-dmesg.txt.zip
The text was updated successfully, but these errors were encountered: