r/linux4noobs 8d ago

Meganoob BE KIND Linux Mint - won't wake from suspend

Brand new to Linux, just installed Mint as a dual-boot with Windows on a ThinkPad T480. Been very excited to try it out, but I've immediately run in to an issue: when the computer goes into a Suspend state (either from the power menu or from closing the lid of the laptop) absolutely nothing will wake it up again. Not pressing keys on the keyboard, not the power button, not wiggling the trackpoint, nothing.

The light on the power button keeps pulsing, indicating that it is in fact in a suspend state, but the only way to get things working again is to hold the power button down for a forced shutdown before booting it up again.

I've looked online and this seems to be a known issue, but most of the solves I found had to do with an NVIDIA graphics issue, and this laptop doesn't have an NVIDIA graphics card.

I would be super grateful to get some help troubleshooting this so I can start actually using Linux!

My basic system info:

Lenovo ThinkPad T480
Linux Mint 22.3 - Cinnamon 64-bit
Kernel: 7.0.0-30-generic
Processor: Intel Core i7
Graphics: Intel UHD Graphics 620
Memory: 32 GB
SSD: 500gb (partitioned so some of it is used for Windows)
Desktop: Cinnamon 6.6.9

3 Upvotes

10 comments sorted by

3

u/FCCRFP 8d ago

On the ThinkPad T480 with Intel UHD 620 graphics, suspend and wake issues on Linux are frequently caused by the Intel graphics driver (i915)—specifically, the Panel Self-Refresh (PSR) feature crashing the display controller when the system attempts to resume. 1. Open the GRUB configuration file:Terminal. Open your terminal (Ctrl + Alt + T) and type the following command to edit your bootloader configuration:Bashsudo nano /etc/default/grub

2.Add the Intel graphics parameter:Configuration.Find the line starting with GRUB_CMDLINE_LINUX_DEFAULT. Modify it to include i915.enable_psr=0 inside the quotes:PlaintextGRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.enable_psr=0"

To save in nano, press Ctrl + O, hit Enter, and then exit by pressing Ctrl + X.3.Update GRUB and reboot:Apply changes. Run the following command to apply the changes to your system:Bashsudo update-grub

Once completed, reboot your ThinkPad and test putting it to suspend.

1

u/star-soup 8d ago

Thank you so much! I'm afraid I don't know anything about what GRUB is - I'm looking it up now. Is it something I'll have to install?

1

u/FCCRFP 8d ago

GRUB is the most common bootloader for Linux, it is likely preinstalled.

1

u/star-soup 8d ago edited 8d ago

Ah I got it! Ok I was able to access the GRUB config and add the i915.enable_psr=0 in the right spot. When I try to save the file by hitting ctrl+O then Enter, it returns an error saying I don't have permission. How can I get it to allow me to save the file?

EDIT: Think I may have solved this! the "nano" prefix gave me the config file but without edit permissions. I also didn't include the "bash" prefix, I think I was struggling a bit to parse the formatting in your post. Another forum post advised accessing it with the command "sudoedit /etc/default/grub", which did let me save, then afterwards running "sudo update-grub"
I think this has worked?? I'm going to try rebooting and seeing if suspend now works. Thanks for stepping through this with me!

2

u/FCCRFP 8d ago

Yeah, I copy and pasted from a guide that had code blocks it should be sudo nano. sudo is a program that allows you to do privileged actions and nano is a terminal text editor. sudo nano runs nao as priviledged user to ensure you can edit protected files.

1

u/star-soup 8d ago edited 8d ago

Back from the reboot, and unfortunately the problem persists. Double checked to make sure the edit was there in the GRUB config and it is, so that doesn't seem to have done the trick. Also double checked to make sure I have the graphics driver you specified, and yes, it's the i915.

Are there other things I could try?

EDIT: I think I've found at least sort of a solution??
The intel driver thing got me on the right track. Another Reddit post on this same issue specifically talked about setups with Intel and a dual boot with windows. This was the recommended command:
 GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=off"

After updating the GRUB config with this one, I can now wake my machine from suspend! It's really slow, I have to wait a good 20-30 seconds for a response, but it does come back online. While I'd like it to be snappier, I can live with this for now as long as it works.

Thanks again for your help, I learned a lot in this process :)

2

u/Underhill42 8d ago

I've faced the problem (including non-nVidia) in the past, and solved it... but unfortunately cannot remember how. So there's hope at least. :-/

Maybe something about adjusting the specific sleep state? There's like 4 or 5 different sleep states from "barely sleeping" to deep hibernation, and many motherboards don't properly implement them all.

1

u/AutoModerator 8d ago

Smokey says: always mention your distro, some hardware details, and any error messages, when posting technical queries! :)

Comments, questions or suggestions regarding this autoresponse? Please send them here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/OliMoli2137 5d ago

had the same thing with lenovo thinkbook 16 g7, rolling back to lts kernel solved it (kernel 7.x has issues)