Bug 2187254 - [Thinkpad Z13/Z16 Gen 1] No sound after Suspend/Resume [NEEDINFO]
Summary: [Thinkpad Z13/Z16 Gen 1] No sound after Suspend/Resume
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: pipewire
Version: 37
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Wim Taymans
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-17 09:09 UTC by migs
Modified: 2023-08-16 09:21 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
mpearson: needinfo? (wtaymans)
jkysela: needinfo? (mpearson)


Attachments (Terms of Use)
alsa-info.txt request (72.97 KB, text/plain)
2023-05-29 05:41 UTC, migs
no flags Details
dmesg (137.57 KB, text/plain)
2023-06-19 04:32 UTC, migs
no flags Details
pw-top (96.43 KB, image/png)
2023-07-05 19:36 UTC, Mark Pearson
no flags Details

Description migs 2023-04-17 09:09:08 UTC
User-Agent:       Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
Build Identifier: 

Internal speaker does not out any sound after suspend/resume on Z13/Z16 machine after suspend/resume.

Reproducible: Always

Steps to Reproduce:
Steps to Reproduce:
1: Play any Youtube Video (sounds is working)
2: Suspend while it's playing close the lid.
(Note: Even if normal suspend and even if video is not playing, issue could be reproduced)
3: Open the lid play any video no sound.
Actual Results:  
No sound output.

Expected Results:  
There should be sound.

Kernel: 6.2.8-200.fc37.x86_64/6.2.9-200.fc37.x86_64/6.2.10-200.fc37.x86_64
Version: Fedora 37
BIOS: 1.55
ECFW: 1.56

Comment 1 Niels De Graef 2023-05-15 14:20:28 UTC
Moving to pipewire, since that's the default audio system in F37

Comment 2 Niels De Graef 2023-05-15 14:24:24 UTC
To investigate if this is a pipewire issue or a kernel-audio related issue (I'll cc jkysela): does the sound reappear if you restart pipewire and wireplumber, `systemctl --user restart pipewire pipewire-pulse wireplumber`?

Comment 3 Jaroslav Kysela 2023-05-15 14:27:02 UTC
Also attach output from `alsa-info.sh --no-upload`. Thank you.

Comment 4 migs 2023-05-29 05:41:27 UTC
Created attachment 1967605 [details]
alsa-info.txt request

Comment 5 migs 2023-06-19 04:32:48 UTC
Created attachment 1971500 [details]
dmesg

Hello @nielsdegraef I missed your request. The sound does reappear if you restart pipewire and wireplumber, `systemctl --user restart pipewire pipewire-pulse wireplumber`. However after performing this, I tried to suspend/resume the machine in this state but the audio is not working again. I attached the dmesg as well in case this is needed.

Please let us know if there are other information you need on our side.

Comment 6 Wim Taymans 2023-07-04 14:47:09 UTC
What does pw-top show when you try to play something and it is not working? Are there errors or is there just silence? did you try to change the volume (or mute/unmute)?

Comment 7 Mark Pearson 2023-07-05 19:36:54 UTC
Created attachment 1974164 [details]
pw-top

Comment 8 Mark Pearson 2023-07-05 19:39:43 UTC
Hi Wim

See pw-top details.
I tried with changing volume, muting, plugging in/out headset (no audio on headset either) and no change - no audio output
If I connect with BT headset that has audio, but speakers don't work when BT headset is disconnected.
Checking under pulse audio volume control - it is showing output signal, but nothing is actually coming out of the speakers.

Thanks
Mark

Comment 9 Mark Pearson 2023-08-11 14:29:14 UTC
Hi all - anything we can help with here?

Comment 10 Jaroslav Kysela 2023-08-16 09:21:57 UTC
It may be a kernel issue. The HDA+CS42L41 driver code receives continuous updates.

Could you retest with the latest Fedora 38 kernel ?

Also, confirm, that the problem is in driver:

  systemctl --user stop wireplumber
  speaker-test -D hw:1 -c 2 -t sine    # you should hear a sine sound without pipewire
  ... do suspend/resume
  speaker-test -D hw:1 -c 2 -t sine    # do you hear the sine sound now?


Note You need to log in before you can comment on or make changes to this bug.