No description
  • Rust 99.4%
  • PowerShell 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-28 17:07:12 -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 Game-requests workflow: requests for the game answered and closed 2026-11-28 10:00:54 -08:00
apps/victory feat(gpu,hle,loader): port Intel+NVIDIA-compatible Gabagool features from VIctory-Strix-128-Gabagool 2026-11-28 12:53:22 -08:00
crates feat(loader,ui): port VICTORY_SKIP_MOVIES intro skip from VIctory-Strix-128-Gabagool 2026-11-28 14:29:18 -08:00
docs docs: add NVIDIA Gabagool splash banner, test rig specs, and refreshed README 2026-11-28 17:07:12 -08:00
scripts Merge pull request #378 2026-11-28 11:14:31 -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 Allow root bindings template in asset policy 2026-11-28 13:41:22 -05:00
.gitattributes Initial commit 2026-11-23 01:15:26 +01:00
.gitignore Windows 10 runtime, F1 preload fix, AMD FSR download, warm-up restart, MFG Unlocker notice 2026-11-27 10:43:30 -08:00
.victory-root Initial commit 2026-11-23 01:15:26 +01:00
bindings.ini Mouse and keyboard controls (ItsMK1/VIctory-MnK-patches) 2026-11-28 06:28:26 -08:00
Cargo.lock 1440p output for the Series X retail image (from DexNom's fork) 2026-11-26 15:46:08 +05:30
Cargo.toml Take the test/fx-prs branch of asdaasdsaddf's fork (as one commit) 2026-11-24 19:00:31 -05:00
Get-AMD-FSR.cmd Windows 10 runtime, F1 preload fix, AMD FSR download, warm-up restart, MFG Unlocker notice 2026-11-27 10:43:30 -08:00
Get-NVIDIA-DLSS.cmd F1 settings menu, frame generation 2x-6x live, no frame rate cap, FPS line 2026-11-26 19:41:59 -08:00
LICENSE Initial commit 2026-11-23 01:15:26 +01:00
Play-VIctory.cmd Publish the pareto-residency Windows build and portable launcher 2026-11-25 22:33:14 -08:00
PLAY_FACES_FIX.cmd Port face-relocation Wave32 meets 2026-11-28 05:36:00 +08:00
PLAY_FRAMEGEN.cmd fix(scripts): bypass PowerShell execution policy in PLAY_FRAMEGEN.cmd and fix Windows 11 HAGS check 2026-11-27 11:46:45 +01:00
README.md docs: add NVIDIA Gabagool splash banner, test rig specs, and refreshed README 2026-11-28 17:07:12 -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 The game is no longer named in the tree 2026-11-24 15:45:05 -05:00

VIctory // NVIDIA GABAGOOL — Splash Banner

Intel Core i7-8700 6C/12T NVIDIA GeForce RTX 4060 8 GB DLSS Super Resolution DX12 Tier 2 VRS HID and XInput Controllers GPL-3.0-or-later

The NVIDIA RTX & Intel-tested Gabagool fork of VIctory-NVIDIA — bringing vendor-neutral performance tuning, live telemetry, USB/BT HID haptic controller support, and runtime engine controls to discrete NVIDIA RTX GPUs and 6-core Intel CPUs.
Test Rig Specs · What's Implemented · Benchmarks & Findings · Quick Start

Clean-Room Open-Source Notice: This repository contains no game files, proprietary assets, in-game media, or third-party SDK/upscaler DLLs. You must supply your own legally obtained console title files and fetch any optional upscaler/runtime files separately. Not affiliated with or endorsed by any software publisher or hardware vendor. See docs/asset-policy.md.


Test Machine Specifications

Every commit, stability fix, and benchmark on this branch is built and verified on a mainstream 6-core Intel + 8 GB NVIDIA RTX desktop — intentionally stressing constrained VRAM (8 GB), non-AMD CPU instruction emulation, and 6-core thread scheduling:

Component Specification Runtime Notes
CPU Intel Core i7-8700 @ 3.20 GHz (6C / 12T, Coffee Lake) Lacks SSE4a / CLZERO / CLWB / MONITORX / MWAITX; exercises victory-loader::console_insn emulation on every run
GPU NVIDIA GeForce RTX 4060 (8188 MiB GDDR6, Ada Lovelace) PCIe Gen 3 ×8 · DX12 Shader Model 6.8 · DX12 Tier 2 VRS · DLSS SR + 2× DLSS FG capable
GPU Driver NVIDIA 621.40 (32.0.16.2140) Tested with NVIDIA Streamline v2.14.16 / NGX 310.9.16
System RAM 32 GB DDR4-3200 (2 × 16 GB) ~53 GB commit limit with 20 GB active C:\pagefile.sys
Motherboard Dell 00CV7F Windows 11 Pro Insider Preview (Build 28120)
Target Profile Series S (1920×1080 output, 1280×720 DLSS Quality) Tuning for >30 real-time native FPS & flat frametimes first (DLSS SR enabled; DRS & FG/MFG deferred until native pacing is locked)

Work Completed So Far

1. Intel + NVIDIA Gabagool Feature Port (Commit 7bca760)

Ported all vendor-neutral performance, controller, UI, and engine features from VIctory-Strix-128-Gabagool while preserving every upstream VIctory-NVIDIA capability (Streamline DLSS/FG, water lighting, save sharing, optional third-party MFG loader hook) and skipping AMD/UMA-only code:

  • Native USB + BT HID Controller & Adaptive Trigger Bridge (victory-hle::modules::dualsense): Direct HID input & output bridge translating 4-motor impulse triggers into adaptive trigger resistance and VCM haptics, plus live controller telemetry and 10 unit-tested haptic/trigger profiles.
  • Gamepad-Navigable F1 Settings Menu (victory-gpu::host::menu): Full XInput + HID gamepad navigation, customizable summon chord (Start+Select default), selectable button-label layouts, and live controls for every ported knob.
  • 11-Line Rolling Telemetry HUD (victory-gpu::host::panel): Extends the F3 stats overlay with a rolling 120-frame JIT <ms> P99 <ms> VRS:<mode> DRS:T<tier> line and live FPS feed.
  • DX12 Tier 1 / Tier 2 Variable Rate Shading (victory-gpu::vrs): Live VICTORY_VRS (off, soft, 1x2, 2x1, 2x2) verified on RTX 4060 Tier 2 VRS hardware.
  • Live DRS Hysteresis Governor (victory-gpu::drs): Opt-in dynamic VRS/LOD stepping (VICTORY_DRS_MIN_FPS, VICTORY_DRS_MAX_FPS, kept off during native FPS tuning).
  • Live .data Runtime Engine Knobs (victory-loader::engine): Runtime-tunable VICTORY_LOD_SCALE, VICTORY_SMALL_CULL, VICTORY_VEHICLE_LOD_BIAS, VICTORY_LOW_SHADOWS, and VICTORY_LOW_VOLUMETRIC (verified with engine::tests).
  • Self-Restoring Windows Game Mode (victory-gpu::game_mode): Vendor-neutral VICTORY_GAME_MODE=1 enabling 1 ms timer resolution, MMCSS "Games" scheduling, HIGH_PRIORITY_CLASS, and EcoQoS disable with automatic cleanup on exit.
  • Fast Shadow & Pipeline Primitives: 32-byte chunked XOR merge_piece fast path (shadow.rs), deterministic static sampler ordering (VICTORY_SAMPLER_ORDER), async GPU pass profiler (gpu_prof.rs), and D3D12 UI compositor helpers (ui_compositor.rs, ui_draw.rs).

2. Intro Video Skip Port (Commit 228044c)

  • Ported crates/victory-loader/src/movies.rs (VICTORY_SKIP_MOVIES=end|open|fast) and wired it into victory-loader and the F1 menu.
  • Verified with cargo test --locked -p victory-loader movies::tests (3/3 passing) and live test runs, significantly shortening boot-to-3D iteration time.

3. 6-Core Intel + 8 GB RTX 4060 Stability & VRAM Breakthroughs (Runs 1–21)

  • Eliminated +0x23cf683 3D-Load Watchdog Crash: Root-caused 0xc0000005 (write 0x0) at +0x23cf683 to the title's 30-second CrossQueueBarrier GPU hang watchdog firing when 12 normal-priority pipeline workers + unbounded VICTORY_PIPELINE_COMPUTE_WAIT=1 stalled the first 3D frame on a 6-core i7-8700. Bounding worker count and priority (VICTORY_PIPELINE_WORKERS=4, VICTORY_PIPELINE_LOWEST=1, VICTORY_PIPELINE_COMPUTE_WAIT=0, VICTORY_SCREEN_WAIT_MS=1500, VICTORY_PIPELINE_WAIT_MS=100, VICTORY_DSTORAGE_WORKERS=6) yielded three consecutive 240-second crash-free 3D runs (Runs 19–21).
  • Eliminated 8 GB VRAM Budget Overflow: VICTORY_TEXTURE_BUDGET_MB=2400 + VICTORY_TEXTURE_FIRST_UPLOAD_MB=0 + VICTORY_WAIT_RESIDENT=0 brought RTX 4060 VRAM down from 7.3 / 6.2 GB (thrashing PCIe) to 5.4 / 6.3 GB (-1.9 GB), cutting P99 frametime by 81% (1314 ms → 252 ms) and jitter by 76% (180.6 ms → 43.5 ms).

Measured Progress & 8 GB VRAM Findings

Run Configuration Delta Stability (240 s) VRAM Usage P99 / JIT (HUD) Key Finding
Runs 14–17 Default 12 normal-priority workers, COMPUTE_WAIT=1 Crash @ 122 s (+0x23cf683) 3.5 GB (pre-world) — First 3D frame stalled >30 s → CrossQueueBarrier watchdog
Run 18 COMPUTE_WAIT=0, SCREEN_WAIT_MS=4000, 12 workers 3D active 83 s, crash @ 209 s 5.5 / 6.4 GB 1109 ms / 68.6 ms Broke into 3D world; 12 workers starved 6-core CPU (SUBMIT 7043 ms)
Run 19 WORKERS=4, LOWEST=1, DSTORAGE=6, ROOM=75% 240 s · 0 crashes 6.7 / 6.4 GB 369 ms / 56.3 ms First full 240 s 3D run (8–10 fps); VRAM still spilled over 6.4 GB
Run 20 Added RT_SKIP_DEAD=1, VRS=soft, LEVELS_ON_DEMAND=1 240 s · 0 crashes 7.3 / 6.2 GB 1314 ms / 180.6 ms LEVELS_ON_DEMAND=1 + BVH_NO_HIT=1 increased VRAM & invalidated cache
Run 21 TEXTURE_BUDGET_MB=2400, FIRST_UPLOAD=0, WAIT_RESIDENT=0, VRS=soft, RT_SKIP_DEAD=1 240 s · 0 crashes 5.4 / 6.3 GB 252 ms / 43.5 ms -1.9 GB VRAM, -81% P99, -76% JIT, 0 pending pipelines

Next Optimization Targets (In Progress)

  1. CPU Submit & Copy-Back Reduction: Restore VICTORY_CARD_BUFFERS_MB=1294 alongside VICTORY_TEXTURE_BUDGET_MB=2400 (lowering card buffers to 640 doubled COPY BACK from 23 ms → 45 ms) and port async heap-maintenance (victory-heap-maint), WC panel staging, hybrid sleep+spin frame pacing, and zero-overhead VICTORY_FRAMETIME_LOG CSV telemetry.
  2. GPU Shader Optimization: Port opt-in DXIL optimizer passes (VICTORY_SHADER_OPT=2047) and Wave32 paired lowering (VICTORY_WAVE_PAIRED) for 32-lane NVIDIA warps.
  3. Real-Time Target: Reach >30 real-time native FPS with flat frametimes (DLSS SR enabled; DRS and frame generation deferred until native pacing is nailed).

Quick Start

Prerequisites

Build & Run

git clone https://git.gtahub.st/JackNuggz/VIctory-NVIDIA-Gabagool.git VIctory-NVIDIA
cd VIctory-NVIDIA
.\Get-NVIDIA-DLSS.cmd
cargo build --release --locked -p victory

Recommended 8 GB RTX 4060 / 6-Core Intel Launch (Series S + DLSS Quality, No FG):

powershell -ExecutionPolicy Bypass -Command "& '.\scripts\play-nvidia.ps1' -Exe '<path-to-your-title-executable>' -SeriesS -Dlss quality -More @{ VICTORY_SKIP_MOVIES='end'; VICTORY_GAME_MODE='1'; VICTORY_WAIT_SPIN='200'; VICTORY_PANEL='1'; VICTORY_VRS='soft'; VICTORY_RT_SKIP_DEAD='1'; VICTORY_RT_SKIP_GATHER_COPY='1'; VICTORY_TEXTURE_BUDGET_MB='2400'; VICTORY_TEXTURE_FIRST_UPLOAD_MB='0'; VICTORY_WAIT_RESIDENT='0'; VICTORY_PIPELINE_WORKERS='4'; VICTORY_PIPELINE_LOWEST='1'; VICTORY_PIPELINE_COMPUTE_WAIT='0'; VICTORY_SCREEN_WAIT_MS='1500'; VICTORY_PIPELINE_WAIT_MS='100'; VICTORY_DSTORAGE_WORKERS='6' }"

In-Game Controls

  • F1 or Start + Select (customizable): Open the settings menu (Keyboard + XInput / HID controller navigation).
  • F3: Toggle the 11-line live telemetry HUD (FPS, FRAME, DRAWS, SUBMIT, GPU BUSY, COPY BACK, RAM/VRAM, JIT, P99, VRS, DRS).

Optional Third-Party Dependencies (Not Included)

  • NVIDIA Streamline / DLSS / DLSS FG: Run .\Get-NVIDIA-DLSS.cmd (or victory.exe get-dlss) to fetch NVIDIA's Streamline binaries into nvidia-sdk\Streamline\bin\x64.
  • AMD FSR 3 Frame Generation (2×): Run .\Get-AMD-FSR.cmd (or victory.exe get-fsr) for RTX 20/30 or non-DLSS cards.
  • Third-Party MFG Loader Hook: Supported via F1 → MFG UNLOCKER or victory.exe get-mfg (off by default; not made or supported by NVIDIA or this fork).

Credits & Upstream Projects

Built on trustno1-coder/VIctory-NVIDIA and Marvisak/VIctory, with Gabagool features ported from VIctory-Strix-128-Gabagool and community improvements from foxhound, fxceless/victory-fork, Belobug/VIctory-Belobug-AMD, DexNom/VIctory, maren-halv/VIctory-DXR, crossducking/RAZDA4A-XEN, and edsuuu/VI-BR-PORT.

Licensed under GPL-3.0-or-later.