Skip to content

Black boxes instead of letters in TUI in VSCode builtin terminal #32414

Closed as not planned

Description

@tarelda

Description

Image

It does not happend in my normal terminal app - Ghostty.

Plugins

None

OpenCode version

1.17.6

Steps to reproduce

It usually starts in longer conversations. Opencode restart helps, but comes back after first edit.

Screenshot and/or share link

No response

Operating System

Ubuntu 24.04 LTS with recent hwe kernel

Terminal

VSCode buliltin terminal

Activity

  1. Nicolas-Gth commented on Jun 16, 2026

    @Nicolas-Gth

    Getting the same bug (using Opencode 1.17.7 from Brew on Bazzite) on VSCode terminal. It gets progressively worse and I have to restart VSCode for it to display correctly again.

    Image
  2. drsmile1001 commented on Jun 17, 2026

    @drsmile1001

    Upstream VS Code / xterm.js root cause found

    After a full VS Code version bisection, this issue has been identified as an upstream bug in the VS Code integrated terminal's underlying xterm.js WebGL renderer. It is not an opencode-specific problem.

    Bisection results

    Root cause

    WebGL glyph atlas cells render as solid black rectangles due to corruption in the renderer's texture atlas. The issue manifests on Linux with Mesa + Wayland + the default ANGLE OpenGL ES backend. Affected GPUs include both AMD Radeon (Mesa radeonsi) and Intel integrated graphics. The DOM renderer, ANGLE Vulkan backend, and ANGLE SwiftShader backend are all unaffected.

    Upstream VS Code tracking

    Temporary workarounds

    • Set "terminal.integrated.gpuAcceleration": "off" to use the DOM renderer instead of WebGL.
    • Or launch VS Code with --use-angle=vulkan --enable-features=Vulkan to bypass the GLES backend.

    Status

    The fix is already available in VS Code Insiders 1.125.0 and will ship in the next Stable release.

  3. github-actions commented on Aug 17, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions