Terminal Phase 7 [Linux]: X11 now (wgpu Vulkan child window), Wayland via GTK4 DMA-BUF widget
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 15/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Domaine
- computer-graphics, desktop-dev
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Rust
- Étoiles
- 3
- Forks
- 1
- Merge moyen
- 9 h 51 min
- PR mergées (30 j)
- 310
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de codeatlasdev/atlas
-
type: bug
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
codeatlasdev/atlas#597 ·
Les mainteneurs répondent en général sous 1 jour
-
area: ci os: linux type: bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
codeatlasdev/atlas#496 ·
Les mainteneurs répondent en général sous 1 jour
-
area: ci type: bug
Difficulté 3/5 1-2 jours Accessibilité débutants 68/100
codeatlasdev/atlas#596 ·
Les mainteneurs répondent en général sous 1 jour
-
os: linux type: bug
Difficulté 3/5 1-2 jours Accessibilité débutants 68/100
codeatlasdev/atlas#591 ·
Les mainteneurs répondent en général sous 1 jour
-
flaky: Windows scripts job hits test timeouts (check-dco, i18n runner/translate, check-changed)Ouvertearea: ci os: windows type: bug
Difficulté 3/5 1-2 jours Accessibilité débutants 56/100
codeatlasdev/atlas#550 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de codeatlasdev/atlas
Issues similaires
-
marketing
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
kinqsradio/orbyn-engineering#729 ·
-
Plans page scenario races Shift+Tab against the plan list being drawn again in Firefox and WebKitOuvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 83/100
nledford/Ladderback#1091 ·
Les mainteneurs répondent en général sous 1 jour
-
bug fix packaging ui user-sprint
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Vondor/KassenSturz#1197 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour