Valhalla, by Slaktarn: a fork of VIctory, a compatibility layer that runs an Xbox Series title natively on a PC from files you supply, here tuned for Linux under Proton on an AMD Radeon RX 9070 XT.
This repository contains no game files, code or assets, and no binaries built from them. You need your own legally obtained copy of the title. This project is not affiliated with or endorsed by the title's developer or publisher, nor by Microsoft or AMD.
Tested on one machine only (see below), with the launcher's S70 preset: 2560x1440 output, FSR 4 Quality, frame generation on, the Series X profile, no ray tracing.
| Real frames (frame generation not counted) | |
|---|---|
| Opening cutscene | 15-19 fps |
| Gameplay and later cutscenes | about 19-25 fps |
| Scene cuts (streaming a new place) | a few seconds at 3-8 fps |
Fixed: characters stretched to a point (vertices thrown off), faces and clothes in coloured squares, textures picked by index left with old or empty bytes, the 3 fps heist (dynamic descriptor slots running out), trees and grass popping from batch order, a hang of the test suite. Open: the frame rate (goal: a steady 30 real fps), the scene-cut hitch, unordered views of one compressed texture not mirrored, ray tracing (off until 30 fps).
The first run after a new build is slow for some seconds after loading: the driver builds its pipeline cache for the changed executable. The second run is not.
| OS | CachyOS, kernel 7.3.5-2-cachyos |
| GPU | AMD Radeon RX 9070 XT (RDNA 4, gfx1201), 16 GB |
| GPU driver | Mesa 26.3.1 (RADV, vulkan-radeon 26.3.1-5), Vulkan 1.4.363 |
| Firmware | linux-firmware 20261019 |
| CPU | AMD Ryzen 7 9800X3D (8 cores) |
| RAM | 32 GB (30 GB usable); while it runs about 22 GB are in use in all |
| Proton | Proton Experimental experimental-11.0-20261112, with linux/wineserver-view-tree.patch |
| Rust | 1.98.1 (rust-toolchain.toml), target x86_64-pc-windows-msvc, cargo-xwin 0.24.1 |
| Python | 3.14 with PySide6 6.12 (the launcher) |
Other AMD cards of RDNA 3 and 4 should work; FSR 4 needs RDNA 4. Nothing here was tested on NVIDIA or Intel.
- Your own copy of the title (its folder with the executable).
- Proton Experimental from Steam. Recommended: rebuild its
wineserverwithlinux/wineserver-view-tree.patch(finds memory views by address; without it streaming is much slower). Put that copy inlinux/proton-patched/(it is used when it is there) or pointPROTON=at it. Keep Steam's own copy untouched. - Microsoft's shader compiler,
d3dcompiler_47.dllanddxil.dll, from the Windows SDK package on nuget.org (Wine's own compiler lacks what the runtime's shaders use), inlinux/keep/ms-d3d/. - For FSR and frame generation:
amd_fidelityfx_upscaler_dx12.dllandamd_fidelityfx_framegeneration_dx12.dllfrom AMD's FidelityFX SDK 2.4 (Kits/FidelityFX/signedbinin GPUOpen-LibrariesAndSDKs/FidelityFX-SDK), inlinux/keep/fidelityfx/. - Rust with rustup (the toolchain file picks 1.98.1) and
cargo install cargo-xwin(it downloads the Windows SDK headers and libraries on first use; setXWIN_ACCEPT_LICENSE=1once you have read Microsoft's license).
cargo xwin build --locked --release -p victory --bins --target x86_64-pc-windows-msvcThe build with the diagnostics the scripts below log (frame lines, A/B phases, captures):
cargo xwin build --locked --profile diag -p victory --features diagnostics --bins --target x86_64-pc-windows-msvcOn Linux the build is cross-built (cargo xwin); on Windows plain cargo build (see
Windows below). Tests on Linux run under Proton through scripts/proton-run.sh as the cargo
runner (see docs/linux-wine.md); one test, switches::documented_switches_are_read, fails
under Wine only.
Everything runs from linux/: copy the built valhalla.exe (from
target/x86_64-pc-windows-msvc/diag/ or .../release/) to linux/bin/valhalla.exe (or set
EXE= to it), put the title in linux/game/ or set GAME_DIR=, and set GAME_EXE= to the
file name of its executable. Caches and saves go to linux/victory-data/.
./linux/valhalla.shstarts the launcher (presets Low, Medium, High, S70, Ultra; the S70 preset is what every measurement above used). Without the launcher:
GAME_EXE=<the executable's name> ./linux/s70.shlinux/run-7900.sh lists the switches it sets and the options for unattended runs (SECS,
WALK, HOLD, LOG). Every run writes a log and <log>-hw.tsv (GPU and CPU once a
second, linux/hw-log.py). linux/ab-report.py sums up an in-run A/B
(VICTORY_AB=<seconds>,<switch>).
Keyboard stand-in for the pad: W/A/S/D left stick, I/J/K/L right stick, Z and C the
triggers, Enter A, Backspace B, X and Y, Q and E the shoulders, Esc menu, Tab view; F3
shows or hides the info panel, F4 saves the next frame (with VICTORY_CAPTURE).
The program is a Windows program, and VIctory, which this is built on, runs natively on
Windows. This fork was tuned and tested only on Linux under Proton: nothing of it has
been tested on Windows, so treat the steps below as a starting point. The Linux-only pieces
(the wineserver patch, the Proton paths, linux/*.sh, the launcher) are not needed there.
You need Windows 10 or 11 (x64), a CPU with AVX2, a Direct3D 12 GPU with shader model 6.6
and mesh shaders, a current AMD Adrenalin driver, Rust through rustup (the toolchain file
picks 1.98.1), and the Visual Studio Build Tools with the "Desktop development with C++"
workload. Windows has its own d3dcompiler_47.dll; dxil.dll comes with the Windows SDK.
In PowerShell, in a normal window (not as administrator):
git clone https://github.com/Slaktarn700/SlaktarnVI
cd SlaktarnVI
Copy-Item victory.example.toml victory.toml # then set your paths in it, outside this folder
cargo build --locked --profile diag -p victory --features diagnostics --binsRun with the settings this fork uses (characters stretch without them):
.\scripts\play.ps1 -Exe "D:\Games\<your copy>\<the executable>"The S70 preset of the Linux launcher (2560x1440, FSR at 0.6667 scale, frame generation, the info panel) needs the two FidelityFX DLLs in a folder of their own:
.\scripts\play.ps1 -Exe "D:\Games\<your copy>\<the executable>" -S70 -FidelityFX "D:\FidelityFX"-Safe leaves out the newest, faster ways (try it first when something is wrong),
-Build release uses target\release, and -More @{VICTORY_PANEL='1'} passes any other
switch. If PowerShell refuses to run the script, allow it for this window only:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy BypassAhead of the first run (both can be stopped and go on later):
.\target\diag\valhalla.exe shaders "<the title's shader archives>" # every shader translated, minutes
.\target\diag\valhalla.exe warm --used # pipelines earlier runs drew withOn Linux, Proton swaps the FidelityFX upscaler for FSR 4 (PROTON_FSR4_UPGRADE); on
Windows the upscaler is the one in the DLL you supply, and whether the driver upgrades it
is not tested.
GPL-3.0-or-later, as VIctory (see LICENSE). This fork builds on VIctory by Marvisak and
takes changes from the forks of fxceless, DexNom, myokex, avatarmanz, Belobug, ivall and
others, each noted where it is used in the code.