Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

700 Commits

Folders and files

Repository files navigation

VIctory-Duckey

A performance fork of DexNom RayTime, itself a fork of Marvisak's VIctory: it runs the Xbox Series build of a game from your own installation on Windows and translates its GPU work for Direct3D 12. This fork is tuned and measured on an AMD Radeon RX 7900 XTX.

Game files, executables, saves and shader caches stay on your own computer. Nothing from the game is in this repository.

Tested PC

Component Test system
GPU AMD Radeon RX 7900 XTX, 24 GB
CPU AMD Ryzen 7 7800X3D
OS Windows 11 x64
Profile Series X, 2560×1440, no frame generation

Where it stands

Measured in the prison opening, after the world has loaded (median of 5-second frame lines from 150 s on):

Setting Frame time
Ray tracing off (the default here) about 40–43 ms (23–25 fps)
Full ray tracing (--rt / VICTORY_RAY_TRACING=1) about 91 ms

With ray tracing off the card is the limit: added card work moves the frame one for one, added CPU work hardly at all. Most of what is left is the game's own shaders as translated: the heaviest lighting programs need 256 registers on RDNA 3 (87–144 on the console) and spill.

What this fork changes

Each change has a switch to turn it off; the shader cache keys on the ones that change translations.

  • Ray tracing off by default (VICTORY_RAY_TRACING=1 or --rt turns it on): its default mode walked structures the builder never made, about 9 ms a frame.
  • Cheaper loop-limit guard (VICTORY_LOOP_ABORT=1 restores the old one): a loop closed by a jump takes its iteration limit at its own exit test, which cut the hot lighting programs' register spills by 30–60% (CS_Gather_Classified 3,104 → 2,128 bytes a lane), about 1 ms a frame. Programs that store to memory, walk it by address or test ray-tracing nodes, and everything while ray tracing is on, keep the old guard.
  • Full ray tracing fixes: InitHeaders' stores are written back from a record of them (from DexNom/VIctory#153, VICTORY_RECORDED_WRITES=0 off), and float atomic min/max on title memory are one integer atomic (from notquiteog/VIctory, VICTORY_FLOAT_ATOMIC_INTS=0 off): full ray tracing went from 650–790 ms to about 91 ms a frame.
  • Hardware ray-tracing node test through AMD's driver intrinsics (after Marvisak/VIctory#3294), off by default (VICTORY_HW_BVH=1): no gain measured on the RX 7900 XTX.
  • AMD fixes from VIctory-BigCheese: one compute shader that crashes AMD's shader compiler leaving the prison is skipped (VICTORY_SKIP_PIPELINES); the head blend-shape bake is always waited for (faces black otherwise); textures picked by index are rechecked every 1,800 frames (VICTORY_HEAP_RECHECK_EVERY=0 off).
  • Shader arithmetic and AMD-specific folds, export joins (from Texbird's Marvisak/VIctory#1473), and diagnostics for finding where card time goes: per-pipeline card timing, our own lists' card clocks, live-switchable delay knobs, and VICTORY_TRANSLATE_OUT to compile single shaders offline with Radeon GPU Analyzer.

The full list, with the measurements behind each change and the experiments that did not pay off, is in the commit history.

Run it on your PC

Setup is the same as DexNom's: see Run it on your PC. Use this repository's source ZIP instead of theirs: Download source ZIP. The installed launcher is still named DexNom RayTime.

scripts\Start-World.ps1 starts a run from a saved world snapshot; it finds the game through -GameExe, VICTORY_GAME_EXE, or the game_dir in your configuration.

Credits

  • Marvisak and the VIctory contributors wrote the runtime this builds on. VIctory
  • DexNom and the RayTime contributors: the Radeon baseline this fork starts from, and #153. DexNom/VIctory
  • Ported work, credited in the commits: trustno1-coder (VIctory-NVIDIA), notquiteog (VIctory), computermakemegta6 (VIctory-BigCheese), readmet3xt-lab (foxhound), Belobug, and Marvisak/VIctory contributors including Texbird and MeMako (#3294).
  • DexNom's own README, with its credits and history, is kept as README.DexNom.md.

Licensing

VIctory source is licensed under GPL-3.0-or-later. License · Asset policy and table notice

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages