Skip to content

Critical regression: OpenCode 1.0.201 causes random full OS restarts on Pop!_OS (Wayland, AMD APU) #6163

@jablain

Description

@jablain

Description

Summary

After upgrading to OpenCode 1.0.201, my system running Pop!_OS experiences random, ungraceful full OS restarts while OpenCode is running. This does not occur with earlier OpenCode versions and appears to be a regression introduced in 1.0.201.

The restarts are hard system resets (no logout, no shutdown sequence).


Environment

  • OS: Pop!_OS (Wayland session)
  • Kernel: 6.17.4-76061704-generic
  • CPU: AMD Ryzen 7 7735HS
  • GPU: AMD Radeon 680M (Rembrandt, integrated)
  • OpenGL renderer: AMD Radeon 680M (radeonsi, Mesa / LLVM 15.0.7)
  • Display server: Wayland
  • Node.js: v24.11.0 (via nvm)

OpenCode installation

  • OpenCode version: 1.0.201
  • Install method: npm install (opencode-ai) inside nvm
  • Executed binary:
    ~/.config/nvm/versions/node/v24.11.0/bin/opencode
  • OpenCode maintains a self-updating runtime under:
    ~/.opencode

Expected behavior

OpenCode should run without causing system instability or OS restarts.


Actual behavior

While OpenCode is running, the system randomly reboots without warning.
There is no graceful shutdown and no user interaction triggering the reboot.


Reproducibility

  • Reproduces consistently with OpenCode 1.0.201
  • Does not occur with earlier OpenCode versions (confirmed by downgrading)
  • Restart occurs after variable runtime (from minutes to tens of minutes)
  • Issue does not occur when OpenCode is not running

Additional notes

  • Auto-update has been disabled to prevent further upgrades.
  • System is using AMD APU + Wayland + Mesa (no NVIDIA drivers installed).
  • I can provide logs (journalctl, dmesg) or test pre-release builds if helpful.

Severity

This issue causes full, ungraceful OS restarts and makes OpenCode unusable on this system.

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingperfIndicates a performance issue or need for optimization

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions