Skip to content
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] suspend/hibernate doesn't work with kernel 6.4.12 (SUSE Leap 15.5, Lenovo X1 Extreme Gen.5) #4569

Closed
heinlein-support opened this issue Sep 5, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@heinlein-support
Copy link

heinlein-support commented Sep 5, 2023

This is an upstream report for
https://bugzilla.opensuse.org/show_bug.cgi?id=1207372

Describe the bug
Simular to https://bugzilla.suse.com/show_bug.cgi?id=1181974 we have some suspend/hibernate problems on our Lenovo X1 Extreme Gen.5.

Suspend is blocked because of a broken Module
snd_sof_pci_intel_tgl
As a workaround, unloading this module before suspending and modprobing it after the wake up makes the suspend working on this machine - when it was using SUSE Thumbleweed. But hibernate always never worked.

After upgrading from Thumbleweed to SUSE 15.5 with Kernel 6.4.12 and sof 2.2.4 suspend and hibernate don't work any more.

To Reproduce
Install SUSE 15.5 on Lenovo Extreme X1 Gen.5 and try to suspend/hibernate.

Reproduction Rate
100%

Expected behavior
Suspend/hibernate should work.

Impact
Some kind of a showstopper. Booting takes tooooo much time.

@heinlein-support heinlein-support added the bug Something isn't working label Sep 5, 2023
@heinlein-support
Copy link
Author

@plbossart plbossart transferred this issue from thesofproject/sof Sep 5, 2023
@plbossart
Copy link
Member

@ranj063 @kv2019i does this error message ring a bell

[317180.829677] sof-audio-pci-intel-tgl 0000:00:1f.3: hda_dsp_set_hw_params_upon_resume: failure in hda_dsp_dais_suspend
[317180.829679] sof-audio-pci-intel-tgl 0000:00:1f.3: error: setting hw_params flag during suspend -22
[317180.829680] sof-audio-pci-intel-tgl 0000:00:1f.3: PM: pci_pm_suspend(): snd_sof_suspend+0x0/0x10 [snd_sof] returns -22
[317180.829694] sof-audio-pci-intel-tgl 0000:00:1f.3: PM: dpm_run_callback(): pci_pm_suspend+0x0/0x170 returns -22
[317180.829698] sof-audio-pci-intel-tgl 0000:00:1f.3: PM: failed to suspend async: error -22

@kv2019i
Copy link
Collaborator

kv2019i commented Sep 5, 2023

@plbossart The error is similar than in
#4151
... but the fix for that was merged to 6.2 (and was backporrted to LTS kernels), so this is not the same.

@plbossart
Copy link
Member

Indeed @kv2019i this looks new,

@heinlein-support is there a way you can add this file
sof-dyndbg.conf.txt as /etc/modprobe.d/sof-dyndbg.conf to help us see in more details what happens.

Also if you can identify the last working setup that would be nice. I hope it's not 5.12 as we've read in another report today...

@ujfalusi
Copy link
Collaborator

ujfalusi commented Sep 6, 2023

@heinlein-support, can you also attach a full dmesg log (boot followed by a suspend/hibernate try)?

@plbossart
Copy link
Member

no data provided since September 2023, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants