RepositoryRust
PastiiJay

PastiiJay/klbf-lab

KLBF Lab: Xbox Series X|S compatibility layer for Windows. Runs the Xbox Series build of a title on PC from your own files. AMD Radeon fixes, AMD FSR 4 and frame generation, built-in benchmark. No game files.

304stars
56forks
57issues
0views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: radeon

#1 Repository Của Ngày

1
TINIX TRENDING·Chủ đề: rdna4

#1 Repository Của Ngày

1
TINIX TRENDING·Chủ đề: scarlett

#1 Repository Của Ngày

KLBF Lab

KLBF Lab

version: Lab 35 prologue: about 7 fps GPL-3.0

Played from a new game to the open world: Lucia's prologue and Jason's first mission ("Gone Fishing") completed, free roam from Jason's house, on an AMD Radeon RX 9070 XT.

An open lab that runs the Xbox Series X|S (Scarlett) build of the game natively on a Windows PC: a GDK compatibility layer (kernelx, xgameruntime, d3d12_xs → host D3D12, RDNA2 → DXIL shader translation) that combines the best fixes from open compatibility projects into one tested build. Our own fixes (AMD Radeon stability and rendering, water physics, pre-building pipelines, optional AMD FSR frame generation) and fixes from other contributors, credited below.

This is the one version we recommend. It is meant for every graphics card; so far we have tested it on an AMD Radeon RX 9070 XT, and reports from other cards (NVIDIA, Intel, other AMD) are very welcome. New builds are tried first on the beta branch of this repository (test builds); issues and test reports go in this repository's issues.

Status (2026-11-25, Lab 35)

Tested on one machine: AMD Radeon RX 9070 XT 16 GB (Adrenalin 32.0.32029.2010), AMD Ryzen 7 9800X3D, 32 GB RAM, Windows 11. Self-reported, one machine so far.

StageStatusNotes
Boot, first-run screens, intro, menus✅ Works30 fps
In game✅ Player in controlthe player controls the character from the prison prologue up to Jason's first mission
Frame rate, prologue (prison, in the cell)✅ ~7.3 fpsstanding in Lucia's cell: average 7.34, 1% low 7.0, peak 7.7 over 72 min
Frame rate, prologue while playing (cell → office → robbery → arrest)🟡 ~5.7 fpsaverage 5.7, median 5.7, peak 9.4
Frame rate, Jason's first mission ("Gone Fishing", on the boat)🟡 ~6.3 fpsaverage 6.3, median 6.5, peak 9.8
Settings—renders at 1280×720 (--console series-s), upscaled to 1920×1080 with AMD FSR; dips to ~0.5–1 fps while a new area loads
Frame rate in game, native resolution🟡 ~5 fpsabout 200 ms per frame
Stability✅ 74 min in one session without a crash (this version)recommended settings, still camera; 77 min of play without a crash on test build Lab 39, stopped by choice to get back to work on the project, not by a crash
Rendering🟡 Mostly rightwalls, lighting, hair and outfits drawn; purple tint on small flat objects (posters, stickers, towels), some faces deformed (guards, bank), faint diagonal lines on surfaces, the boat sits on the seabed (water physics fixed in test build Lab 39); the HUD (subtitles, objectives, prompts) stays hidden with the recommended settings in this version; fixed in test build Lab 38 (KLBF Lab Beta); at night the vegetation turns magenta and the ground stays very dark
Story progress✅ Open world reached: prologue and Jason's first mission ("Gone Fishing") completed, 3% of the storyplayed from a new game on our own build, with our own saves (no save file from anyone else): Lucia's prologue, then all of "Gone Fishing", then free roam from Jason's house, in a 77 min session without a crash (test build Lab 39); autosave and manual saves work, and the bed moves the time between day and night

Why AMD FSR

The recommended settings render the world at 1280×720 and upscale it to 1920×1080 with AMD FSR (FidelityFX Super Resolution). The game itself does the same on console: it ships with its own FSR upscaler and calls it every frame. KLBF Lab hands that call to AMD's official FidelityFX SDK on the PC, so the picture is upscaled the way the game expects, and the frame rate goes up by about a third. FSR works on AMD, NVIDIA and Intel cards. Native resolution without FSR is listed too (~5 fps).

Progress

How far the project gets in the story, scene by scene (one machine: AMD Radeon RX 9070 XT, recommended settings with AMD FSR). Frame rates are measured in the world, while playing, unless stated.

Part of the storyReachedFrame rate (average / peak)Notes
Boot, intro video, start screen, menus✅30 fpsmenus stay black with the recommended settings: press A
Prologue: Lucia's cell✅7.3 standing / 5.7 while playing, peak 9.4walls, lighting, outfit right
Prologue: the office interview✅(prologue while playing: 5.7)faces mostly right, some deformed
Prologue: the robbery✅(prologue while playing: 5.7)purple stickers on the glass, bank faces deformed
Prologue: the escape and the arrest✅~4 outside, high-contrast lightthe earlier crash point, passed since Lab 33
Jason's first mission ("Gone Fishing"): the boat✅ (test build Lab 39)6.3 / 9.8the boat floats and drives since Lab 39; on this version (Lab 35) it sits on the seabed: fail the checkpoint 3 times and the game offers to skip it
"Gone Fishing": on foot in the swamp, the camp, finding Donnie✅5.2 average / 12.9 peak (41 min session, test build Lab 38)first fight works; with Lab 39 the character climbs out of the water normally
"Gone Fishing": the seaplane, the water landing, the night drive home✅ (test build Lab 39)~5.2 average / 12.5 peak over the 77 min session; ~9 in flightmission completed; at night the vegetation turns magenta and the ground stays very dark
Jason's house, first manual save✅ (test build Lab 39)—the bed saves the game; the save menu shows "Gone Fishing (3%)"
Open world (free roam)✅ (test builds Lab 39 / Lab 42)~5–8 while driving and walkingfree roam from Jason's house; sleeping in the bed moves the time on, so day and night can both be tested
Further⏳ next—the next missions

Milestones

DateBuildMilestone
24 Nov 2026Lab 03in game, black world, ~1 fps, controller works
24 Nov 2026Lab 23first gameplay scene drawn on AMD, ~2 fps
24 Nov 2026Lab 26AMD memory leak and purple blocks fixed, ~4.4 fps
25 Nov 2026Lab 28Lucia's face, hair and outfit drawn
25 Nov 2026Lab 31the cell drawn with its walls
25 Nov 2026Lab 3574 min in one session without a crash; prologue ~7.3 fps in the cell
25 Nov 2026Lab 37played from the prologue to the start of Jason's first mission ("Gone Fishing"), peak 9.8 fps
25 Nov 2026Lab 38 (test)menus, map, HUD, subtitles and button prompts show in Series S mode; 41 min of play without a crash; "Gone Fishing" played up to the seaplane, peak 12.9 fps
25 Nov 2026Lab 39 (test)water physics fixed: "Gone Fishing" completed, 3% of the story, first manual save, 77 min of play without a crash (stopped by choice, not by a crash); open world reached from a new game

How we measure: the frame rate the layer logs about every 5 s, in the world only (loading screens and the first 2 minutes of shader compiling left out). Numbers are given per scene: standing in the prison cell, and while actually playing through the prologue and Jason's first mission (18 min session, test build Lab 37). Lows are taken from those 5 s averages, so single-frame dips may go lower.

Water physics: fixed in test build Lab 39

In test build Lab 39 (the beta branch) the boat in Jason's first mission floats and moves: with only the throttle held it sailed over a minute (wake, objectives updating) before hitting the bank. The fix has also been confirmed by another user on an NVIDIA GeForce RTX 5070 Ti (16 GB), in their own build. Our own play-through on Lab 39: the boat, the seaplane take-off and flight (~9 fps) and the water landing all work. It will come to this version once the mission has been played to its end.

Boats, the seaplane and the player in water all behave as if there were no water: the boat rests on the seabed, the seaplane "flies" under the surface. The water itself is drawn right. We think the cause is this: on console the CPU and the GPU share memory, and the game's physics reads back the water height the GPU computes each frame; in our layer that result stayed on the graphics card, so the physics read an empty height map. The next build copies those water textures back into the game's memory (ported from Geckomacabre/vx-layer); fixed in test build Lab 39, together with the XOR swizzle mode the height map is stored in (ported from MiamiGame/XTP).

[!TIP] Until the water physics fix reaches this version: when a water checkpoint fails, fail it 3 times and the game offers to skip it.

Community and test reports

The project started on KLBF Lab Beta (13 stars, 2 forks), now archived: test builds moved to this repository's beta branch on 25 Nov 2026. Reports from testers there:

  • RX 6900 XT (RDNA2), Windows 10: runs our builds for 19 min without a device removal; with Lab 33 the player's face renders on that card too; it helped us test two fixes.
  • RX 6800 (RDNA2): measured our AMD fixes on that card (same speed with them; purple sky and wet-looking skin gone).
  • DirectStorage page lists: an analysis by another tester, now part of the build.

No game files are included. You need your own legally obtained copy.

What it fixes

ProblemCause we foundFix
Memory grows ~240 MB/s until Windows runs outcompute shader 39f0e9aeb156a61c never leaves the AMD driver's compilerskipped
Purple/magenta blocks stuck on screenconsole 32-lane pixel shaders run in 64-lane waves on AMD; NaN piled up in temporal buffers32-lane programs run per half wave; NaN/Inf filtered on colour outputs
Missing or late texturestexture upload queue fixed at 192 MB / 250 ms per frameconfigurable, larger by default (VICTORY_TEXTURE_QUEUE_MB, VICTORY_TEXTURE_QUEUE_MS)
Characters missing or broken, faces absenttwo meshlet-cull compute shaders hung on AMD and had to be skippedupstream VIctory #334 (buffer-state tracking) ported; fc5e66f8f873d3bb no longer skipped: Lucia's face, hair and outfit render
Compute results not seen by other workgroupsglc loads not globally coherent on RDNAupstream VIctory #1271 ported
Lost or misplaced asset loadsDirectStorage page lists read after the title changed themread at the title's submit (analysis by JappertjeV, #3); `VICTORY_PAGE_LIST=enqueue
Cell walls, window frame and posters missing (sky where the wall should be)pipelines skipped while the world loads, textures streamed in part taken for othersported from myokex/victory-amd: pipelines kept across runs and waited for while a world loads (VICTORY_PIPELINE_GATE_S), textures shown from their first loaded mip, lost placed views refreshed (VICTORY_TEXTURE_SWEEP), dispatches over 65,535 groups split
Walls, window frame and outfit wrong for a whole run, at randomduring loading the list of remapped texture ranges overflowed and was thrown away, so which textures got re-checked depended on timingthe list is 32× larger and an overflow triggers a full re-check instead of a drop (found by comparing logs of runs with and without walls)
The AMD shader compiler crashes (amdxc64.dll) on a few pipelinesdriver bug on two pipelinesvictory translate --cache --pipelines pre-builds every pipeline offline, saves as it goes, finds the crashing ones and skips them in game too

What you can expect (tested on an RX 9070 XT, Adrenalin 32.0.32029.2010)

Result
First cellwalls, window frame, posters and photos drawn; Lucia's face, hair and orange outfit render; inmates in the yard
Speed, recommended settings (720p upscaled to 1080p with AMD FSR)~7.3 fps (median), 74 min with no device removal, walls drawn throughout
Speed, native resolution without FSR~4.8–5.2 fps (≈200 ms/frame); 41 min with no device removal (Lab 33)
Skipped shadersonly one left (39f0e9aeb156a61c, which never leaves the AMD compiler); the other 47 we used to skip now run on this card
Cell wallsdrawn in 5 of 6 runs (about half before Lab 35). When they are missing, the window frame turns purple and the outfit dark for the whole run; still under investigation
Still wronga purple tint on some papers and photos, stretched "web" triangles around some characters that change every frame, some textiles look wet, colour banding in skies

These are a few runs on one machine: other cards and drivers may behave differently.

Run

[!IMPORTANT] Before the first run, get AMD's FidelityFX SDK. The recommended settings (--console series-s) use AMD FSR, which needs AMD's DLLs. Download FidelityFX SDK v2.4.0 from its official page (GPUOpen-LibrariesAndSDKs/FidelityFX-SDK, releases), unzip it, and set VICTORY_FFX_DIR to its Kits\FidelityFX\signedbin folder (it holds amd_fidelityfx_loader_dx12.dll). Without it the log says amd_fidelityfx_loader_dx12.dll not found and the game crashes once it starts upscaling. No SDK? Run without --console series-s (no FSR, slower).

[!TIP] New to this? Follow the beginner's guide: every step is a command to copy and paste, from installing the tools to playing, with a page-file guide and a troubleshooting table.

Step by step

  1. Install the tools: Rust and Git. You also need your own copy of the game's Xbox Series files on disk, and 32 GB of RAM or a large Windows page file (a run commits about 20 GB).
  2. Get the code and build it: git clone https://github.com/PastiiJay/klbf-lab (or git clone -b beta https://github.com/PastiiJay/klbf-lab for the test build), cd klbf-lab, then cargo build --release. The program is target elease ictory.exe.
  3. Get the FidelityFX SDK (see the box above) for the recommended Series S settings.
  4. Pre-build the pipelines, once. This compiles all of the game's shaders for your graphics card ahead of time, so the game doesn't stutter or crash on them while you play. It takes about 10 to 20 minutes. If it crashes (the AMD driver sometimes does), just run the same command again: it resumes and remembers the shaders that crashed. Run it again after updating KLBF Lab. Set the same variables as for playing first (step 5), then:

Pre-build command:

$env:VICTORY_SHADER_OPT = '0'
$env:VICTORY_SKIP_PIPELINES = (Get-Content docs\klbf\skip-amd.txt -Raw).Trim()
target\release\victory.exe translate --cache --pipelines --jobs 8 <game dir>\shaders.rpf
  1. Play with:
$env:VICTORY_SHADER_OPT = '0'
$env:VICTORY_SKIP_PIPELINES = (Get-Content docs\klbf\skip-amd.txt -Raw).Trim()
$env:VICTORY_LATE_WAIT = '1'
$env:VICTORY_WIDE_BACK = '1'
$env:VICTORY_PIPELINE_WAIT_MS = '24'
$env:VICTORY_RELAY_COPY_QUEUE = '0'
$env:VICTORY_FFX_DIR = '<FidelityFX SDK>\Kits\FidelityFX\signedbin'
target\release\victory.exe run --console series-s <game dir>\<the title's exe> --execute

--console series-s makes the title render at 1280×720, and AMD FSR (from the official FidelityFX SDK) upscales it to 1920×1080: that is the ~7 fps setting. Without --console series-s the title renders at its native resolution (~5 fps here).

[!TIP] With the recommended settings the start screen and the main menu stay black: the title is running behind it. Press A on the controller (or Enter on the keyboard, with the game window focused) to get past them; the picture appears once the world loads. Plug the controller in before starting: plugging it in during play pauses the title.

If the device is lost about a minute after the world starts loading (reported on an RX 9070 non-XT, #6), try VICTORY_LATE_WAIT=0.

VICTORY_SHADER_OPT=0 turns off the fork's shader clean-up passes, which crashed the AMD compiler for us. VICTORY_TEXTURE_BUDGET_MB=6144 fixed some dark textiles for another tester but hid the cell walls in both our runs with it, so we leave it off for now.

Please report results in an issue: GPU, driver, how long it ran, fps in the window title, and what looks wrong. Patch notes: CHANGELOG.md. Full run log: docs/klbf/results.md.

Credits

Code and fixes in our builds come from these people and projects, thank you:

Testers and reporters: @clems206, @TG0000, @BlackBu7let, @kzrts, and @HishamMuhammed, whose questions shaped the beginner's guide.

KLBF Lab started from VIctory by Marvisak and the fxceless/victory-fork (see README.fxceless.md); it is GPL-3.0 like them, and keeps their copyright notices. Fixes ported from other projects are credited where they are used, above and in the commit messages.

Product names are only used to say what this works with; they belong to their owners. KLBF Lab is not affiliated with them. License: GPL-3.0.

Similar Projects

Discover other similar projects and AI models.

RepositoryRust
ZigZagBoi1/ScarlettPort

Native PC port layer for an Xbox Series X|S title: the game's x64 code runs on your CPU and its RDNA2 GPU code is recompiled for your graphics card. Bring your own files.

1.7k
Nov 29, 2026
RepositoryRust
ka1qux/BRVIctory-ka1qux

Runs an Xbox Series title natively on Windows: a compatibility layer. Fork of VIctory and victory-fork, developed and measured on an AMD Radeon RX 7800 XT.

124
Nov 26, 2026
RepositoryRust
realblastex/flamingo

VIctory / victory-fork based compatibility layer that runs a freshly released Xbox Series title on Windows from your own copy, with an RDNA2 shader recompiler to D3D12. Tuned for NVIDIA

54
Nov 26, 2026
RepositoryC++
californiaAlmonds/OpenScarlett

Open-source MIT C++20 Xbox Series X|S (Scarlett) translation layer for Windows 10/11 — D3D12, Vulkan 1.4, RDNA2 shader lifting, GDK shims, and real-binary telemetry

106
Nov 26, 2026
RepositoryRust
xcl-dev/xcl

Xbox Series compatibility layer for Windows - runs console game code natively, reimplements the console system libraries and recompiles RDNA2 shaders to DXIL

8.8k
Nov 28, 2026
RepositoryPython
R0Y00/Xbox2Windows

Static recompilation research for Xbox Series X|S software on x64 Windows, with source-built CPU and GPU tests. Full-game startup is unverified.

2.0k
Nov 27, 2026
Modeltext-generation
peonist-ai/halogen-qwen3.8-flash-next

halogen-flash, Qwen3.8-Flash-Next for AMD Strix Halo Weights for halogen-flash-server(https://github.com/peonist-ai/halogen-flash-server), a dedicated inference engine for Qwen3.8-Flash-Next on AMD Strix Halo (gfx1151). One model family, one GPU, ev...

♥0
0
Oct 21, 2026
RepositoryC++
dumbie/RadeonTuner

RadeonTuner is an easy to use alternative for the AMD Adrenalin Software for users that just want the basics and use the driver only software install type.

554
Nov 17, 2026
RepositoryC
zgauthier2000/fsr4-shader-performance-overrides

Faster FSR 4.1.2 upscaling on Radeon RX 6000 and RX 7000 graphics cards, on Windows and Linux: drop-in DLLs and shader overrides. Exact version keeps AMD's picture byte for byte; optional lossy version is faster still.

392
Nov 29, 2026