Skip to content

fix(terminal): mirror VS Code GPU rendering controls - #1344

Merged
nwparker merged 1 commit into
mainfrom
nwparker/fix-linux-rendering
May 2, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/fix-linux-rendering

Conversation

@nwparker

@nwparker nwparker commented May 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace Orca's global Vulkan/SkiaGraphite/unsafe WebGPU opt-ins with VS Code-style Electron GPU channel startup flags
  • add a Terminal > Rendering > GPU Acceleration setting with auto/on/off semantics matching VS Code's terminal.integrated.gpuAcceleration
  • make auto mode try xterm WebGL, fall back to DOM after attach failure, and retry after the setting changes

VS Code references

  • main process GPU flags: /Users/nwparker/projects/vscode/src/main.ts:328
  • terminal gpuAcceleration setting: /Users/nwparker/projects/vscode/src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts:327
  • WebGL renderer selection: /Users/nwparker/projects/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.ts:580
  • WebGL fallback on failure: /Users/nwparker/projects/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.ts:835

Fixes #1292

Validation

  • pnpm vitest run src/main/startup/configure-process.test.ts src/renderer/src/lib/pane-manager/pane-lifecycle.test.ts src/renderer/src/lib/pane-manager/pane-fit-resize-observer.test.ts src/renderer/src/lib/pane-manager/pane-tree-ops.test.ts src/renderer/src/components/settings/terminal-search.test.ts
  • pnpm exec tsc --noEmit -p config/tsconfig.node.json
  • pnpm exec tsc --noEmit -p config/tsconfig.web.json currently fails on existing TS6307 project include issues for src/main/wsl.ts and src/main/ipc/worktree-logic.ts

@nwparker
nwparker force-pushed the nwparker/fix-linux-rendering branch from 1f6254b to 28dcfea Compare May 2, 2026 06:57
@nwparker
nwparker merged commit 9f2ab5e into main May 2, 2026
2 checks passed
mralexsaavedra pushed a commit to mralexsaavedra/orca that referenced this pull request May 2, 2026
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Terminal rendering disorder

1 participant