Terminal Phase 7 [Linux]: X11 now (wgpu Vulkan child window), Wayland via GTK4 DMA-BUF widget
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 15/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- computer-graphics, desktop-dev
Direzione di ricerca
Start by reading discussion #237 (Linux comment) for the rationale, then the existing macOS renderer and its device-loss watchdog, which the X11 path is meant to reuse. The concrete target is the #239 performance numbers on a Linux iGPU under X11, using an in-process wgpu Vulkan context on an XCB child window of the tao/wry XID. The Wayland half is gated on tauri-apps/wry#1474 (GTK4/webkit6) and on unverified raw-Vulkan DMA-BUF export, so it is design validation only. Done when the #239 targets hold under X11 and the Wayland design is reviewed.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Part of the native GPU terminal roadmap. Research: discussion #237 (Linux comment).
X11 now (GTK3, current wry)
In-process wgpu on Vulkan (GL fallback) on an XCB child window under the tao/wry XID; Fifo vsync, render on demand, device-loss recovery through the existing watchdog. Only zero-copy option on GTK3. fontconfig for discovery/fallback; everything else shared with macOS.
Wayland later (needs wry on GTK4 + webkit6: tauri-apps/wry#1474, still open)
Copy Ghostty's model (since Sep 2026): render off the UI thread, export each frame as a DMA-BUF, a native GtkWidget builds a GdkDmabufTexture in snapshot(); GdkMemoryTexture fallback when the driver cannot export. Not GtkGLArea (main-thread GL context, poor triple buffering; Ghostty dropped it). GtkGraphicsOffload only as an optimization (no clipping, translucency or overlays). GtkIMContext (text-input-v3) for IME, GDK clipboard + primary selection, gdk_surface_get_scale for fractional scaling. Open: wgpu has no public DMA-BUF export; needs VK_EXT_image_drm_format_modifier + VK_KHR_external_memory_fd through raw Vulkan (unverified).
Until then Wayland stays on xterm.js.
References to copy
foot: damage tracking and scroll memmove, ~5–9 MB USS (third-party). Zed: wgpu on X11 and Wayland, frame-callback gated, parks when idle. Ghostty: DMA-BUF renderer.
Risks
NVIDIA: WebKitGTK disables its DMA-BUF renderer on the proprietary driver and has explicit-sync bugs; test WebKit + terminal together.
Done when
#239 targets hold on a Linux iGPU under X11; Wayland design validated once wry GTK4 lands.
- Lingua principale
- Rust
- Stelle
- 3
- Fork
- 1
- Merge medio
- 9h 51m
- PR unite (30g)
- 310
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di codeatlasdev/atlas
-
type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
codeatlasdev/atlas#597 ·
I maintainer di solito rispondono entro 1 giorno
-
area: ci os: linux type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
codeatlasdev/atlas#496 ·
I maintainer di solito rispondono entro 1 giorno
-
area: ci type: bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
codeatlasdev/atlas#596 ·
I maintainer di solito rispondono entro 1 giorno
-
os: linux type: bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
codeatlasdev/atlas#591 ·
I maintainer di solito rispondono entro 1 giorno
-
flaky: Windows scripts job hits test timeouts (check-dco, i18n runner/translate, check-changed)Apertaarea: ci os: windows type: bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 56/100
codeatlasdev/atlas#550 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di codeatlasdev/atlas
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
tinystream-dev/tinystream#132 ·
-
contract good first issue testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Emmyt24/nova-launch#2436 ·
I maintainer di solito rispondono entro 1 giorno