Terminal Phase 7 [Linux]: X11 now (wgpu Vulkan child window), Wayland via GTK4 DMA-BUF widget
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 15/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Rust
- スター
- 3
- フォーク
- 1
- 平均マージ
- 9時間 51分
- マージ済み PR(30日)
- 310
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
codeatlasdev/atlas のほかの issue
-
type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
codeatlasdev/atlas#597 ·
メンテナーはふだん 1 日以内に返信
-
area: ci os: linux type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
codeatlasdev/atlas#496 ·
メンテナーはふだん 1 日以内に返信
-
area: ci type: bug
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
codeatlasdev/atlas#596 ·
メンテナーはふだん 1 日以内に返信
-
os: linux type: bug
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
codeatlasdev/atlas#591 ·
メンテナーはふだん 1 日以内に返信
-
flaky: Windows scripts job hits test timeouts (check-dco, i18n runner/translate, check-changed)オープンarea: ci os: windows type: bug
難易度 3/5 1〜2日 初心者へのやさしさ 56/100
codeatlasdev/atlas#550 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
codeatlasdev/atlas の issue をすべて見る
似ている issue
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
kinqsradio/orbyn-engineering#729 ·
-
Plans page scenario races Shift+Tab against the plan list being drawn again in Firefox and WebKitオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
nledford/Ladderback#1091 ·
メンテナーはふだん 1 日以内に返信
-
bug fix packaging ui user-sprint
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Vondor/KassenSturz#1197 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信