anomalyco / anomalyco/opencode

[Desktop] SIGSEGV at startup on Wayland (aarch64 Linux) — EGL/DRM init failure

Open
#40,430 0 comments 0 reactions 1 assignee View on GitHub

@Brendonovich is already working on this.

Since Aug 4, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

OpenCode Desktop crashes with SIGSEGV during startup under a Wayland session on Kylin Linux V10 SP1 (aarch64). The crash happens during EGL/DRM initialization:

drmSetInterfaceVersion() failed - either DRM 1.1 is not supported or connection is not DRM_MASTER

The process dies before any window appears.

Workaround: launch with --ozone-platform=x11 (or set ELECTRON_OZONE_PLATFORM_HINT=x11). The app then starts and works normally.

Expected behavior: when EGL/DRM initialization fails under Wayland, fall back to X11 (or exit with a useful error) instead of crashing with SIGSEGV, so users don't have to discover the flag themselves.

Possibly related: the bundled Chromium also reports Installed VAAPI version is too old. min supported version: 1.17 installed version: 1.7 on this device.

OpenCode version

Desktop 1.18.12

Steps to reproduce

  1. Install OpenCode Desktop on Kylin Linux V10 SP1 (aarch64) with a Wayland session.
  2. Launch it → SIGSEGV before any window appears.

Operating System

Kylin Linux V10 SP1, aarch64, kernel 5.10.97 (Wayland session)

Terminal

N/A (OpenCode Desktop)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.