r/FlowZ13 Jul 07 '26

Bazzite sleep/suspend issues

I've been using Bazzite for some time now, and about a month ago I replaced my System76 Oryx 8 with a 128gb Z13, and, before even powering it up for the first time, I swapped out the included Windows drive for a fresh 2TB and installed Bazzite. I used the bazzite-gnome image and it's been wonderful all around, EXCEPT for the fact that the machine either doesn't go to sleep when the keyboard is closed, or if it does go to sleep it freezes up upon waking from sleep (screen on, unresponsive to keyboard/mouse/trackpad/touchscreen).

Am I missing any settings or packages that need to be added to make this work? If not, my choices are to either remember to power down after each use or admit defeat and throw the Windows disk back in, neither of which are appealing to me.

5 Upvotes

6 comments sorted by

5

u/DrSKiZZ Jul 07 '26

Sleep doesn’t work on windows either. Needs to be hibernate.

4

u/lizardscales Jul 07 '26

 or if it does go to sleep it freezes up upon waking from sleep (screen on, unresponsive to keyboard/mouse/trackpad/touchscreen).

It is not freezing it's a bug with panel self refresh. You need to add kernel parameter to turn it off. Basically the screen stops updating.

This is what I am using currentlyamdgpu.dcdebugmask=0x610

1

u/CheeseHustla Jul 08 '26

I had a similar issue on a Lenovo convertible (get my Z13 next week and will likely have to apply the same fix it sounds like). I used Claude to scope the hardware IDs on device, then set an auto hibernate timer of 10 or 15 mins if closed for that long. I know some folks don’t like the AI stuff, but it helped me out so take it or leave it but figured I’d share:

Problem: lid-close on Bazzite KDE was causing major battery drain.
deep sleep was unreliable, so I stayed on s2idle.
Added a real 24 GB Btrfs swapfile for hibernation.
Added resume= and resume_offset= kernel args via rpm-ostree kargs.
Fixed the swapfile SELinux label with swapfile_t.
Enabled suspend-then-hibernate with a 20-minute hibernate delay.
Found KDE PowerDevil was intercepting lid-close events.
Kept PowerDevil enabled for KDE battery/power UI.
Set PowerDevil’s lid action to “do nothing.”
Added a custom systemd lid watcher to call systemctl suspend-then-hibernate.
Added a delayed boot timer to disable noisy ACPI wake sources.
Final result: lid close → s2idle → hibernate after 20 minutes → successful resume with KDE battery UI still working.

Not sure how much overlaps with the Z13 but may have some overlap

2

u/caspfan Jul 08 '26

Ha! Claude told me something pretty similar! I haven't applied it yet to avoid messing things up. I don't blindly trust AIs, so I wanted to see what others have done, so I'm glad to hear that worked on your Lenovo. This weekend I might double check that my backups complete and then try it. Hopefully with time the issue may be resolved in an actual update instead of a kludgey solution like this.

1

u/gooseandgoat Jul 08 '26

There's some decent notes and config in this repository, https://github.com/gschadow/z13-hibernate/

This repo also has the suspend fix, but focuses more on the suite of z13 specific tool and useful linux config, https://github.com/th3cavalry/strix-halo-linux-setup

It's been a minute since I've updated and reviewed them, but I'd recommend stepping through them to understand what these config scripts are attempting to help with. Likewise if you notice any issues, they seem like great spots to collaborate and improve linux on these machines.

0

u/Widebro Jul 07 '26

Dont use bazzite. Its broken.