Terminal Phase 7 [Linux]: X11 now (wgpu Vulkan child window), Wayland via GTK4 DMA-BUF widget
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
- 15/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Bereich
- computer-graphics, desktop-dev
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- Rust
- Sterne
- 3
- Forks
- 1
- Ø Merge
- 9 Std. 51 Min.
- Gemergte PRs (30 T.)
- 310
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus codeatlasdev/atlas
-
type: bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
codeatlasdev/atlas#597 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: ci os: linux type: bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
codeatlasdev/atlas#496 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: ci type: bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 68/100
codeatlasdev/atlas#596 ·
Maintainer antworten meist innerhalb von 1 Tag
-
os: linux type: bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 68/100
codeatlasdev/atlas#591 ·
Maintainer antworten meist innerhalb von 1 Tag
-
flaky: Windows scripts job hits test timeouts (check-dco, i18n runner/translate, check-changed)Offenarea: ci os: windows type: bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 56/100
codeatlasdev/atlas#550 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in codeatlasdev/atlas
Ähnliche Issues
-
marketing
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
kinqsradio/orbyn-engineering#729 ·
-
Plans page scenario races Shift+Tab against the plan list being drawn again in Firefox and WebKitOffenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
nledford/Ladderback#1091 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug fix packaging ui user-sprint
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Vondor/KassenSturz#1197 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag