I use CachyOS on my Desktop PC as well as a Steam Deck OLED. I have had issues with random freezing ever since, on both devices.
I combined this in one post, because the issues are quite similar.
On Desktop:
Usually it doesn’t freeze while in game. Just when I’m working in KDE, suddenly almost everything is unresponsive and even the time (seconds) in the bottom right of the KDE task manager is frozen. I cannot open the start menu and most windows are also not responsive. While this happens, my mouse is working fine and i can even drag windows around or am able to work in other windows that are not frozen (i. e. browser). After around 20 seconds, everything “rubberbands” to what i did while it was frozen: For example if i clicked the start menu 3 times while it was frozen, it opens, closes and opens again (three times) rapidly.
On Steam Deck:
I have the exact same issue on the Deck as on my Desktop, when using the Desktop Mode. But its even worse in Gaming Mode. Usually there, the game will start to not respond to any button inputs. When it happens while running forward with a character for example, the character will keep running in that direction with no way to stop it, since button inputs are not working. Also the “Steam”, “…” and even the Power Button are not working. After like 20 seconds of that happening, the game/deck freezes fully for another 15-20 seconds and then the deck just snaps back and everything is just working again.
I have been observing this, since i first installed CachyOS on both devices a few months ago and could not find any pattern and it feels to me that it just happens randomly.
I play mostly on the deck and only sometimes on the desktop. Depending on the game it can be really frustrating to die to this bug and loose progress and well, multiplayer games are even worse to play with this issue.
It happens to me exactly the same, the difference is that I don’t have a Steam Deck; I have an Asus ROG Ally, but I have experienced those problems exactly like you.
Oh, I’m sorry it happens to you as well. But also glad I’m not alone, somehow. Hopefully this increases the chances of getting this fixed.
Though, I didn’t have any errors while installing CachyOS.
I absolutely love CachyOS and would really like to keep using it. I can play normally, but this issue is difficult to deal with, since its completely random most of the time.
Yesterday i played a bit of Vampire Survivors and this issue kept on happening every single minute. It was literally unplayable.
After a reboot, i could play again, but still with this issue happening randomly occasionally and caused a few deaths of course.
I hope someone from the team sees this and we can find a fix for this. If there is anything i can do to help, please let me now.
Thank you for your response, but I would like it to be a straightforward installation without worries. I don’t want to bother anyone, but if I see that this is going to take a while, I will ask you. Thank you for your help.
Thank you for your answer. I tried to do everything you listed, but:
I dont see/have any swap entries in /etc/fstab
If i try to execute sudo rmmod zram i get rmmod: ERROR: Module zram is in use
sudo systemctl disable systemd-zram-setup@zram0.service gives me this: The unit files have no installation config (WantedBy=, RequiredBy=, UpheldBy=, Also=, or Alias= settings in the [Install] section, and DefaultInstance= for template units). This means they are not meant to be enabled or disabled using systemctl.
/etc/systemd/zram-generator.conf - i dont have this file.
All of this is the exact same on desktop as well as the deck.
I got some logs from the latest freeze on my desktop. Before it froze, i was right-clicking Proton Pass in the System Tray and selected ‘Quit’. Immediately after, i clicked the notifications and before the notifications even opened, everything froze. The freeze started exactly at 18:30:43 and ended exactly at 18:31:08.
Here is another one. Weirdly enough, it has different error messages. Also i noticed, while the freeze is happening, the log order is messed up. If you look at the seconds: 11 → 09 → 14 → 09 …
The freeze started exactly at 08:27:11 and ended exactly at 08:27:33.
I’m facing the exact same issue. My taskbar and all KDE apps freeze, and during this frozen state, I’m unable to perform any write operations. For example, WhatsApp stops working and shows a “No space available on device” error, YouTube playback halts, and any third-party text editors or IDEs fail to save files.
I can’t switch sessions or use hotkeys to open the terminal. Once it freezes, the only option I have is to force a shutdown by holding the power button — which is really frustrating. I’m also unable to connect to the system via SSH from another device.
Although I haven’t been able to retrieve the logs, my guess is that the issue is related to the storage device.
I’ll try switching to a different DE for a few days.