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.
Not really related to the issue. If I understand correctly, your device isn’t bricked, but freezes. A bricked device doesn’t boot anymore, a frozen device is unresponsive. Or am I misunderstanding this?
Yeah, had a brain fart. It’s a freeze.
you could edit your post title
Oh, yeah, that’s true! Didn’t know that’s a thing here, good to know!
I would try:
- see if you can get logs of the resume process
- suspend from a text VT and see if that changes the behaviour
- boot into single user mode and try suspend from there
- boot an older LTS or a newer test kernel and see if it has the same problem
Sorry, mate, I’m a Linux noob.
I have no clue where to find the logs for this.
No idea what a VT is.
Don’t know how to boot into single user mode…
logs are mostly at 2 places.
kernel logs are read with the
dmesgcommand. use the--followparameter if you want it to keep printing new messages.
dmesg does not save logs to disk.broader system logs are read with
journalctl. use-ffor it to keep printing. the journal records kernel messages, but it only shows them when you specifically request it. you can find the param for that inman journalctl.
the journalctl (journald actually) saves logs to disk. but if you don’t/can’t shut down the system properly, the last few messages will not be there.some system programs log to files in /var/log/, but that’s not relevant for now.
if you switch to a VT as the other user described, you should see a terminal prompt on aback background. log in and run
dmesg --follow > some_file, some_file should not be something important that already exists in the current directory. switch to another VT, log in, and runsleep. try to wake up. see if you could have waken up, and if not check the logs you piped to the file, maybe post it here for others to see.also, what did you do after setting the deep sleep kernel param? did you rebuild the grub config, and reboot before trying to sleep with it? that change only gets applied if you do those in that order.
there’s an easier way to test different sleep modes temporarily, let me know if it would be usefulSo, I did a BIOS update, as advised here, and got some interesting results!
The freeze still happens - but it now freezes BEFORE the PC shuts down.
As in: I click the Sleep button, all devices get disconnected (audio, network, BT, input - all of it goes), the OS freezes, but the screens stay on. I cannot switch to a different VT at this point as everything is disconnected.
here is the low-level documentation on sleep on linux, and the ways you can initiate it: https://docs.kernel.org/admin-guide/pm/sleep-states.html#standby
I would try if setting mem_sleep to any of its values and then sleeping fixes the issue. read this file first to know which options are available on your system, and what is the current default.
if none of them works, try to write freeze or standby into thestatefile to see of any of them works, in case your system does not do sleeping by writingmeminto this file.if this is a firmware issue, hopefully one of the ways that don’t involve the firmware could work until a better solution is found.
the Arch Wiki has mostly the same info but with more (or different) details: https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate
it also mentions what are your options if deep sleep (which is real sleep) does not work.
let us know what results you got
Fair enough, most of that isn’t something a user should have to worry about.
VT is just Virtual Terminals. You always have one of them active, and in most distros you can switch to others by Ctrl-Alt-F1 through F12. In some distos it’s just Alt-F1.
So if you press Ctrl-Alt-F2 you should be brought to a text login. For crazy historical reasons you may have to either press Ctrl-Alt-F1 or Ctrl-Alt-F7 to get back to your usual graphical session.
Arch docs for example: https://wiki.archlinux.org/title/Linux_console
OK, I tried that. Ctrl+Alt+F2 gives me a black screen.
Ctrl+Alt+F1 brings me back to my desktop.
Ctrl+Alt+F3-F6 all have a text login screen. F7+ don’t do anything.
I was able to grab the
journalctllogs. You can find them (and an extra bit about the computer state I was able to get) HERE.What are the crazy historical reasons? As far as I know, running six ttys and one graphical session, in that order, has been standard.
The really crazy historical way to test for crashes is num/scroll/caps lock. That’s handled by a very low-level kernel driver. If those are responsive, it’s probably just your display (gpu, X, wayland, or something) that’s locked up. If they’re unresponsive, your kernel is locked up. (If you’re lucky, it’s just gotten real busy and might catch up in a minute, but I’ve only seen that happen once.)
I was able to make some progress in troubleshooting.
I went to the Screen Locking options and disabled “Lock after waking from sleep”. Now I get to see the screen when I wake the computer back up, frozen as it was when I issued the sleep command.
All devices are disconnected - no network, no Bluetooth, no audio, all the “tray” icons are greyed out and/or showing errors, time is stopped at the moment I clicked the “Sleep” button.
Not sure if that helps at all.
after wake up, does the numlock button change its light when you press it?
No, the keyboard is unresponsive. I also tried Ctrl+Alt+F1…F7, and got absolutely nothing.
I did a BIOS update, as advised here, and the behaviour changed! Now the freeze happens BEFORE the PC goes to sleep. As in: it gets to the frozen state the moment I click the button and the screens remain on.
Having the same issue on Intel + AMD GPU.
Arch Linux with newest KDE.
That’s interesting! Might be KDE bug then.
Could you try going to System Settings → Screen Locking and de-select “Lock after waking from sleep”? I wonder if you’ll get the same result as I’m getting.
Before I updated the BIOS to the latest version, once I woke it up, I’d see the desktop exactly frozen as it was the moment I pressed the “Sleep” button.
Now, after the update, that freeze happens BEFORE the PC goes to sleep - the monitors stay on.
Do you have a Nvidia GPU?
Sorry, forgot to mention hardware in the OP. I have a Ryzen 7 7800X3D and no dedicated GPU (yet).
so you use the integrated graphics of the ryzen, right? you can check in KDE’s info center, to make sure
Don’t need to check, I built the PC myself - it’s currently running on the iGPU from the 7800x3d.
First, update your computer’s BIOS/firmware. If that doesn’t fix it, then try Arch, or Fedora beta. If the problem exists there too, then it’s a kernel issue in general, and it might get fixed in the future. OR, if the computer BIOS is buggy, Linus has been clear that they won’t do workarounds for buggy firmwares. In which case, you’d need a new computer that’s actually compatible with Linux.
Most of the computers out there have buggy firmwares that go around for Windows, but Linus has been adamant that he wouldn’t do workarounds because they bloat the kernel.
Well, I updated the BIOS - no change so far. I guess I’m stuck without Sleep. :/
You are not alone. There are many laptops that don’t work with sleep on Linux. I used to have one of them, a Dell 3150. I simply disabled sleep in bios, and be done with it. I now buy laptops that I know they work 100% with Linux. It’s impossible for Linux to support every hardware in the world, when these are specifically are made for Windows.
I have it too now with KDE. Seems like something new
@Alaknar Sounds like a bug this developer found and fixed:
https://nyanpasu64.gitlab.io/blog/amdgpu-sleep-wake-hang/Basically the fix should ship with kernel 6.14. I’m on ubuntu 25.04 which runs that kernel, and I haven’t seen it since. I was seeing it every once in awhile.
Oh, nice! Thanks for the info!
You could try a tool like LACT and setting your gpu power profile to always highest. Another thing you could check is your BIOS settings, https://www.tomshardware.com/reviews/bios-beginners,1126-8.html or checking if the latest bios is installed https://red.artemislena.eu/r/gigabyte/comments/1b3bffy/gigabye_b650_aorus_elite_ax_rev_10_sleeppower/
Hmm… Wouldn’t I also have sleep problems on Windows if this was a BIOS issue?
windows may have a workaround for your hardware. It’s relatively common for popular hardware to not work according to specifications, unfortunately, and that results in all kinds of mundane behaviour like this
I don’t know enough to rule out that windows could overwrite bios.
There’s no Windows, I nuked the drive before installing Tuxedo OS.
In the sense of windows boots and changes values of the bios that aren’t saved between boots. Similar to how fan curves can be changed or GPUs overclocked.
I did some more digging and in System Settings → Screen Locking found an option called “Lock after waking from sleep”. Since the OS was freezing on the lock screen, I disabled that to see what happens.
The OS freezes completely just before the shutdown to sleep - I can see ALL devices get booted out - network, BT, audio, mouse, keyboard - everything gets disconnected and then freeze happens.
I have updated the BIOS to the latest version and since then the freeze happens BEFORE the OS goes to sleep. As in: I click the Sleep button, everything freezes, that’s it, the screens never turn off.
So it doesn’t seem like it’s something that’s happening in BIOS during wake-up/reboot, right?
Does the system also freeze on lock screen without the sleep? superkey(winkey)+L
I’m no expert on TuxedoOS you might need to contact their support https://www.tuxedocomputers.com/en/Help-Support.tuxedo I also found this while digging. https://www.reddit.com/r/tuxedocomputers/comments/17ai79z/how_to_enable_hibernation_in_tuxedo_os_encrypted/
Does the system also freeze on lock screen without the sleep? superkey(winkey)+L
No, lock screen works fine.
Cheers for the links, I’ll look into that!




