A from-scratch Linux gaming overlay.
Pentox 1.0 is stable and production-ready. The capture shims, HUD, watcher, GUI and CLI are covered by a test suite and continuous integration. Expect incremental improvements, not breakage.
No MangoHud, no GOverlay, no embedded HUD engines — the overlay, metrics engine, frame-capture shims, watcher and integrations are all written here.
Dark glass · Lavender accents · JetBrains Mono · end4-pC inspired
Pentox 1.0 is a stable release. The core architecture — overlay,
metrics engine, frame-capture layers, game watcher, GUI and desktop
integrations — is complete and covered by automated tests
(pytest) and CI.
What you can rely on:
- ✅ Stable configuration and CLI interfaces
- ✅ Vulkan + OpenGL capture on AMD, NVIDIA and Intel
- ✅ Wayland (layer-shell), X11 fallback, Hyprland detection
- ✅ GUI control panel with launcher integration
- ✅ Graceful degradation: every metric probe is optional at runtime
Ongoing work continues on wider game compatibility, extra metrics and packaging. Bug reports and contributions are welcome.
Existing HUDs are often tightly coupled to their rendering engines.
MangoHud provides a powerful gaming overlay, while GOverlay provides a GUI for configuring it. Pentox takes a different approach: the overlay, metrics engine, frame-capture layers and integrations are built directly into the project.
Pentox aims to be a small, hackable Python + C project that:
- Captures frames itself — a hand-written Vulkan layer using
vkQueuePresentKHRand a hand-writtenLD_PRELOADshim usingeglSwapBuffers/glXSwapBuffers - Renders the HUD itself — GTK3 + gtk-layer-shell + Cairo
- Works across environments — Wayland with X11 fallback
- Supports multiple GPU vendors — AMD, NVIDIA and Intel
- Requires no driver modifications
- Requires no compositor configuration edits
- Runs in user space
- Can be removed without leaving system modifications behind
- FPS
- Frame timing
- GPU statistics
- CPU statistics
- RAM / VRAM usage
- Temperature monitoring
- GPU clocks
- CPU clocks
- GPU power information
- Game detection
- Game session state
- Wayland layer-shell support
- X11 fallback
- Hyprland integration
- Game watcher
- Taskbar/status chip
- Desktop notifications
- Global overlay toggle
- GUI control panel (
pentox gui) - Application launcher entry (search "Pentox")
- Dark glass aesthetic
- Lavender accent palette
- JetBrains Mono
- end4-pC-inspired styling
- Cairo-rendered interface
- Configurable geometry and appearance
⚠️ Installation and compatibility are currently experimental.
git clone https://github.com/vin1397/pentox.git
cd pentox
./install.shThe installer installs Pentox into the user's local environment, registers the user-level watcher and adds an application entry, so Pentox shows up in your application launcher / search — opening it starts the GUI control panel.
- Python ≥ 3.9
- Python Cairo
- PyGObject
- GTK3
- gtk-layer-shell (optional; X11 fallback available)
- GCC
- Vulkan headers
- Make
notify-send
Fish users:
./install.sh
works as-is because the installer uses POSIX sh.
pentox doctorRuns diagnostics for:
- GPU metrics
- CPU metrics
- Layer-shell support
- Frame capture
- Runtime environment
pentox run -- vkcubeOr:
pentox run -- <application>pentox run -- %command%
pentox watchThe watcher is normally started automatically by the installer.
pentox guiOr just search for Pentox in your application launcher. The panel shows session status with live FPS, starts/stops the watcher, toggles the overlay, can launch a test capture and edits the common options.
pentox togglepentox chip --printThis can be used by status bars and other scripts.
Pentox currently registers a Vulkan implicit layer.
This allows Vulkan applications to be frame-captured automatically without requiring a wrapper command.
For example, Vulkan games launched normally can be detected by the watcher.
To disable Pentox Vulkan capture for an application:
PENTOX_VK_DISABLE=1OpenGL applications can be captured through the LD_PRELOAD shim.
Launch an OpenGL application with:
pentox run -- <application>Pentox currently hooks:
eglSwapBuffers
glXSwapBuffers
Vulkan titles can currently be captured through the Vulkan implicit layer.
For per-game control, use:
pentox run -- %command%
⚠️ Steam and game compatibility are still being tested.
Different games, engines, graphics APIs, Proton versions and drivers may behave differently while Pentox is under development.
┌─────────────────┐
│ Game │
└────────┬────────┘
│
┌─────────┴─────────┐
│ │
Vulkan Layer OpenGL Shim
│ │
└─────────┬─────────┘
│
▼
/tmp/pentox-run-<pid>.ring
│
▼
fpsreader
│
▼
┌────────────────┐
│ Overlay │
│ GTK3 + Cairo │
└───────┬────────┘
│
▼
Layer-shell HUD
The watcher operates alongside the capture system:
watch.py
│
├── Game detection
├── Process monitoring
├── Hyprland IPC
├── Overlay spawning
├── Notifications
└── Taskbar chip
pentox/
├── pentox/
│ ├── cli.py
│ ├── gui.py
│ ├── overlay.py
│ ├── chip.py
│ ├── watch.py
│ ├── metrics.py
│ ├── fpsreader.py
│ ├── config.py
│ └── theme.py
│
├── src/
│ ├── ring.h
│ ├── pentox_gl.c
│ ├── pentox_vk.c
│ └── Pentox_layer.json
│
├── data/
│ ├── io.github.pentox.desktop
│ └── icons/
│
├── bin/
│ └── pentox
│
├── install.sh
└── pentox-watch.service
| Component | Purpose |
|---|---|
cli.py |
Command-line interface |
gui.py |
GTK3 control panel |
overlay.py |
GTK3 + Cairo HUD |
chip.py |
Taskbar/status chip |
watch.py |
Game/session detection |
metrics.py |
GPU/CPU system metrics |
fpsreader.py |
Frame-ring reader |
config.py |
Configuration handling |
theme.py |
UI theme and geometry |
pentox_vk.c |
Vulkan capture layer |
pentox_gl.c |
OpenGL capture shim |
ring.h |
Shared frame-ring structure |
Pentox uses:
~/.config/pentox/pentox.conf
An example configuration is provided as:
pentox.conf.example
Configuration uses a simple key=value format.
All configuration keys are optional.
Unknown keys are ignored.
⚠️ Configuration options may change while the project is under development.
Run the test suite:
python -m venv .venv
.venv/bin/pip install .[dev]
.venv/bin/pytest tests/ -qBuild the capture shims:
makeContinuous integration runs both on every push and pull request
(see .github/workflows/ci.yml). The suite covers the config parser,
frame-ring reader (against synthetic rings written exactly like the C
shims), metrics helpers and watcher heuristics.
| Component | Current Target |
|---|---|
| Wayland | ✅ |
| X11 | ✅ |
| Hyprland | ✅ |
| wlroots | ✅ |
| GTK3 | ✅ |
| Vulkan | ✅ |
| OpenGL / OpenGL ES | ✅ |
| AMD | ✅ |
| NVIDIA | ✅ |
| Intel | ✅ |
Pentox currently targets:
- AMD
amdgpu - NVIDIA
- Intel
i915/xe
Metrics are collected through standard Linux interfaces such as:
/sys
/proc
NVIDIA NVML support is optional.
Pentox supports Linux CPUs through available kernel interfaces and sensors.
Potential sources include:
k10temp
coretemp
zenpower
acpitz
RAPL
The 1.0 foundation is stable; development continues on these areas.
- Improve Proton compatibility
- Improve multi-process handling
- Finer frame-timing statistics
- More AMD / NVIDIA / Intel telemetry
- Additional CPU sensors
- Power monitoring improvements
- More layout options
- Configurable widgets
- Theme editor
- Better scaling for different displays
- Improved Steam integration
- More compositor support
- More status-bar integrations
- Distros / Flatpak packaging
Pentox is designed around a few simple principles:
The HUD is rendered by Pentox itself.
Pentox operates entirely in user space.
The overlay should work without modifying compositor configuration.
The project is intentionally split between Python and C so individual components can be inspected, modified and replaced easily.
Where possible, Pentox relies on standard Linux interfaces rather than vendor-specific APIs.
Pentox is still experimental and actively evolving.
Contributions are welcome.
You can help with:
- 🐛 Bug reports
- 🎮 Game compatibility testing
- 🖥️ Compositor testing
- 📊 Metrics support
- 🎨 UI improvements
- ⚙️ Performance optimization
- 🔧 Code contributions
- 📖 Documentation
Before submitting a large change, opening an issue to discuss the approach is recommended.
Pentox 1.0 is stable, with a few honest caveats:
- Some games may not be detected correctly; the fallback detector is heuristic by design.
- OpenGL capture may vary between applications and drivers.
- GPU metrics depend on available kernel/vendor interfaces; unsupported probes are hidden rather than shown as zeros.
- Proton/Windows titles are tested on a best-effort basis — report what you find.
Pentox is designed to be removable without modifying system drivers.
Use the uninstall functionality provided by the project:
./install.sh --uninstallCheck the current installer options before running this command, as the uninstall interface may change during development.
MIT License
See LICENSE for the full license text.
▲ Pentox
Built from scratch for Linux gaming.
🚧 Under active development