Distro News

KDE's Kwi terminal emulator nears first release with GPU-accelerated Ghostty backend

Key Takeaway

Kwi, KDE's new Qt Quick/Kirigami terminal using Ghostty's libghostty-vt, has cleared its defect backlog and entered KDE Review ahead of a 0.1 release with Flatpak distribution planned.

Summary

KDE developers have published a progress update on Kwi, the GPU-accelerated terminal emulator announced last week that uses Ghostty's libghostty-vt as its rendering backend. The project has resolved all reported defects and is now progressing through KDE Review, the formal process for experimental applications to become official KDE projects. Once translation work and release infrastructure access are complete, the team intends to tag Kwi 0.1 as its first official release alongside a Flathub Flatpak package.

The update details substantial improvements across tab management, rendering fidelity, search functionality, and accessibility. New tab behaviors include opening tabs adjacent to the current one and returning to the previously active tab on close, plus mouse wheel tab switching. Rendering fixes target geometric and Powerline characters, double line corners, underlines extending past descenders, and missing fallback glyphs. The search interface has been repositioned with color-coded match feedback and reduced flicker, while performance optimizations batch terminal updates during window resize to eliminate unnecessary re-rendering and fix a Bash compatibility issue.

Rendering engine and integration architecture

  • GPU-accelerated backend: Kwi uses Ghostty's libghostty-vt for terminal emulation combined with Qt Quick and Kirigami for the UI layer, distinguishing it from Konsole's traditional rendering path.
  • systemd scope isolation: Each tab's processes run in separate systemd scopes, a security and resource-management feature that functions even when Kwi is sandboxed inside a Flatpak container.
  • Fractional scaling and resize batching: Terminal updates are now batched during window resize events, reducing re-render overhead and resolving a specific compatibility problem with newer Bash versions; fractional scaling issues in the tab bar have also been fixed.
  • KDE embedding gap: Prior to 1.0, Kwi must implement terminal embedding integration to replace Konsole's plugin for Dolphin, Kate, and Yakuake, which currently depend on Konsole for embedded terminal functionality.
  • API stability dependency: The Kwi 1.0 timeline is explicitly tied to Ghostty's planned 1.0 release of libghostty-vt with guaranteed API and ABI stability.

Why it matters

Kwi represents a significant architectural bet for KDE, moving terminal rendering from CPU-based approaches to GPU acceleration through an external, cross-platform library rather than maintaining a custom emulation core. For Linux desktop users, particularly on Wayland and HiDPI displays, the Qt Quick/Kirigami foundation and Ghostty's rendering engine should deliver smoother scrolling and sharper text at fractional scales than Konsole's legacy stack. The planned Flatpak distribution on Flathub will make testing accessible across distributions without waiting for package maintainers, though the lack of split panes until a future release and the dependency on Konsole embedding for core KDE applications means Kwi remains experimental rather than a drop-in replacement.

Original reference: linuxiac.com →