Repository navigation
desktop: fast redraws and resizes (GPU on, batched output, throttled resize) (0.2.4) - #5
Merged
Merged
Conversation
- GPU on: ignore Chromium's Linux GPU blocklist, GPU rasterization, zero-copy, native Wayland. Without it every pane fell back to xterm's DOM renderer, where redraws are visibly slow. desktop.json "gpu": false opts out; GPU status goes to ~/.config/hqterm/desktop.log. - Coalesce PTY output into one IPC message per pane every 4 ms. - Resize: refit at most every 50 ms while dragging (plus a trailing fit) instead of reflowing the scrollback every frame, and resize the PTY only after 80 ms of quiet, so remote programs (hqsh) are not flooded with redraws. - A pane without WebGL says so once; a lost GPU context retries WebGL. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e the compositor without a GPU) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Anthony on KDE: "ui is a little glitchy, mainly the slow rendering on resizes, and screen redraws are really slow and visible … it needs to be fast".
Causes found
Fixes
ignore-gpu-blocklist,enable-gpu-rasterization,enable-zero-copy, and native Wayland (ozone-platform-hint=auto,WaylandWindowDecorations) when on Wayland."gpu": falsein~/.config/hqterm/desktop.jsonopts out. GPU status is written to~/.config/hqterm/desktop.logat startup.Version 0.2.4. A companion hqtui change follows: it will recognise
TERM_PROGRAM=hqtermso hqtui apps (qc) send synchronized frames, which xterm 6 supports.🤖 Generated with Claude Code