Skip to main content

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 -m flag, 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-dev on Debian/Ubuntu)
  • X11 development libraries (libx11-dev)
  • Python 3.8 or newer

Installation

  1. Clone the repository

    git clone https://github.com/baronsmv/linux-rt-upscaler.git
    cd linux-rt-upscaler
    
  2. Install system dependencies (Debian/Ubuntu)

    sudo apt install libvulkan-dev libx11-dev
    
  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

linux_rt_upscaler-0.1.0.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

linux_rt_upscaler-0.1.0-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

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

Hashes for linux_rt_upscaler-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dc9ca075b5eeaf59e8199ac84fa8b8466dd1e754a9b22462ae1ff12255134b02
MD5 0d287b354198ca96ae1cd53d182e5c69
BLAKE2b-256 d99177323c62a5bbe21fe17db3050252691f7af07bc7465d2a5b8e160425c73d

See more details on using hashes here.

File details

Details for the file linux_rt_upscaler-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for linux_rt_upscaler-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1492fb53759aa33e0ee1d0623abf8e01019da9eb94748a818e1e1ad6f5005d37
MD5 a7d75811f2a6532f9138ae9f6c66c5af
BLAKE2b-256 51570560f80937e87aeff954df068114afceea7a959f10d11ea72358ddd9ea60

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page