PC freezes to death when zram is enabled
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
### Custom Node Testing
- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)
### Expected Behavior
I am writing this post in the hope that they will add some kind of safety net for such cases or in case someone else experiences something similar.
### Actual Behavior
My PC freezes to death when zram is enabled on Ubuntu. For a long time, I couldn't figure out what the problem was. I didn't even know where to turn with the problem: ComfyUI, Canonical, AMD, or even Linus Torvalds himself.
### Steps to Reproduce
1. Turn on zram on Ubuntu (in my case it was 8GB zram on Ubuntu 25.10, no swap);
2. Run ComfyUI;
3. Start generate video (in my case it was Wan 2.1-2.2 and LTX-2);
4. Got black screen and the PC freezes completely.
### Debug Logs
```powershell
ComfyUI did not indicate any problems in the logs.
```
### Other
What didn't help:
1. ComfyUI launch arguments: lowvram, reserve vram; use split cross attention;
2. Reinstalling different versions of Mesa, from stable to the latest.
3. Installing the latest version of Ubuntu.
What helped:
Completely disabling zram.
Operating System: Ubuntu 26.04
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.9.2
Kernel Version: 6.17.0-8-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Xeon® CPU E5-2696 v3 @ 2.30GHz
Memory: 64 GB of RAM (61.6 GB usable)
Graphics Processor: AMD Radeon RX 9070 XT
Contributor guide
Assessment
This issue has not been assessed yet.