A fork of VIctory, a compatibility layer
that runs an Xbox Series title on a PC from files the user supplies. This one is
about running it on Linux under Wine/Proton, on an AMD RDNA 4 card. Its base is
avatarmanz/VIctory-7900XTX (speed on
RDNA 3, Windows) with Belobug's
RX 9070 XT fixes (rx9070xt branch, cd8dfc0), plus what the Wine runs here needed, taken
from those repositories, from Marvisak/VIctory and from our own measurements. It
is playable, slowly.
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.
Tested on one machine only:
| CPU | AMD Ryzen 9 5950X (16 cores, 32 threads) |
| GPU | AMD Radeon RX 9070 XT, 16 GB (Navi 48, GFX1201) |
| RAM | 32 GB, plus 32 GB of swap (8 GB zram, 24 GB file) |
| OS | Fedora 44, kernel 7.3.4, KDE Plasma 6.8.3 on Wayland |
| Driver | Mesa 26.2.7 RADV |
| Wine | Proton Experimental experimental-11.0-20261112 with a patched wineserver (view tree, Wine bug 60868), inside gamescope at 1600x900 |
| Direct3D 12 | vkd3d-proton's d3d12core.dll rebuilt with dxil-spirv b540c8a2 (see below) |
| Profile | Series X, from a save |
| Standing in the first playable area (~2,400-3,300 draws) | 57-62 ms a frame (16-17.5 fps) |
| The same place, more in view (~7,000 draws) | 72-76 ms (13-14 fps) |
| Memory | game process 14-16 GB resident; 32 GB with swap was enough |
Faces move (mouths, brows, blinks), skin and clothes look right, and the logo videos play smoothly.
It started at ~575 ms a frame on this base (2 fps). What brought it down, run by run, is in docs/linux-wine.md.
What is known to be wrong here:
- About 330 draws a frame are dropped without a host pipeline: the ray-tracing builder's, which is off (Belobug#269).
- Lighting indoors is only approximate without ray tracing (an ambient stand-in).
- Loading the world takes more than 40 s.
Built on Linux with cargo-xwin for
x86_64-pc-windows-msvc; no Windows machine needed.
git clone https://github.com/anoyarou/VIctory-RDNA4-linux
cd VIctory-RDNA4-linux
cp victory.example.toml victory.toml # then set your paths, outside this folder
cargo xwin build --profile diag --target x86_64-pc-windows-msvc -p victory --features victory/diagnosticsThen, with a Wine prefix of Proton's:
WINEDLLOVERRIDES="d3d12,d3d12core,dxgi,d3d11,d3d10core=n,b;d3dcompiler_47=n", and a 64-bit Microsoftd3dcompiler_47.dllnext tovictory.exe.VKD3D_CONFIG=ignore_shared_fence,descriptor_heap(needs Resizable BAR).RADV_EXPERIMENTAL=transfer_queue: copies on the SDMA queue, copy-back ~38 -> 24-27 ms (avatarmanz/VIctory-7900XTX#111).- A vkd3d-proton with dxil-spirv
694cc674or later (vkd3d-proton master71cae09has it). With older ones six shadow pipelines are never made and each frame waits 500 ms for them. Rebuiltd3d12core.dllnext tovictory.exeworks without touching Proton or the prefix. - A wineserver with the view-tree patch, or loading the world is far slower.
- The settings of
scripts/play.ps1(not-Safe) as environment variables, plusVICTORY_FETCH_CHECK=1(without it the characters' skin looks wrong). LeaveVICTORY_PORT_GUARDandVICTORY_PORT_JOURNALoff (clothes look plastic, skin waxy). wine victory.exe run <your copy's executable> --execute --console series-x.
All of it, with the reasons and the measurements, is in
docs/linux-wine.md. Commands and debugging switches:
docs/README-fxceless.md; every VICTORY_... switch is
described in a comment where it is read.
From avatarmanz/VIctory-7900XTX, in short; the reasons and the measurements (on Windows) are in docs/findings.md.
- List calls are written down, not carried out, on the title's threads
(
VICTORY_THIN): eight threads of ours translate them. - Submissions are prepared by a thread of ours and joined
(
VICTORY_ASYNC_SUBMIT,VICTORY_JOIN_PARTS), with what can be spread over threads spread: refreshes, compares (AVX2), descriptor records, landings. - What shaders wrote comes back beside the write guards, by the dwords that
changed, on a thread of its own (
VICTORY_RELAY,VICTORY_LAND). - Buffer fills that need bytes still on the card are done on the card
(
VICTORY_CARD_STEPS) instead of waiting for it. - The title's writes are caught more cheaply: one view opened at a fault, blocks that rest, places in the title's code that look before they write.
- Textures go up on a copy queue of their own and a slot shows one only after its upload ran, which also ended a device loss that came every 15 minutes or so.
- Boats float: textures that shaders write and the title's CPU reads go back to title memory (from fxceless and Geckomacabre, on by default here).
- Frame record and replay with per-pass times and shader variants compared turn by turn (docs/replay.md).
This is a tree of other people's work with a little more on top. The history is kept, and commits taken from elsewhere name the commit and its author.
- VIctory by Marvisak and its contributors: the loader, the runtime services, the Direct3D 12 back end and the shader recompiler.
- avatarmanz/VIctory-7900XTX: the base of this branch, and the pull requests and reports of the people testing it under Linux (avatarmanz/VIctory-7900XTX#13, avatarmanz/VIctory-7900XTX#59, avatarmanz/VIctory-7900XTX#111, avatarmanz/VIctory-7900XTX#148, avatarmanz/VIctory-7900XTX#166, avatarmanz/VIctory-7900XTX#200 and others), and the face fix of avatarmanz/VIctory-7900XTX#114 with Beqren's raw typed loads.
- beloooo (Belobug/VIctory-Belobug-AMD):
the RX 9070 XT fixes and HUD of the
rx9070xtbranch (81ebb7b,e942896), texture uploads in the prelude (5d6bd84) and the FSR 4.1.2 bridge (cd8dfc0). - tippythetaidum (fxceless/victory-fork#927): the half views that make faces right on Radeon; bordersky/victory-linux and Fedalv for carrying and testing the three face pieces together under Linux.
- HansKristian-Work/dxil-spirv
and vkd3d-proton: the dxil-spirv fix (
694cc674) the shadow pipelines need. - fxceless/victory-fork: the fork the RX 7900 XTX base started from, and the people whose pull requests it carries.
- DexNom/VIctory: ray tracing fixes, cube gradients, sparse textures.
- Belobug/VIctory-Belobug-AMD also: the ambient light idea, pipeline workers, and work by romainhedouin.
- FQY55kai/ZJOU-VICTORY.
- myokex/victory-amd: the guard over every view of a page (with Spexivus, joroyt and tightfall), and Joshua Odom's reads into title memory.
- Geckomacabre and cxy0072019-sketch: the texture read-back.
- XCL (GPL-2.0-only) was read for how the same title behaves under another layer; no code of it is here.
- This fork's changes were made with Claude Code.
GPL-3.0-or-later, as VIctory. See LICENSE; the one file that is not covered is named in docs/asset-policy.md.