RTX 4060 Laptop 8 GB + 32 GB (Windows 11): world reaches gameplay at 1.4-3.0 fps, 245k view slots past the NVIDIA cap, 18.8k textures waiting at c96b4f2 #535
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork#535
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@QF0712 on GitHub · 2026-11-25 02:01 UTC · original
Test report from running the title, not the test suite. Six runs total, one of them on
3bff182(everything else onc96b4f2).Machine
virtual displays are also installed (see the suspend note below)
b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93Build
c96b4f2(clean tarball, no local changes). The crash below was on3bff182.cargo build --release -p victory, release profilex86_64-pc-windows-gnu+ MinGW-w64 GCC 16.2.0, not MSVCvictory.tomlwithgame_dir/cache_dir/data_diroutside the repoResult
The world loads and the prologue's first interior scene renders with characters,
textures, sky and HUD. It is not playable at this card size: 1.4-3.0 fps in the world,
0.2 fps worst, peak working set 17 GB.
Per-frame, mid-world (logged by
victory_gpu::host):So on this card:
waiting count only grows over the run;
read the null slot. That is the clamped behaviour the
UNCAPPED_VIEWScommentdescribes, not a leak - noting it because it is the number a 12 GB AMD run does not
show, and it is presumably part of why some draws are missing here;
Runs
3bff1820xC0000005at the handover3bff182VICTORY_RELAY=2VICTORY_LATE_WAIT=3VICTORY_WIDE_BACK=13bff1823bff182VICTORY_RELAY=23bff182VICTORY_LATE_WAIT=3VICTORY_WIDE_BACK=1c96b4f2The newest commit is already faster than the one before it at the same point.
The crash (1 run in 6)
On
3bff182, cold cache,VICTORY_LOG=victory_loader=info,victory_gpu=info,info, noswitches. The fault lands on the first frame after the cutscene hands over to gameplay:
Exit code
-1073741819, no device loss, no1455. Five runs afterwards (one of themcold-cache again) did not reproduce it, so I am not claiming a specific switch fixes it.
Reading
0xffffffffffffffffisbase - 1of a null pointer, i.e. a-1index; the threeframes above and below it cluster in one area of the image, so probably one subsystem.
It may be the hard-crash form of the README's known problem "the interior of the first
gameplay room is sometimes not drawn after the cutscene hands over to gameplay" - same
frame, same card class.
A note on runs ending by themselves
Five of the six runs end with:
exit code 0 and no
crashes.loggrowth. That is the window being closed externally andthe suspend path timing out -not a crash. This machine has ToDesk and GameViewer
virtual displays, so a remote-session event is my best guess. Worth knowing when comparing
wall-clock numbers: an unattended window here dies after 5-18 minutes.
Not tested
numbers look off, I can rebuild with MSVC and repeat run 6.
VICTORY_D3D12_WARP=1, the diagnostics profile,-strict.VICTORY_EARLY_TEXTURES_MS/VICTORY_BAKE_TEXTURES_MSdefaults onc96b4f2- run 6 used them as they are, I did not compare against0.AI-assisted: Claude helped set up the toolchain (a GNU build, written up separately as a
docs PR), run the matrix and write this up. I watched the runs and the numbers are copied
from my own logs.
@QF0712 on GitHub · 2026-11-25 02:14 UTC · original
From the same runs as the report above, and separate from the frame-rate/texture numbers: six world shaders still fail to convert at
c96b4f2. Posting it here so it stays with this session; I can split it into its own issue if you would rather track it separately.Problem
At
c96b4f2, a run through the prologue still logs six shaders that fail to convert.Each one keeps its draws or dispatches dropped for the whole session, because the pack
is keyed by hash and the failure is cached the same way.
GFX10 code at 0x51c4: a descriptor read only as data is not supported2fd01fca16993001GFX10 code at 0x49dc: a descriptor read only as data is not supported6b6db9f1a526daebGFX10 code at 0x5204: a descriptor read only as data is not supported7d0f14ce44746d7eGFX10 code at 0x4808: a descriptor read only as data is not supportedabc6a80d46edc294GFX10 code at 0x38: a descriptor's address or format read as data is not supportedceb5eb68cd99cb07GFX10 code at 0x1eb4: a lane mask exchanged where not every lane runs is not supportedf133e35efed2a48aRaw lines:
Where
a descriptor read only as datacrates/victory-shader/src/emit/lower.rs:5581a descriptor's address or format read as dataa lane mask exchanged where not every lane runscrates/victory-shader/src/emit/lower.rs:2995,:3641What is already fixed, so the list is not stale
On
3bff182the same content also dropped:v_cvt_f32_f64(5dc3b25986622949,6f225b641c5b0708),v_permlanex16_b32(a929109552ce1e84),the first half of an interpolation(38bf0814e721a1b3,78f3f2fc53a69531).The first two groups are gone at
c96b4f2鈥?31714delowers both (lower.rs:7080,lower.rs:7118). The interpolation pair did not appear in thec96b4f2run at all, butthat run only lasted 4:50, so I would not read its absence as a fix. Treat it as
untested rather than resolved.
Why the four descriptor cases look like one fix
They are the same message and the same lowering path; the compute one adds "address or
format", i.e. the title reads a descriptor it built itself. If the value only needs to be
defined rather than exact, giving the conversion a defined result for a descriptor read as
data may be enough for those draws 鈥?they are the largest remaining group and the cheapest
to try.
The lane-mask case is the one I would not touch first: it meets the wave64 masking rework
that already had to be undone and redone once (
emit/wave.rs,emit/wave64_tests.rs,#11).
Verification
c96b4f2run, listed above; no other converter failures inthat run's log.
c96b4f2on the same content.What I can do
emit/already has synthetic-DXBC comparison tests (diff_tests.rs,wave64_tests.rs,valu_tests.rs) and the asset policy allows synthetic data, so a regression test for thedescriptor case needs no game files. Happy to draft that with a maintainer's steer on
which defined value is acceptable.
I can also run
victory shader-infoagainst the local cache for any of these hashes ifsomeone wants the instruction stream 鈥?that is derived from the title's shaders, so I
would only post it if asked.
AI-assisted: Claude ran the session and extracted the hashes and offsets from my log.
@Key-rs on GitHub · 2026-11-25 02:57 UTC · original
Same commit, same class of machine, but the title traps at
+0x1330a44before the world — can you say what differs?Your report is the only one I have found for this exact configuration (
c96b4f2, RTX 4060 Laptop 8 GB), so it is the closest reference for a machine that cannot get past the first-boot screens. On mine the title dies on its ownint3about five seconds in, before any input and before the world starts.Machine
b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93c96b4f2, clean,cargo build --release -p victoryWhat happens
The faulting address is an
int3(0xCC), reached throughcall …; test al,al; je <another int3>— the title's own "this state is not reachable" trap, with the whole stack insidegame_scarlett_master.exe. No input is involved: it fires with no pad, with a pad, from a cleandata_dir, from a warm one, at 1080p on the dGPU's own output.What I have already ruled out here
c96b4f2andZettrox/ztrx90b529f+0x1330a44x86_64-pc-windows-gnu(MinGW-w64)cache_dir, and warmdata_direvery runGpuPreference=2, confirmed in the logVICTORY_WINDOW_KB=1024 VICTORY_WINDOW_TAILS=1 VICTORY_INPLACE=1(from #580)Questions
621.14as in your report, or the newer621.24? Mine is 621.24 and the trap is deterministic; a branch difference would be the simplest explanation left.data_dirbetween runs, or does the successful run inherit a save/profile from an earlier session? Six runs on the same commit suggests the storage directory is not fresh every time.victory.tomlbeyond the three paths (anyVICTORY_*environment you keep set)?I can attach the full log of any of these runs; they are short (500–800 lines) up to the trap.
@Jonirulah on GitHub · 2026-11-25 03:04 UTC · original
@Key-rs, one data point that may help narrow it down. Your trap at
+0x1330a44sits right next to code that shows up in my DirectStorage caller stacks.I logged the title's callers of
EnqueueRequest(RVAs ingame_scarlett_master.exe1.0.2.1, same build identity as yours). Every read ofG:\shaders.rpfduring boot goes through:So
+0x1330a44is very likely in the function that loads the shader pack. Thetest al,al; je int3you describe would then be the title checking the result of a pack read, or of what it parsed from it.What I'd look at in your log, just before the trap:
dstorage: request failedwarning (it logs options, offset, sizes and hr);shaders.rpffailing to open or read.On my side (RTX 3070 Laptop 8 GB, Windows 11, Series S mode) that path completes and the title reaches the world, so it doesn't look specific to 8 GB laptops.
@QF0712 on GitHub · 2026-11-25 03:05 UTC · original
@Key-rs
Answering the four questions first, then the one thing I can see on my side of your trap point.
1. Driver.
32.0.16.2114, which is 621.14, Game Ready, dated 2026-10-27. So I am one branchbehind you: 621.14 against your 621.24.
2. Input. Keyboard-as-pad only; no controller was attached during any of these runs. The device
list does contain an
XBOX Synthetic Gamepad Busnode and a few ghost HID controller entries, butnothing that reports a connected pad, and I never used one. That is the one row of your table I
cannot speak to from both sides, and you have already covered it.
3. Data dir. Never deleted. Six runs share one
data_dir, with the profile and saves written byrun 1 onward, so my fifth run inherited state from four earlier ones. One thing that argues against
this being the cause: run 1 itself started from an empty
data_dirand an emptycache_dir, and itpassed the first-boot screens the same way. On this machine a fresh profile is not what makes the
difference 鈥?the difference is there before any state exists.
4.
victory.tomland environment. The file contains only this:Environment for the run I reported:
VICTORY_CONFIG(path to that file) andVICTORY_LOG=victory_loader=info,victory_gpu=info,info. NoVICTORY_*knob is set and kept; thethree-switch rows in my table were separate runs, and the run that matches your five-second window
had none of them.
Your trap point, from my side
Your log opens
core_restofworldand its{peds, props, textures_loose, ui, vfx}.ttpf, then traps.On
c96b4f2this machine opens the same six and keeps going. From thec96b4f2run, about 34 safter the first log line:
so the same six files are present and readable here, and the next thing that happens is compute
pipeline work rather than a trap. For completeness: my only crash is a different one,
+0xb7b9bon3bff182at the cutscene-to-gameplay handover, not onc96b4f2and not in the first five seconds.I have no instance of
+0x1330a44to compare against.What is left that I can act on
With input, data dir, cache, toolchain and the small-VRAM knobs already excluded on your side, the
remaining differences I can measure here are:
pack/So: I can move this machine to 621.24 and repeat your exact run 鈥?same commit, no switches, fresh
data_dir, coldcache_dir鈥?and report whether+0x1330a44appears. If it does, you have a secondmachine that reproduces it deterministically; if it does not, the driver is not the branch and the
file set becomes the next thing to compare (
victory census --missing --strictnames files, notcontents, so it stays inside the asset policy).
Meanwhile, if it helps: my dump's
pack/directory has 21 files, and the six above are byte-presentand read without error.
Log: I can attach the
c96b4f2run up to the point above, about 2,700 lines atinfo, or trim it tothe dstorage and pipeline lines only.
AI-assisted: Claude collected the machine facts and pulled the dstorage lines above out of my log.
@Key-rs on GitHub · 2026-11-25 03:07 UTC · original
What the log shows immediately before the trap — and two answers back
@Jonirulah thank you, that is the useful pointer. On my side the last thing before the
int3is not a DirectStorage error; it is 29 pipeline-creation calls that fall on an unimplemented console slot, right at boot:0x218= 536 decimal, i.e. a console-only vtable slot on the device, and the loader's answer is "the title goes without this pipeline". If+0x1330a44really is the pack loader checking what it got back, this is the most likely producer of the false.Two other things from that log that may matter:
so this run presents at 4K on an external display, not at 1080p.
To @QF0712, on your three answers
32.0.16.2114(621.14, 2026-10-27), I am on32.0.16.2124(621.24, 2026-11-12). That is now the only environment difference left between our two machines.data_dirand a freshcache_direvery time (four runs), so the profile/save state cannot be the trigger; that also fits your note that your run 1 started empty.Two questions
slot=0x218on the device look like the pipeline-creation method whose failure you would expect to be fatal in the pack loader? If so, the fix is on the platform side, not in my environment.I have the same data in Marvisak/VIctory#2013, with the disassembly of the check (
movabs $0xE0C12D7A5D4884C5→ vtable slot0x3f0→test al,al→int3).@QF0712 on GitHub · 2026-11-25 03:11 UTC · original
@Key-rs
Both answers are in my logs already.
1.
slot=0x218鈥?yes, and it is unimplemented on this machine too.crates/victory-gpu/src/device.rsfills the device table withunknown_pipeline::<0x1c8>atslot 57 and
unknown_pipeline::<0x218>at slot 67, and logs every entry that the title calls. Myruns hit both, at about one second after the first log line, before any world frame:
Counted per run: 29 of these warnings in each of four runs (two commits, cold and warm cache),
covering slots
0x1c8and0x218, with call counts up to 16384 and 2048 respectively 鈥?the logprints the first four calls and then every power of two, which is why it looks like a ladder.
So the platform-side gap you are describing exists here as well, at the same point in the boot, and
this machine carries on past it: the next thing in my log is the
core_restofworlddstorage opensand then compute pipelines. That means the missing method alone does not separate our machines 鈥?whatever the title does after receiving
E_NOTIMPLis where we diverge, and only your machinereaches the trap. If it helps, I can send the 29 lines with the
description/first_points_atwords so the pointers can be compared against your disassembly (that is
descriptionpointing at aD3D12_PIPELINE_STATE_STREAM_DESC-shaped structure, sixteen words of it).2. 4K 鈥?no panel, but this machine already presents at 3840x2160.
The external display is 2560x1440 and the laptop panel is 2560x1600, so no 4K panel here. But the
title asks for 3840x2160 itself, and every one of my runs presented at that size:
Its
settings.xmlunderdata_dirhas<width value="3840" />and<height value="2160" />, sothat is the title's own choice, not mine. So presenting at 4K does not trap on this machine 鈥?you do
not need to flip your side to 1080p on my account. If you want the other direction, I can edit that
settings file to 1920x1080 and run again; it is a user file, not something in the tree.
What I can still do
to move this machine to it, with a fresh
data_dirand coldcache_dir, and report whether+0x1330a44appears. That is still the cleanest single test.slot=warnings only.Tell me which of those you want first and I will run it tonight and post the result here. If the
driver upgrade reproduces the trap, you have a second deterministic machine; if it does not, the
file set is the next thing to diff (
victory census --missing --strict, names only).AI-assisted: Claude counted the slot warnings and pulled the display lines out of my logs.
@Key-rs on GitHub · 2026-11-25 03:13 UTC · original
One concrete difference I can see: you have
settings.xml, I never got oneAgreed on the slots — I see the same 29 warnings, slots
0x1c8and0x218, at the same point, and my run also continues into thecore_restofworldopens and the compute pipelines before it dies. So the missing method is not the separator, as you say: the divergence is in what the title does afterE_NOTIMPL.What I do not have is the file your run leaves behind. My
data_dirafter four runs contains only:No
settings.xml. That is consistent with never having passed the first-boot settings screen: the title writes that file when the player confirms the settings, and on every later run it reads it back. Your machine has had it since run 1, so every one of your six runs started from a configured title; mine starts from an unconfigured one every time. If the trap is on the unconfigured path (the settings/camera bootstrap), that alone would separate us, and it would also explain why my fresh-data_dirruns all die at the same frame while yours never do.Concretely, either of these would settle it:
settings.xml(it is a user file, no game data in it). I will drop it intodata\7952987A\and run immediately — if the trap disappears, that is the answer, and it also gives the project a workable first-run bootstrap for everyone.On your other offers:
description/first_points_at: yes please, trimmed to the slot warnings. I have the disassembly of the trap and can compare theD3D12_PIPELINE_STATE_STREAM_DESC-shaped words against it.For the record on the file set, from my side:
The package itself is the 108-file set (208.51 GiB) plus the executable, checked against the torrent manifest with 0 size mismatches, so I do not expect a missing asset — which is another reason I now suspect the settings/format state more than the data.
@QF0712 on GitHub · 2026-11-25 03:30 UTC · original
@Key-rs
That is a good catch, and it may be the answer. Two things below: the settings file, and the slot lines.
settings.xmlHere it is in full (3,921 bytes). It was written by the title itself on the first run, at the point
where the settings screen is confirmed; I have not edited it.
The keys that seem most likely to matter:
videoCardDescriptionisXbox Series X, the fullscreenresolution is 3840x2160,
frameRateLimitis 30,vSyncis 2,desiredFPSis 30 andfsrQualityis 2. Everything else is the default the title picked.What else my
data_dirhas besides that:saves/0009000000000001/{Player~..., SARC0015~..., SettingsProfileSettings~.../withv1,v3andv8payloads and amanifesteach, plusstorage/{cloudcache, cloudpers},temp/andcrashes.log. If the settings file alone does not doit, say so and I will post the
saves/tree as well -same rule, it is user state, not game data.One caution, and I tested it rather than assuming: run 1 here also started with an empty
data_dir,and I have just repeated that on
c96b4f2- data dir renamed away, so a genuinely empty one:It wrote
storage/settings/settings.xmlon its own, and that file is byte-identical to the oneabove (3,921 bytes, same hash); it then wrote
saves/.../{Player~..., SARC0015~..., SettingsProfileSettings~...}and stayed in the world for ten minutes with nocrashes.logat all.So the unconfigured path does work on this machine and reaches the same place. The file is still
worth dropping into your
data_dir, because it changes which path you enter, but it does not byitself explain why your bootstrap dies and mine does not.
The 29 slot warnings
Trimmed to the
slot=warnings from thec96b4f2run, no other log lines.descriptionis thepointer the title passed, sixteen 64-bit words read through the kernel;
first_points_atis thesecond hop from it.
29 lines: slot=0x1c8 and slot=0x218
File set
Your
208.51 GiBplus the executable reconciles with mine exactly, so the data is not thedifference:
.torrent(274,079 bytes), which is why my count says 110 and yours 108plus the exe
So both dumps are the same set to the byte, and I agree the setting/format state is the better
suspect.
The two things you asked for
fresh
data_dir, coldcache_dir-and post the result in this issue either way. If it traps, youhave a second deterministic machine.
itself on both machines, so the resolution matrix is covered.
AI-assisted: Claude pulled the settings file, the slot lines and the byte counts out of my run.
@Key-rs on GitHub · 2026-11-25 03:50 UTC · original
The trap survives the software adapter — and a new variable: my host CPU is AMD, yours is Intel
Two results from tonight, one of which may save you a driver reinstall.
1.
settings.xmlin place: still trapsI dropped your file at
data\7952987A\storage\settings\settings.xml(validated as XML, 3,603 bytes after my line endings) and ran the same command: sameint3at+0x1330a44, same point in the log. So your empty-data_dirresult and mine agree — the settings state changes which path is entered but does not decide the outcome. Thank you for testing that first; it saved a wrong turn.2.
VICTORY_D3D12_WARP=1: still trapsThis is the interesting one. Running the title on the software adapter (no NVIDIA driver in the path at all):
Same address, deterministic. So the trap is not driver-side. You can skip the 621.24 test unless you want it for the record — it cannot be the separator if WARP reproduces it.
3. What is left: the host CPU
The loader carries a console-instruction decoder for exactly the things an AMD console has and one vendor's PC CPUs do not:
On my Zen 4 host those instructions exist natively, so the decode/emulation path that an Intel host exercises may never run here — or may run only partially. If the trap is downstream of a CPU-feature or instruction-dispatch difference, this is where it would show.
Three things I could use from you, in order of usefulness:
VICTORY_*to set) and I will.console instruction/insndecoder lines at all, or none? Mine would tell us whether the two hosts diverge before the trap.For completeness, the other two differences on my side are the Windows UBR (26300.10075) and a zh-CN locale — I can change the locale with a reboot if you think the title's language/format handling is worth ruling out.
@QF0712 on GitHub · 2026-11-25 03:55 UTC · original
@Key-rs
Two corrections on your table first, then the three answers.
1. The driver test is already done - do not skip it on my account, it is finished
I moved this machine to
621.24before your message and ran it:c96b4f2, noVICTORY_*switches,
data_dirrenamed away so it was genuinely empty, andcache_dirmoved away so everyshader was translated again.
0x80000003, no first-chance exception, no+0x1330a44anywhere in the logcrashes.lognever appearedstorage/settings/settings.xmlwritten again, 3,921 bytes, same hash as the copy I postedindirect mesh dispatches: the largest group count asked for 519So both drivers pass here:
621.14with an emptydata_dir, and621.24with an emptydata_dirand a cold cache. Together with your WARP result, driver-side is excluded.2. Locale is not a difference
This host is
zh-CNas well:Get-WinSystemLocale->zh-CN,Get-Culture->zh-CN,Get-UICulture->zh-CN. Do not spend a reboot on it. The UBR is the only OS difference left:9457 here against 10075 there.
3. Does the console-instruction handling depend on the CPU vendor?
Structurally yes, and there is no switch to force the emulation on an AMD host.
crates/victory-loader/src/console_insn.rsruns from theSTATUS_ILLEGAL_INSTRUCTIONhandler:emulate_console_onlydecodes the instruction at the faulting RIP and steps over it. On your Zen 4the AMD-only instructions never fault, so the handler never runs; on this Intel host every one of
them faults and is emulated.
What each emulation actually does - behaviour, not only timing:
MonitorxMwaitxstd::hint::spin_loop(), one pause, then return: it never waits for the monitorRdpruClzeroLoop { end_reg }[rax, end_reg)64 bytes at a timeExtrq/InsertqOn your host
MONITORX/MWAITXreally wait on the monitored range; here they return immediatelyafter a pause. If the title uses the pair to wait for a memory flag, that is a real behavioural
difference and a plausible place for a check to come out false.
The only switches in that path are
VICTORY_CLZERO_ASK(ask Windows about the region every timeinstead of remembering it;
=1) andVICTORY_TRAP_LOG, which is only used by a loader test.Neither can force emulation on an AMD host: the handler is exception-driven.
4. Another AMD machine
None. This laptop is the only machine I have.
5. What my working log contains
15
console_insnlines, four distinct instructions, plus a running total. From the621.24run:67 million emulated instructions over ten minutes, and 8.4 GB zeroed through
clzeroloops. Yourlog should have zero of those lines. If it does, we can say the two hosts diverge before the
trap on this path rather than after it - and if you post those two numbers for your run
(
console_insncount, and whetheremulated=appears at all), that settles it in one message.The experiment I can run next
Build a diagnostic variant here where
Mwaitxactually waits - spin on the monitored range until itchanges, or a bounded sleep and re-check, instead of one
spin_loop()- and see whether+0x1330a44appears. If it does, the mechanism is in that pair and the fix belongs in
console_insn.rs. That isa local build for diagnosis, not a PR, and it takes about an hour.
AI-assisted: Claude ran the 621.24 test, extracted the emulation lines and totals, and checked the
locale.
@Key-rs on GitHub · 2026-11-25 03:58 UTC · original
Zero
console_insnlines here — and a 24 GiB subset does not reproduce the trapAnswering your one-message question first, then a data point about how much of the package the trap needs.
1. The emulation numbers from this host
Across 13 logs (every run I have, MSVC and MinGW, WARP and hardware, warm and cold cache):
Not one. So on this Zen 4 host the
STATUS_ILLEGAL_INSTRUCTIONhandler is never entered, exactly as your table predicts, while your working run shows 15 lines andemulated=67108864 asked=1572 zeroed_mb=8459.That makes the behavioural table the live suspect, and I agree with the ordering you implied:
Mwaitxis the one that changes semantics rather than only timing (Monitorxdoes nothing,Rdpruis synthetic,ClzeroLoopandExtrq/Insertqare functionally faithful).2. How much of the package the trap needs (a bisect, not a guess)
Because a second machine is out of reach here, I tried to shrink the reproducer. The title opens 68 files totalling 187.4 GiB before the trap, so I built a hardlink copy of the package (same volume, no extra space) with every file larger than 1.5 GiB left out — 84 files, 24.4 GiB — and ran it:
A different address (
+0x1ce6e13, not+0x1330a44), 102 log lines, before the first frame. So the trap is content-dependent: withlevels.rpf,audio.rpf,movies.rpf,anim.rpf,navmeshes.rpf,textures.rpfand the terrain/maps/interiors ttdbs removed, the title asserts somewhere else first. That also means a "minimal reproducer" is not cheap here — the smallest set that reaches+0x1330a44is bounded below by those 187 GiB of opens.If it is useful, I can bisect upwards in a few runs (add back whole groups, ~2 minutes per run on my side) and tell you the smallest set that puts the trap back at
+0x1330a44. It would make the reproduction cheaper for anyone else who has the data, but it will not be small.3. Your diagnostic build is the right next step
Please go ahead with the
Mwaitxvariant that actually waits on the monitored range instead of onespin_loop(). If+0x1330a44appears here, the mechanism is in that pair and the fix belongs inconsole_insn.rs; if it does not, the remaining difference is the UBR (26300.9457against my26300.10075), and I will look at what changed between those two servicing levels rather than at the CPU.One caution on the variant: if the title uses the pair as a wait-for-flag, a faithful
Mwaitxcan turn your 2 fps run into a much slower one before it reaches the point of interest — a bounded wait (say, spin until the byte changes or 1 ms elapses) is probably safer than a true indefinite wait.@QF0712 on GitHub · 2026-11-25 04:24 UTC · original
@Key-rs
The
Mwaitxvariant does not reproduce it either - so that pair is not the mechanism.I built the diagnostic change you asked for, locally, about fifteen lines in
console_insn.rs:Monitorxnow stores the armed address (only ifreadable(at, 1), else 0).Mwaitxwaits on that byte: it reads the byte, then spins until the byte changes or 1 mspasses, and returns. Bounded, as you suggested, not an indefinite wait.
Run conditions:
c96b4f2plus that change, noVICTORY_*switches,data_dirrenamed away,cache_dirkept warm.0x80000003, no+0x1330a44, no+0x1ce6e13,crashes.lognever appearedwhich also says
MWAITXis not on a hot path in this titleSo
MWAITXis out, and with it the "semantics rather than timing" reading of the table. What isleft of that table is
Rdpru, which is also the one that returns a value rather than a no-op - butit only feeds a counter, and nothing in the log changes around it.
The next candidate, and why I think it is stronger
victorydoes not interceptCPUIDat all. There is nocpuidhandling anywhere undercrates/;the only vendor checks in the tree are GPU
VendorIdones (dxgi.rs,host.rs). So the title seesthe host CPU's real vendor string:
AuthenticAMD, Zen 4 - the same vendor and family as the console's Zen 2GenuineIntelIf the title has a console-path branch keyed on the CPU vendor or on a CPUID feature word, then your
host looks like the console and takes the console branch, while mine falls back to a generic path.
That is exactly the shape of the evidence you have collected: deterministic on yours at the same
address, never here, and independent of driver, WARP,
settings.xml, cache anddata_dir.What would settle it, and what I cannot do
cpuid(0f a2) or a vendor/feature compare among the instructions just before+0x1330a44in your disassembly, say so - that turns this from a guess into a testable one. Ifit is there, I can write a diagnostic build that intercepts
CPUIDfor the title (patch the0f a2sites at load, or emulate it from the handler) and reports AMD's vendor string, then runit here: if the trap appears, it is confirmed in one run.
it: the harness I run under denies
SetProcessAffinityMaskon a running process, andstart /affinitydid not stick for the grandchild. I will retry that with a small launcher ratherthan claim either way.
change mine without a servicing update.
The local patch is a diagnostic only - I am not proposing it as a PR, and it does not leave my
machine.
AI-assisted: Claude wrote the diagnostic change, built it, ran it and pulled the numbers.
@Key-rs on GitHub · 2026-11-25 04:26 UTC · original
Rolled the servicing update back on this host: the trap is unchanged, and D3D12 is no longer the suspect
Since my last message I removed the November preview CU on this machine, so the UBR gap you and I had (
10075against your9457) is gone from the D3D12 side of the equation.What changed before the run
wusa /uninstall /kb:5132057returned3010and the rollback completed with the reboot; the CBS package wasPackage_for_RollupFix~31bf3856ad364e35~amd64~~26100.10075.1.25, which is why my first attempt by KB number alone found nothing.The run after the rollback
Same command, release build
c96b4f2, freshcache_dirand freshdata_dir:Same address, 19 seconds in, after ~30 s of 30 fps. Exit code
0x80000003, Breakpad collected the dump as usual.So the November preview CU — and with it the D3D12/DXGI 10068 components — is not the separator. The remaining delta on my side is
9807against your9457, but that gap no longer includes the graphics stack, so I would not chase it further.Where that leaves the two machines
data_dir/settings.xml/ savesconsole_insnemulation pathYour
Mwaitxdiagnostic build is now the single experiment that can move this: on this hostMONITORX/MWAITXreally wait, and on yours they return after onespin_loop(). If a faithful wait reproduces+0x1330a44there, the mechanism is inconsole_insn.rs; if it does not, we are down to something neither of us has thought of, and the next thing I would do is diff the shader-pipeline creation the pack loader sees (your 29descriptionwords against mine at the same call counts).One small note for anyone reproducing: the trap line goes to stderr, not stdout — my first automated check looked at the wrong stream and reported "no trap" when the process had in fact exited with
0x80000003.@QF0712 on GitHub · 2026-11-25 04:28 UTC · original
@Key-rs
Good - that removes the graphics stack from the table, and it also means the two of us are now down to your last row.
One crossing note: the faithful-wait diagnostic is already done, and it was negative. I posted the
numbers two comments up, in case it scrolled past:
Monitorxstores the armed address,Mwaitxspins until that byte changes or 1 ms elapses, and on
c96b4f2with that change the run went 11.9to 2.0 fps over 10:37 with no
0x80000003, no+0x1330a44, nocrashes.log, world up. The waitcost nothing measurable, so
MWAITXis not on a hot path here either.So by your own split, we are now at the end of the other branch: something neither of us has thought
of. Taking up your proposal, because it is the only thing left that compares two real runs.
Diffing the pipeline-creation descriptions
They are already in this thread, but the raw lines are noise to compare by eye: each
descriptionis sixteen words and most of them are user-space pointers that differ between machines because of
ASLR. Two of the words are comparable on their own:
For
slot=0x218on this machine, from thec96b4f2run, at the call counts the log prints:slot=0x1c8has thirteen rows of its own but a different shape (the id word is not at index 11), soleave it out of the first pass.
If you post the same two columns from your log, the diff is one
diffand it either matches or itdoes not. If the ids match and only the sizes differ, that points at the title building a different
stream for the same call, which would be the first hard evidence of the branch we have.
Two caveats so we do not chase a false positive: the ids may legitimately include a pointer or a
handle on the host side, in which case they differ everywhere and the comparison is worthless - say
so if you recognise the layout and I will find another word. And if your run dies before some of
those call counts, tell me which ones you do have; 1 to 32 is probably enough.
The
cpuidquestionStill the cheapest thing you can answer: is there a
cpuid(0f a2) or a compare against a vendoror feature word in the instructions before
+0x1330a44? If there is, I will write the variant thatintercepts
CPUIDfor the title and reportsAuthenticAMD, and one run here either reproduces thetrap or finally kills the vendor theory.
On the stderr note
Useful, and it does not affect my numbers: the launcher here runs the title through
cmd /cwith> log 2>&1, so stdout and stderr land in the same file, and every "no trap" run I have reported waschecked for
unhandled exception,0x80000003and the two addresses in that merged file. Good catchfor anyone driving this from a script, though.
AI-assisted: Claude pulled the two comparable words out of my log and built the table.
@Key-rs on GitHub · 2026-11-25 04:32 UTC · original
The pipeline descriptions are identical word-for-word — and there is no
cpuidanywhere near the trapBoth of your asks, answered with data.
1.
slot=0x218, word 11 and word 6, from my logTaken from the
fork-run5.logrun (c96b4f2, MSVC, WARP off), same call counts your log prints:Eleven of thirteen rows are identical, ids and sizes both. The only difference is a one-step
shift in the ordering between the fourth and eighth call: my
calls=8carries the id you print atcalls=4(e320815a5c0a8b5b, size340), and mycalls=4carries6c3948d3f99e6117, which yourtable does not list at all. Everything after 16 lines up again exactly.
So the title builds the same pipeline stream on both machines, and the log's "every power of two"
sampling hides one extra call on my side rather than a different stream. Unless the shift itself is
the signal, that rules out "the title asks for something different here" — which was the point of the
comparison.
2.
cpuidbefore the trap: noneI disassembled
game_scarlett_master.exefrom+0x1320000to+0x1330a60— the whole function thatcontains
+0x1330a44plus the code that leads into it, 18,623 instructions:There is no
cpuid, and no vendor or feature compare in that window either. So the interception buildyou offered would not reach this path; I would not spend the hour on it.
3. Something that may be worth more than either answer
The tag the failing lookup asks for is a 64-bit constant, and it appears in the title's code ten
times (
c5 84 48 5d 7a 2d c1 e0little-endian), all in.text:Two of those are inside the function that traps. If the tag is a hash of a class or service name, the
registration site is one of the other eight, and whatever string sits next to it names the object the
title cannot find. That would turn "a lookup returned false" into "service X was never registered",
which is a much smaller thing to fix.
Can you see from your side whether either of your tools (the census, or the loader's import/registration
tracing) can show which HLE module registers objects by 64-bit tag? If it can, we can ask the log for
that registration and see it missing on my run.
@QF0712 on GitHub · 2026-11-25 04:34 UTC · original
@Key-rs
Both answers land, and the second one is the useful one. Taking them in order.
1. The description diff: agreed, same stream
Eleven identical rows and a one-step shift between calls 4 and 8 is the log's power-of-two sampling,
not a different stream. So "the title asks for something different here" is out. I would not read the
shift itself as a signal: your
calls=8id is exactly the id mycalls=4carries, which is what youexpect if you made one extra creation between those points.
2. No tag registry in
victory, and no instance of the constantI checked, and the answer is no on both counts:
crates/keys anything by a 64-bit tag. The maps that exist are keyed by handles andids I can name (
dstorage.rslanes and failures by request id,gameinput.rscallbacks by token),none of them a class/service tag.
c5 84 48 5d 7a 2d c1 e0/0xE0C12D7A5D4884C5does not appear anywhere in the tree - not as aconstant, not in the BCPack tables, nowhere.
So the lookup is the title's own table, populated by the title's own code, and there is no platform
registration for us to trace. That changes what to look for: not "which module did not register X"
but "which step of the title's own start-up did not run, or ran and failed". The tag being ten sites
in
.textand two of them inside the trapping function fits that: the same table is filled and readby the title.
3. What I can offer on the tag
Two things, neither needing a string pasted from the executable:
64-bit one - FNV-1a, xxHash64, the engine's own), I can run a word list of plausible service and
class names on this side and see which one lands on
0xE0C12D7A5D4884C5. That names the objectwithout quoting anything out of the binary. If it is a 64-bit variant of joaat, say so, since the
engine has 32-bit forms everywhere and the 64-bit one has an obvious shape.
leainto.rdata. You do notneed to post the string - just the kind of thing it is (a service name, a class name, a path, a
fourcc) would narrow the table it belongs to, and I can match that against what the platform
provides.
4. The cheapest next diff, and the one I would do first
The trap is a lookup that comes back false, so the divergence is almost certainly a call earlier in
the run that failed on your machine and did not here. Both of us have the same build, so the
warning inventory for the first minute should be identical if the platforms behaved identically.
Mine, first 60 s of the
621.24cold run, 44 lines in total, grouped:If yours has an extra line before the trap, that is the divergence, and it is one
grep WARNaway.Do you have the same five groups, or is there a sixth?
If the WARN sets do match, the next step is the diagnostics build so both sides run at
debuginsteadof
info- the release cap isINFO, so neither of us can see the calls that fail silently today. Ican build
--profile diag --features diagnosticshere and post our last 300 events before the samesix
dstorageopens; you would build the same and post yours, and the diff of those two windows isthe most direct evidence available.
AI-assisted: Claude grepped the tree for tag-keyed registries and the constant, and grouped the
warnings from my log.
@Key-rs on GitHub · 2026-11-25 04:38 UTC · original
Our WARN inventory: three groups, and the same view count — but zero texture-change warnings
Ran the grep you suggested over the run I made after rolling the servicing update back (
04:24:16to04:24:35, 19 s, then the trap). 31WARNlines, three groups:Against your five:
console_insnemulatedrpcrt4.dllrefusedcount=1245184Two notes on that:
What I did get out of the static side
Since victory has no tag registry, I mapped the title's own code around the trap:
RVA 0x13308E0 .. 0x1330A4D(107 instructions,.pdatabounds), i.e. theint3at+0x1330A44is its tail;+0x13306EEand+0x1330750— the same function Jonirulah'sEnqueueRequest-caller stack sits in (+0x13307A1/+0x13306AS), so his reading holds: this is the shader-pack/streaming path;+0x1330A50has four call sites:+0x1330969and+0x1330A2Dinside the trapping function, and+0x19B501Band+0x19B52DDwell outside it. Whatever fills or reads that table elsewhere is one of those two;cpuidand no vendor/feature compare (I disassembled all 18,623 instructions from+0x1320000to+0x1330A60: zero hits), which is why I said the CPUID-intercept build would not reach this path.On your hash offer: I already brute-forced it on this side — all printable strings in the executable (137,185 of them, 4–64 chars) against
fnv1a64,fnv164,djb2_64,sdbm_64,murmur64aandcrc64_ecma. No match. So either the tag is not a name hash of anything in.text/.rdata, or it uses a hash I did not try (xxh64/xxh3, cityhash, a 64-bit joaat variant). If you know the engine's 64-bit form, that is worth one more pass — I can hand you the six-word candidate list once you name the function.On the diagnostics build
Yes, let us do that. I am building
--profile diag --features diagnosticshere now and will post our last ~300 events before the sixdstorageopens that precede the trap. If your window ends in the same six opens, the diff of the two windows is the first place where two real runs can be compared atdebug.@QF0712 on GitHub · 2026-11-25 04:40 UTC · original
@Key-rs
The nine texture warnings are behind your death, so that row is reconciled - and so is the rest of the window.
When the nine appear
Relative to the start of the
621.24cold run, and they are all one burst:None in the first 19 s, and none in the first 25 s. So they are not a difference: on your run the trap
happens at 19 s, a full 6.5 s before the first of them would have been printed. The two runs agree
here as far as your window reaches.
The rest of the first-19 s inventory
With that removed, the pre-trap window is identical except for the line that has to differ:
So there is no longer an unexplained line in either log up to the point you die. That is worth saying
plainly: whatever separates us is not visible at
infoin the surviving window.Pacing, since it is the one number that moved
Your six opens happen before +19 s; mine land at about +34 s from process start. I do not think that
is content - both runs present 30 fps boot screens first and then open the same six - but if we diff
windows it has to be aligned on the six opens, not on wall clock, which is what you proposed anyway.
Hash
I do not know a 64-bit form used by this engine; the 32-bit joaat is all I can vouch for, and a
64-bit variant of it is not something I would guess at. Of the ones you tried, the two I would add
before giving up on the name hypothesis are xxHash64 (seed 0) and xxHash3-64, which are the
usual choices in engines that switched to 64-bit tags and are not in your list. CityHash64 and
farmhash64 are the other two worth a pass if those fail. If none of them hit, I would accept your
reading: the tag is not a NameHash of anything printable, and the object is identified some other
way - a GUID, or a registration id assigned at load.
Diagnostics build
Building
--profile diag --features diagnosticshere now. When it finishes I will post two windowsfrom this machine, aligned on the six opens:
debugevents before the six opens, which is the window you can compare,empty, (2) is where the answer has to be, because the trap is in the code that consumes the pack.
That second window is the part nobody has looked at yet: your trap is at the tail of a function called
from
+0x13306EEand+0x1330750, i.e. the request-enqueue path, and my run does enqueue thoserequests - I see the
indirect mesh dispatcheslines and the pipeline ids from the same region. So adebugtrace of the enqueue path on this machine may show the step that never happens on yours.AI-assisted: Claude computed the warning timings relative to the run start and reconciled the two
inventories.
@Key-rs on GitHub · 2026-11-25 04:41 UTC · original
Diag build done here — last 300 debug events before the trap (gist attached), and one message we never emit
Built
--profile diag --features diagnostics(8.5 MB,cargo build --profile diag -p victory --features diagnostics, 1m06s), ran withVICTORY_LOG=debug, freshcache_diranddata_dir. 17,580 lines, trap at the same+0x1330a44after 20 s. The last 300 events before it:https://gist.github.com/Key-rs/b2f8ca5cac4147902b0e157eb7d0efcd
Shape of that window
The run is at 30 fps, frame 828 when it stops, and the last four lines are the usual per-frame quadruple plus
so the trap lands on the frame boundary into 829, inside the texture-fill sequence, not on a shader compile or a pipeline creation.
The message we never emit
Whole-run counts on my side:
Your first 60 s had 9 of the second one. Mine has 652 of the first and zero of the second, in 20 s. Two readings, and they are very different:
Given that the trap sits on a frame boundary inside this exact sequence, I lean towards reading 1 — and it would also explain why every earlier hypothesis failed: the pipeline stream, the view count and the asset opens are identical, so what differs is a fill/upload ordering, not a request.
What I would ask for next
I have the full 17,580-line debug log here too if the window is not the right slice — say which region you want and I will gist it instead.
@Key-rs on GitHub · 2026-11-25 04:47 UTC · original
Negative: six texture-path configurations, six times the same
+0x1330a44Before waiting for your timestamps, I tried the switches that change how the texture hazard is handled, on the theory that a fill/upload ordering difference could be what separates us. Every one of these ran the release build
c96b4f2, same package, freshdata_dir, warm shadercache_dir, and died at+0x1330a44:VICTORY_TEXTURE_GUARD=0VICTORY_STALE_TEXTURES=0VICTORY_TABLED_TEXTURES=1VICTORY_TEXTURE_CATCHUP=0VICTORY_TEXTURE_COPY=1Same address, same frame region, six times. So the ordering hypothesis in my last message is weaker than I wrote it: if a fill/upload race were the separator, changing the wait strength, the staleness rule and the queue membership should move the probability at least once. It does not.
That leaves the failure as something structural about which step of the title's own start-up ran, with the tag table filled by the title itself. Two things I can still do from here, and I would like your view on which is worth the effort:
+0x13308E0into a jump to my own trampoline, log the object at[rsi+0x10020], the tag lookups it makes and their results, then jump back. It is the only way I can see the table's contents on both machines without symbols, and it is ~100 lines of unsafe code in a fork I do not have to publish.debug!in the loader where it hands back a null for a pipeline or texture creation, so the next release build tells us which call returned nothing in the frames before the trap. That is cheaper for you than my trampoline is for me, and it stays in the tree.If neither appeals, the honest summary is that this needs someone with the title's symbols or a second AMD host, and I have neither.
For the record, the six runs above:
E:\ports\sw-0.log…sw-5.logon my side, each 20–25 s, each ending in the same line.@QF0712 on GitHub · 2026-11-25 04:57 UTC · original
@Key-rs
Six configurations, six times the same address - that is a strong negative, and I will drop the ordering
hypothesis with you. I would also drop one thing I wrote in my last message: the fill/upload ratio is
not a separator, it is just what a long run looks like on a host that keeps going. My window and yours
agree on 580/652 fills against zero changes; that agreement is the finding, not the ratio.
Between your two options, I think (b) is worth it and I will write it - with one condition that
decides whether it is useful: it has to fire only where a creation returns nothing. If it fires on
every creation, both logs become unreadable and we learn nothing.
What I would add, and where
Three places, all of them "the title asked for an object and got nothing back":
victory_gpu::pipeline-create_graphics/create_compute/create_meshreturning null or afailure HRESULT, with the pipeline hash and the stage, at
debug;victory_gpu::descriptor- a view or table refused, with the heap and slot it came from (there isalready a
warnfor the heap cap and for the "the host would refuse it" case; the ones that returnnull silently are the interesting ones);
victory_hle- the texture/upload path where a slot is passed over unmapped, so a fill that couldnot be honoured is visible at the moment it happens rather than in the next frame's counters.
That is roughly twenty lines, all
debug!, no behaviour change, and it stays in the tree. It is alsocheap to test: I can build it here, run it, and confirm that our run emits nothing from those lines -
if it stays silent on a working host and speaks on yours, the patch has done its job in one round.
On the trampoline
It is the more decisive of the two and I would still not publish it: rewriting the prologue of a
function the title also reaches through its own paths means the crash handler, the SEH chain and any
relocation over those bytes are all in play, and the output (the table's contents) is derived from the
title's code, which the asset policy does not allow in the repository. If you do run it, log only the
tag and the result of each lookup - that is a hash and a boolean, which is allowed - and keep the
strings to yourself. If it names the object, that name in a message is enough for me to know what to
look for on this side.
One question still open
The AVX-512 check, if you have not done it already: does the trapping function or its immediate callees
contain EVEX (
62-prefixed) instructions orzmmoperands? Your Zen 4 has AVX-512 and this RaptorLake does not, and a CPUID-keyed dispatch would explain "identical everything, one host asserts"
without needing a texture race. That is a five-minute grep in your disassembly and it is the last
structural difference I can see between the machines.
If it comes back clean and (b) comes back silent on your side too, then I agree with your summary:
this needs symbols or a second AMD host, and the honest thing is to write the negative results into
the issue and leave it for whoever has either.
AI-assisted: Claude read the six-run table and drafted the patch scope above.
The patch, and that it is silent on a working host
I wrote the first of the three places - the pipeline hand-out - and tested it here before offering it:
Verification run here,
--profile diag --features diagnostics,VICTORY_LOG=debug, 154 s:So it is silent on a host that gets through, which is the property we want: if your run prints it, we
have the call and its shader hashes; if your run does not print it either, the pipeline path is out and
the descriptor/upload sites are next.
Two practical notes:
VICTORY_LOG=victory_gpu::pipeline=debug- which keeps the new line and drops the rest.descriptororvictory_hlesites yet. Doing all three at once would havemeant testing three things in one round; this one is verified, and I will add the next when this one
has been run on your side.
If it is silent there too, the summary you wrote is the right one, and I would rather we write the
negative results into the issue than keep guessing.
@Key-rs on GitHub · 2026-11-25 04:57 UTC · original
Instrumented the trap: the entry at index 0x1C exists, and its type is not the tag the caller asks for
I added a dump to the crash reporter (fork-local,
VICTORY_TRAP_DUMP=1, every read behindVirtualQuery) and re-ran the release build. It prints the object graph at theint3:With the exe mapped at
0x7ffd583b0000, those become RVAs:rsi(and the owner's vtable pointer)0x19C6CC00xd14884d80[owner+0x50], the service the lookup runs on0xd01596c000x12FD4800x3f0— the tag query itself0x28CE0A0[owner+0x58]— the 16-bit index the caller passes0x1C(28), not0xFFFF0x28CE0A0is inside the same0x28C…cluster where the tag constant appears (0x28CC80E,0x28CC883,0x28CEC5C), which closes that loop: that cluster is the service's own implementation.What the query actually does
+0x28CE0A0is a two-instruction stub into a shared routine:and
+0x28CE1B0:So there are two ways to get
false, and the second one is an entry whose tag/id is not the one asked for. Since[owner+0x58]is0x1Cand not0xFFFF, the index resolved; the failing half is the comparison against0xE0C12D7A5D4884C5— i.e. something is registered at index 0x1C, but it is not of the type the caller expects.That reframes the problem again: not "a step did not run" but "a different kind of object sits in that slot on this machine".
One thing in my log that may be the cause of a different object at that slot
This host never has a signed-in Xbox user:
Microsoft.GamingServicesis not installed at all (Get-AppxPackage *GamingServices*returns nothing, and the systemxgameruntime.dllinit fails with0x80070424), so the title runs the offline-local-user path. If that path registers a different object kind in the class this index belongs to, the tag comparison is exactly where it would show.I am trying to install Gaming Services on this machine to test that (winget's msstore source fails here with
0x80073d21, so it needs the Store UI). If a signed-in user changes what lands at index0x1C, one run here answers it. If you can see from the loader side whichXUser/licence path registers objects of the class whose vtable is0x12FD480, that would point at the same thing from your end.@Key-rs on GitHub · 2026-11-25 05:01 UTC · original
AVX-512: none. And yes to your patch — I will run it with the filtered log
The AVX-512 check
I disassembled the trapping function's neighbourhood (
+0x1320000–+0x1330A60, 18,623 instructions) and each of its immediate callees separately (+0x1330A50,+0x1330AD0,+0x1330B60,+0x1404610E0,+0x144EC6720,+0x144EC6670):So no EVEX, no mask registers, no
zmm— the dispatch-at-this-site version of the CPU theory is out. Combined with the earlier finding that there is nocpuidin the same window either, the two structural CPU differences we could name have no support in the code that traps.Your patch: yes, please
The pipeline hand-out one is exactly the shape I want: silent on a host that gets through, and the shader hashes in the message if it fires. I will run it with
so the 663 MB problem does not come back, and post whatever it says (or that it says nothing) here.
On the trampoline: noted, and that is what I did — the dump I posted is tags, indices, RVAs and booleans only, no strings from the binary. It has already given us the one hard fact we have: entry
0x1Cexists in that table and the tag comparison is the half that fails, not the index lookup.Gaming Services, still blocked here
winget install --id 9MWPM2CQNLHN --source msstorefails with0x80073d21every time, with or without a VPN; the Store app is the only path and I cannot drive it from a shell. So "signed-in user changes what lands at index 0x1C" stays untested on my side for now — if you ever see which class the loader registers for the licence/user path, that would substitute for the experiment.On the honest summary
I agree with your framing, with one amendment: we do have one positive result — the failing half of the lookup is the tag comparison on an entry that exists. If your
debug!stays silent on my machine, that result is the thing worth writing down, because it says the title registered a different kind of object, not that a call returned nothing.@QF0712 on GitHub · 2026-11-25 05:04 UTC · original
@Key-rs
That is the first hard fact in this whole thread, and it changes what "fix" means: the index resolves and
the tag compare is the half that fails, so the table is populated and the object in slot 0x1C is of a
different kind. AVX-512 and
cpuidboth gone as structural explanations - accepted.Short answer on the loader side: no, and here is why
0x12FD480and0x19C6CC0are RVAs in the title image, not invictory-image-*.dll. Those classesare the title's own, so the loader cannot register anything into them; it can only hand the title
service objects, and the title then wraps them into its own classes. So I cannot tell you "which class
the loader registers for the licence path" - the loader does not register title-side objects at all.
What I can do is compare the environment the title sees, and there is a real difference there.
This host does have Gaming Services
So when you wrote "this host never has a signed-in Xbox user", the mirror of that is true here: this one
has the whole stack installed. That is exactly the shape your index-0x1C reading predicts - a
different kind of object in that slot depending on which user/licence path the title took.
But at victory's level the two runs are identical
Both logs have these two lines, mine at 03:41:56.138 and 03:41:56.444, a third of a second apart, in
the same order you quoted:
and
xgameruntime.dllis loaded as a pseudo module here too (victory_hle::modules::kernel: loaded as a pseudo module dll="xgameruntime.dll", thenInitializeApiImplEx2), i.e. victory's HLE path is usedregardless of whether the real package exists. So the platform answer is the same on both machines;
what differs is what the title's own registry does with the presence of the real stack behind it.
That makes the install test the right one, and it also means my
debug!patch will very likely staysilent on your machine - the call does not fail, the type is wrong. I would still run it, because a
silent result is a result: it says the creation path is not where this is decided.
If you cannot get Gaming Services in through the Store
winget --source msstorefailing with0x80073d21is the known broken path; the bundle usually has tocome from the Store's delivery API rather than the winget source. If it helps, I can try to resolve the
current
.msixbundleURL for product9MWPM2CQNLHNfrom the Store delivery endpoints here and postthe link - the install itself is
Add-AppxPackage -Path <bundle>from an elevated shell, and it is asystem service package, so it is your call whether that is worth doing on a working machine.
One alternative that costs nothing: if you dump the vtable pointer at
[owner+0x50]'s entry 0x1C on amachine with the stack, i.e. here, we could compare the two vtables' RVAs. But I have no trampoline
here and would not build one, so that is not something I can offer - it was your instrumentation that
produced the useful number, and it is the one thing to write down whatever happens next.
On the summary: agreed with your amendment. The positive result is "an entry exists at 0x1C and its tag
is not the one asked for"; everything else in this thread is a negative, and that is worth recording as
such.
AI-assisted: Claude checked the installed packages and pulled the licence/user lines out of my log.
@Key-rs on GitHub · 2026-11-25 05:09 UTC · original
Gaming Services is now installed on this host — the trap and the object graph are unchanged (and a correction to my earlier RVAs)
The Store path worked in the end:
Microsoft.GamingServices 39.118.30001.0,Status: Ok, and the services are up:Re-ran the same dump build, same package, fresh
data_dirandcache_dir:Same address
+0x1330a44, same index0x1C, same service object class. So the licence/user path is not what decides the object kind at index 0x1C — with the real stack installed the title puts the same thing there.Correction to my previous message
I subtracted the module base badly and quoted two RVAs that are wrong. With the exe at
0x7ffd51be0000in this run:rsi/ owner vtable (a static vtable in.data)0x7ffd595b6cf00x79D6CF00x19C6CC0.rdata)0x7ffd57edd4800x62FD4800x12FD4800x3f0→ tag query0x7ffd544ae0a00x28CE0A0+0x2f80x7ffd51cd62e00xF62E0The two that matter for your side are unchanged: the query implementation is
0x28CE0A0and the fallback is0xF62E0. The corrected values are also identical between the two runs (pre-install,rsiwas0x7ffd5fd76cc0against base0x7ffd583b0000=0x79D6CC0), which is the point: nothing about the object graph moved when the stack was installed.So, where this leaves it
MWAITXsemantics, texture orderingcpuid/ AVX-512 dispatch at the trap0x1CGiven that, your
debug!patch is the next thing that can produce a fact rather than an elimination: if it stays silent here, we have said everything that can be said without symbols, and I will write the negatives up in the issue for whoever comes after us.One last thing I can try cheaply if you want it: dump the vtables' own slots for the class at
0x62FD480(the addresses in its first 32 entries) so you can tell me which class family the title is using at that index — those are function RVAs, not code, so nothing sensitive. Say the word and I will post the list.@QF0712 on GitHub · 2026-11-25 05:11 UTC · original
@Key-rs
Gaming Services excluded, then - and thank you for the RVA correction, I have updated my notes:
0x79D6CF0for the static vtable,
0x62FD480for the service vtable, and the two that matter for behaviourunchanged at
0x28CE0A0and0xF62E0. The useful part of that run is not the install, it is that theobject graph did not move when the stack appeared: same index, same class, same query.
Yes to the vtable dump, with one honest caveat about what it can buy. I cannot symbolicate 32 RVAs
without the binary, so the only thing I can do with them is cluster by address range and compare against
the ranges we already have:
0x132xxxx- the pack/streaming path the trap sits in,0x28Cxxxx- the tag/service implementation cluster, including the query at0x28CE0A0,0x19B5xxx- the tag helper's other call sites.If the 32 slots you dump all land in one of those, that names the family by proximity, and if they land
in a range none of us has looked at yet, that is new ground. So: post them, and please include the
range's own base too (the smallest and largest RVA of the whole table, not just the first 32), because
that is what tells me whether it is a 40-entry class or a 400-entry one.
The summary, drafted so you can paste it
I agree this is where it lands, and I would write it as a block in this issue rather than a new one:
That last line is also where your dump offer might move it from "needs symbols" to "needs two tables to
compare" - which is cheaper than both.
On my side
The
debug!patch is built and waiting; when your run comes back silent, that is the last thing I cancontribute without symbols, and I would rather see it written down as a negative than left as an open
question. If it does fire, post the line and I will take it from there - it would be the first call in
this thread that returned nothing.
One thing worth doing regardless: if you paste that block, add the two RVAs I got wrong in the earlier
message so nobody later builds on the wrong numbers -
0x79D6CF0and0x62FD480, not0x19C6CC0and0x12FD480.AI-assisted: Claude compared the corrected RVAs against the address ranges already identified in
previous messages and drafted the summary block.
@Key-rs on GitHub · 2026-11-25 05:18 UTC · original
The dump went one level deeper — and it overturns what I said: the tag IS in the table
I corrected the offsets in the dump (the lookup is called as
lookup(service, tag, index)whereservice = [owner+0x50], and the stub adds0x28to it, so the descriptor is[service+0x30]and the bucket array[service+0x48]). The picture at the trap:and the array itself, every 8-byte value that is not a pointer:
So
0xE0C12D7A5D4884C5is registered in this table — it is the fourth of five tags — and the table therefore knows the object kind perfectly well. That contradicts what I told you an hour ago ("something else is at 0x1C"), and I want to correct it before it ends up in the summary.What the two-step query means in that light:
+0x28CD240(buckets, count, index 0x1C)→ slot, or0xFFFF+0x44DB65B0compares the tag at that slot with0xE0C12D7A5D4884C5Since the tag is present in the array but not in slot 0 (
+0x00is0x33f70d…), the failure is either the index→slot step returning0xFFFFfor0x1C, or the index resolving to a slot whose tag is one of the other four. Either way the object kind exists in this table and the two hosts differ in which slot the index points at, not in which kinds exist.That is a much narrower question than the one we were asking, and it is answerable the same way: the pairs after
+0x78are a 16-bit map, and0x1Cappears in it (the0xffff1b1cpair at+0x90). If your dump or your reading of+0x28CD240says how that map is indexed —(index, slot)pairs, or a sorted list with0xFFFFpadding — tell me and I will decode which slot0x1Clands on here, and we will know whether it is step 1 or step 2 that returns false.On the summary block: hold it until we know that. The corrected sentence is "the table holds all five kinds including the requested tag; the failure is in resolving index
0x1Cto a slot", which is a different (and better) claim than the one I drafted with you.@Key-rs on GitHub · 2026-11-25 05:21 UTC · original
Decoded the two calls — and the tag table now looks healthy, so the
falsemay come from the step after it (another correction)I followed the two calls the stub at
+0x28CE0A0makes, in the binary, and reproduced their arithmetic in the dump.Call 1:
+0x28CD240— this searches by TAG, not by indexSo the array is 24-byte entries and the first qword is the tag. Mine, at the trap:
0xE0C12D7A5D4884C5is entry 3, so call 1 answers3, not0xFFFF.Call 2:
+0x44DB65B0— a 2-D table: rows are the index, columns are the entryand my dump reproduces it:
index 0x1C * 4 + 3 = 115, one byte wide, value0x00— not the0xffsentinel. By this arithmetic the query should answer "yes".What that means for what I told you
My earlier sentence — "the tag compare is the half that fails" — does not survive this decode. Both calls, as I read them, answer favourably on this machine. So either I am misreading which of the stub's two paths is taken, or the
falsethat reaches theint3comes from the other slot the helper calls:+0x1330A8E test %al,%althen eithercall *0x3f0(the one above) orcall [r9+0x2f8]at+0x1330AAD, and after the tag path succeeds it also calls*0x3f8(%r9)and jumps to+0x1330CD0. Any of those can produce thefalsethe caller tests.So the next thing to instrument is the helper itself (
+0x1330A50): log which branch it took, and the value each of0x3f0,0x2f8and0x3f8returned. That is three more numbers on the same dump and it will tell us which call actually answers "no" — I will do that next unless you tell me my reading of call 1 or 2 above is wrong, in which case say where and I will re-check before running anything else.I would hold the summary block again: the honest state is "the tag is registered, the cell for index 0x1C is populated, and something in the three-call helper still answers no".
@QF0712 on GitHub · 2026-11-25 05:23 UTC · original
@Key-rs
Your call-1 reading holds up:
lea (%r10,%r10,2)then(%rcx,%r10,8)is a 24-byte stride, and yourfive tags sit at
+0x00, +0x18, +0x30, +0x48, +0x60- exactly five entries of 24 bytes, with the wantedtag at
+0x48, i.e. entry 3. So call 1 answers 3 on your machine and thecmp $0xffffmiss does notfire. I agree with that half.
Call 2 is where I would re-check three things before running anything else, because any one of them moves
the byte you read by exactly one cell, and in this table one cell is the difference between
0x00and0xff.1. The row stride:
spanorend? You decodedspan = end - start(5 - 1 = 4) and then multipliedthe index by that. If the arrays are laid out
[index][slot]with a row for each index andslotrunningstart .. end, the row length isspan= 4 and the column isslot - start, notslot. Your0x1C * 4 + 3used 3; if the column isslot - 1it is0x1C * 4 + 2= 114, not 115. Reading byte 115tells you nothing about the cell the code actually addresses in that case.
2. The
subbefore the multiply. You quotedsub %r10d,%eax ; slot - span (borrow picks the low array). Ifeaxis alreadyslot - spanat that point, then what gets multiplied and added later isnot the raw slot either, and the borrow also decides which of the two arrays the read comes from. So
the base pointer you dumped (
0x1017fbf48) may be the second of two, not the one the code used.3. One byte, two arrays.
width 1with0xffas the sentinel means the cell is a byte, and you read0x00.0x00is a legitimate answer - it is slot 0 - while0xffis "no slot". So the differencebetween success and failure here is literally one byte value, and the three points above are all ways to
land on the wrong byte.
Cheapest way to settle it, three numbers on the same dump you already have:
index * 4 + 0 .. +3(112..115) as a row, so we can see the whole row and which cell is0xff;[descriptor+0x28]and whatever the second base is, so we know which one0x1017fbf48is;eaxvalue at thesub %r10d,%eax, before and after that instruction.If the row is
xx xx ff xxthen the query fails at call 2 and your correction stands. If the row isff ff ff ff, then the whole 2-D table is empty for that index and the miss is upstream of it, whichwould point back at the descriptor, not at the cell.
On the three calls after it
Your reading of the helper is the right next instrument:
+0x1330A8E test %al,%alpicks between*0x3f0and[r9+0x2f8], and after the tag path succeeds it also calls*0x3f8(%r9)before jumping to+0x1330CD0. Logging all three returns plus which branch was taken is exactly the shape that will endthis: one of them is the
falsethe caller tests, and if it is0x3f8then the tag table was never theproblem at all.
And yes - hold the summary. "The tag is registered, the cell for index 0x1C is populated, and something
in the three-call helper still answers no" is the honest state, and it is a better sentence than either
of the two I had before.
AI-assisted: Claude checked the two decodes against the byte layout you dumped and listed where the
column arithmetic could be off by one cell.
@Key-rs on GitHub · 2026-11-25 05:26 UTC · original
Breakthrough: the trap is a survivable sanity check — nop the two jumps into it and the title reaches the world at 30 fps
I stopped trying to satisfy the check and instead asked what happens if the title's own "assert" is ignored. In a fork-local build I replace the two conditional jumps that lead into the
int3at+0x1330A44with nops (VICTORY_PATCH_TRAP=1, applied right after the image is mapped, before any title code runs):+0x13309700f 84 ce 00 00 00→90×6jeafter the helper returns false+0x1330A3474 14→90 90jeto the otherint3Result, on the same machine that has been trapping all day:
No
0x80000003, no crash log, sustained 30 fps, and the user watching the window confirms it: first-boot screens, then the menu, then into the game.What that tells us about the check
Whatever
+0x1330A44guards, the title does not need it to continue — it is a "this should not be possible" assertion, not a functional gate. On my host one of the inputs makes it fire; ignoring it is enough to proceed. That is why every functional hypothesis we chased failed: nothing was broken, the title was only refusing to continue on an invariant it considered impossible.And it explains your nine warnings
After the trap is bypassed, my log now emits the message I told you I never see:
Repeated, from the moment the world begins. So your nine were real, they were simply beyond the point my runs died — the divergence I inferred from their absence was an artefact of my shorter run, exactly the second reading I flagged. I should have believed it and not built the ordering hypothesis on it.
For the tree
Two ways to take this, and I would like your call:
VICTORY_PATCH_TRAP=1, documented as "the title's own assertion at+0x1330A44is survivable; this bypasses it for machines where it fires". Cheap, honest, and makes the port usable on hosts like mine today — which is what the user on this end wants.My preference is both, in that order: land the switch so the AMD laptop is usable, and keep this issue for the invariant. If you agree I will send the patch as a PR with the two RVAs and the reasoning, rather than as a fork-only hack.
@QF0712 on GitHub · 2026-11-25 05:28 UTC · original
@Key-rs
That is the answer, and it explains the whole day: the title was not missing anything, it was refusing to
continue on an invariant it thinks impossible. Everything we chased was functional, so every one of them
came back negative for the same reason.
And thank you for the correction on the nine warnings - you flagged the second reading yourself and then
went back to it when the data changed. That is the right instinct, and it kills the ordering hypothesis
cleanly: after the bypass your host produces the same warnings, so it was never a difference, just my run
living longer.
My call: both, in your order, with conditions on the switch
Land the switch first, default off. Reasoning: it makes a real machine usable today, it is fifteen
lines and reversible, and it gives us a host that reaches the world so we can compare the things that
only show up after the trap - frame pacing, the texture churn your log now shows, saves, the HUD. None of
that can be looked at while the title asserts at five seconds.
Conditions I would put on the PR, all of them small:
under our own names, so two RVAs keyed off the BLAKE3 of the image is in policy and in keeping with
what the loader already does. A switch that NOPs two offsets on an unknown build is a way to corrupt a
run silently; a switch that refuses on an unknown build is a diagnostic.
warn!per site with the RVA and the bytes replaced, as youalready have, plus one line saying what it means: the title's invariant at
+0x1330A44was bypassedand behaviour after this point is not what the title asked for.
VICTORY_SKIP_ASSERT, documented in the README's knownproblems as "the title's own assertion at
+0x1330A44is survivable; this bypasses it on machineswhere it fires". A switch called
PATCH_TRAPreads like a hack; one calledSKIP_ASSERTreads like adocumented workaround, which is what it is.
0x3f8call you were about toinstrument) - only the two jumps into the trap, so the code still computes everything and only the
refusal is removed.
Keep this issue for the invariant. It is now a different bug from the one in the title: "a machine
with the same package, same commit and same pipeline stream takes a branch the title considers
impossible". The next person needs the two RVAs, the bypass, and the note that everything functional has
been excluded - which is what the summary block is for, once the switch has a PR number to point at.
What I will do here
I can mirror the switch and confirm it is inert on this host: apply it, run, and show that the two
sites are never reached here (the jumps are not taken, so the NOPs change nothing) while the patched
bytes are still in place. That is the cross-check the PR wants and it costs me one run.
Say when the PR is up and I will do that and post the result in it - a second host, same build identity,
patch applied, no behaviour change is exactly the evidence a reviewer wants for a switch like this.
AI-assisted: Claude drafted the conditions above; the discovery is entirely yours.
@Key-rs on GitHub · 2026-11-25 05:33 UTC · original
PR opened for the switch: fxceless/victory-fork#719
#719 — VICTORY_PATCH_TRAP=1, two files (crates/victory-loader/src/windows.rs, one row in the README), opt-in, cargo clippy -p victory-loader clean.
It is the shape I proposed first (a named switch) because it is the smallest thing that makes the machine usable today; if you would rather have it as a general VICTORY_PATCH=: table, I will rework it — the two sites are +0x1330970 (6 bytes) and +0x1330A34 (2 bytes) and nothing about the rest of the change depends on them being named.
The invariant itself is still unexplained and I have left #535 open for it. What the patch buys us is a machine that reaches the world, so the remaining questions (flicker from the texture churn, the nine warnings that only exist past the trap, frame pacing) can be looked at on both hosts instead of one.
Thank you for the rounds on this — the settings.xml test, the empty-data_dir run, the Mwaitx variant and the instruction not to trust the missing-warning inference are what narrowed it to the point where bypassing the assertion was the obvious next thing to try.
@Key-rs on GitHub · 2026-11-25 07:49 UTC · original
A deterministic reproduction, and what the assert is actually comparing
Two things from this end that change how this issue can be worked on.
1. It needs input to fire — the first-boot flow used to hide that
For most of today the trap looked like it happened on its own ~20 s into boot. With a warm shader cache and a data_dir that already has settings, the title stops at the account picker and never reaches the code that asserts, so a "45 s, no crash" run means nothing.
With scripted pad input it fires every time:
`
VICTORY_PATCH_TRAP unset, diagnostics build (the scripted keys feed pad slot 0 only there):
VICTORY_KEYS=8:Enter,14:Enter,20:Enter,…,80:Enter # Enter is pad A in FALLBACK_BUTTONS
[nopatch] exited -2147483645 (0x80000003) trap=True at victory-image-…dll+0x1330a44 13.8 fps
[patch] survived 70 s trap=False 30.0 fps, 33.3 ms/frame
`
So: diag build + Enter presses + no VICTORY_PATCH_TRAP reproduces it in under 40 s, deterministically, on a Ryzen 7 8845H / RTX 4060 Laptop. Anyone testing this should not conclude anything from a run that stops at the account picker.
2. The comparison itself
Decoding the chain (RVAs from build 1.0.2.1), the helper at +0x1330A50 reaches a lookup that ends in this comparison:
sm ; +0x1330CD0 movzwl 0x4(%rcx),%eax ; a u16 out of the record the table hands back mov 0x5c(%rdx),%ebp ; the owner's own cached copy of it cmp %eax,%ebp je <continue> ; equal -> carry on ; not equal -> the false that reaches the int3and the address of that record is computed by +0x1455B2600 as
ase_dword(entry) + [service+0x58] + cell * u16(entry+0x10), where the entry is the 24-byte
(tag, base|count, stride) record whose tag matches ␀xE0C12D7A5D4884C5.
On this machine, at the trap:
[owner+0x58] = 0x0008001C index 0x1C, flags 0x0008 [owner+0x5C] = 0x00000000 the cached copy the check expects table = 5 entries, tags: 0x33f70dfaf2c50989 0x73bcb72dce74f11f 0xb7076b6245d35fb5 0xe0c12d7a5d4884c5 <- the one asked for: base 0x3a0, stride 8 0xb6f5bdb2c66da2e9 2-D cell for (index 0x1C, that entry) = 0x00 (not the 0xFF sentinel) record address = [service+0x58] + 0x3a0 u16 at record+4 = 0x0004 <- what the table says now [owner+0x5C] = 0x0000 <- what the owner cached -> not equal -> false -> int3So the assert is an invariant "my cached copy of this field still matches the table", and on this
host the table says 4 while the owner still holds ␀. It is not "an object is missing" and not "a
call returned nothing": both lookups before it succeed, the tag is registered, the 2-D cell is populated.
That is also why the bypass works cleanly: the code after the comparison runs fine with the stale copy.
What I would ask
should have bumped ␀ to 4, is all we are missing — with it this becomes a fix in the layer
(whatever the layer hands over that makes the owner miss the update) rather than a bypass.
([rsi+0x10020], +0x50, +0x30, +0x48) and the entry arithmetic; the values themselves are
hashes, indices and booleans, no title code.
For the record: #719 carries the bypass, and it still holds on current main.
@Key-rs on GitHub · 2026-11-25 08:19 UTC · original
On
9376fd6: the flicker is gone, the assert is notRe-ran the A/B here after rebasing onto today's main (
9376fd6, so8dd30ab+ 26859f +9376fd6are all in):A no VICTORY_PATCH_TRAP : exited 0x80000003 (trap) 1.7 fps texture-changed warnings 3 B VICTORY_PATCH_TRAP=1 : survived 65 s 30.0 fps texture-changed warnings 9Two things worth recording for whoever reads this later:
The flicker in the opening screens is fixed by your commits. On c96b4f2-era builds the first-boot screens flashed hard enough to be unusable; on
9376fd6the person watching this machine reports it gone. 26859f's "the first room renders right" and 8dd30ab's "a write through one view is seen at its other views" are what did it, as far as we can tell from here.The +0x1330A44 assert is unaffected — it fires on the same build, at the same place, about 30 s in once the flow reaches the world. So the flicker and the assert were two symptoms of the same kind of staleness, and fixing the visible one did not fix the invariant one.
Also tried the texture switches on this build, in case one of them mattered for the assert or the warnings:
baseline 30.0 fps 9 warnings VICTORY_TEXTURE_COPY=1 30.0 fps 9 warnings VICTORY_TEXTURE_GUARD=0 30.0 fps 9 warnings VICTORY_STALE_TEXTURES=0 30.0 fps 9 warningsAll identical: texture picked by index changed after its upload is emitted nine times per run regardless, so it is a record of what the title does, not something these switches change. Flagging it only in case the count itself is useful to you as a metric.
The reproduction recipe and the decoded comparison from my previous comment still stand unchanged on this base.
@Key-rs on GitHub · 2026-11-25 09:33 UTC · original
Two results: a repair instead of a bypass, and the loading screen is a separate problem
1. VICTORY_TRAP_REPAIR: fix the invariant, do not skip the check
Following the decoded comparison ([record+4] against [owner+0x5C]), I wrote a second mode that does what the title's own code would have done had the two agreed: copy the record's value into the owner's cache, then continue at +0x1330976 — the address the check's success branch goes to.
VIctory: repaired a title assert at victory-image-…dll+0x1330a44 : cached 0x0 -> 0x4, continuing on the success path130 s run, 30.0 fps, no crash. So on this host the invariant is simply stale by one update, and repairing it is enough.
I would rather ship this than the nop-two-jumps variant in #719: it keeps the check's meaning, it only touches the one field the check is about, and if the title later re-reads that field it now sees a consistent value. If you agree I will fold it into #719 (the nop version stays behind VICTORY_PATCH_TRAP as the blunt instrument, the repair becomes the default one).
2. The loading screen after the menu is not caused by skipping the assert
With the repair mode — i.e. without skipping anything — the run does exactly what the bypass did:
60 s 39 draws/frame menu 120 s 5 draws/frame loading 590 s 5 draws/frame still loading, 30.0 fps, no errors, no crash logEight minutes on a spinner with no warning of any kind, and the port's own counters are quiet ( extures picked by index: 5 slots, 0 of them due, ␀ pages looked at). Network is not it either: modules::net refuses WinHttpConnect with ERROR_WINHTTP_CANNOT_CONNECT immediately, and the log shows no attempted connections.
So the world load stalls on something the port hands over or waits for, and I cannot see which from the outside. Three things that would narrow it, in the order that helps me most:
The reproduction is the same as before and is deterministic — diag build, VICTORY_KEYS=…:Enter, nothing else needed.
For completeness, the texture warnings are unchanged on
9376fd6(9 per run, same asc96b4f2), and the flicker is gone regardless, so those two are not connected either.@Key-rs on GitHub · 2026-11-25 10:39 UTC · original
What the world-load stall looks like from the outside: the title spins in its own code, asking us for nothing
Summary of a long afternoon on the same machine (
9376fd6+ the repair mode, so the assert is out of the picture).It is not waiting on us
During the stall (8+ minutes on a spinner, 30.0 fps, 5 draws/frame) the port logs zero HLE calls of any module — no dstorage opens, no requests, no file calls, no user/store/licence calls. The last asset open is at boot; after that, nothing. Network is refused fast by design and never attempted. No pending memory-value waits (met=true at boot, none later). GPU is ~23% busy, memory budget flat at 7188 MB, no warnings beyond the 29 pipeline-slot ones we already knew about.
So the title is inside its own loop: it renders, it presents, it polls, and it never asks the platform for anything else.
What that loop is doing when I sample it
VICTORY_STACKS=140,160 on itle-main, both samples inside the same function (+0x13308E0, the one whose check we repair), returned from a buffered stream read:
sm ; +0x51D2260, a stream reader mov 0x8(%rcx),%rdx ; buffer mov 0x10(%rcx),%r8 ; length mov (%rax),%r10 ; stream vtable call *0x50(%r10) ; -> +0x13308E0 test %eax,%eax js <error> ... cmp ,%edi / cmp ,%edi ; element widths 2 and 4So the function we trap in is a record validator called from the asset-stream read path, not a game-state check: it reads a record, compares its type tag against [owner+0x5C], and asserts on a mismatch. Which is consistent with everything else we saw — this is the asset side, and the loop is pulling records and not being satisfied.
Two things I could rule out with runs
The question I cannot answer from here
The record reader is pulling from core_restofworld and never gets a record it accepts. Two candidates, and they need someone who knows the format:
If you can tell me which subsystem owns the stream whose vtable slot ␀x50 lands at +0x13308E0, or what the first world load is gated on, I will instrument exactly that. Otherwise a log from a host that reaches the first world frame (menu → world, VICTORY_LOG=info) would let me diff the last 200 lines and find the record that never arrives here.
@Key-rs on GitHub · 2026-11-25 12:50 UTC · original
Root cause found, and it was not the port: a corrupted asset. The +0x1330A44 assert was telling the truth.
Closing the loop on this issue with the actual cause, because it changes what several "AMD machines trap" data points mean.
What was wrong
The dump itself was damaged. One 16 MiB torrent piece did not hash, and the damaged bytes were the last 3.24 GB of
avmeshes.rpf, zero-filled from byte 3,467,275,373 to the end of the file (194 of its 401 pieces, all zeros, entropy 0.00). This came from a RAR extraction that ran out of disk space: the file kept its full length, so a size-only check passed and the damage went unnoticed for a whole day of investigation.
What the assert was doing
With a verified-but-damaged pack, the title reads a zero-filled record, the record's type tag does not match what the owner expects ([owner+0x5C] = 0 against the table's ␀x4), and the check at +0x1330A44 traps — correctly. It is an asset-integrity assertion, not a false positive, and the function it lives in is reached from the buffered stream reader at +0x51D2260 via a vtable slot, i.e. from the asset path rather than from game state.
Evidence, after replacing that one file
Rebuilt
avmeshes.rpf (401/401 pieces matching again, whole package 634/634 on the pieces that matter), then ran the unmodified release build with no switch of any kind:
30 s 30 fps 13 draws menus 90 s 2 fps 580 draws world 180 s 1 fps 9993 draws heavy scene 240 s still running, no assert, no crash logVICTORY_TRAP_REPAIR / VICTORY_PATCH_TRAP were both unset. So on this machine the trap does not exist once the data is intact — everything I reported above about AMD hosts, MWAITX, AVX-512, the servicing level, the licence path, and the texture switches was chasing a symptom.
For anyone else who sees this trap
Check the dump before the port. The quick version, with the .torrent of the leak and Python only:
In my case that took ten minutes and found the answer after a day of everything else. A zero-filled region keeps the file size, so length-based checks (the manifest, census, taste of the file, whatever else) will not catch it.
What stays useful from this thread
The switch in xceless/victory-fork#719 is now pointless on my machine and I will close it: it bypasses a check that was correctly reporting damage, and leaving it in would hide the next corruption. The generic VICTORY_TITLE_ASSERTS (Marvisak/VIctory#1156, rebased as #2165) is still a reasonable debugging aid for finding a next blocker, but it is not a fix and should not be sold as one.
Thank you for the rounds on this — the "empty data dir" test, the settings.xml, the Mwaitx variant and especially the warning not to trust the missing-warning inference all kept the search honest. It was the data all along.
@crissuper20 on GitHub · 2026-11-26 09:36 UTC · original
A lower-end data point: GTX 1650 (Turing, 4 GB), i5-4690 (4 cores), 16 GB RAM, Windows 11 24H2, driver 32.0.16.2124. This fork at
be721d5, diag build, Series X profile, with upstream's watchdog hook (Marvisak/VIctory#454) merged in locally.The lit opening cutscene reaches the screen: characters in sunset light, palms, street, sea, sky, credits. 0.2–0.5 fps, no device removal in 30 min. Two things were needed on this machine:
DROPPED being made: on 4 cores the pipeline backlog never clears. The second run on the same cache had 0 of those and was lit.Memory while playing: VRAM 5.4 GB in use of a 3.3 GB budget, RAM 18.9 GB with 0.9 GB free. Still wrong here: shadowed areas are black (ray tracing off), and floating untextured rectangles hang in the sky.
AI-assisted (Claude Code); measured on my own machine.