2026-11-30 19:11:58 +01:00

SlaktarnVI

Valhalla, by Slaktarn

A compatibility layer that runs an Xbox Series title natively on a PC, from files you supply. Made for Linux under Proton and AMD Radeon cards.

Status · Quick start · How it works on Linux · FSR · Keyboard and mouse · Problems · Windows

Important

No game files, code or assets are in this repository, 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.

Valhalla is a fork of VIctory by Marvisak, with work from many other forks (see Credits).

What it does

Graphics Translates the console's Direct3D 12 and its shaders to PC ones, at Series X or Series S settings
Upscaling AMD FSR 4 and FSR 3.1, or the title's own upscaler
Frame generation AMD FSR, one generated frame for each real one
Keyboard and mouse Built in, with a settings menu on F1: sliders and every key
Controller Works as on the console, also beside keyboard and mouse
Launcher Presets, resolution, FSR, controls, shader and pipeline preparation
Numbers on screen F3: frame rate, FSR, frame generation, CPU, GPU, RAM and video memory
Ray tracing Works, slow, with picture problems: turn it off first

Status

Tested on one PC only (below), 2560x1440 output, FSR 4 Quality, Series X settings, ray tracing off:

Real frames With frame generation
Opening scenes (2026-11-29) 20 to 22 fps about twice that on screen
A parking lot in the open world (2026-11-30) about 18 fps about 36 on screen

Frame generation makes motion smoother; the title still reacts at its real frame rate. Scene cuts drop to a few fps for a second or more. The goal is a steady 30 real frames per second without ray tracing first, then with it.

What is new

2026-11-30, third update: picture fixes found in other forks (not faster)

  • BC7 textures of one kind were read one step off: coloured specks (confetti) on faces and clothes.
  • Clothes' and faces' decorations are baked after the uploads they need (VICTORY_THIN_BAKE): against blocks of coloured noise. Not yet seen in the scene where it showed.
  • The ocean's height map is in memory for the title to read, which is what boats float on (VICTORY_RENDER_XOR); the terrain's page table is made in time (VICTORY_UNORDERED_NOW_KB).
  • Ray tracing (off in the presets): sizes and replaced structures are right (VICTORY_BVH_SIZE_COPY, VICTORY_BVH_KEEP_REPLACED); not run here yet.
  • Off unless asked for: VICTORY_PARTICLE_KNEE=0.012 softens bright dust in rooms, VICTORY_REHYDRATE_PREP=1 for ray tracing.
  • Release builds use thin link-time optimization and AVX2. They took the place of the plain build; no difference in speed was measured.

2026-11-30, second update: starts that failed without a word

  • The launcher has logs (Tools): its own and the game's, and "Copy a report" for a bug report. When the game does not start or ends by itself it says why.
  • What is missing or wrong is named instead of a black screen or nothing: the game's folder, Proton (now also found in Flatpak and Snap Steam and on other drives), the build, d3dcompiler_47.dll missing or too old. One put there later replaces an old copy.
  • GAME_EXE is not needed any more: the executable is found by itself.
  • Without AMD's DLLs the title's own upscaler is used.
  • Settings that ruined the game are gone or mended: no Series S profile (the title stopped at its start on some PCs), low memory mode, pipeline wait, 120 fps and unlimited caps; ray tracing is off in every preset (it stays a switch); safe mode no longer stretches characters; "Skip the intro" works in release builds. Settings you saved before are mended by themselves.
  • In generated frames the car is no longer painted on the road behind it (its shadow still can be).
  • Phone calls, TVs and other filtered sound are heard (after ReTerryDavis/ReVIctory and zeex64).
  • About 8 ms a frame less on the tested PC (title memory on the card, the render-target pool left to the GPU, guards shared).
  • Windows: scripts/play.ps1 writes a log of each run. Not tested here.

2026-11-30

  • FSR drew a black picture in release builds: fixed. If you had sound and menus but no picture with FSR, update and build again.
  • Frame generation and the numbers' panel work in release builds.
  • Keyboard and mouse play, with a settings menu on F1.
  • FSR 3.1 is used by itself on cards that are not of the RX 9000 series (Linux launcher).
  • Saves: a damaged newest version never costs an older whole one.
  • Ultra Performance works at 3840x2160 and 2560x1440.

2026-11-29

  • The shore's sand and the plants on the water are drawn (after ReTerryDavis/ReVIctory).
  • Textures that arrived late or were lost; pipelines prepared on an empty cache; a crash dumper and a stall watch that do not hang.

Before: the old d3dcompiler_47.dll named in an error, a device removal on Windows, the frame recorder under vkd3d-proton, caches and saves outside the source folder, a dead zone for the sticks (thanks to pmaho), characters stretched to a point, a 3 fps scene, trees popping.

Known problems
  • The frame rate, and hitches at scene cuts.
  • Coloured noise on some characters' faces or clothes, in some runs only.
  • Squares low in the sky; a water glitch by the boat's motors when driving fast.
  • Textures that arrive late.
  • Ray tracing is slow and has picture problems.
  • Keyboard and mouse: some button meanings are guesses (change them with F1); in vehicles the mouse buttons do nothing yet.
  • Not tested here: cards other than RDNA 4, NVIDIA, Intel, and Windows. Several fixes came from people who reported them.

Quick start (Linux)

You need: your own copy of the title, an AMD card (RDNA 3 or 4 recommended) with a current Mesa, Steam's Proton Experimental, Rust, Python 3 with PySide6, and the DLLs of steps 2 and 3.

1. Get the source and build it

git clone https://github.com/Slaktarn700/SlaktarnVI
cd SlaktarnVI
cargo install cargo-xwin
cargo xwin build --locked --release -p victory --bins --target x86_64-pc-windows-msvc

cargo-xwin downloads the Windows SDK headers and libraries on first use; set XWIN_ACCEPT_LICENSE=1 once you have read Microsoft's license.

2. Microsoft's shader compiler in linux/keep/ms-d3d/: d3dcompiler_47.dll and dxil.dll, from the Windows SDK package on nuget.org.

Warning

d3dcompiler_47.dll must be a Windows 10 or 11 SDK build (file version 10.0.x). The 6.3.9600 one many games ship knows no shader model 5.1: the log says unrecognized compiler target and the world is black under the interface.

3. FSR and frame generation in linux/keep/fidelityfx/: amd_fidelityfx_upscaler_dx12.dll and amd_fidelityfx_framegeneration_dx12.dll from AMD's FidelityFX SDK 2.4 (Kits/FidelityFX/signedbin in GPUOpen-LibrariesAndSDKs/FidelityFX-SDK).

4. Start the launcher

./linux/valhalla.sh

Choose the title's folder (anywhere outside this repository), choose a preset, press Play. The first start after a new build is slow for some seconds: the driver builds its cache. Pipelines are recorded while you play, so "Prepare" has something to do after one session.

Presets

Preset Output FSR Frame generation Settings Ray tracing
Low 1080p 3.1 Performance on Series X, 30 fps cap off
Medium 1080p 4 Quality off Series X off
High 1440p 4 Quality on Series X off
S70 1440p 4 Quality on Series X; the tested one off
Ultra 4K 4 Quality on Series X off

On cards that are not of the RX 9000 series, "4" is 3.1. Each preset was run for two minutes in a release build on the tested PC (2026-11-30): 12 to 21 real fps, the picture right, no crash.

Without the launcher

Run from anywhere; linux/ finds the build by itself in target/ (diag first, then release; EXE= names another):

OVERRIDE="GAME_DIR=<its folder, without spaces>" ./linux/s70.sh

linux/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).

How it works on Linux

The program is a Windows program; Proton runs it, and the card's Linux driver draws.

flowchart LR
  A["Your copy of the title"] --> B["Valhalla<br/>loader, system calls,<br/>Direct3D 12 of the console"]
  B --> C["Shaders translated<br/>and kept on disk"]
  B --> D["Proton (Wine)"]
  C --> E["vkd3d-proton<br/>Direct3D 12 to Vulkan"]
  D --> E
  E --> F["RADV (Mesa)"]
  F --> G["Radeon card"]
  B --> H["FSR and<br/>frame generation"]
  H --> E
  • Built on Linux: cargo xwin makes the Windows program here; no Windows is needed.
  • Proton: the launcher takes linux/proton-patched/ if it is there, else PROTON=, else Steam's Proton Experimental.
  • Two Proton patches (the first is recommended), always on a copy in linux/proton-patched/, never on Steam's own. The console's memory tricks make thousands of memory views, and Wine looks them up slowly: linux/wineserver-view-tree.patch finds them by address, and without it streaming is much slower. The second, for ntdll.so, fixes memory that Wine can lose for a moment. Steps and how to undo them: docs/proton-patches.md.
  • Where things go: caches, saves, the launcher's settings and the Proton prefix are in ~/.local/share/valhalla/ (VALHALLA_HOME= for another place), never in the source folder.
  • FSR 4 under Proton: Proton swaps the upscaler for FSR 4 (PROTON_FSR4_UPGRADE, set by the launcher on RX 9000 cards).

FSR: which one do I get?

Your card FSR 4 FSR 3.1 What the launcher picks
RX 9000 (RDNA 4) yes, best picture yes FSR 4 (turn "FSR 4" off for 3.1)
RX 7000, RX 6000 and others no yes FSR 3.1, by itself

Both were seen working on an RX 9070 XT; older cards are not tested here, reports are welcome. By hand: VICTORY_FSR_VERSION=4 or 3. "Game upscaler" in the launcher uses the title's own.

Mode Share of each side At 1440p At 4K
Native AA 100% 2560x1440 3840x2160
Quality 67% 1706x960 2560x1440
Balanced 59% 1505x847 2258x1270
Performance 50% 1280x720 1920x1080
Ultra Performance 33% at 4K, 37.5% at 1440p, else 50% 960x540 1280x720

Tip

A lower mode helps only where the graphics card is the limit. On the tested PC the processor's side is, so Quality looks best and costs almost nothing. Ultra Performance was tested with FSR alone, not in the title.

Frame generation adds one frame for each real one (2x), in every build. FSR offers no 3x.

Keyboard and mouse

On in the launcher (Controls). Click into the window to hold the mouse; F2, Esc or Alt+Tab free it. A controller works at the same time.

Ours
F1 Settings menu: mouse and keys
F2 Holds or frees the mouse
F3 Numbers on the picture
Caps Lock Changes between the on foot and vehicle keys by hand
Page Up, Page Down Mouse sensitivity
Key On foot In a vehicle
W A S D Move Accelerate, brake, steer
Mouse Look Look
Left, right mouse Fire (RT), aim (LT) –
Space Jump (A) Handbrake (RB)
Shift Run (X) A
Ctrl Crouch (L3) Horn (L3)
F Interact, get in (Y) Get out (Y)
E D-pad right D-pad right
Q Cover (RB) D-pad left
R Reload, back (B) B
X X X
Tab (hold) Weapon wheel (LB) Weapon wheel (LB)
H R3 Horn (L3)
C, middle mouse R3 R3
P Phone out, and away again; the wheel scrolls in it the same
M Map, and away again; mouse moves it, wheel zooms, click marks the same
G, Z D-pad left, D-pad down the same
1 2 3 4 D-pad up, down, left, right the same
Esc Pause Pause
Enter, Backspace, arrows A, B, D-pad (menus) the same

The F1 menu

Press F1 while playing: a menu opens in the lower right corner.

Settings, on foot
>Mouse               Sensitivity [##--------] 100%
 Mouse               Up and down [##--------] 100%
 Mouse               While aiming [##--------] 100%
 Mouse               Up looks down: no
 Keys                All to the defaults
 RT      LMB         Fire
 LT      RMB         Aim
 ...
                     F1 or Esc closes, Caps Lock: layout
In the menu
Choose a line Up and down arrows, or the mouse wheel
Move a slider Left and right arrows
Change a key Enter or a click, then press the new key, mouse button or wheel; Esc for no change
Invert (up looks down) Left, right or Enter
All keys to the defaults Enter, and Enter once more
The other layout (on foot, vehicle) Caps Lock
Close F1 or Esc

Changes count at once and are kept for the next start. A key that had another job is named in the last line. The title gets no keys and no mouse while the menu is open, but it is not paused, and a controller plays on. W A S D are changed in keys.txt alone; Esc, Enter, Backspace, the arrows, Caps Lock, F1 and F2 stay as they are.

Mouse sensitivity

Where How
While playing, quickest Page Up for more, Page Down for less, 10% a press; hold to slide. The value shows for 4 seconds
While playing, all of it F1: sensitivity, up and down, while aiming, invert
Before starting Launcher, Controls: sliders from 20% to 500%

The value in the game (10% to 500%, kept in mouse.txt) is on top of the launcher's: 200% there and 150% here make 300%. If fast turns stay slow at a high value, raise the camera speed in the title's own settings: the title turns the view as with a pad's stick, and no faster than that.

The key file

Some of these button meanings are guesses: the title knows only a pad. Change them with F1, or in keys.txt (changes count while it runs). All of it: docs/keyboard-mouse.md.

Something is wrong?

What you see Try
Sound, menus, no picture, with FSR Update and build again: release builds before 2026-11-30 (3b5c751) had this fault
It does not start The launcher says why; also Tools, "The launcher's log"
World black, log says unrecognized compiler target The 10.0.x d3dcompiler_47.dll (step 2)
Very slow while driving The wineserver patch; ray tracing off
Mouse stuck, or the wrong keys Alt+Tab or F2; F1, then "All to the defaults"; Caps Lock for the other layout
W fires on foot The vehicle keys are in use: Caps Lock
Something looks wrong "Safe mode" in the launcher, and say whether it helps

Reports are welcome: say what you did and add "Copy a report" from the launcher's Tools (read it first; your home folder's name is left out). The whole logs are in ~/.local/share/valhalla/logs. No game files or links to them, please.

Tested system

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); about 22 GB are in use in all while it runs
Proton Proton Experimental experimental-11.0-20261112, with both patches
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)

Windows

VIctory, which this is built on, runs natively on Windows. This fork is tuned and tested on Linux only: nothing of it has been tested on Windows, so treat this as a starting point. The Linux launcher, the wineserver patch and linux/*.sh are not needed there.

Steps for Windows

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, and the Visual Studio Build Tools with the "Desktop development with C++" workload and a Windows SDK. Windows has its own d3dcompiler_47.dll; dxil.dll comes with the Windows SDK. In a normal PowerShell window:

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 --bins

Run with the settings this fork uses (characters stretch without them):

.\scripts\play.ps1 -Exe "D:\Games\<your copy>\<the executable>"

2560x1440 with FSR and frame generation, with 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, -Build release uses target\release, and -More @{VICTORY_PANEL='1'} passes any other switch. Ahead of the first run:

.\target\diag\valhalla.exe shaders "<the title's shader archives>"   # every shader translated, minutes
.\target\diag\valhalla.exe warm --used                                # pipelines earlier runs drew with

For developers

The build with the diagnostics the logs need (frame lines, A/B phases, captures):

cargo xwin build --locked --profile diag -p victory --features diagnostics --bins --target x86_64-pc-windows-msvc

Tests on Linux run under Proton through scripts/proton-run.sh as the cargo runner (docs/linux-wine.md); one, switches::documented_switches_are_read, fails under Wine only. linux/ab-report.py sums up an in-run A/B (VICTORY_AB=<seconds>,<switch>). Pull requests go through the checks in .github/workflows. More: docs/architecture.md.

Credits and license

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, ReTerryDavis, HexNomad23, fcompanies, MJ26gaming, borntofrag34, readmet3xt-lab, trustno1-coder and others, each noted where it is used in the code. Thank you to everyone who reports, measures and sends patches.

S
Description
Valhalla, by Slaktarn: an Xbox Series compatibility layer (VIctory fork) for Linux under Proton, tuned for AMD RX 9070 XT. No game files.
Readme GPL-3.0
5.3 MiB
0 Stars 1 Watchers 0 Forks
Languages
Rust 99.1%
Python 0.7%
Shell 0.2%