A KDE developer has introduced Kwi, a GPU-accelerated terminal emulator that uses the Ghostty library to improve rendering speeds and performance. The project aims to provide a hardware-accelerated alternative to traditional CPU-bound terminals within the KDE ecosystem, focusing on raw speed and lean resource usage for Linux users.
The new terminal, named Kwi, is currently an experimental proposal. The name is pronounced like ‘Kwee’. Unlike older terminal emulators that rely on the CPU, Kwi offloads drawing work to the GPU, which can reduce CPU load and increase frame rates during heavy output.
Kwi Uses Ghostty Core for GPU Rendering
Kwi is built on Ghostty’s core library, sharing the same rendering pipeline as the Ghostty terminal itself. This architectural choice ensures that any upstream fixes or improvements to the Ghostty renderer flow directly into Kwi. By utilizing Qt Quick for GPU acceleration via OpenGL or Vulkan, Kwi can handle large bursts of output with minimal frame drops compared to software-rendered terminals. Kwi specifically pairs this GPU drawing with libghostty-vt, a library from the Ghostty project that tracks on-screen content and handles program output.
Kwi as a Complement to Konsole
While Kwi offers superior speed, it is not intended to be an immediate replacement for Konsole. Konsole is nearly 30 years old and remains deeply integrated with the Plasma desktop, providing features like profile management, bookmarks, and split views. Hein, who works on KDE’s Plasma desktop, positioned Kwi as a complement to the default terminal, targeting power users who prioritize every millisecond of performance.
Because Kwi uses a Qt Quick module, other apps using the same framework can easily embed the terminal. Konsole is limited by its use of QWidget, which requires workarounds for similar integration in newer KDE software. Hein noted that libghostty-vt is already utilized in Ghostel and Neovim, suggesting it is a solid choice for modern features.
Kwi Aims for Native Plasma Integration
To distinguish itself from other GPU-accelerated terminals like Kitty, Alacritty, or WezTerm, Kwi is intended to feel native on Plasma.
- Support for KDE color schemes and global menu integration.
- Wayland-specific features, including input methods and fractional scaling.
- Integration with the KDE system tray for background sessions.
- Configurable keybindings and tab support.
The project is in its infancy and has not yet reached a v0.1.0 tag. While the source code is available on GitHub for those comfortable compiling from source, the developer intends to release Flatpak and AppImage builds once the API stabilizes. Currently, the project targets Linux users, with no immediate plans for Windows or macOS support. Users wishing to test the software can find it on the KDE Invent page, though they are warned to expect bugs as the tool is highly experimental.