r/opencode • u/katana1096 • 9d ago
My system freezes when I am using opencode. Need urgent help.
Hello. My machine is GMKtec k12 and I am using Almalinux 10 KDE with opencode desktop and I am so happy with it helping me vibe coding my projects. But recently, I my system hangs while vibe coding and it had been 3 times already in the last 30 mins. So far I have noticed that KDE desktop crashes first then dolphin and then the screen goes black and thats it, nothing working even it is not responding to switch to init 3. So my only choice is to hold the power button for 5 seconds to force it off.
So please advise me on what to do. As I cant proceed with the projects if this is the case. Note, I am running the latest version of opencode which is 2.3.0.
And thank you in advance.
1
u/lincolnthalles 9d ago
Ryzen 7 H 255? This CPU is too new to use an LTS distro. New hardware needs new kernels. That may be the root cause of the freezes.
Try using Fedora 44/45 (there's a KDE version too), with a plain configuration, like using the XFS or EXT4 file system on the main storage (it's faster for git worktress and other operations that agents use a lot; Btrfs is bad for this kind of usage).
If the issue persists, you may have a hardware issue.
I use Fedora KDE and have no issues with any kind of GUIs for OpenCode (the official one, T3 Code, or OpenChamber).
1
u/oyren-ai 9d ago
before reinstalling anything, get evidence: a freeze that takes the text console with it points at the kernel, gpu driver or memory pressure rather than opencode, and the previous boot's log may show which: journalctl -b -1 -p err, plus journalctl -k -b -1 for kernel lines. if there's no previous boot, create /var/log/journal and restart journald so logs survive hard resets.
1
u/Soifon99 8d ago
I dont understand why people who use AI, don't ask AI to troubleshoot the machine that is having issues. it will find in a prob 5 min.
1
u/sun_in_the_winter 3d ago
I have the same and its very annoying. Running on debian 13 ryzen 7 4800 and still have no clue whats actually happening. No evidence or trace left.