Skip to content

Desktop black screen on macOS 15.1 + M4 Pro, CLI works #18507

@tufeiming

Description

@tufeiming

Description

🐛 Bug Report
中文版本

描述 (Description)

在 macOS 15.1 (Sequoia) 系统上,OpenCode Desktop 应用启动后显示黑屏,无法正常使用。
具体表现:

  • 应用窗口打开时只显示黑屏,没有 UI 渲染
  • 除了「关于」「退出」「隐藏」菜单外,其他功能均不可用
  • 菜单栏的 OpenCode → Reload Webview 也无响应
  • CLI 版本 (opencode 命令) 完全正常,可以正常使用 TUI 界面
    尝试过的解决方法(均无效):
  • 完全卸载重装 Homebrew Cask
  • 删除 ~/Library/Application Support/ai.opencode.desktop 目录
  • 删除 ~/Library/Caches/ai.opencode.desktop 目录
  • 删除 /.local/share/opencode、/.cache/opencode、~/.config/opencode 目录

环境信息 (Environment)

  • 操作系统: macOS 15.1 (Sequoia) - Build 24B2082
  • 硬件: MacBook Pro 16-inch (Model MX2X3CH/A)
  • 芯片: Apple M4 Pro (14 核: 10 性能 + 4 能效)
  • GPU: Apple M4 Pro (20 核, Metal 3)
  • 内存: 24 GB
  • OpenCode 版本: 1.2.27
  • 安装方式: Homebrew (brew install --cask opencode-desktop)
  • 终端: ohmyzsh

插件 (Plugins)

无(全新安装,默认插件)

重现步骤 (Steps to reproduce)

  1. 在 macOS 15.1 系统上通过 Homebrew 安装 OpenCode Desktop
  2. 打开 OpenCode Desktop 应用
  3. 等待应用加载完成
  4. 观察:应用窗口显示黑屏,无 UI 渲染

截图/视频 (Screenshot/Video)

[请附上黑屏截图或 Loom 视频链接]

相关 Issues

额外信息 (Additional Context)

这个问题与 #17417 完全一致:

  • 相同操作系统版本 (macOS 15.1)
  • 相同症状 (黑屏 + CLI 正常)
  • CLI/TUI 版本完全正常
    CLI 命令 opencode 在终端中运行正常,TUI 界面可以正常渲染和交互,只是 Desktop App 的 WebView 渲染层有问题。

English Version

Description

On macOS 15.1 (Sequoia), OpenCode Desktop application shows a black screen after launch and is unusable.
Symptoms:

  • Application window opens but only shows a black screen, no UI rendered
  • Only "About", "Quit", and "Hide" menu items work
  • Menu bar's OpenCode → Reload Webview is unresponsive
  • CLI version (opencode command) works perfectly fine with full TUI functionality
    Attempted solutions (all failed):
  • Complete uninstall and reinstall via Homebrew Cask
  • Deleted ~/Library/Application Support/ai.opencode.desktop
  • Deleted ~/Library/Caches/ai.opencode.desktop
  • Deleted ~/.local/share/opencode, ~/.cache/opencode, ~/.config/opencode

Environment

  • Operating System: macOS 15.1 (Sequoia) - Build 24B2082
  • Hardware: MacBook Pro 16-inch (Model MX2X3CH/A)
  • Chip: Apple M4 Pro (14 cores: 10 performance + 4 efficiency)
  • GPU: Apple M4 Pro (20 cores, Metal 3)
  • Memory: 24 GB
  • OpenCode Version: 1.2.27
  • Installation Method: Homebrew (brew install --cask opencode-desktop)
  • Terminal: ohmyzsh

Plugins

None (fresh install, default plugins)

Steps to reproduce

  1. Install OpenCode Desktop via Homebrew on macOS 15.1
  2. Open OpenCode Desktop application
  3. Wait for application to load
  4. Observe: Application window shows black screen, no UI rendered

Screenshot/Video

[Please attach black screen screenshot or Loom video link]

Related Issues

Additional Context

This issue is identical to #17417:

  • Same OS version (macOS 15.1)
  • Same symptoms (black screen + CLI works)
  • CLI/TUI version works perfectly
    The CLI command opencode works normally in terminal with full TUI rendering and interaction. Only the Desktop App's WebView rendering layer is broken.

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

macOS 15.1

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions