Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
213 commits
Select commit Hold shift + click to select a range
d4ed2de
Process exit: start the watchdog before other threads end
raffclar Nov 23, 2026
e6a2c54
texture: refuse extents past 16384 texels instead of overflowing
9hvn9yt2vk-netizen Nov 23, 2026
3827767
GPU: make tables past a capped host view heap afresh
Nostyxx Nov 23, 2026
e98d3ca
PE: checked file offset in rva_to_file_offset
AndyLatimer Nov 23, 2026
d85097a
Keep an empty import descriptor for the Windows 10 loader
ifBars Nov 23, 2026
29b558c
test(gpu): use the SDK root parameter in the serializer fixture
jeremygold02 Nov 23, 2026
9e04419
Merge pull request #15 from 9hvn9yt2vk-netizen/fix-texture-extents
Marvisak Nov 23, 2026
0c91c03
Loader: test the AMD-only instruction emulation on any CPU
raffclar Nov 23, 2026
d222b87
Merge pull request #19 from raffclar/exit-watchdog
Marvisak Nov 23, 2026
97c78d1
Merge pull request #21 from Nostyxx/fix/nvidia-view-heap-cap
Marvisak Nov 23, 2026
f00caec
Loader: test 64-bit extrq at index 0, not in AMD's undefined range
raffclar Nov 23, 2026
0b607b1
GPU: verify WARP adapter is software before using it
LaunchDoesntCode Nov 23, 2026
ea24ea1
shader: a lane mask that needs its own value fails instead of overflo…
9hvn9yt2vk-netizen Nov 23, 2026
71cfe84
loader: emulate clwb on Intel CPUs before Ice Lake
HenriqueSBueno Nov 23, 2026
15b0091
shader: VICTORY_SHADER_LOOP_LIMIT to find what makes world frames slow
9hvn9yt2vk-netizen Nov 23, 2026
e158d95
Guard texture and XMA offsets against overflow
Vanthys Nov 23, 2026
4cca767
Reject empty XMA test fixture directories
Vanthys Nov 23, 2026
7e42fef
Report Windows commit-limit failures in crashes.log
BaggyALPHA Nov 23, 2026
ef22723
PE: remove leftover dbg_tls test and check layout offsets
AndyLatimer Nov 23, 2026
2e5001c
shader: keep fract(NaN) as NaN on NVIDIA and add synthetic GPU VALU t…
alessiodeia Nov 23, 2026
4da3d63
Clear the IAT directory alongside the import directory
ifBars Nov 23, 2026
5fbea47
shader: look up an input channel without underflowing
9hvn9yt2vk-netizen Nov 23, 2026
071487f
GPU: emit null buffer SRV/UAV when descriptor names a buffer with nul…
Yaekai Nov 23, 2026
0c56091
Shaders: lower v_xnor_b32 and v_swap_b32
Yaekai Nov 23, 2026
4e94c2b
xmem: write DirectStorage page destinations one view per run
TG0000 Nov 23, 2026
fc807b6
Reuse texture row spans when converting Xbox pixel layouts
ifBars Nov 23, 2026
35b054e
GPU: pipelines off the render thread and cached; indirect execution on
Nov 24, 2026
f3c7f0f
GPU: leave rectangle vertex components past the stride alone
AndyLatimer Nov 24, 2026
25a3e95
Keep an empty import descriptor so Windows assigns static TLS
ifBars Nov 24, 2026
78b8404
xmem: commit physical-page sections whole under Wine
a55uka Nov 23, 2026
0eca412
GPU diagnostics: skip pipelines by shader hash
FIocker Nov 24, 2026
c4e915f
loader: a clwb write-back loop runs in one exception
HenriqueSBueno Nov 24, 2026
9a5cbbe
fix: skip unused export address slots instead of reporting them at RVA 0
tedin7 Nov 24, 2026
4c1766c
GPU: keep a guarded block's write fault from being declined in a race
Exorion1er Nov 24, 2026
73d776b
GPU: check a sampled texture once per submission, not once per list
TG0000 Nov 24, 2026
c963b71
fix: read a far jump's offset as signed so backward far jumps decode
tedin7 Nov 24, 2026
a2f5f43
Shaders: set SCC from the carry of s_addc_u32 and s_subb_u32
tedin7 Nov 24, 2026
b304b7d
fix(gpu): average copy statistics over the full reporting interval
jeremygold02 Nov 24, 2026
257d8bb
Audio: reduce the title's XMA read advance before adding it
AndyLatimer Nov 24, 2026
ec0d155
Watch: saturate the end of announced writes and remaps
AndyLatimer Nov 24, 2026
38ae55d
Keep the diagnostic skip outside indirect argument validation
FIocker Nov 24, 2026
0e5953d
Merge branch 'main' into fix/windows10-import-directory
ifBars Nov 24, 2026
3e982f7
BCPack: find a slot's bucket from a window table
TG0000 Nov 24, 2026
7d33c46
Merge pull request #45 from HenriqueSBueno/clwb
Marvisak Nov 24, 2026
27b530e
Files: send rewritten narrow paths to the host, not to our wide wrappers
Dufftwt Nov 24, 2026
27e6442
Merge pull request #28 from ifBars/fix/windows10-import-directory
Marvisak Nov 24, 2026
24480a7
Shaders: find the written instructions with a worklist, not repeated …
TG0000 Nov 24, 2026
cbd71a9
Merge pull request #38 from raffclar/emulation-tests
Marvisak Nov 24, 2026
cc51927
Merge pull request #30 from AndyLatimer/fix/pe-rva-offset-overflow
Marvisak Nov 24, 2026
bf6c557
Merge pull request #75 from tedin7/vic-pe-export-holes
Marvisak Nov 24, 2026
062ad14
Merge pull request #50 from Vanthys/fix/format-offset-overflow
Marvisak Nov 24, 2026
a6888a6
Merge pull request #43 from 9hvn9yt2vk-netizen/shader-mask-cycle
Marvisak Nov 24, 2026
8fe0b74
Merge pull request #56 from 9hvn9yt2vk-netizen/find-input-underflow
Marvisak Nov 24, 2026
4a8a058
Merge pull request #58 from Yaekai/feat/shader-xnor-swap
Marvisak Nov 24, 2026
46610eb
Merge pull request #81 from tedin7/vic-scalar-carry
Marvisak Nov 24, 2026
4926f72
Merge pull request #80 from tedin7/vic-far-jump-backward
Marvisak Nov 24, 2026
237f2e8
Merge pull request #37 from alessiodeia/fix/valu-med3-fract-trig
Marvisak Nov 24, 2026
3c86053
Shaders: lower s_bitcmp0/1_b32 and s_bitcmp0/1_b64
tedin7 Nov 24, 2026
eda38aa
Merge pull request #57 from Yaekai/fix/null-buffer-views
Marvisak Nov 24, 2026
683278b
Merge pull request #36 from jeremygold02/codex/root-parameter-fixture
Marvisak Nov 24, 2026
fc0c4dd
Merge pull request #77 from Exorion1er/fix/guard-fault-race
Marvisak Nov 24, 2026
0f35dfc
Merge pull request #66 from AndyLatimer/fix/gpu-rect-element-past-stride
Marvisak Nov 24, 2026
fa5ef73
Merge pull request #79 from TG0000/perf/texture-check-once-per-submis…
Marvisak Nov 24, 2026
93bc978
Merge pull request #60 from ifBars/perf/reuse-texture-row-spans
Marvisak Nov 24, 2026
97464ba
Merge pull request #61 from TG0000/hle/physical-page-runs
Marvisak Nov 24, 2026
6168fc6
Merge pull request #70 from FIocker/gpu/diagnostic-pipeline-filter
Marvisak Nov 24, 2026
91e9bc9
Merge pull request #46 from 9hvn9yt2vk-netizen/shader-loop-limit
Marvisak Nov 24, 2026
4c0bb89
Merge pull request #41 from LaunchDoesntCode/codex/proton-warp-safety
Marvisak Nov 24, 2026
8a8a38d
Merge pull request #53 from a55uka/fix/wine-physical-pages
Marvisak Nov 24, 2026
9aef3d9
Merge pull request #51 from BaggyALPHA/fix/windows-commit-limit-diagn…
Marvisak Nov 24, 2026
7102a49
GPU: rename the second test module in host.rs so the tests compile
Luislariosss Nov 24, 2026
1823079
Shaders: lower v_cmp_class_f16 and v_cmpx_class_f16
lordon1a Nov 24, 2026
d2a4bae
Merge pull request #129 from Luislariosss/fix/duplicate-test-module
Marvisak Nov 24, 2026
7d73e2b
pipeline: remove staging files when cache publication fails
codex Nov 24, 2026
02fcf72
xmem: mapping or unmapping no pages changes nothing
Maraco91 Nov 24, 2026
babe2db
Crash reports: show the bytes of an instruction the CPU refused
Dufftwt Nov 24, 2026
3390e47
Crash reports: say what an access violation's address holds
Dufftwt Nov 24, 2026
cbb50b8
GPU: give null texture UAVs the title's view dimension
juliocesarshopify-maker Nov 24, 2026
c88b7ac
Game saves: an empty configuration id is the default, not every confi…
Maraco91 Nov 24, 2026
afc4641
net: skip newer-Windows-only exports in only_loopback_is_reachable
Makto94 Nov 24, 2026
18b2716
net: rustfmt the presence assertion
Makto94 Nov 24, 2026
d46b078
XUser: a gamertag without a suffix has an empty modern suffix
Dufftwt Nov 24, 2026
5f670bb
Loader: a trapped unimplemented import goes into the crash log
Dufftwt Nov 24, 2026
36d6a79
XTaskQueue: terminating a queue ends a dispatch waiting on it
Maraco91 Nov 24, 2026
79fb722
Shaders: s_ttracedata_imm is SOPP opcode 0x28, not 0x26
Dufftwt Nov 24, 2026
63df363
GPU: a half-float rounding carry raises the exponent, not halves the …
Dufftwt Nov 24, 2026
717f322
GPU: GetDevice and the DXGI device hand out the device at every level
Maraco91 Nov 24, 2026
5f29f3a
Loader: a title DLL that fails to prepare is named in the error
Dufftwt Nov 24, 2026
9fe73ba
shader: decode the packed typed-buffer formats
artor410 Nov 23, 2026
a3d3bc9
Shaders: trace descriptors chosen by s_cselect and s_cmov
claude Nov 24, 2026
ffa6635
Shaders: lower waterfall loops over per-lane descriptors in one pass
claude Nov 24, 2026
b5c6678
loader: unwind a 16-byte aligned copy of the context
Abdellah-Khanani Nov 24, 2026
3c81420
GPU: drop draws whose fresh tables cannot be made; 2^18 dynamic slots
hophaver Nov 24, 2026
cc63aa2
Config: ignore an empty VICTORY_TEST_TITLES
enzoduarte1 Nov 24, 2026
40c127c
Chore: clear two workspace Clippy errors
enzoduarte1 Nov 24, 2026
efb3e3d
GPU diagnostics: order tied drop counts consistently
FIocker Nov 24, 2026
376b3cf
Storage: a path buffer too small fails with E_FAIL, as on Xbox
marquezinii Nov 24, 2026
a4e7f1d
GPU: replay pending descriptors before publishing the host heap
FIocker Nov 24, 2026
0f369d6
Capture: R16G16B16A16_UNORM targets are integers, format 89 is 10:10:…
marquezinii Nov 24, 2026
ded334b
Shaders: lower v_cvt_norm_i16_f16 and v_cvt_norm_u16_f16
LouisRiverstone Nov 24, 2026
404d7fd
Shaders: PSV0 says a pixel shader runs per sample when an input does
Dufftwt Nov 24, 2026
c2f60d6
Shaders: a pixel shader writing SV_StencilRef declares StencilRef
Dufftwt Nov 24, 2026
2af66ff
Shaders: v_cvt_u16_f16 and v_cvt_i16_f16 saturate at 16 bits
LouisRiverstone Nov 24, 2026
ff8694a
Window: keep Alt and F10 from freezing the title in menu mode
itsRevela Nov 24, 2026
eb30a0d
GPU: write half subnormals from f32 rectangle outputs
enzoduarte1 Nov 24, 2026
28c1b07
XGameSave: a read result into a small buffer is E_GS_PROVIDED_BUFFER_…
marquezinii Nov 24, 2026
d5704aa
fix(shader): lower dynamic v_perm_b32 without INT64
Nov 24, 2026
f0ee35e
XGameSave: a full host disk is E_GS_OUT_OF_LOCAL_STORAGE, not the quota
marquezinii Nov 24, 2026
f4438b3
Shaders: reads of uninitialized SGPRs read as zero, as VGPRs do
Nov 24, 2026
1106f43
Shader tests: run the VALU GPU tests one at a time
r4tedx Nov 24, 2026
077ec8b
translate: count per-lane fetched descriptors as loaded
claude Nov 24, 2026
bf84134
Shaders: maximums and minimums order -0 below +0, as RDNA2 does
Dufftwt Nov 24, 2026
e8d3b64
GPU: the larger dynamic range only where the heap still fits
hophaver Nov 24, 2026
6285e19
Shaders: take the first lane's descriptor as each lane's own only in …
claude Nov 24, 2026
6638098
Shaders: per-lane descriptors chosen by control flow
r4tedx Nov 24, 2026
c249f02
Shaders: centroid position with conservative depth
SAitken91 Nov 24, 2026
9a8908c
core: show data_dir in config and check its asset policy
AdvaitPalve11 Nov 24, 2026
25b0f88
Test probe: compare direct and joined reads of a shader timestamp
Dathinel Nov 24, 2026
3dd467c
Shaders: a phi that only another read phi consumes is live too
KoLolX3 Nov 24, 2026
260611a
Shaders: image_sample_o with constant offsets
SAitken91 Nov 24, 2026
a0efd2d
Shaders: decode GFX10 packed inline constants by operand type
AlanQiang0418 Nov 24, 2026
b1c8306
Shaders: prove EXEC selection before collapsing a waterfall
fuzeofficlal Nov 24, 2026
6c63dea
Shaders: name why a loop is no waterfall, and test the shapes found i…
r4tedx Nov 24, 2026
d74558c
GPU diagnostics: describe a buffer UAV by its range, not as uav None
SantannaCarlos Nov 24, 2026
764fa19
Loader tests: build the probe fixture under CARGO_TARGET_TMPDIR
lameloball2813-ui Nov 24, 2026
0064c08
GPU: upload CPU-written textures before CopyResource
fuzeofficlal Nov 24, 2026
af22e5d
GPU: use the host upload path for texture staging copies
EatCodeSleep2 Nov 24, 2026
5864aab
Docs: rustdoc builds the loader, GPU and shader crates without warnings
lameloball2813-ui Nov 24, 2026
31ce30f
GPU: unbind vertex buffer slots for null view arrays
fuzeofficlal Nov 24, 2026
ab3eb92
Shaders: gate the constant_color test helper to Windows
catminou4 Nov 24, 2026
4f53d6f
GPU: upload CPU-written sources before texture region copies
fuzeofficlal Nov 24, 2026
0f0c872
Docs: drop the private intra-doc link to MICRO in texture.rs
catminou4 Nov 24, 2026
51f1627
Shaders: v_cmp_lg is ordered on AMD hosts too (olt | ogt, not fcmp one)
Lyrnc Nov 24, 2026
3e39eac
fix(hle): return XAsync payloads for nonnegative results
Quat3rnion Nov 24, 2026
1f858b0
Merge pull request #25 from artor410/packed-buffer-formats
Marvisak Nov 24, 2026
c2e7254
Merge pull request #87 from jeremygold02/codex/copy-stat-frame-window
Marvisak Nov 24, 2026
0e990e4
Merge pull request #104 from TG0000/perf/bitcode-worklist-liveness
Marvisak Nov 24, 2026
b0328ba
Merge pull request #111 from Dufftwt/fix/narrow-paths-translated-twice
Marvisak Nov 24, 2026
3d77d5e
Merge pull request #117 from tedin7/vic-s-bitcmp-2
Marvisak Nov 24, 2026
80c0d12
Merge pull request #140 from lordon1a/feat/cmp-class-f16
Marvisak Nov 24, 2026
ba7d873
Merge pull request #152 from Makto94/fix/net-test-win10
Marvisak Nov 24, 2026
787f665
Merge pull request #161 from lordon1a/fix/pipeline-staging-cleanup
Marvisak Nov 24, 2026
13ac0e6
Merge pull request #167 from Maraco91/xmem/zero-length-unmap
Marvisak Nov 24, 2026
3dd37e6
Merge pull request #198 from Dufftwt/fix/crash-report-instruction-bytes
Marvisak Nov 24, 2026
27c960b
Merge pull request #204 from Dufftwt/fix/crash-report-fault-memory
Marvisak Nov 24, 2026
6af0fae
Merge pull request #205 from asdaasdsaddf/fix/null-uav-dimension
Marvisak Nov 24, 2026
27f9b76
Merge pull request #209 from Maraco91/xgamesave/empty-configuration-id
Marvisak Nov 24, 2026
7c8cecb
Merge pull request #229 from Dufftwt/fix/gamertag-modern-suffix-empty
Marvisak Nov 24, 2026
9e44f38
Merge pull request #239 from Maraco91/xtaskqueue/terminate-ends-dispatch
Marvisak Nov 24, 2026
56d5032
Merge pull request #245 from Dufftwt/fix/import-trap-in-crash-log
Marvisak Nov 24, 2026
88b6658
Merge pull request #249 from Maraco91/gpu/get-device-newer-levels
Marvisak Nov 24, 2026
89e1031
Merge pull request #260 from Dufftwt/fix/f32-to-half-rounding-carry
Marvisak Nov 24, 2026
db89843
Merge pull request #276 from Dufftwt/fix/s-ttracedata-imm-opcode
Marvisak Nov 24, 2026
93c0852
Merge pull request #285 from Dufftwt/fix/name-title-dll-that-fails-to…
Marvisak Nov 24, 2026
5a16e66
Merge pull request #313 from Abdellah-Khanani/loader-aligned-unwind
Marvisak Nov 24, 2026
edf64e2
Merge pull request #336 from hophaver/fix/dynamic-descriptor-exhaustion
Marvisak Nov 24, 2026
533b7e2
Merge pull request #341 from enzoduarte1/config/empty-test-titles-env
Marvisak Nov 24, 2026
2745589
Merge pull request #355 from enzoduarte1/clippy/clean-workspace-lints
Marvisak Nov 24, 2026
42361b0
Merge pull request #356 from FIocker/gpu/stable-drop-rank
Marvisak Nov 24, 2026
7374bfb
Merge pull request #365 from FIocker/gpu/publish-initialized-descript…
Marvisak Nov 24, 2026
a7e60cf
Merge upstream main (42361b0) into shader/per-lane-phi
r4tedx Nov 24, 2026
40b7ed1
Merge pull request #371 from marquezinii/fix/pls-path-small-buffer
Marvisak Nov 24, 2026
f67c50c
Merge pull request #372 from marquezinii/fix/capture-unorm16-formats
Marvisak Nov 24, 2026
ebf3615
Merge pull request #376 from LouisRiverstone/shader-cvt-norm-f16
Marvisak Nov 24, 2026
c30fc99
Merge pull request #381 from Dufftwt/fix/psv-sample-frequency
Marvisak Nov 24, 2026
faba64c
Merge pull request #382 from Dufftwt/fix/stencil-ref-shader-flag
Marvisak Nov 24, 2026
2e4e280
Merge pull request #384 from LouisRiverstone/shader-cvt16-saturate
Marvisak Nov 24, 2026
3c86238
Merge pull request #418 from enzoduarte1/gpu/half-subnormal-output
Marvisak Nov 24, 2026
dd273df
Merge pull request #419 from itsRevela/fix/swallow-keyboard-menu
Marvisak Nov 24, 2026
9f18eb4
Merge pull request #423 from pedrofort/shader-perm-no-int64
Marvisak Nov 24, 2026
f0894c2
Merge pull request #429 from marquezinii/fix/xgamesave-documented-errors
Marvisak Nov 24, 2026
ce42e77
Merge pull request #432 from Proudnoob4/fix/uninitialized-sgprs
Marvisak Nov 24, 2026
0ddbce8
Merge pull request #433 from r4tedx/tests/serialise-valu-gpu-tests
Marvisak Nov 24, 2026
dd54de2
Merge pull request #448 from Dufftwt/fix/min-max-signed-zeros
Marvisak Nov 24, 2026
fd92558
Merge pull request #520 from Quat3rnion/victory-xasync-payload
Marvisak Nov 24, 2026
a4d7b16
Merge pull request #565 from SAitken91/shader/conservative-depth-posi…
Marvisak Nov 24, 2026
204bdcc
Merge pull request #611 from AdvaitPalve11/fix/config-show-data-dir
Marvisak Nov 24, 2026
9a92ccf
Merge pull request #612 from KoLolX3/fix/phi-liveness-transitive
Marvisak Nov 24, 2026
6f0a10a
Merge pull request #634 from SAitken91/shader/image-sample-o
Marvisak Nov 24, 2026
cf0bb43
Merge pull request #637 from AlanQiang0418/codex/gfx10-packed-inline-…
Marvisak Nov 24, 2026
b4b4110
Merge pull request #654 from SantannaCarlos/fix/uav-describe
Marvisak Nov 24, 2026
16bd577
Merge pull request #666 from lameloball2813-ui/fix/load-probe-target-dir
Marvisak Nov 24, 2026
6db02ea
Merge pull request #671 from fuzeofficlal/fix/copyresource-cpu-textur…
Marvisak Nov 24, 2026
22700b9
Merge pull request #675 from lameloball2813-ui/docs/rustdoc-private-l…
Marvisak Nov 24, 2026
8d23f07
Merge pull request #680 from EatCodeSleep2/fix/wine-staging-upload-128
Marvisak Nov 24, 2026
5cd7421
Merge pull request #681 from fuzeofficlal/fix/vertex-buffer-null-unbind
Marvisak Nov 24, 2026
02f404e
Merge pull request #685 from catminou4/devin/constant-color-cfg-windows
Marvisak Nov 24, 2026
a51bdfa
Merge pull request #696 from catminou4/devin/formats-doc-micro-link
Marvisak Nov 24, 2026
58fed37
Merge pull request #706 from Lyrnc/fix/cmp-lg-ordered
Marvisak Nov 24, 2026
2005e35
Merge pull request #88 from AndyLatimer/fix/title-size-overflows
Marvisak Nov 24, 2026
c7a5f49
Merge pull request #93 from TG0000/perf/bcpack-bucket-lookup
Marvisak Nov 24, 2026
8e79c80
CI: clippy and tests on pull requests and main
Nov 24, 2026
e09dbb6
Merge upstream main (8e79c80) into shader/per-lane-phi
r4tedx Nov 24, 2026
74a9d33
Shader tests: the waterfall tests take the GPU one at a time, with th…
r4tedx Nov 24, 2026
ca48fbe
Merge pull request #566 from r4tedx/shader/per-lane-phi
Nov 24, 2026
ffe310e
Shaders: the console's waterfall loop over a first-lane table offset
Nov 24, 2026
578d459
victory-gta6: this fork's changes on top of VIctory main (ffe310e)
fxceless Nov 24, 2026
6a2d9f9
Shadow and trace programs translate, lint clean, ray-tracing write-up
fxceless Nov 24, 2026
d279e69
Make host pipeline waits configurable and prewarm pending requests (#1)
ZazaJr24 Nov 24, 2026
004bf69
Test fix for hosted runners, stencil diagnostics, and a stability war…
fxceless Nov 24, 2026
e9765a7
Fix the device loss introduced by the wave64 update
fxceless Nov 24, 2026
7b0f736
Shader tests: recognise the software adapter from the device's own ad…
fxceless Nov 24, 2026
1684989
Shader clean-up passes; a test that needs a card skips without one
fxceless Nov 24, 2026
3930989
Fix mesh pipeline test on unsupported GPUs (#14)
oddiums Nov 24, 2026
90228a7
Shaders: restore parked lane-mask pairs a few instructions apart; rel…
cxchhh Nov 24, 2026
4e17478
The game is no longer named in the tree
fxceless Nov 24, 2026
9e49b8a
Take the parked lane-mask change (#11) back out for now
fxceless Nov 24, 2026
2119b0e
Put the parked lane-mask change (#11) back
fxceless Nov 24, 2026
3bff182
Take the test/fx-prs branch of asdaasdsaddf's fork (as one commit)
fxceless Nov 25, 2026
31714de
Take the fix/amd-view-heap-clamp branch of triippywhale's fork (as on…
fxceless Nov 25, 2026
a803c87
Textures picked by index are looked at again after their upload (char…
fxceless Nov 25, 2026
f97f18e
docs: open Linux lab collaboration and define parallel tasks
DarkTiengo Nov 23, 2026
44b3436
docs: record the fxceless rendering baseline
arthurprudenteres Nov 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on:
pull_request:
push:
branches: [main]

permissions:
contents: read

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

env:
CARGO_TERM_COLOR: always

jobs:
check:
runs-on: windows-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v5
# The version and components pinned in rust-toolchain.toml.
- run: rustup toolchain install
- uses: Swatinem/rust-cache@v2
- name: Clippy
run: cargo clippy --workspace --all-targets --locked -- -D warnings
- name: Clippy, diagnostics build
run: cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
# Includes xtask's repository_passes_policy, the asset-policy check.
- name: Tests
run: cargo test --workspace --locked
35 changes: 35 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Contributing to the Linux lab fork

This branch uses the pinned fxceless rendering baseline described in
[the lab's baseline record](docs/lab/decision.md). Marvisak/VIctory is the
original upstream. The source fork reports that the Windows prologue renders
with incomplete lighting and a low frame rate. The lab's Proton gameplay and
performance remain unverified.

Anyone can fork this public repository and open a pull request. Direct write
access is granted individually by the owner; it is not required to contribute.
Choose an unclaimed item from [the task list](docs/lab/tasks.md), comment on
its issue to claim it, and name the files you intend to change. Use one branch
and one PR per task, based on this fork's current default branch. No force
pushes to shared branches. Coordinate shared GPU files before editing them.

Describe the concrete failure, the resulting behavior, and how it was checked.
Include the commit, OS, toolchain, GPU, driver, commands, exit codes and relevant
logs. Distinguish Linux unit tests, Windows cross-builds, Proton execution,
synthetic GPU checks and gameplay. Mark unperformed checks explicitly.

Run the pinned toolchain's `cargo test --locked --workspace` on a supported
host, and `cargo xtask policy` before submitting. Linux tests alone do not
exercise the Windows GPU or loader. A successful cross-build proves no runtime
or FPS result. Windows/Proton changes need a matching execution report.

Keep game files, derived assets, shaders, prepared images, memory dumps,
credentials, local paths and SSH configuration out of Git and issue attachments.
Follow [the upstream asset policy](docs/asset-policy.md). Use synthetic inputs
in public tests. Preserve GPL-3.0-or-later and attribution. Keep the older XCL
GPL-2.0-only checkout separate; do not copy its source into this repository.

The lab's performance target is 1920x1080 output, upscaling allowed, no frame
generation, 1% low at least 30 FPS on three ten-minute routes (urban, fast driving,
high load), followed by one hour of stability. First obtain correct rendering;
never skip failed checks or replace images with placeholders to meet a number.
29 changes: 10 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 15 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ windows = "0.62.2"
windows-core = "0.62.2"
blake3 = "1.8.7"
memchr = "2.8.3"
miniz_oxide = "0.9.1"
# SIMD-accelerated pure-Rust zlib/deflate (Zlib license, runtime AVX2/SSE4.2 dispatch).
zlib-rs = { version = "0.6.8", default-features = false, features = ["std"] }
walkdir = "2.5.1"
tempfile = "3.27.0"
# Opus decoding for the console's audio decoder (BSD-3-Clause, pure Rust).
Expand All @@ -49,7 +50,19 @@ unused_must_use = "deny"

[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
undocumented_unsafe_blocks = "warn"
# This fork: two style lints are let through until the newer code is tidied
# (tuple-heavy signatures and indexed loops in the translator and GPU side).
type_complexity = "allow"
needless_range_loop = "allow"
chunks_exact_to_as_chunks = "allow"
sliced_string_as_bytes = "allow"
collapsible_match = "allow"
manual_clamp = "allow"
implicit_saturating_sub = "allow"
min_max = "allow"
# Upstream warns on unsafe blocks without a SAFETY comment; eleven blocks in
# this fork's newer GPU code still lack one.
undocumented_unsafe_blocks = "allow"

[profile.dev.package."*"]
# Dependencies (hashing, parsing) are hot paths when chewing through
Expand Down
102 changes: 98 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,92 @@
# VIctory fork (work in progress)

A work-in-progress fork of [VIctory](https://github.com/Marvisak/VIctory), a
compatibility layer that runs an Xbox Series title natively on Windows from
files the user supplies. This fork follows upstream
`main` and adds fixes aimed at one goal: getting the game's world to render
correctly and playably on one particular PC.

**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.

## Credits

- **[VIctory](https://github.com/Marvisak/VIctory)** by Marvisak and its
contributors is the base of everything here: the loader, the runtime
services, the Direct3D 12 back end and the shader recompiler. Licensed
GPL-3.0-or-later; so is this fork. Upstream's history is kept intact below
the single commit that carries this fork's changes.
- **[XCL](https://github.com/ivall/xcl)** by ivall and its contributors
(GPL-2.0-only) was used as a reference for how the same title behaves under
another layer. Fixes inspired by it were written anew in VIctory's code.
- This fork's changes were developed with [Claude Code](https://claude.com/claude-code).

## Linux lab

See [CONTRIBUTING.md](CONTRIBUTING.md) to join the lab and
[the task list](docs/lab/tasks.md) for open work. The Windows results below
come from the source fork. The lab has yet to verify gameplay under Proton.

## Status of this fork (2026-11-25)

**Not playable yet: 2.5 to 4 frames per second, and shadowed areas are black.**
Tested on one machine: Windows 11, Intel i7-14700KF, NVIDIA RTX 4070 12 GB,
32 GB RAM. The Series X profile is used throughout.

| Stage | State in this fork |
|-------|--------------------|
| Boot, menus, start screen | works, 30 fps (as upstream) |
| Opening cutscene | plays from start to finish, in order, lit: title cards, credits cards, night and dusk shots |
| Saves | the game autosaves a checkpoint and loads it again |
| First gameplay scene (the prologue) | renders: characters, textures, sky, sunlit exterior; HUD, pause menu and pad input work |
| Light in shadow | missing: the game's ray-traced bounce light and ray-traced lamp and sun shadows do not run yet, so anything the sun does not hit directly is black |
| Frame rate in the world | 2-4 fps: 420-450 ms per frame by default, 240-350 ms with the newer switches (`VICTORY_RELAY=2`, or `VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024`); it started at 3-6 seconds per frame |
| Stability | no driver hang or device loss in normal runs (a hang introduced by the wave64 update was found and fixed: its barrier form for 64-lane programs is now off unless `VICTORY_WAVE_WIDE=1`) |

### What this fork changed (summary)

Rendering:
- Meshlet culling read its scene buffers as the wrong kind of view, so the world drew almost nothing; fixed.
- Per-draw descriptor tables could run out, after which draws used slots never made for them and the card hung; fixed.
- Light packed by the game's compute shaders was read back through empty copies (sky, probes, fog); fixed for every mip level and layer.
- The fog reconstruction, shadow-mask, hair, blend-shape skinning, fire and several material programs did not translate; fixed.
- Gathers at a named mip level (with and without an offset) read level 0; fixed.
- Implicit-level samples outside pixel shaders produced invalid DXIL in 730 compute programs; fixed.
- Rectangle lists, depth and stencil twins for depth textures written by compute, texture read-backs.
- Ray tracing, in progress and off by default: the game's own structure-builder programs translate, title memory can be read by raw address from shaders, the hardware ray/box and ray/triangle test is emulated in DXIL (checked against a reference on the GPU), and 59 of the 64 trace programs translate. Nothing is lit by it yet. See [docs/fork-ray-tracing.md](docs/fork-ray-tracing.md).

Speed and memory:
- Waits for memory values, write-watch queries and page queries no longer walk page tables per call.
- Large title buffers get a copy in card memory, with shader writes found by hashing on the card.
- Submissions can be sent ahead of the wait for the card (`VICTORY_LATE_WAIT`), with a relay thread that lands results as the card finishes (`VICTORY_RELAY`): in a first five-minute run the card's idle time behind the submitting thread fell from about 136 to 30 ms per frame.
- Title memory can be opened as a graphics heap so that buffers are used in place instead of copied (`VICTORY_INPLACE`, first stage only; a probe confirmed the approach on the test GPU).
- The bindless texture queue no longer uploads stale views; the view table no longer grows without bound; the pipeline library is mapped instead of read into memory.
- An intermittent device loss was traced to the pipeline library file being replaced while mapped; fixed.

- Translated shaders get clean-up passes over the finished module (dead code, constant folding, reuse of values, branch facts); the pack's host instruction count falls by about 43 %, worth about 20 ms of GPU time per frame on the test machine (`VICTORY_SHADER_OPT=0` turns them off).

Most of the newer speed changes sit behind environment switches that are off
by default (`VICTORY_LATE_WAIT`, `VICTORY_RELAY`, `VICTORY_WIDE_BACK`,
`VICTORY_CARD_BUFFERS_MIN_MB`, `VICTORY_INPLACE`, `VICTORY_BVH_BUILDER`, ...).
Each is described in a comment where it is read.

### Known problems

- Everything in shadow is black (see above).
- The interior of the first gameplay room is sometimes not drawn after the cutscene hands over to gameplay.
- Around 24 GB of memory is in use during play.
- A few style lints are switched off for this fork in the workspace `Cargo.toml` until the newer code is tidied.
- Many changes here are specific to this title and this GPU, and some are marked `shortcut:` in the code where they approximate what the console does.

Everything below this line is upstream VIctory's own README, unchanged; its
status section describes upstream, not this fork.

---

# VIctory

Runs Grand Theft Auto VI (Xbox Series X|S) natively on Windows, from files
Runs the title (Xbox Series X|S) natively on Windows, from files
the user supplies.

The title's x86-64 code runs unchanged inside our process; VIctory supplies
Expand All @@ -19,7 +105,7 @@ loads the world, where rendering fails.
| Intro video with sound | works |
| Start screen, profile and saves | works |
| Loading into the world (about 50 s) | works |
| The world (first mission's intro) | reached and runs (two minutes without a GPU failure); the picture is black, 1.5-3 s per frame |
| The world (first mission's intro) | reached and runs with indirect draws; its title card renders, the scene after it is still dark; 0.5-1.8 s per frame |

Tested on one machine: Windows 11, AMD RX 6700 XT.

Expand All @@ -39,7 +125,7 @@ What each part does today and what it still needs:
| Input | XInput pads, keyboard, keyboard stand-in pad | Trigger rumble |
| Audio | Menu, video and loading sound; XMA voices and Opus streams decode | Reverb is silent; Opus results unverified against the title |
| GPU: menus | Draws, compute and presentation on host D3D12; only changed title memory is copied | Frame pacing drifts on one screen in release builds |
| GPU: world | Mesh pipelines, shader-written buffers, descriptor lifetimes, indirect execution (arguments clamped) are in | Frames are black (most geometry is drawn indirectly; untranslated shaders drop the rest); frames take seconds; real queries, depth bounds, HDR and scaling are missing |
| GPU: world | Mesh pipelines, shader-written buffers, descriptor lifetimes, indirect execution (arguments clamped), pipelines made by worker threads and kept on disk | Most of the scene is still missing (untranslated shaders drop draws); frames take seconds; real queries, depth bounds, HDR and scaling are missing |
| Shaders | Console GPU code recompiled to DXIL at first use, cached on disk. Menus: all. World: mesh 8,191 of 8,506, vertex/pixel 10,617 of 12,346, compute 1,643 of 2,539 | 64-bit image atomics, merged geometry stages, the ray-tracing builder's shaders; some compute programs need a GPU with 64-lane waves |
| Textures | Console tiled layouts and detiling for the modes the title uses | Render-target metadata planes |
| Series S mode | Runs through the menus to the loading screen | The world, as above |
Expand All @@ -50,6 +136,11 @@ Requirements: Windows 10/11 x64, a CPU with AVX2, a Direct3D 12 GPU with
shader model 6.6 (and mesh shaders for the world), Rust (pinned in
`rust-toolchain.toml`).

The title also needs several GiB of available Windows commit at startup.
Check **Committed** under **Task Manager → Performance → Memory**. If
`crashes.log` reports Windows error 1455, close other applications or increase
the Windows paging file size, then retry.

```powershell
cargo xtask install-hooks # asset-policy check on every commit
copy victory.example.toml victory.toml # then set your paths (outside the repo)
Expand Down Expand Up @@ -114,10 +205,13 @@ cargo build --profile diag -p victory --features diagnostics # target\diag\vic
| `VICTORY_CAPTURE=<dir>` | saves presented frames (powers of two, or `VICTORY_CAPTURE_FRAMES=<list>`) |
| `VICTORY_DUMP_TARGETS=1` | with the two above, saves every render target of those frames |
| `VICTORY_D3D12_DEBUG=1` | host debug layer |
| `VICTORY_INDIRECT=1` | runs the title's indirect draws and dispatches (off: the world's first frame stalls with it) |
| `VICTORY_D3D12_GBV=1` | with the above, GPU-based validation (bad descriptor use reported, not faulted; slow) |
| `VICTORY_D3D12_DRED=1` | on a GPU failure, the allocation hit and the commands in flight |
| `VICTORY_PIPELINE_WAIT_MS=24` | reduce the per-frame wait for background pipeline creation from the default of 500 ms. A draw can be omitted until its pipeline is ready |
| `VICTORY_SKIP_PIPELINES=<hash>,...` | omit draws and dispatches, including indirect ones, whose pipeline contains a listed 16-digit shader hash |
| `VICTORY_GPU_TIMING=1` | with the above, each list of a submission run and timed on its own; slow lists logged with their slowest commands |
| `VICTORY_D3D12_WARP=1` | host device on the software adapter (slow; cannot reset the driver) |
| `VICTORY_SHADER_LOOP_LIMIT=<n>` | translated shader loops stop after `n` iterations per lane instead of 2^20 (own shader cache entries); if a lower `n` makes world frames much faster, loops hitting the limit are what makes them slow |
| `VICTORY_AUDIO_CAPTURE=<file.wav>` | records what the title plays (our process only) |
| `VICTORY_XMA_DUMP=<dir>` | saves the first 32 XMA voices' context and input |

Expand Down
15 changes: 13 additions & 2 deletions apps/victory/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,17 @@ fn main() -> Result<()> {
pipelines,
list,
jobs,
} => translate::run(paths, validate, pipelines, list, jobs),
} => {
// `VICTORY_VIEW_LIMIT=<null slot>`: translate as on a host whose view heap is capped
if let Some(n) = std::env::var("VICTORY_VIEW_LIMIT").ok().and_then(|v| v.parse().ok()) {
victory_shader::emit::set_view_heap_limit(n);
}
// `VICTORY_HOST_WAVE=32`: translate as for a GPU whose waves are at most 32 lanes
if let Some(n) = std::env::var("VICTORY_HOST_WAVE").ok().and_then(|v| v.parse().ok()) {
victory_shader::emit::set_host_max_wave(n);
}
translate::run(paths, validate, pipelines, list, jobs)
}
Command::Run {
exe,
unimplemented,
Expand Down Expand Up @@ -180,14 +190,15 @@ fn show_config() -> Result<()> {
);
println!("game_dir : {}", status(&cfg.game_dir));
println!("cache_dir : {}", cfg.cache_dir.display());
println!("data_dir : {}", cfg.data_dir.display());
for t in &cfg.test_titles {
println!("test_title : {}", status(&Some(t.clone())));
}
for p in cfg
.game_dir
.iter()
.chain(&cfg.test_titles)
.chain([&cfg.cache_dir])
.chain([&cfg.cache_dir, &cfg.data_dir])
{
if let Err(e) = victory_core::ensure_outside_repo(p) {
println!("POLICY VIOLATION: {e}");
Expand Down
8 changes: 7 additions & 1 deletion apps/victory/src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ pub fn run(
let images = cfg.cache_subdir("images")?;
victory_hle::modules::d3d12x::use_shader_cache(cfg.cache_subdir("shaders")?);
let image = victory_loader::load(&prepared, &images)?;
// The program is mapped from the copy `load` wrote: the file's bytes
// and their patched copy are not read again, and were held for the
// whole run (two blocks of 114.7 MB each for the title, in
// physical memory: run 65's memory map).
drop(prepared);
drop(original);
victory_hle::runtime::set_main_image(image.base());
victory_hle::runtime::set_image_path(image.base(), exe);
println!(
Expand Down Expand Up @@ -186,7 +192,7 @@ fn title_dll(host: &victory_hle::HostPolicy, dll: &str) -> bool {
}

/// Title DLLs the title loads itself (`LoadLibrary`) that nothing imports,
/// e.g. Grand Theft Auto VI's upscaler behind its FidelityFX loader.
/// e.g. The title's upscaler behind its FidelityFX loader.
#[cfg(windows)]
struct LateDlls {
host: victory_hle::HostPolicy,
Expand Down
Loading