A standalone Linux + NVIDIA RTX compatibility layer fork of VIctory running Xbox Series titles under Proton-GE + vkd3d-proton (developed and tested on an NVIDIA RTX 5080, Series X 1440p profile).
This repository contains no game files, code or assets. You need your own copy of the game. It is not affiliated with or endorsed by the game's developer or publisher.
- Hardware DXR 1.1 RT-core raytracing (
--hw-rt, enabled by default): Lifts all 64image_bvh*_intersect_rayshaders (bvh64andbvh32traversal loops, including Near+Far cross-query hit attributes) to native DXR 1.1RayQuerywith GPU BLAS refits and TLAS remapping. Software BVH traversal (--ray-tracing) and ambient fallback (--no-hw-rt) remain available. - Exact
wave64 -> wave32lowering for NVIDIA: Lowerswave64GI/RT material shader-binning prefix sums with exact cross-half wave32 exchange, active-lane ballot guards, and divergent loop-latch handling. - NVIDIA & vkd3d-proton stability and residency defaults built into Rust: Core GPU residency, descriptor, upload, and async-submit defaults live in
crates/victory-gpu/src/config.rs(all overridable viaVICTORY_*environment variables), alongside wide indirect compute clamping, dynamic descriptor pool recovery,BakeDecorationssynchronization, glass depth-plane sync, andForceEarlyDepthStencil.
- Linux x86-64 with an AVX2 CPU, 32+ GB RAM recommended (the title can use 20–30+ GB RAM), and an NVIDIA RTX GPU with DXR 1.1 / Shader Model 6.6 / Mesh Shader support via Vulkan (
vkd3d-proton). - Build tools:
rustup,clang,lld,llvm(sudo dnf install rustup clang lld llvmon Fedora), and cargo-xwin. - Runtime:
umu-runonPATHand GE-Proton11-13 or later in~/.local/share/Steam/compatibilitytools.d/Proton-GE Latest(or setPROTONPATH). Earlier vkd3d-proton releases (< v3.1-83) use dxil-spirv's legacy structurizer, which crashes NVIDIA's SPIR-V compiler on ~6% of pipelines. - DXC DLLs: Place
dxcompiler.dllanddxil.dllfrom the x64 folder of Microsoft's DirectXShaderCompiler release in~/.local/share/victory/dxc(or setVICTORY_DXC_DIR); the launcher copies them besidevictory.exe.
Recommended: patched wineserver. The title maps memory views by the hundred thousand, and stock Wine's wineserver walks a linked list on every map. GE-Proton PR #1016 replaces that list with a tree. Installing a copy of GE-Proton with that wineserver at ~/.local/share/victory/proton/GE-Proton11-14-viewtree removes the long stalls; the launcher picks it up automatically when present (--stock-wineserver forces stock Proton-GE).
Cross-compile the Windows executable from Linux (scripts/build-linux.sh passes XWIN_ACCEPT_LICENSE=1 for cargo-xwin's Windows SDK download):
rustup toolchain install 1.98.1 --target x86_64-pc-windows-msvc
cargo install --locked cargo-xwin
scripts/build-linux.sh # release build -> target/x86_64-pc-windows-msvc/release/victory.exe
scripts/build-linux.sh --diag # diagnostics build (capture, popwatch, extra logging)Install the local asset-policy pre-commit hook:
cargo xtask install-hooks
cargo xtask policyThe first launch pre-translates the title's shaders (~70 s; a few seconds on subsequent launches) and warms previously used pipelines whenever the build or shader switches change (VICTORY_PREBUILD=0 skips this).
VICTORY_GAME_DIR=~/Games/MyDump scripts/play-linux.sh --skip-intro --new-game
./play-gta6.sh --skip-intro --mangohud # wrapper defaulting VICTORY_GAME_DIR to ~/Downloads/GTA6
scripts/play-linux.sh shaders <the shader archives> # translate every shader ahead of time
scripts/play-linux.sh warm --used # pre-compile pipelines from prior runs
scripts/play-linux.sh --help # all options| Option | Effect |
|---|---|
--console <series-x|series-s> |
Console profile (--series-x / --series-s; default: series-x at 2560x1440) |
--hw-rt, --no-hw-rt |
Hardware DXR 1.1 RT-core raytracing (default on: VICTORY_HW_RT=1, VICTORY_AMBIENT=0; --no-hw-rt disables HW RT and enables VICTORY_AMBIENT=1.2) |
--ray-tracing |
Enable the title's software BVH builder (VICTORY_BVH_BUILDER=1; separate from --hw-rt) |
--diag |
Run the diagnostics build (scripts/build-linux.sh --diag) |
--skip-intro |
Press through boot screens and logos (Enter/A at 12–50 s) |
--new-game |
Back up saves to ~/.local/share/victory/save-backups/<time> and seed ~/.local/share/victory/save-templates/new-game if present |
--texture-waits |
Wait longer for textures in early frames and bakes (VICTORY_EARLY_TEXTURES_MS=40, VICTORY_BAKE_TEXTURES_MS=10000) |
--stock-wineserver |
Use stock Proton-GE Latest even if a view-tree wineserver copy exists |
--bench <route> |
Scripted benchmark run from scripts/bench/<route>.keys |
--overlay [mode] |
Built-in D3D12 performance & bottleneck overlay (default on: full; modes: full|compact|minimal|fps|hidden|off, --no-overlay disables; in-game: Shift+F11 cycles mode, Shift+F10 cycles corner, Shift+F9 cycles scale, Ctrl+Shift+ +/-/0 steps/resets scale) |
--mangohud, --no-mangohud |
Enable or disable MangoHud overlay and mangohud.csv (off by default; when both are on, VIctory's overlay auto-docks to top-right) |
--proton-log |
Save Wine's own log into the run folder |
The launcher uses its own prefix (~/.local/share/victory/prefix), caches under ~/.cache/victory/, and saves/data under ~/.local/share/victory/data. It configures vkd3d-proton for NVIDIA stability (VKD3D_CONFIG=no_descriptor_heap,no_upload_hvv, VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains) and a 12 GiB NVIDIA shader disk cache.
All GPU/residency/RT defaults live in Rust (crates/victory-gpu/src/config.rs, crates/victory-shader/src/emit/mod.rs, crates/victory-hle/src/modules/xmem.rs) and can be overridden via VICTORY_* environment variables, including Resizable BAR windows (VICTORY_WINDOWS_BAR_MB=512, VICTORY_CARD_WINDOWS_MB=0, VICTORY_CARD_BUFFERS_MIN_KB=64).
Every run creates ~/.local/share/victory/runs/<date-time>/ (symlinked at latest):
| File | Contents |
|---|---|
run.json |
Build, git revision, Proton/umu/driver/GPU/CPU/RAM info, active VICTORY_*/VKD3D_* settings, exit code |
victory.log |
Timestamped engine log |
frames.csv |
Per-frame timings, submitting thread work, GPU waits/idle, copies, uploads, draws/drops, pipelines, VRAM (VICTORY_FRAMES_CSV) |
mangohud.csv, mangohud-summary.csv |
With --mangohud: MangoHud frame log and summary |
system.csv |
1 Hz process memory/swap, host RAM/VRAM, GPU load/clock/temp, CPU load |
marks.csv, marks/ |
User-marked moments and screenshots |
scripts/victory-mark.sh --install # install desktop shortcut (bind e.g. Ctrl+Alt+M)
scripts/victory-mark.sh --note 3 "bridge stutter" # annotate mark 3
scripts/victory-report.py # summarize latest run
scripts/victory-report.py <run> --against <run> # compare two runsShutdown safety: Always stop
victory.execleanly via Ctrl-C orSIGTERM(pkill -TERM -f 'victory\.exe'), neverSIGKILL. Force-killing the title while its VRAM mappings are live can wedge the NVIDIA driver until reboot.
- docs/architecture.md — Workspace crate map, module architecture, and shader/GPU pipeline overview
- docs/fork-ray-tracing.md — Hardware DXR 1.1 raytracing, software BVH fallback, and ambient fallback
- docs/asset-policy.md — Strict no-game-assets policy and
cargo xtask policyenforcement
This project builds on work from the wider VIctory community:
- VIctory by Marvisak and contributors: the loader, runtime services, D3D12.X backend, and shader recompiler.
- codec_d's cool_fox (mirrored at junikka/cool_fox): base commit
f4b48ad. - avatarmanz/VIctory-7900XTX: async list recording/submission, relay copy-back, card-side steps, and descriptor mirroring work.
- fxceless/victory-fork: base fork and merged community PRs (including PR #927 16-bit table values).
- DexNom/VIctory: ray tracing fixes, cube gradients, sparse textures.
- Belobug/VIctory-Belobug-AMD: ambient light stand-in, pipeline workers, and work by romainhedouin.
- FQY55kai/ZJOU-VICTORY.
- myokex/victory-amd: multi-view page guards (with Spexivus, joroyt, and tightfall) and Joshua Odom's title-memory reads.
- Geckomacabre and cxy0072019-sketch: texture read-back.
- XCL (GPL-2.0-only): reference for title behavior (no code copied).
victory-coolfox-linux(upstream-basebaa6f75) and Linux/NVIDIA contributors:- trustno1-coder/VIctory-NVIDIA: D3D12 validation fixes and
VICTORY_PIPELINE_WAIT_ONCE. - GE-Proton PR #1016: view-tree wineserver.
- meeyao/victory-8gb-linux: Wine DXC fallback, null pipeline-library blob, and vkd3d settings.
- Zarina35/victory-coolfox-nvidia: NVIDIA wave32 fixes, scripted input, and Resizable BAR window sizing.
- kroeeee-eeee/VIctory-Linux-Proton-Wine-7900XT-XTX: single-latch loop handling.
- trustno1-coder/VIctory-NVIDIA: D3D12 validation fixes and
GPL-3.0-or-later, as VIctory. See LICENSE; the one file not covered is documented in docs/asset-policy.md.