Skip to content

Releases

Real-Time AI Depth Estimation

Choose a tag to compare

@mnector mnector released this 16 Sep 22:26

🚀 What's New

  • Real-Time AI Depth Estimation: FSR-NG-Scaling now natively integrates Depth Anything V2 via ONNX Runtime. Instead of relying on static placeholder depth maps, the engine captures your game frame and uses neural inference to generate a dynamic, hyper-accurate 3D depth map in real-time.
  • Flawless FSR2 & DLSS Scaling: By providing true real-time depth data to the scaling backend, FSR2/DLSS can now properly distinguish foreground characters from backgrounds, dramatically reducing ghosting, blurring, and smearing on moving objects.
  • Depth Map Visualization Overlay: You can now view the AI's internal depth map in real-time by pressing <Ctrl> + <Alt> + <D>!
  • Multi-Threaded Asynchronous Architecture: The depth inference runs entirely in parallel on a dedicated background thread, ensuring absolutely zero impact on the rendering pipeline and game frame pacing.
  • Auto-Contrast Scaling: Features a dynamic min-max scaler algorithm to normalize disparity maps into true Reversed-Z depth coordinates expected by modern upscalers, ensuring pristine image quality.

🛠️ Fixes

  • Activation Crash Fixed: Resolved a catastrophic out-of-bounds memory access violation (C0000005) that caused the application to silently crash to desktop upon pressing <Ctrl> + <Alt> + <S>.
  • DirectX 12 Stability: Fixed a critical D3D12 state machine mismatch where the depth visualization overlay would trigger a GPU TDR timeout if the upscaler released resources in the wrong transition state.
  • Depth Map Corruption: Fixed a bug where the Python backend erroneously tried to reshape raw memory dumps as perfect squares, which previously resulted in corrupted, garbled images and pitch-black depth estimations with white margins.

📥 Installation

  1. Download FSR-NG-Scaling-v1.0.3-win64.zip below.
  2. Extract to a new folder (do not overwrite old versions).
  3. Launch FSR-NG-Scaling.exe.
  4. Enter your game in Borderless Windowed mode and press <Ctrl> + <Alt> + <S>!

Zero-Copy GPU VRAM Pipeline & Framerate Unlock

Choose a tag to compare

@mnector mnector released this 16 Sep 05:47

FSR-NG-Scaling v1.0.2 — Zero-Copy GPU VRAM Pipeline & Framerate Unlock

Esta actualización resuelve de forma definitiva los cuellos de botella de rendimiento, bloqueos de ejecución y problemas de oscurecimiento de pantalla reportados en la v1.0.1, desbloqueando la tasa real de fotogramas del motor neural Envy-Diamond-2 en GPUs AMD Radeon.


🚀 Mejoras de Rendimiento y Desbloqueo de FPS

  • Pipeline de Captura Zero-Copy en VRAM Directa (GPU):
    • Se eliminó por completo el motor de captura por software GDI (StretchBlt(HALFTONE), lecturas lentas por el bus PCIe y bucles de memcpy en CPU).
    • Implementada duplicación nativa de pantalla DXGI Desktop Duplication (IDXGIOutputDuplication) 100% en VRAM con texturas compartidas interop D3D11-D3D12 vía NT Handles.
    • La latencia de adquisición de fotogramas se redujo de ~125 ms a < 0.5 ms.
  • Downsampler Bilineal en Compute Shader HLSL (0.02 ms):
    • En configuraciones donde la resolución del escritorio (ej. 4K) difiere de la entrada del modelo (ej. 1536x864), el reescalado previo se ejecuta ahora directamente en los Compute Units de la GPU mediante un Compute Shader HLSL (cs_5_0), eliminando la carga de procesamiento en la CPU.
  • Eliminación del Bug del Temporizador de 33 ms:
    • Corregido el muestreo de tiempo en el bucle principal (main.cpp), eliminando una pausa artificial incondicional de 33 ms que se ejecutaba en cada frame.
    • Se fijó fps_limit=0 (sin límite) por defecto en config/settings.ini.
  • Presentación Asíncrona con Tearing Desbloqueado:
    • La presentación en pantalla ahora utiliza DXGI_PRESENT_ALLOW_TEARING, eliminando la cuantización forzada por VSync (DWM a 60 Hz).
    • Se reemplazó el bloqueo síncrono WaitForGpu() por pipelining asíncrono con vallas DirectX 12 (ID3D12Fence) por búfer, permitiendo paralelismo real entre CPU y GPU.

🛠️ Correcciones de Errores (Bug Fixes)

  • Cierre al Iniciar (Crash 0xC00000FD / 0xC0000005):
    • Se eliminó la presencia simultánea de proxies que provocaba una recursión infinita de transacciones de hooks en Microsoft Detours (error: 10DD).
    • Desactivado SimulateWaitableObject en configuraciones donde el swapchain no utilizaba objetos de espera de latencia.
  • Solución al Oscurecimiento Progresivo de Pantalla:
    • Desactivado el bucle descontrolado de auto-exposición (AutoExposure=false en OptiScaler.ini y escala de exposición fijada en 1.0f), impidiendo que las escenas oscuras se tornen gradualmente en pantallas negras.
  • Reversión de Hooks en la Tecla Insert:
    • Eliminada cualquier intercepción asíncrona en el código de la aplicación para dejar la tecla Insert en el comportamiento nativo y limpio del motor OptiScaler / ED2.

🎮 Controles

Atajo Función
Ctrl + Alt + S Alternar Overlay de Escalado (On / Off)
Ctrl + Alt + M Alternar entre Modo Juego (Mouse transparente) y Modo Menú
Insert Abrir/Cerrar el menú de configuración en pantalla (OptiScaler / ED2)
Ctrl + Alt + R Recargar config/settings.ini en caliente
Ctrl + C Cierre seguro y liberación de recursos VRAM

v1.0.1: Powered by Envy-Diamond-2 (ED2) — Absolute Zero-Stutter Engine Upgrade

Choose a tag to compare

@mnector mnector released this 15 Sep 00:42

🌟 FSR-NG-Scaling v1.0.1 — Powered by Envy-Diamond-2 (ED2) 💎

This release upgrades the core scaling and pacing backend to Envy-Diamond-2 (ED2) v1.0.1, delivering rock-solid frame pacing, micro-stutter elimination, and active Z-order stabilization.


🚀 What's New in v1.0.1

  • 💎 Envy-Diamond-2 (ED2) Integration:
    • The True Digital Bottomless Pit (EnvyDynamicPacing.asi v1.0.1): Dynamically freezes internal AMD proxy watchdog time budgets to 600ms, preventing the watchdog from collapsing down to 87ms under heavy GPU load or during OBS Studio streaming.
    • 50M Iteration Cap Unlocked: Eliminates iteration spin clamps and dynamic cap recalculation bottlenecks in AMD proxy passes.
    • OptiScaler 1-Second Penalty Bypass: In-memory byte-level bypass of recovery-pending penalties and error counters (offsets 0x14587, 0x14750, 0x19442).
  • 📌 Continuous TopMost Z-Order Heartbeat:
    • Added active DWM Z-order enforcement (BringToTop). Background applications, contextual menus, or game popups will never bleed through or sit on top of the overlay window.
  • 🔧 TDR Hardening Scripts (tools/):
    • Added Setup.TDRFix.ps1 to configure Windows TDR delay to 10 seconds for AMD RDNA 2/3/4 architectures, preventing driver resets during heavy neural passes.
    • Added Setup.Validate.ps1 for automated environment verification.
  • ⚙️ Optimized Frame Pacing:
    • Fine-tuned OptiScaler.ini (FPTSafetyMarginInMs=3.0, FPTVarianceFactor=0.1, FPTHybridSpin=true, SimulateWaitableObject=true).

🎮 Controls & Shortcuts

Hotkey Action
Ctrl + Alt + S Toggle scaling overlay On / Off
Ctrl + Alt + M Toggle between Game Mode (click-through) and Menu Mode (interactive mouse)
Ctrl + Alt + R Hot-reload config/settings.ini live
Insert Show / Hide in-game overlay configuration menu (activate Menu Mode first)
Ctrl + C Graceful exit and clean GPU resource deallocation

📦 Installation & Usage

  1. Download and extract FSR-NG-Scaling-v1.0.1-win64.zip.
  2. (Optional, recommended for heavy scenes): Right-click tools/Setup.TDRFix.ps1 and run with PowerShell as Administrator.
  3. Run FSR-NG-Scaling.exe.
  4. Open your game in Windowed or Borderless Windowed mode.
  5. Press Ctrl + Alt + S to activate lossless neural scaling!

📋 Checksum

  • Archive: FSR-NG-Scaling-v1.0.1-win64.zip

Initial Release

Choose a tag to compare

@mnector mnector released this 14 Sep 18:44

🌟 FSR-NG-Scaling v1.0.0 — Initial Release

Welcome to the initial public release of FSR-NG-Scaling, a standalone, ultra-low latency real-time neural upscaler for Windows 11 built in native C++20 and DirectX 12.

Inspired by tools like Lossless Scaling and Magpie, FSR-NG-Scaling runs entirely external to your games—providing hardware-accelerated generative scaling and temporal reconstruction on AMD Radeon and NVIDIA GPUs without any invasive game process injection.


✨ Highlights & Features

  • 🛡️ Zero Process Injection: Completely non-invasive. Captures frames directly from the desktop display surface; does not alter game memory, inject DLLs, or hook game loops (100% anti-cheat friendly).
  • 🚀 Multi-Backend Neural Engine: Integrates the high-performance Envy-Diamond / OptiScaler runtime with direct support for AMD RDNA passes, DLSS-NR neural reconstruction, Intel XeSS, and AMD FidelityFX.
  • 🖱️ Intelligent Dual-Mode Mouse Input:
    • Game Mode: The overlay is fully transparent to mouse clicks (HTTRANSPARENT), allowing unrestricted camera rotation and shooting in games.
    • Menu Mode (Ctrl + Alt + M): Unlocks mouse input to interact directly with the in-game GUI settings.
  • 📐 Adaptive DPI Awareness: Handles mixed multi-monitor setups and Windows DPI scaling (100%, 125%, 150%, 200%) automatically with 1:1 pixel coverage.
  • ⚡ Flip-Discard Presentation: Native DXGI Flip-Discard swapchain synchronized with monitor VSync for minimal frame latency.

🎮 Controls & Shortcuts

Hotkey Action
Ctrl + Alt + S Toggle scaling overlay On / Off
Ctrl + Alt + M Toggle between Game Mode (click-through) and Menu Mode (interactive mouse)
Ctrl + Alt + R Hot-reload config/settings.ini live
Insert Show / Hide in-game overlay configuration menu (activate Menu Mode first)
Ctrl + C Graceful exit and clean GPU resource deallocation (in terminal)

📦 Quick Start Guide

  1. Download and extract FSR-NG-Scaling-v1.0.0-win64.zip.
  2. Run FSR-NG-Scaling.exe.
  3. Open any game in Windowed or Borderless Windowed mode.
  4. Press Ctrl + Alt + S to activate real-time lossless scaling!

📋 SHA-256 Checksums

  • FSR-NG-Scaling-v1.0.0-win64.zip — Standalone x64 portable package