Terminal engine: release GPU resources of hidden terminals
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 28/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- rust
調査の方向性
Start in term/render_loop.rs at the branch that stops drawing hidden terminals, and trace who owns the surface, instance buffers and glyph atlas for a parked terminal. Then find the watchdog rebuild path that already recreates a Renderer, since showing a terminal must hook into it without a visible flash. Read discussion #237 and run the #239 measurement harness to get a baseline with 20 terminals (1 visible) before changing anything; done means before/after GPU and RSS numbers plus a flicker sweep on show across macOS, Windows and Linux.
索引モデルが issue の本文から書いたものです。
説明
Research: discussion #237 (Linux/engine comment). Applies to macOS, Windows and Linux (shared atlas-term). Measure with the #239 harness before and after.
Problem (read in code)
term/render_loop.rs already stops drawing hidden terminals, but each terminal keeps its own surface, buffers and glyph atlas while parked.
Change
Drop surface, instance buffers and atlas when a terminal is hidden for a while; rebuild on show (the watchdog rebuild path already recreates a Renderer).
Evidence
Ghostty 1.4: 1 visible + 20 hidden tabs, GPU memory ~385 → ~18 MiB, rebuild under 1 ms [vendor, macOS].
Done when
GPU/RSS with 20 agent terminals (1 visible) measured on #239 before and after; no visible flash on show (flicker sweep).
- 主要言語
- 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 日以内に返信