this post was submitted on 29 Mar 2025
68 points (94.7% liked)

Linux

52674 readers
579 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hi all!

I recently installed Tuxedo OS with KDE and Wayland. I'm fairly new to Linux and, so far, the distro is great. With one caveat.

As far as power options go, everything works fine EXCEPT for Sleep. I can put the PC to sleep, but when I wake it up, I land on the login screen wallpaper with the login/password fields barely visible, as if frozen around the second frame of a fade-in animation.

Nothing works. The mouse cursor doesn't move, the keyboard doesn't do anything. The only way out of this state is to hold the power button until the PC shuts down and then turn it back on again.

I did some digging, but couldn't find a solution. Some threads mentioned modifying something in systemd, but those were from years ago, so I didn't want to risk that.

One fairly recent thread had a proposed solution of adding "mem_sleep_default=deep" to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub.

That didn't work for me, though.

I'd love to fix this, but I'm out of ideas. Any help welcome!

EDIT

Forgot it might be a driver issue, people were complaining about Nvidia gear!

I currently don't have a dedicated GPU. I only have Ryzen 7 7800X3D running on MSI B650 Gaming Plus WIFI ATX AM5 MoBo.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 2 days ago (17 children)

What's your hardware? And did you regenerate grub's config after editing the file you mentioned?

[–] [email protected] 4 points 2 days ago* (last edited 2 days ago) (16 children)

Sorry, forgot to mention hardware! Added in an edit now!

I have a Ryzen 7 7800X3D and no dedicated GPU (yet).

I ran sudo update-grub after making the changes. That and rebooting a bunch of times since.

[–] [email protected] 4 points 2 days ago (12 children)

Did you try any other distro or Windows on this system to narrow down the issue to Tuxedo OS itself? It could be an issue with your motherboard.

[–] [email protected] 0 points 2 days ago (1 children)

I moved to Tuxedo from Kubuntu after having MASSIVE problems there, but I honestly can't remember if I was using the Sleep feature.

[–] [email protected] 6 points 2 days ago (1 children)

I assume your issue is reproducible every time, right? If yes, do so and reboot. Use the following command to obtain logs from the previous boot, where you had the problem:

$ journalctl -r -b -1

Before resuming from sleep, wait for about a minute or so to check for that time gap in the logs to easily find the logs of the resuming process.

You can append >> file_name.log to the command above to output logs to a file, in case that makes copy and pasting easier for you.

[–] [email protected] 3 points 2 days ago* (last edited 2 days ago) (1 children)

11:48 - Sleep

11:50 - Wake

11:52 - Reboot

Password to the file:

spoilerhelpm.ee.lemm.ee

Log file (on Filen.io).

I noticed something that might be helpful, not sure.

I was fiddling with settings to see if I can do anything about this on my own. Found the "Screen Locking" settings and disabled "Lock after waking from sleep". Got some interesting results!

Nothing changes when I put the device to sleep, but now, when I wake it up, I can see the desktop, as it was when I issued the sleep command. Everything is frozen and all devices are disconnected - no network, no Bluetooth, no audio, all the "tray" icons are greyed out and/or showing errors.

[–] [email protected] 4 points 2 days ago* (last edited 2 days ago) (1 children)

Thanks.

Unfortunately, your system printed absolutely no logs when waking up.

Though, looking at them, I can see that your BIOS is wildly out-of-date:

mar 30 11:45:37 HostName kernel: Hardware name: Micro-Star International Co., Ltd. MS-7E26/B650 GAMING PLUS WIFI (MS-7E26), BIOS 1.10 05/23/2023

In fact, it is the one it was shipped with from the factory. First and foremost, you should update it to the latest one available from MSI's website. Latest one is from a week ago.

Also, try your best to undo any changes you made to your system following this post, including the grub config change. It is best to troubleshoot making as little change as possible at every step.

[–] [email protected] 1 points 2 days ago (1 children)

OK, that was journey... I'm on the latest BIOS version now! Of course I forgot to check ALL the settings before I installed it, so I ended up in a boot loop. All good now, hopefully.

There IS a behaviour change on the Sleep front - it now never actually goes to sleep, the screen freezes like before, I can see ALL devices getting kicked out, and then nothing more happens.

Before doing the update I removed the "mem_sleep_default=deep" bit from grub, tested, added it back in, tested again. No change noted.

[–] [email protected] 2 points 2 days ago

Can you check the system journal (just like before) to see whether there were any logs about it?

load more comments (10 replies)
load more comments (13 replies)
load more comments (13 replies)