Real-time AI upscaler for any Linux window using CuNNy
Project description
Real‑Time Upscaler for Linux
A real‑time AI upscaler for any application window on GNU/Linux. Uses CuNNy‑veryfast neural networks to perform 2× upscaling, with full‑screen stretching and optional click/motion forwarding.
Based on
Based on RealTimeSuperResolutionScreenUpscalerforLinux by L65536, with the following differences:
- Full‑screen scaling – The upscaled image now fills the monitor, applying a second scaling layer while preserving aspect ratio.
- Click/motion forwarding – With the
-mflag, mouse clicks and motion are forwarded to the original window with proper coordinate transformation.
Features
- AI‑Powered Upscaling – Uses CuNNy‑veryfast (4‑pass) neural network for high‑quality 2× upscaling.
- Any Window – Attach to an existing window or launch a new program.
- Full‑Screen Output – Stretch the upscaled image to fill your monitor (aspect‑ratio preserved, black bars).
- Click/Motion Forwarding (
-m) – Click and move the mouse on the upscaled image as if it were the real window. - Opacity Control – Overlay dims when mouse leaves the source window (optional, disabled with
-m). - Hardware Accelerated – GPU‑based compute via Compushady (Vulkan/Direct3D 12).
- Low Overhead – Minimal performance impact; scaling pass uses hardware bilinear filtering.
Requirements
- GNU/Linux with X11 (Wayland not supported)
- Vulkan-capable GPU from any vendor (NVIDIA, AMD, Intel)
- Vulkan drivers (
libvulkan-devon Debian/Ubuntu) - X11 development libraries (
libx11-dev) - Python 3.8 or newer
Installation
-
Clone the repository
git clone https://github.com/baronsmv/linux-rt-upscaler.git cd linux-rt-upscaler -
Install system dependencies (Debian/Ubuntu)
sudo apt install libvulkan-dev libx11-dev
-
Install Python packages
pip install -r requirements.txt
Usage
# Upscale the currently active window
python main.py
# Enable click/motion forwarding (mouse interacts with upscaled window)
python main.py -m
Acknowledgments
- L65536 – For the RealTimeSuperResolutionScreenUpscalerforLinux project, which provided the foundational scripts and CuNNy integration that this project builds upon
- CuNNy – Neural network upscaling models
- Compushady – Python GPU compute library
- PySide6 – Qt bindings for the overlay
- python‑xlib – X11 client library
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file linux_rt_upscaler-0.1.0.tar.gz.
File metadata
- Download URL: linux_rt_upscaler-0.1.0.tar.gz
- Upload date:
- Size: 21.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc9ca075b5eeaf59e8199ac84fa8b8466dd1e754a9b22462ae1ff12255134b02
|
|
| MD5 |
0d287b354198ca96ae1cd53d182e5c69
|
|
| BLAKE2b-256 |
d99177323c62a5bbe21fe17db3050252691f7af07bc7465d2a5b8e160425c73d
|
File details
Details for the file linux_rt_upscaler-0.1.0-py3-none-any.whl.
File metadata
- Download URL: linux_rt_upscaler-0.1.0-py3-none-any.whl
- Upload date:
- Size: 25.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1492fb53759aa33e0ee1d0623abf8e01019da9eb94748a818e1e1ad6f5005d37
|
|
| MD5 |
a7d75811f2a6532f9138ae9f6c66c5af
|
|
| BLAKE2b-256 |
51570560f80937e87aeff954df068114afceea7a959f10d11ea72358ddd9ea60
|