-
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
[Lenovo Ideapad 330] System unresponsive on wakeup from suspend on battery mode #593
Comments
This issue isn't reproducible after I switched to LTS kernel (5.10.76-1-lts). |
The issue had started to appear on the LTS kernel as well, even on version 1.3.1, it only resolved after I uninstalled the NVIDIA drivers. I went back to the stable kernel 5.15.4-artix1-1 and uninstalled NVIDIA drivers there as well, now both 1.3.1 and 1.4.0 are working fine. Following this I reinstalled the NVIDIA driver and blacklisted it Edit: Nope. Still encountering the issue. The removal of the drivers did help though, as it is not freezing at every wakeup, rather once every 30 wakeup attempts, but not zero. |
I consider this a kernel bug - or worse: a bug in the proprietary nvidia driver - and I have no idea what I could do about it on the part of TLP. Therefore, I will close here. Nevertheless, you are welcome to share further insights or the solution here. |
In the meantime I have gained new insights into this problem. Does the workaround added to the FAQ solve your issue?
|
Thanks for your suggestion. However, as it is difficult to recreate this issue without having the NVIDIA drivers, I had them installed for my first couple of tests. It didn't resolve. Your suggestion also made me notice that my laptop occasionally appears to freeze on resume before I hear the HDD spinning up, and then responding to inputs. I currently have runtime PM disabled with the NVIDIA drivers removed, and everything seems to be working fine. I plan to replace the HDD with a SSD sometime soon to see it that helps. |
I ran into this same issue on my Lenovo T530. I do not have an Nvidia GPU. Setting |
Can confirm the exact behavior on a T450s Kernel: 5.16.8 |
For me, I've tried both current kernel and LTS kernel with the same outcome: |
@timlag1305 , @jpcloureiro : too little information about your systems, please show:
Btw: my T450s with kernel 5.16.8 works fine ... |
Sorry about that @linrunner. I missed that. Here is the gist. tlp_fixed.txt is when I have AHCI_RUNTIME_PM_ON_BAT="on" and tlp_broken.txt is when I have that commented out. https://gist.github.com/timlag1305/01d5eacb5119b1e418a9a851aa522d14 |
Also unfortunately I couldn't find any useful logs pointing to any particular issue when I ran |
I encounter this same nasty freeze on my Thinkpad x230. Setting It took me weeks to locate the cause of this freeze, because:
|
I met the same issue on my T450s, system info
|
@IOsetting : My T450s with same OS/kernel is still not affected. @IOsetting @bymoz089 My suspicion is that it is due to the particular SSD. You have not posted complete outputs. I would need at least
Via https://gist.github.com/ if you don't mind. |
Hi Linrunner, this is the command output https://gist.github.com/IOsetting/ab2be40564e7904fb697f87884667edf |
@IOsetting something comes to my mind. Please add
to your configuration and also comment your change to AHCI_RUNTIME_PM_ON_BAT
Then try if suspend/resume works. Show
afterwards. ps. Gloway is unknown to me as an SSD brand. |
Thank you, I have changed the configuration. Suspend and resume works with this configuration. |
@IOsetting Great. I'll have to think about bringing this deprecated feature back to life with the next release. |
The same issue on my laptop, here is the output. And I have noticed that, after my setting to Hope this could help you locate the problem. TLP is very helpful 👍, but I didn't discover this software until yesterday :( |
@IOsetting @vhuuyt @bymoz089 The workaround is now integrated directly into TLP. Could those affected please test with the main branch? Before that, please neutralize the settings for the workaround by removing or commenting them:
|
I disabled tlp a while ago because |
@noctuid thanks, your feedback is very valuable. Could you please provide the output of
|
|
After my commenting |
[x] I've read and accepted the Bug Reporting Howto
[x] I've attached all required
tlp-stat
outputs via Gist (see below)Describe the bug
On battery mode, trying to wake up the laptop freezes(either showing a black screen with a stationery cursor on top-left, or a static lock screen), and becomes unresponsive to input.
Suspending manually through
systemctl suspend
exhibits the same issue; even from a tty(in case of tty, I can view the console displaying previous commands alongwith the output and the prompt, but am unable to type to the prompt, as if I'm just seeing a screenshot of the console).This is not the case with previous tlp versions, for instance, 1.3.1, only appearing in 1.4.0.
Expected behavior
On wakeup from suspend, the system actually wakes up and accepts input.
To Reproduce
Steps to reproduce the unexpected behavior:
tlp
in battery mode.systemctl suspend
.tlp-stat
via https://gist.github.com/ for allmatching cases of 1. Github gist
Additional context
The text was updated successfully, but these errors were encountered: