Open-source Xbox Series S to Windows D3D12 compatibility layer for AMD RDNA2
Focused on Radeon RX 6600 8 GB, 16 GB system RAM, and AMD FSR 3.1.6.
Prologue result. Approximately 25–30 displayed FPS in parts of the prologue on an RX 6600 and Ryzen 5 5600 with Frame Generation enabled. With upscaling enabled and Frame Generation disabled, the reported base rate is approximately 10–15 FPS.
Prologue benchmark · Build and launch · Asset policy
Asset Policy: This repository contains zero game files or copyrighted assets. You must supply your own legally dumped title files outside this repository. Verified by
cargo xtask policy.
LucVIa v7 rebases onto the modern lock-free ReVIctory core (vram.rs, soft.rs, commit.rs, bigalloc.rs, framegen.rs, overlay F1/F3 UI, AVX2+FMA DSP) and unifies the strongest proven memory, copy-back, VRAM, and AMD RDNA2 optimizations across the ecosystem:
mimalloc+bigallocHybrid Allocator: Replaces the Windows system heap lock on small allocations withmimallocwhile keeping direct virtual-memory pooling for>= 1 MiBblocks.- Write-Combined & GPU Read-Only Copy-Back Elision (
VICTORY_WC_NO_BACK,VICTORY_WC_SUBRANGE_NO_BACK,VICTORY_WC_NO_BACK_MIN_KB,VICTORY_GPU_RO_SKIP): Tracks write-combined (0x400) and GPU-read-only (PAGE_GRAPHICS_READONLY) regions and subtracts them at sub-range granularity from shader write-back, cutting synchronous 30+ MB/frame copy-backs. - AVX2 Non-Temporal Snapshot Copies: Uses
_mm256_stream_si256+_mm_sfenceon>= 64 KiBsnapshot writes to avoid polluting CPU L3 cache. - Sparse File-Backed Physical Sections (
VICTORY_FILE_PHYSICAL=1): Moves 64 KiB physical page sections off Windows pagefile commit into sparseDELETE_ON_CLOSEtemp files with a 128 GiB (TITLE_TOP_BITS=37) virtual address ceiling. - Large
XMemAllocDefaultWrite-Watch (VICTORY_WATCH_LARGE_XMEM=1): Routes>= 1 MiBgeneral allocations throughMEM_WRITE_WATCHreservations.
- Sparse Tiled Loose Shadow Windows (
VICTORY_WINDOWS_SPARSE, ported fromfxceless/blackbebec): Backs 4 MiB loose shadow windows with D3D12CreateReservedResource+ 64 KiBUpdateTileMappings(supported natively on AMD RDNA2 Tier 3). Unmapped/zeroed tiles consume 0 bytes of GDDR6 and automatically return to the pool, eliminating multi-gigabyte PCIe spills. - 16 MiB Texture Pool Blocks (
VICTORY_POOL_BLOCK_MB): Automatically selects 16 MiB heap blocks on<= 12 GiBVRAM cards to prevent 64 MiB block fragmentation. - WDDM Non-Local Headroom Guard (
residency.rs) & Guarded PC Spill (VICTORY_TEXTURES_IN_PC): Tracks WDDM shared memory (NON_LOCAL) alongside system commit so 16 GB RAM hosts never hit commit OOM. - 4-Frame Texture Turn Rotation (
VICTORY_TEXTURE_TURNS=1): Smooths background texture refresh sweeps across 4 frames. - Raw Buffer View Clamping (
VICTORY_RAW_VIEW_CLAMP=1): Prevents out-of-bounds raw SRV/UAV faults on RDNA2.
- Stage-Scoped Mesh-Launch Amplification (
VICTORY_MESH_LAUNCH=1): Eliminates per-draw compute clamp barriers on single-record indirect mesh draws while preserving non-mesh shader caches, validating 12-byte record bounds, binding a dedicatedGENERIC_READdummy SRV on direct launches, and emitting a single UAV barrier only when compute writes occurred. - Coalesced Card-Side Constant Copies (
VICTORY_CARD_STEPS_JOIN=4096): Merges adjacent constant/copy reads up to 4 KiB apart into singleCopyBufferRegioncommands. - Stale Frame Pipeline Wait Guard: Prevents older frames from resetting a newer frame's pipeline compilation wait budget.
- Scene-Only 5-Tap Anti-Ringing RCAS (
VICTORY_SHARPEN=0.35): Sharpens only the rendered scene plane (t0) incompose.rswithout touching HUD/UI (t1). - Series S PC AMD FSR 3.1.6 + HUDLess 2x Frame Generation (
VICTORY_FSR_PC=1,VICTORY_FSR_VERSION=3,VICTORY_FRAMEGEN_VERSION=3,VICTORY_FSR_FRAMEGEN=1,VICTORY_FRAMEGEN_HUDLESS=1): Enables native PC AMD FidelityFX FSR 3.1.6 upscaling and HUD-less 2x frame generation on RDNA2 without requiring Series X 4K patches (keeps FSR 4 off on RDNA2).
| Build | Hardware | Profile | Displayed frame rate |
|---|---|---|---|
| LucVIa v7 | Radeon RX 6600 8 GB, Ryzen 5 5600, 16 GB DDR4, Windows 11 | Series S, AMD FSR 3.1.6 upscaling from 720p to 1080p, HUD-less 2x Frame Generation | Approximately 25–30 FPS |
| LucVIa v7 | Radeon RX 6600 8 GB, Ryzen 5 5600, 16 GB DDR4, Windows 11 | Series S, 720p to 1080p upscaling, Frame Generation off | Approximately 10–15 FPS |
The ranges are project-reported observations in parts of the prologue. The Frame Generation result includes generated frames. The Frame Generation-off result uses upscaling. Frame-time percentiles and sustained performance across the entire prologue are unverified. Scene-transition stalls and texture pop-in are still under investigation.
- Windows 10/11 x64, AVX2 CPU, AMD RDNA2+ GPU (e.g. RX 6600 8 GB) or compatible SM 6.6 D3D12 GPU, 16 GB+ RAM, SSD.
- Rust MSVC toolchain (
rust-toolchain.toml) and Visual Studio C++ Build Tools. - Your own title dump placed outside this repository.
cargo build --release --bin victory# Pure Native RDNA2 (Series S, RX 6600 8 GB / 16 GB RAM profile)
.\scripts\play-lucvia.ps1 -Exe "D:\Path\To\Title\title.exe" -DataDir "D:\Path\To\LucVIaData"
# With AMD FSR 3.1.6 HUDLess 2x Frame Generation
.\scripts\play-lucvia.ps1 -Exe "D:\Path\To\Title\title.exe" -DataDir "D:\Path\To\LucVIaData" -FrameGenOptional switches on scripts/play-lucvia.ps1:
-FrameGen: enables PC AMD FidelityFX FSR 3.1.6 HUDLess 2x Frame Generation (requires AMD FidelityFX SDK DX12 DLLs inVICTORY_FIDELITYFX_DIRorbin/fidelityfx-2.4.0).-NoSparse: setsVICTORY_WINDOWS_SPARSE=0if you want committed 4 MiB loose windows instead of D3D12 tiled windows.-NoMeshLaunch: setsVICTORY_MESH_LAUNCH=0.-Sharpen 0.35: adjusts scene-only RCAS sharpening (0to1).-Console series-s(default) orseries-x.
In-game controls: F1 opens the settings overlay, F3 toggles the telemetry HUD.
LucVIa v7 stands on the shoulders of the open-source compatibility ecosystem:
- Upstream
VIctory— foundational Xbox-to-D3D12/Windows compatibility layer & DXIL translator ReTerryDavis/ReVIctory— lock-free shadow/soft-page/VRAM/FidelityFX/overlay baseProjectLeonida/mandy— write-combined sub-range & GPU read-only copy-back elision researchfxceless/blackbebec— D3D12 tiled sparse loose shadow windows (sparse.rs)lobomfz/VIctory-xmem— memory management & stale-frame wait fixesRAZDA4A-XEN&Grimkaaah— 16 GB RAM / Ryzen 5 5600 validation,FILE_PHYSICAL, and 8 GB VRAM tuning
GPL-3.0-or-later. See LICENSE and docs/asset-policy.md.
