Terminal engine: release GPU resources of hidden terminals
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 28/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- computer-graphics, performance
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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).
- Ngôn ngữ chính
- Rust
- Star
- 3
- Fork
- 1
- Merge trung bình
- 9 giờ 51 phút
- Pull request đã merge (30 ngày)
- 310
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của codeatlasdev/atlas
-
type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
codeatlasdev/atlas#597 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: ci os: linux type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
codeatlasdev/atlas#496 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: ci type: bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
codeatlasdev/atlas#596 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
os: linux type: bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
codeatlasdev/atlas#591 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
flaky: Windows scripts job hits test timeouts (check-dco, i18n runner/translate, check-changed)Đang mởarea: ci os: windows type: bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 56/100
codeatlasdev/atlas#550 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của codeatlasdev/atlas
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
tinystream-dev/tinystream#132 ·
-
contract good first issue testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Emmyt24/nova-launch#2436 ·
Maintainer thường phản hồi trong vòng 1 ngày