RTX 4090 (wave32): 116+ WaveSize(64) compute PSOs refused; title then crashes at first mission intro with "Unsignaled CrossQueueBarrier" #1323

Open
opened 2026-11-26 04:27:31 +00:00 by github-bot · 3 comments
Owner

@⁠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 says Unsignaled 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

  • Windows 11 (build 26200), 48 GB RAM
  • GPU 1: NVIDIA GeForce RTX 4090, driver 32.0.16.2101 (WaveLaneCount 32–32)
  • GPU 2: AMD Radeon(TM) Graphics (CPU iGPU), driver 32.0.21042.62 (WaveLaneCount 32–64)
  • VIctory: main as of 2026-11-24, cargo build --release -p victory, toolchain from rust-toolchain.toml
  • Title: 930.048.020-vb_sub_story, TitleID 7952987A, Series X mode

Observations

1. Wave32 GPU: WaveSize(64) compute pipelines refused

On the RTX 4090, 116–119 compute pipelines fail with E_INVALIDARG (0x80070057):

WARN victory_gpu::pipeline::host: host pipeline refused error=... (0x80070057) shaders=[compute ...]

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. With TdrDelay=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_ADAPTER env var to host.rs (picks a DXGI adapter by name or index, EnumAdapterByGpuPreference) and ran on the AMD iGPU: 0 pipelines refused, wave lanes 32–64.

AMD iGPU (VICTORY_ADAPTER=radeon) RTX 4090 (default)
World frame rate 0.6–1.3 fps 1.4–3.3 fps
Refused compute PSOs 0 119
Device removed no no
Crash +0x23cf683 +0x23cf683
Title frame at crash 791 1068

VIctory's report (identical on both runs):

VIctory: unhandled exception 0xc0000005 at victory-image-<hash>.dll+0x23cf683 (write 0x0: nothing mapped there)
  rax 0x0 rbx 0x0 ...
  #0  victory-image-<hash>.dll+0x23cf683
  #1  victory-image-<hash>.dll+0x2215c35
  #2  victory-image-<hash>.dll+0x2215eca
  #3  KERNEL32.DLL+0x2dda7
  #4  ntdll.dll+0xc9c5c

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:

Game State: Game Running
Frame: 1068
Streaming Requests: 144
Game Physical: 2174254528/2305818624
Pool: 591978288/624951280
GFX Queue: fb6d2b63
Unsignaled CrossQueueBarrier: 82d9447
Current SRL Name: fbk_stry000_FBK_STRY000_INTRO
Current SRL State: Prestream

(The iGPU run shows the same SRL name and state; that report has no CrossQueueBarrier line.)

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 one a dispatch without a host pipeline dropped. I also noticed queue.rs wait() returns S_OK without 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=0x218 and slot=0x1c8.

Logs

I can attach the full run.log files (≈1.4 MB each) and both crash contexts if useful.

run.log

**@⁠darkjiros** on GitHub · 2026-11-24 17:25 UTC · [original](https://github.com/Marvisak/VIctory/issues/1323) ## 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 says `Unsignaled 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 - Windows 11 (build 26200), 48 GB RAM - GPU 1: NVIDIA GeForce RTX 4090, driver 32.0.16.2101 (WaveLaneCount 32–32) - GPU 2: AMD Radeon(TM) Graphics (CPU iGPU), driver 32.0.21042.62 (WaveLaneCount 32–64) - VIctory: `main` as of 2026-11-24, `cargo build --release -p victory`, toolchain from `rust-toolchain.toml` - Title: 930.048.020-vb_sub_story, TitleID 7952987A, Series X mode ## Observations ### 1. Wave32 GPU: WaveSize(64) compute pipelines refused On the RTX 4090, 116–119 compute pipelines fail with `E_INVALIDARG (0x80070057)`: ``` WARN victory_gpu::pipeline::host: host pipeline refused error=... (0x80070057) shaders=[compute ...] ``` 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. With `TdrDelay=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_ADAPTER` env var to `host.rs` (picks a DXGI adapter by name or index, `EnumAdapterByGpuPreference`) and ran on the AMD iGPU: 0 pipelines refused, wave lanes 32–64. | | AMD iGPU (VICTORY_ADAPTER=radeon) | RTX 4090 (default) | |---|---|---| | World frame rate | 0.6–1.3 fps | 1.4–3.3 fps | | Refused compute PSOs | 0 | 119 | | Device removed | no | no | | Crash | `+0x23cf683` | `+0x23cf683` | | Title frame at crash | 791 | 1068 | VIctory's report (identical on both runs): ``` VIctory: unhandled exception 0xc0000005 at victory-image-<hash>.dll+0x23cf683 (write 0x0: nothing mapped there) rax 0x0 rbx 0x0 ... #0 victory-image-<hash>.dll+0x23cf683 #1 victory-image-<hash>.dll+0x2215c35 #2 victory-image-<hash>.dll+0x2215eca #3 KERNEL32.DLL+0x2dda7 #4 ntdll.dll+0xc9c5c ``` 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: ``` Game State: Game Running Frame: 1068 Streaming Requests: 144 Game Physical: 2174254528/2305818624 Pool: 591978288/624951280 GFX Queue: fb6d2b63 Unsignaled CrossQueueBarrier: 82d9447 Current SRL Name: fbk_stry000_FBK_STRY000_INTRO Current SRL State: Prestream ``` (The iGPU run shows the same SRL name and state; that report has no `CrossQueueBarrier` line.) 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 one `a dispatch without a host pipeline dropped`. I also noticed `queue.rs` `wait()` returns `S_OK` without 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=0x218` and `slot=0x1c8`. ## Logs I can attach the full `run.log` files (≈1.4 MB each) and both crash contexts if useful. [run.log](https://github.com/user-attachments/files/35359815/run.log)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:27:31 +00:00
Author
Owner

@⁠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.

**@⁠draggygaggy-maker** on GitHub · 2026-11-24 17:55 UTC · [original](https://github.com/Marvisak/VIctory/issues/1323#issuecomment-7139912251) 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.
Author
Owner

@⁠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:

Tree Last frame logged before the stop
main (ffe310e) + #542 #523 #530 #302 2001
same + #1040 #1406 #1056 #1392 #1176 #1237 #1198 #1281 2011
same 1974
same + #1388 #1189 #1435 1995
first tree, run cut by my own 420 s limit 2052, no stop yet
  • In all 4 stops the title's own report has the same two lines as in this issue (the unsignaled cross-queue barrier, and the same streaming state). I am not pasting the report.
  • The fault is the same deliberate write to 0 from a thread that starts in the title.
  • #1388, #1189 and #1435 together do not change it (stop at frame 1995).
  • The one-time warning texture to buffer copies not implemented first 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.
  • Frame times in the world here are 1.3 to 4.6 s, so the stop comes 4.5 to 6 minutes after launch.

Not tested: wave64 emulation (I run with a local switch that omits WaveSize, which is inexact), any change to the read-back path.

**@⁠Impre-visible** on GitHub · 2026-11-24 18:23 UTC · [original](https://github.com/Marvisak/VIctory/issues/1323#issuecomment-7140578964) 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:** | Tree | Last frame logged before the stop | |---|---| | main (ffe310e) + #542 #523 #530 #302 | 2001 | | same + #1040 #1406 #1056 #1392 #1176 #1237 #1198 #1281 | 2011 | | same | 1974 | | same + #1388 #1189 #1435 | 1995 | | first tree, run cut by my own 420 s limit | 2052, no stop yet | - In all 4 stops the title's own report has the same two lines as in this issue (the unsignaled cross-queue barrier, and the same streaming state). I am not pasting the report. - The fault is the same deliberate write to 0 from a thread that starts in the title. - **#1388, #1189 and #1435 together do not change it** (stop at frame 1995). - The one-time warning `texture to buffer copies not implemented` first 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. - Frame times in the world here are 1.3 to 4.6 s, so the stop comes 4.5 to 6 minutes after launch. Not tested: wave64 emulation (I run with a local switch that omits `WaveSize`, which is inexact), any change to the read-back path.
Author
Owner

@⁠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 main from 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:

  • wait in crates/victory-gpu/src/queue.rs returns at once by design. execute runs the lists and waits for them, so a queue never has to wait on another queue's fence.
  • texture to buffer copies not implemented comes from copy_texture_region in crates/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

**@⁠Marvisak** on GitHub · 2026-11-25 10:15 UTC · [original](https://github.com/Marvisak/VIctory/issues/1323#issuecomment-7159456392) <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-24T18:23:30Z at=2026-11-25T09:50:38Z --> 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 `main` from 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: - `wait` in `crates/victory-gpu/src/queue.rs` returns at once by design. `execute` runs the lists and waits for them, so a queue never has to wait on another queue's fence. - `texture to buffer copies not implemented` comes from `copy_texture_region` in `crates/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](https://claude.ai/code)_
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory#1323
No description provided.