An optimized fork of the open-source GeForce NOW client, built in Native Rust.
Focused on minimizing latency, reducing CPU overhead, and maximizing memory bandwidth efficiency.
Explore Optimizations »
View Original Project
This fork introduces critical optimizations to the video decoding "hot path"—the loop responsible for processing 60-120+ frames per second. These changes are designed to smooth out frame delivery and reduce jitter on lower-end hardware (like Raspberry Pi) and high-refresh-rate displays.
The Problem: The original client copied video data from the network buffer into a new buffer before handing it to the decoder, doubling memory bandwidth usage for every frame.
The Fix: Implemented a pass-by-value architecture in decode_async. The decoder now consumes the buffer created by the network layer directly without reallocation.
Impact: Significantly reduced memory allocation churn and CPU usage during high-bitrate streaming.
The Problem: The standard implementation allocated a temporary vector to prepend start codes (for H.264/HEVC) before copying again into the FFmpeg packet structure. The Fix: Rewrote the packet creation logic to write start codes and payload data directly into the raw FFmpeg packet buffer. Impact: Eliminates one allocation and one memory copy per frame.
The Problem: When preparing frames for the GPU, the system would needlessly zero-initialize massive 4K buffers before immediately overwriting them with frame data.
The Fix: Added a fast path for NV12 copy logic. When memory strides match, the client uses uninitialized memory (Vec::with_capacity + set_len) to perform a direct, single-pass copy.
Impact: Reduces memory bandwidth consumption by ~15-20% for high-resolution streams.
OpenNOW is a custom GeForce NOW client rewritten entirely in Native Rust for maximum performance. It uses wgpu and egui to provide a seamless cloud gaming experience.
Core Features:
- Native Performance: Written in Rust with zero-overhead graphics bindings.
- Uncapped Potential: No artificial limits on FPS, resolution, or bitrate.
- Privacy Focused: No telemetry by default.
- Cross-Platform: Designed for Windows, macOS, and Linux.
| Platform | Status | Notes |
|---|---|---|
| macOS | ✅ Working | Hardware decoding via VideoToolbox. |
| Windows | ✅ Working | DX11/Nvidia GPUs tested. |
| Linux | VAAPI supported. Raspberry Pi 4 (H.264) working. |
Requirements:
- Rust toolchain (1.75+)
- FFmpeg development libraries (v6.1+ recommended)