RTX 4090 (wave32): 116+ WaveSize(64) compute PSOs refused; title then crashes at first mission intro with "Unsignaled CrossQueueBarrier" #1323
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#1323
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?
@darkjiros on GitHub · 2026-11-24 17:25 UTC · original
Summary
Testing on an NVIDIA RTX 4090 (wave32-only), the title boots, runs the first-boot screens and menus at 30 fps, loads the world and spawns the player, then crashes deterministically while prestreaming the first mission's intro (
fbk_stry000_FBK_STRY000_INTRO). The title's own crash report saysUnsignaled CrossQueueBarrier, so it looks like its GPU watchdog firing on a cross-queue sync that never completes.The crash happens at the same address and stage on two very different GPU setups, so it doesn't look like a speed or memory issue.
Environment
mainas of 2026-11-24,cargo build --release -p victory, toolchain fromrust-toolchain.tomlObservations
1. Wave32 GPU: WaveSize(64) compute pipelines refused
On the RTX 4090, 116–119 compute pipelines fail with
E_INVALIDARG (0x80070057):As expected from the README ("some compute programs need a GPU with 64-lane waves"). Wave64 emulation on wave32 hosts (two 32-lane halves) would be needed for NVIDIA.
2. TDR on entering the world
With default Windows TDR (2 s), entering the world ends in
DXGI_ERROR_DEVICE_HUNG (0x887A0006)after a 5–6 s submission, on both GPUs. WithTdrDelay=60/TdrDdiDelay=60, there is no device removal on either GPU (longest submission 28 s on the iGPU).3. Deterministic title crash at the first mission intro (both GPUs)
To rule out the wave32 refusals, I added a local
VICTORY_ADAPTERenv var tohost.rs(picks a DXGI adapter by name or index,EnumAdapterByGpuPreference) and ran on the AMD iGPU: 0 pipelines refused, wave lanes 32–64.+0x23cf683+0x23cf683VIctory's report (identical on both runs):
The faulting thread starts directly in the title (
BaseThreadInitThunk→+0x2215eca), and the null write looks deliberate.The title's own crash context (
T:\victory-*.crash.log) on the RTX 4090 run:(The iGPU run shows the same SRL name and state; that report has no
CrossQueueBarrierline.)Around the crash, the log shows untranslated compute shaders (
a structured buffer of unknown stride,image_gather4_l,a lane mask read as data), dropped indirect executions (indirect execution dropped ... counted=false) and onea dispatch without a host pipeline dropped. I also noticedqueue.rswait()returnsS_OKwithout waiting.My guess is that the GPU work meant to signal the cross-queue barrier is among the dropped or untranslated work, or that a queue-to-queue wait/signal isn't modelled, so the title's GPU watchdog ends the run. Before the title's crash handler runs, two device methods are reported unimplemented once at startup:
slot=0x218andslot=0x1c8.Logs
I can attach the full
run.logfiles (≈1.4 MB each) and both crash contexts if useful.run.log
@draggygaggy-maker on GitHub · 2026-11-24 17:55 UTC · original
I'll investigate the queue synchronization and unimplemented wait operations mentioned here, particularly whether they contribute to the CrossQueueBarrier failure. I'll check for overlap with #32 and attempt to reproduce any confirmed synchronization defects using synthetic tests before proposing a fix.
@Impre-visible on GitHub · 2026-11-24 18:23 UTC · original
Same stop reproduced on Linux with an NVIDIA Turing card, so it is not specific to Windows or to the GPUs listed above.
Setup: Arch Linux, kernel 6.18 LTS, GTX 1660 (6 GB, 32-lane waves only), NVIDIA 620.73.04, Wine from GE-Proton11-6 with the vkd3d-proton of Proton Experimental. Series X mode, diagnostics build.
Measured, 5 runs that entered the world today:
ffe310e) + #542 #523 #530 #302texture to buffer copies not implementedfirst appears at frames 1806, 1913 and 1927 in three of these runs, i.e. 50 to 190 frames before the stop. That is a correlation only; I have not tested whether the read-back is what the barrier waits for.Not tested: wave64 emulation (I run with a local switch that omits
WaveSize, which is inexact), any change to the read-back path.@Marvisak on GitHub · 2026-11-25 10:15 UTC · original
Automated triage for the maintainers.
Thanks for the run on two adapters (RTX 4090 with driver 32.0.16.2101, and the Radeon iGPU; Windows 11 26200; release build of
mainfrom 2026-11-24). The title stops with an access violation writing 0 at+0x23cf683, from a title worker thread, while the first mission's intro prestreams. That stop is discussed in #1118, the oldest report of it; #1232 has the most controlled runs. There it followed long GPU submissions and went away when those got shorter. The 116-119 refused wave64 compute pipelines on the RTX 4090 are tracked in #468, and open PRs #189 and #439 address them.On the code points:
waitincrates/victory-gpu/src/queue.rsreturns at once by design.executeruns the lists and waits for them, so a queue never has to wait on another queue's fence.texture to buffer copies not implementedcomes fromcopy_texture_regionincrates/victory-gpu/src/list.rs. It appears when the destination has no host resource, and the copy is skipped. Nobody has shown yet whether the barrier waits on such a read-back.If you still have it, the commit hash of that build (
git rev-parse --short HEAD) would make the report exact.Generated by Claude Code