Roadmap: native GPU terminal on Windows and Linux (tracking)

Offen
#249 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
8/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Aktiv
Tech-Stack
rust
Bereich
desktop-dev

Rechercherichtung

This is a tracking issue, not a work item: it maps the whole native GPU terminal programme and delegates each step to a child issue (#239-#248, plus shared-engine #252-#256). Start by reading docs/terminal.md#roadmap-windows-and-linux and discussion #237 for the design and measurements, then pick a single unchecked phase issue rather than this one. Done here means every phase issue is closed and the terminal is default on Windows; a newcomer should contribute to a phase instead.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area: terminal priority: 1 high status: confirmed type: feature

Tracking issue for the native GPU terminal on Windows 10 1809+ / Windows 11 and Linux, at the macOS level. Design, research and measurements: discussion #237. Roadmap page: docs/terminal.md#roadmap-windows-and-linux.

Decisions

Layer Decision
Windows renderer native D3D11 (measured: wgpu DX12 +65 MB, ~2.5× device time); one shader source (term.wgsl → naga → HLSL SM 5.0)
macOS / Linux renderer wgpu (Metal / Vulkan)
No GPU, VM, RDP D3D11 WARP, then xterm.js
Windows PTY own ConPTY layer + pinned bundled conpty.dll/OpenConsole.exe, self-test, inbox fallback
Windows text DirectWrite into our atlas
Windows composition child HWND first, then DirectComposition + WebView2 visual hosting
Linux X11 child window; Wayland on xterm.js until wry GTK4

Phases

  • #239 Phase 0: benchmark harness + baselines (macOS reference, Windows, ConPTY, VMs/RDP) (absorbs #110; extends the macOS numbers already in docs/terminal.md "Performance")
  • #240 Phase 1: own ConPTY layer
  • #241 Spike: child HWND next to WebView2
  • #242 Phase 2: D3D11 backend + term/win.rs
  • #243 Phase 3: native data path, on-demand rendering
  • #244 Phase 4: DirectWrite, IME, UIA, DPI
  • #245 Phase 5: DirectComposition + WebView2 visual hosting
  • #246 Phase 6: default on Windows
  • #247 Phase 7: Linux X11
  • #248 Phase 8 (optional): WSL without ConPTY

Shared engine (all platforms)

  • #252 single pass over PTY bytes before the parser
  • #253 decouple PTY read from parse
  • #254 release GPU resources of hidden terminals
  • #255 spike: libghostty-vt as VT core
  • #256 idle compression of cold scrollback
flowchart LR
  P0[#239 Phase 0] --> P1[#240 ConPTY]
  P0 --> S[#241 HWND spike] --> P2[#242 D3D11]
  P1 --> P3[#243 data path]
  P2 --> P3 --> P4[#244 text/IME/UIA] --> P6[#246 default]
  P2 --> P5[#245 DComp] --> P6
  P2 --> P7[#247 Linux X11]
  P1 --> P8[#248 WSL]

Labels: every issue of this roadmap is area: terminal + milestone Roadmap: native GPU terminal (Windows & Linux).

Vorherrschende Sprache
Rust
Sterne
3
Forks
1
Ø Merge
9 Std. 51 Min.
Gemergte PRs (30 T.)
310

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus codeatlasdev/atlas

Alle Issues in codeatlasdev/atlas

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.