Akron’s steps work. But the changes to the grub file revert after every reboot. How do I remove “splash” and “quiet” permanently so my machine boots up and doesn’t just go to a dark screen? Thanks!
UPDATE – I downloaded “gedit” and was able to update the grub file at /etc/default/grub and then ran sudo update-grub and now my machine boots up Linux Mint - no more black screen.
(I followed the directions here)
Issues with Framework 13 and Linux Mint Sleep/Hibernate
Hi all,
Long time Windows user moving to Linux. I have Linux Mint 22.3 -Cinnamon installed on my Framework 13 Intel 13th Gen machine. Whole process is going well and I have no plans to go back.
Google and AI have been my friend in this, but I have one issue that I haven’t found an answer to. Under Windows I could close the lid and the machine would sleep. However, with Linux Mint I have found on a number of occasions taking it out of the bag that has in fact been running and it comes out very hot. I have taken to shutting it down rather than risk cooking the system (yes, that hot) but I’d really like to figure out what’s going wrong. “Sleeping” a laptop reliably seems basic functionality these days.
One suggestion from my searches has been to set the system to hibernate on lid close but that doesn’t seem to be an option for me (perhaps a swap file thing).
Can anyone point me in the right direction on this?
Thanks, Richard.
Maybe a dumb question, but have you checked your system settings? It should be system settings–>power management–>power options. I can’t remember if I had to change mine on install, but “Suspend” for when the lid is closed works for me. I don’t see the hibernate option in my version
Hi Jeff,
Thanks for taking the time to contribute. I was always told there are no such things as dumb questions - never know what they might trigger. My power settings are unchanged from the defaults except that I have changed some of the timeouts. However, importantly the Lid Closed action is the same for A/C and Battery - “Suspend”. The setting for Lid-closed even with external monitors attached is “Off” (because I do have a dock and external monitor in the office). Like you, for me there is no “Hibernate” option.
To expand on the problem description, it does seem to me that when I close the lid it does “suspend”, but frequently when it seems to wake up “by itself”.
Richard
Hello Richard
‘“Sleeping” a laptop reliably seems basic functionality these days.’ It should be, but Linux tends to have problems with it (mainly, I suspect, because laptop developers tend to pay too little attention to Linux).
I have various problems with Mint and sleep over the years and with different machines. On my current Framework 13 AMD I do not have any trouble, and I seem to have no mitigations - scripts to do with sleep, sleep-related boot switches - in place. But I can advise as follows. [EDIT: typo corrected.]
-
Run as recent a Linux kernel as Mint easily allows: Update Manager → View → Linux Kernels. I have kernel 6.17.0-22 installed (though I find that I have not rebooted and an running 6.17.0-20).
-
See whether your BIOS has any sleep-related settings. If I recall correctly the AMD Frameworks allow only one sleep state (‘s2idle’ a.k.a. ‘modern standby’ a,k.a. ‘Windows sleep’) but perhaps there is some relevant option in the BIOS. Oh, and ensure you have the latest BIOS. I have version 3.18. You can use the program fwupmgr to update the BIOS.
-
Check your logs for anything that looks relevant. Specifically, check the system log and the kernel log, using a graphical log utility. (The inbuilt Mint log viewer is bad; I use KsysLog, but the latter can take some setup if you are using dark mode.) Also, check the ‘dmesg’ log by running
dmesg. [Edit: corrected a typo.] -
Possibly this script of mine will be useful for simple diagnosis.
-
See whether the ever-useful Archwiki has anything relevant.
-
This post on the forum might help.
PS: I forget whether these days Mint supports hibernation by default. If it does not then there will be a way of turning it on. But in my experience getting hibernation to work is approximately as tricky as getting sleep to work.
Hi JL,
Thank you for the comprehensive advice. Going through some of what you’ve said:
- I am keeping the machine up to date and it is running Kernel 6.17.0-22.
- I am running the latest BIOS for the 13th Gen Intel which is 3.16. Have had a look through the BIOS settings but can’t find anything sleep related (but see 4 below).
- I am going to continue troubleshooting and look to replicate the problem, hopefully catching it early enough to prevent overheating and finding something useful in the logs.
- Did run the script. checkSleepSupport function returned “No data found” but showRecentSleeps turned up references to s2idle as you mentioned in your point 2.
- Haven’t had a look at Archwiki yet, but will do so.
- Found the posts interesting. I’ll keep an open mind on this, but I’m not sure my laptop bag would trigger the Keyboard, Touchpad or Lid to wake the system. It will help if I can reliably replicate the issue, but I’m not there yet.
One other interesting note, as part of my Windows → Linux journey I have a number of VMs running different distros - Ubuntu, ZorinOS and LMDE7. After vanilla installs of each, no sign of hibernation on Ubuntu or Zorin, but LMDE does have hibernate as an option in the shutdown menu! That may not translate from VM to the FrameWork 13, but a Debian based distro has it, while all the Ubuntu based distros do not.
Richard
Richard
I adapt this script from one that I have used over the years to fix sleep problems.
If you have some knowledge of the shell programming language (well, specifically: in this case, ‘Dash’), together with some other Linux knowledge, then hopefully the script will be fairly self-explanatory. Do ask questions here if you do have questions.
Good luck!