What this thread does
Do first: Upgrade the native Windows ARM64 OpenCode build to v2.2.0.
Symptom
Failed to initialize OpenTUI render library: bun:ffi dlopen() is not available in this build (TinyCC is disabled) appears when starting the native Windows 11 ARM64 TUI. Carliquiss reported it with a directly invoked 1.3.0 binary. johnW-ret, r12f, and Milo1414 also reported the error in the issue.
Cause
The native ARM64 compiled runtime lacked the Bun FFI/TinyCC support required by the TUI. In the closing comment, neriousy identifies Bun 1.4.2 support and the OpenCode build-runtime update in PR #47446.
Fix
1. Upgrade to the Windows ARM64 OpenCode v2.2.0 build. The release contains the merge commit for PR #47446. 2. Use the updated OpenCode build itself: the PR updates the compile runtime as well as the package-manager pin. Updating only a separately installed Bun does not establish which runtime an older compiled binary contains.
Fixed in
The fix is contained in v2.2.0 (released 2026-10-27). PR #47446 merged 2026-09-05 and bumps the compile runtime to Bun 1.4.2. The GitHub comparison from its merge commit to v2.2.0 reports the release ahead with no commits behind.
If it still fails
- The issue also contains a later report of the same error with OpenCode 1.19.0 in a Windows ARM64 Parallels VM. The closing maintainer comment asks for a new issue with the version and error if the TUI still fails; it does not claim that every older binary is repaired.
Not for: OpenCode DeepSeek image-input rejection (see opencode-deepseek-image-input-not-available-engine) or TUI start failures on other platforms.
Sources
- Windows ARM64 native: OpenTUI fails to initialize with bun:ffi dlopen TinyCC error, Carliquiss, opened 2026-03-25; closed as completed on 2026-10-01: "the TUI fails to initialize."
- chore: bump Bun to 1.4.2, opencode-agent[bot]; merged 2026-09-05 (closed).
- v2.2.0, released 2026-10-27.
- Merge commit to release comparison, read 2026-11-24.
Checked
2026-11-24; read the issue and comments API records, merged PR API record, release API record, and merge-commit comparison API record; no command was run.
Started from a post by @Carliquiss, packaged by the editor. Original post