No description
  • Rust 99.4%
  • PowerShell 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Claude (local merge) e63fb20313 Device-loss logging in every build, RT builder barrier, an AMD shader compiler crash avoided, less texture checking per frame, pipeline wait fixes
- A lost GPU device logs its removal reason, what was running and the faulting address; the crash report waits up to 2 s for those lines (VICTORY_D3D12_DRED=0 turns the address tracking off).
- RT BUILDER BARRIER (F1 Engine, on by default): the game's structure-builder stages never run at once.
- A raw buffer's size query and the load after it in separate blocks (AMD compiler crash); the shader cache rebuilds once.
- Unwritten textures checked every 64th frame, new textures start cold (VICTORY_TEXTURE_HASH_EVERY=8 as before).
- A stale frame number no longer resets the pipeline wait budget; VICTORY_PIPELINE_WAIT_REPORT=1 logs slow pipelines with their recipe keys.
- Ported: upstream a5a0f331, 6ea9c0f8, 53c19749; Arthiyart f39bebd8; foxhound e185dad7; xmem 046802d5; after VIctory-Neo a80c5a33.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 18:37:14 -08:00
.cargo Initial commit 2026-11-23 01:15:26 +01:00
.githooks Initial commit 2026-11-23 01:15:26 +01:00
.github/workflows Run default and diagnostics tests independently of Clippy 2026-11-26 13:32:36 +08:00
apps RES+FPS tab with live resolution tiers and frame-time graph, console-native resolution with a live RENDER SCALE slider, render-target pool, dynamic resolution, RAY TRACING MODE that says what it runs, a crash fix for resolution changes, and RT and CPU ports 2026-12-01 17:16:01 -08:00
crates Device-loss logging in every build, RT builder barrier, an AMD shader compiler crash avoided, less texture checking per frame, pipeline wait fixes 2026-12-01 18:37:14 -08:00
docs Device-loss logging in every build, RT builder barrier, an AMD shader compiler crash avoided, less texture checking per frame, pipeline wait fixes 2026-12-01 18:37:14 -08:00
scripts RES+FPS tab with live resolution tiers and frame-time graph, console-native resolution with a live RENDER SCALE slider, render-target pool, dynamic resolution, RAY TRACING MODE that says what it runs, a crash fix for resolution changes, and RT and CPU ports 2026-12-01 17:16:01 -08:00
tests/fixtures/hle-probe Run Grand Theft Auto VI from first boot into the world 2026-11-23 23:10:01 +01:00
xtask Sync victory-dxr base and port gtahub graphics, speedup, and Strix Halo fixes 2026-11-27 12:38:57 -08:00
.gitattributes Initial commit 2026-11-23 01:15:26 +01:00
.gitignore Port VIctory-DXR b1c7f60 + RAZDA4A-XEN 75333d7 + Strix Halo stability fixes 2026-11-28 00:46:17 -08:00
.victory-root Initial commit 2026-11-23 01:15:26 +01:00
Cargo.lock Controllers, post-upscaler, live settings and community stability ports 2026-11-29 17:17:11 -08:00
Cargo.toml Merge avatarmanz/VIctory-7900XTX main into the Strix Halo tree 2026-11-27 02:01:32 -08:00
LICENSE Initial commit 2026-11-23 01:15:26 +01:00
Play-VIctory.cmd feat(input,ui,fg,shader,docs): native Sony DualSense USB/BT HID + adaptive triggers, 6 PAD TEST page, active-controller menu + Start+Select chord, elastic 90fps pacing, ir unspill fix, and refreshed README 2026-11-28 11:00:12 -08:00
README.md RES+FPS tab with live resolution tiers and frame-time graph, console-native resolution with a live RENDER SCALE slider, render-target pool, dynamic resolution, RAY TRACING MODE that says what it runs, a crash fix for resolution changes, and RT and CPU ports 2026-12-01 17:16:01 -08:00
rust-toolchain.toml Initial commit 2026-11-23 01:15:26 +01:00
rustfmt.toml Initial commit 2026-11-23 01:15:26 +01:00
victory.example.toml PC FidelityFX FSR 4.1.2 to 4K (-Fsr4K), ported from DexNom/VIctory ab34a8b2 2026-11-26 12:50:05 -05:00

VIctory // STRIX-128 GABAGOOL — Sunset Glass Hero Banner

Ryzen AI Max+ 395 | Radeon 8060S 128 GB Unified LPDDR5X 88-91 FPS Adaptive FG Native Fast RT-Look Xbox DualSense Switch Pro GPL-3.0-or-later

A Strix Halo–tuned GPL-3.0 fork of VIctory — engineered, profiled, and verified on an ASUS ROG Flow Z13 (16C/32T Zen 5 · 40-CU RDNA 3.5 · 128 GB unified LPDDR5X).
Feature Showcase · Settings Menu Guide · Screenshots · Benchmarks · Quick Start · UI Compositor Guide

Clean-Room Open-Source Notice: No game files, proprietary assets, or third-party upscaler/SDK binaries are included in this repository. Supply your own dump and fetch any optional external SDKs yourself (see Optional Third-Party Dependencies). Not affiliated with or endorsed by any game developer or publisher.

Settings: press F1 in game (or Start + Select on a controller) for the settings menu. docs/MENU.md explains every tab, badge, control and setting, with quick recipes such as a smooth 40 fps on a VRR display.


UI & Controller Showcase

100% original VIctory UI previews — zero proprietary game frames. Every interface below renders via VIctory's own premultiplied-alpha D3D12 UI compositor (< 0.05 ms GPU cost) and antialiased SDF vector engine. See docs/FEATURES.md for the full illustrated breakdown.

SUNSET GLASS SETTINGS UI · F1 / START+SEL

Sunset Glass D3D12 Settings UI with live PresentMon HUD controls
7 tabs · 30 zero-restart LIVE knobs · 100% controller-togglable Settings & PresentMon/HUD · docked telemetry
INTERACTIVE DEADZONE TWEAKER · CLICK STICK OR TRIGGER

Interactive Deadzone Tweaker modal dialog with live radial preview
Live radial stick & linear trigger preview · inner anti-drift & outer threshold sliders · live-applied & auto-saved
PS5 DUALSENSE · DETECTED FIRST + XO ↔ OX SWAP

PS5 DualSense context menu and outlined vector blueprint
Connected pad auto-ordered first (● LIVE) · geometric △○✕□ blueprint · L2/R2 adaptive tension & ABS recoil
SWITCH PRO & XBOX SERIES · CONTEXT MENUS + BA ↔ AB SWAP

Nintendo Switch Pro context menu with BA/AB swap and outlined blueprint
Tailored Xbox 4-motor impulse & Switch Pro HD rumble menus · BA ↔ AB / XO ↔ OX Select/Back swap (gameplay untouched)

Xbox Series context menu and outlined blueprint with dual impulse triggers
Xbox Series Profile: Domed-shoulder blueprint, octagonal hybrid D-Pad, asymmetric sticks, and native Windows GameInput 4-motor LT/RT impulse trigger tests.


Telemetry & Benchmarks

Tested on ASUS ROG Flow Z13 (Ryzen AI Max+ 395, Radeon 8060S, 64 GB RAM / 64 GB VRAM BIOS split, Windows 11 Pro, AMD driver 32.0.31032.1003, Series S profile, 240 s warm-cache long runs, 0 crashes, 0 TDRs):

Profile Render / Scale Real FPS Displayed FPS Pacing & Highlights
1080p RT-Look 90 (240s Long Run) 1920×1080 @ 0.45× 38.7 avg (45.7 peak) 88.8–90.1 fps 90% stability (±20%), 11.1–11.3 ms avg, P99 28.2–30.3 ms, CB 0.2 ms, 20,382 frames, 0 faults
1080p Adaptive FG 90 + DRS 1920×1080 @ 0.45× 40.9–41.0 fps 88.4–91.6 fps VICTORY_FG_TARGET_FPS=90, lite flow, DRS 38–46, VRS=soft, 0.0 ms GPU wait, CB 0.2 ms
1080p Max Real FPS (1× Native) 1920×1080 @ 0.45× 44.30 fps 44.30 fps 100% stability, CV 6.2%, CB 0.1 ms, car 47.4 fps, engine knobs (SH=1024, VOL=1, LOD=0.25)
1080p Fast RT-Look (1× Native) 1920×1080 @ 0.50× 40.99 fps 40.99 fps Rich bounce lighting + contact depth (Amb=0.90, VRS=soft) at 2.2× hardware-RT FPS
1080p Adaptive FG 60 + AL2+B 1920×1080 @ 0.45× 28–31 fps 58.1–61.5 fps JIT 3.4 ms, P99 25–27.5 ms, 1%L 30, native AMD Anti-Lag 2 + Boost low-latency lock
Native DXR 1.1 (Hardware RT) 1920×1080 15–34 fps 15–34 fps Auto-guards BAR=0 & strips -Inplace under NativeRT to prevent RDNA 3.5 0x887A0006 hangs

128 GB UMA Sweet Spot: Set BIOS VRAM split to 64 GB RAM / 64 GB VRAM (instead of 96/32). Keeping Windows host-RAM pressure around 30–35% eliminates working-set trimming spikes and keeps frametimes ruler-flat.


Signature Features

⚡ Adaptive Frame Gen, Fast RT-Look & Visual Quality

  • Fractional-Timestamp Adaptive FG (60–180 FPS): Fixed-cadence elastic metronome, fast-attack/slow-release EMA, automatic zero-overhead bypass when real ≥ target, crisp unwarped HUD/menu overlay.
  • Built-In Fast RT-Look (VICTORY_FAST_RT_LOOK, LIVE): Zero-dependency D3D12 multi-radius linear bounce GI + micro-contact crevice AO + NaN/Inf guard + filmic highlight shoulder. Runs once per real frame (<0.25 ms) inside Adaptive FG with zero HUD bleed.
  • Floor Reflection De-Grain (PR #428): Skips opaque/alpha CS_RayMiss sky fill when RT is off to eliminate white frosted floor grain while keeping water reflections and Native DXR 1.1 intact.

🎮 Sunset Glass UI, Context Pads & Deadzone Tweaker

  • 100% Controller-Togglable UI & PresentMon HUD: 7 tabs, 30 live zero-restart knobs (including HUD Mode, Frametime Graph, Graph Scale, Corner, Text Scale, F4 Debug Overlay, and Reset Stats), plus direct gamepad chords (Select+L3 HUD, Select+R3 F4 Debug).
  • Selectable Controller Profiles & Outlined Blueprints: Connected pad appears first (● LIVE), dynamically swapping context menus and anatomically accurate vector diagrams for PS5 DualSense, Xbox Series, and Switch Pro.
  • Live BA ↔ AB / XO ↔ OX Swap & Deadzone Dialog: Contextual Select/Back swap on Switch Pro & DualSense (allowed for all types in 4 CONTROLLER, keeping gameplay Sprint/Melee/Reload untouched) + click any stick or trigger on the blueprint to open the live Deadzone Tweaker Dialog (VICTORY_PAD_DEADZONES).

🎛️ Live Detail Governor, VRS & Engine Presets

  • Live Detail Governor (VICTORY_DRS_*): Automatically steps VRS (Off → Soft → 1×2 → 2×1 → 2×2) and the engine's live LOD/cull globals without tier thrashing, never changing resolution, and keeps its restore threshold just under the frame pacer target so a frame cap can't strand it at low detail.
  • One-Choice Frame Rate Target: Lock 30, Lock 40 (120 Hz), 40 + VRR, Lock 60, 60 + VRR or Uncapped + VRR sets the FPS cap, frame pacer, VSync and frames in flight together.
  • 5 One-Click Presets: 1080p RT-Look 90, Series S, 1440 S Hybrid, Series X, and PS5 Pro, plus a live RENDER SCALE slider (20%–100% in 1% steps, VICTORY_RENDER_PCT) in the 1 RES+FPS tab, beside a live resolution-tier diagram and frame-time graph.
  • Native AMD Anti-Lag 2 + Boost & Self-Restoring Game Mode: Zero-DLL COM FFI into amdxc64.dll (-AntiLag on|boost), 1 ms timer + MMCSS "Games" + EcoQoS auto-restore, and 13.3 GB Series X -MaxTex pool.

🚀 Strix Halo UMA & Community Speedups

  • VICTORY_WAIT_SPIN (PR #125): Bounded micro-spin on WidePool & land::Pool tail completion, cutting 2–4 ms/f of Windows thread-wake latency.
  • Zero-Copy Unified Memory & Stability: In-place APU mapping, AB-BA lock-inversion fix, O(done) BTreeMap retirement (0.1–0.2 ms/f), DirectStorage DecodeQueue deadlock fix, fxceless PR #1495 256-entry scalar unspill fix, and 3D-only consecutive-frame burst capture.
  • Verified Upstream Ports: maren-halv/VIctory-DXR (4-wave DXR 1.1 + GPU BLAS liveness), crossducking/RAZDA4A-XEN, edsuuu/VI-BR-PORT (PR #4 DXIL opt 2047), trustno1-coder/VIctory-NVIDIA, fxceless/victory-fork, Belobug/VIctory-Belobug-AMD.

Quick Start

# 1. Build release binary (Rust 1.98.1 + VS 2022 C++ Build Tools)
cargo build --release --locked -p victory

# 2. Pre-translate shaders once (required after shader translator updates)
.\target\release\victory.exe shaders "D:\Path\To\Your\GameDump"

# 3. Play — 1080p Adaptive 90 FPS + Built-In Fast RT-Look + Live DRS + Game Mode
powershell -ExecutionPolicy Bypass -File scripts\play.ps1 `
  -Exe "D:\Path\To\Your\GameDump\game_scarlett_master.exe" `
  -Build release -Fps 120 -SkipMovies end -GameUpscaler -CpuWorkers -PortGuard `
  -FgTargetFps 90 -FgMode lite -FastRtLook balanced -MaxTex -GameMode `
  -More @{VICTORY_DRS_MIN_FPS='38'; VICTORY_DRS_MAX_FPS='46'; VICTORY_AMBIENT='0.90'}

# 4. Play — Native DXR 1.1 Hardware Ray Tracing
powershell -ExecutionPolicy Bypass -File scripts\play.ps1 `
  -Exe "D:\Path\To\Your\GameDump\game_scarlett_master.exe" `
  -Build release -Fps 60 -SkipMovies end -GameUpscaler -NativeRT -RtRefit -FbtTwoPass `
  -CpuWorkers -PortGuard -AntiLag boost -MaxTex -GameMode

In-Game Controls: F1 or Start + Select (customizable) Settings Menu · F3 Performance Telemetry HUD · F4 Debug Overlay


Optional Third-Party Dependencies (Not Included)

This repository contains only open-source GPL-3.0 code. Third-party SDKs and injectors are not bundled and must be obtained separately by the user:

  1. AMD FidelityFX SDK (Optional — required only for -FsrFg / VICTORY_PC_FSR=1):
    • Run powershell -ExecutionPolicy Bypass -File scripts\get-amd-fsr.ps1 to fetch AMD's official signed amd_fidelityfx_loader_dx12.dll and amd_fidelityfx_framegeneration_dx12.dll directly from GPUOpen-LibrariesAndSDKs/FidelityFX-SDK into git-ignored amd-sdk\FidelityFX\bin\ with SHA-256 verification.
  2. External DXGI / FidelityFX Injectors (Optional):
    • Not included or auto-staged by this repository. Standard FidelityFX loader hooks (VICTORY_PC_FSR=1, VICTORY_FFX_USE_LOADER=1, VICTORY_FIDELITYFX_DIR=<path>, VICTORY_UPSCALER=7, VICTORY_FFX_SCALE=<float>) remain exposed for users configuring external upscalers independently.

Credits

This fork stands on the shoulders of the VIctory community — git history is preserved and ported commits cite their upstream commit hash and author:

License

GPL-3.0-or-later, as VIctory. See LICENSE and docs/asset-policy.md.