Series S mode: game hangs (deadlock) — all threads in Wait state, GPU idle #942

Open
opened 2026-11-26 03:54:18 +00:00 by github-bot · 4 comments
Owner

@⁠user2472194366 on GitHub · 2026-11-25 13:24 UTC · original

Environment

  • GPU: NVIDIA RTX 4060 Laptop 8GB, driver 32.0.16.2124
  • CPU: Intel i7-13700H, 16GB RAM
  • OS: Windows 11 (10.0.26300)
  • Commit: 0b0074e (after the queue2.rs update)
  • Mode: --console series-s

Symptom

The game freezes: the frame counter in the title bar stops advancing.
No crash, no error message, the process stays alive and "Responding".

Diagnosis

  • Process alive (Responding=True), 112 threads, all in Wait state
  • CPU: ~0.94s per 8s wall time (mostly idle, not thrashing, not busy-looping)
  • GPU: 7% utilization, idle; VRAM 1.8/8 GB used
  • RAM 68%, commit fine

This is a synchronization deadlock: the CPU appears to wait on a fence/signal
that the GPU never signals.

Regression

This started after the queue2.rs command-queue update (the 3-commit update).
An earlier build on the same machine got into the game and ran.

Steps to reproduce

  1. Run: victory.exe run --execute --console series-s
  2. Let it load into the world
  3. The frame counter freezes; the process must be killed with task manager.
**@⁠user2472194366** on GitHub · 2026-11-25 13:24 UTC · [original](https://github.com/fxceless/victory-fork/issues/942) ## Environment - GPU: NVIDIA RTX 4060 Laptop 8GB, driver 32.0.16.2124 - CPU: Intel i7-13700H, 16GB RAM - OS: Windows 11 (10.0.26300) - Commit: 0b0074e (after the queue2.rs update) - Mode: --console series-s ## Symptom The game freezes: the frame counter in the title bar stops advancing. No crash, no error message, the process stays alive and "Responding". ## Diagnosis - Process alive (Responding=True), 112 threads, all in Wait state - CPU: ~0.94s per 8s wall time (mostly idle, not thrashing, not busy-looping) - GPU: 7% utilization, idle; VRAM 1.8/8 GB used - RAM 68%, commit fine This is a synchronization deadlock: the CPU appears to wait on a fence/signal that the GPU never signals. ## Regression This started after the queue2.rs command-queue update (the 3-commit update). An earlier build on the same machine got into the game and ran. ## Steps to reproduce 1. Run: victory.exe run <game> --execute --console series-s 2. Let it load into the world 3. The frame counter freezes; the process must be killed with task manager.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:54:18 +00:00
Author
Owner

@⁠user2472194366 on GitHub · 2026-11-25 13:28 UTC · original

Environment

  • GPU: NVIDIA RTX 4060 Laptop 8GB, driver 32.0.16.2124
  • CPU: Intel i7-13700H, 16GB RAM
  • OS: Windows 11 (10.0.26300)
  • Commit: 0b0074e (after the queue2.rs update)
  • Mode: --console series-s (after first trying series-x)

Context

Series X mode on the same machine gets into the world and renders
(better than before this update), then crashes.
Series S mode hangs instead — different symptom.

Symptom

In series-s, the game freezes: the frame counter in the title bar stops
advancing. No crash, no error, process stays alive and "Responding".

Diagnosis

  • Process alive (Responding=True), 112 threads, ALL in Wait state
  • CPU: ~0.94s per 8s wall time (mostly idle; not thrashing, not busy-loop)
  • GPU: 7% utilization, idle; VRAM 1.8/8 GB used
  • RAM 68%, commit fine

Synchronization deadlock: the CPU waits on a fence/signal the GPU never
signals, so every frame-loop thread blocks forever.

Regression

Started after the queue2.rs command-queue update (3-commit update).

Steps to reproduce

  1. victory.exe run --execute --console series-s
  2. Load into the world
  3. Frame counter freezes; process must be killed externally.
**@⁠user2472194366** on GitHub · 2026-11-25 13:28 UTC · [original](https://github.com/fxceless/victory-fork/issues/942#issuecomment-7163822737) ## Environment - GPU: NVIDIA RTX 4060 Laptop 8GB, driver 32.0.16.2124 - CPU: Intel i7-13700H, 16GB RAM - OS: Windows 11 (10.0.26300) - Commit: 0b0074e (after the queue2.rs update) - Mode: --console series-s (after first trying series-x) ## Context Series X mode on the same machine gets into the world and renders (better than before this update), then crashes. Series S mode hangs instead — different symptom. ## Symptom In series-s, the game freezes: the frame counter in the title bar stops advancing. No crash, no error, process stays alive and "Responding". ## Diagnosis - Process alive (Responding=True), 112 threads, ALL in Wait state - CPU: ~0.94s per 8s wall time (mostly idle; not thrashing, not busy-loop) - GPU: 7% utilization, idle; VRAM 1.8/8 GB used - RAM 68%, commit fine Synchronization deadlock: the CPU waits on a fence/signal the GPU never signals, so every frame-loop thread blocks forever. ## Regression Started after the queue2.rs command-queue update (3-commit update). ## Steps to reproduce 1. victory.exe run <game> --execute --console series-s 2. Load into the world 3. Frame counter freezes; process must be killed externally.
Author
Owner

@⁠tippythetaidum on GitHub · 2026-11-25 21:39 UTC · original

This may be the same freeze I hit tonight on an RTX 5080 (Series X, with the ray-tracing structure builder on): the frame counter stops, the process stays alive and responding, every thread waits, and the GPU sits idle with no device loss. Same base commit too (0b0074e).

In my dumps, the cause was the write guards in watch.rs making committed memory that isn't the title's read-only, the process heap among it. The heap's own code then faulted while holding its lock and waited in watch::install::on_write for the guard lock, whose holder was waiting for the heap. #1147 has the fix and the dump details.

If you can test it: with #1147 on 0b0074e or today's main, does Series S still freeze? If it still does, a dump of the frozen process would show whether it's the same thing. Task Manager → right-click the process → "Create dump file" works. Threads in on_write waiting in Mutex::lock_contended, and others in RtlAllocateHeap/RtlFreeHeap, would mean it is.

AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠tippythetaidum** on GitHub · 2026-11-25 21:39 UTC · [original](https://github.com/fxceless/victory-fork/issues/942#issuecomment-7175364340) This may be the same freeze I hit tonight on an RTX 5080 (Series X, with the ray-tracing structure builder on): the frame counter stops, the process stays alive and responding, every thread waits, and the GPU sits idle with no device loss. Same base commit too (`0b0074e`). In my dumps, the cause was the write guards in `watch.rs` making committed memory that isn't the title's read-only, the process heap among it. The heap's own code then faulted while holding its lock and waited in `watch::install::on_write` for the guard lock, whose holder was waiting for the heap. #1147 has the fix and the dump details. If you can test it: with #1147 on `0b0074e` or today's `main`, does Series S still freeze? If it still does, a dump of the frozen process would show whether it's the same thing. Task Manager → right-click the process → "Create dump file" works. Threads in `on_write` waiting in `Mutex::lock_contended`, and others in `RtlAllocateHeap`/`RtlFreeHeap`, would mean it is. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@⁠user2472194366 on GitHub · 2026-11-26 04:28 UTC · original

Tested PR #1147 (branch pr-1147-fix, head e8a93d2) on
RTX 4060 Laptop 8GB.

--console series-s:

  • Deadlock is fixed: no more freeze, the game boots into the
    prologue and the character moves normally.
  • But the screen is completely black from start to finish — no
    picture at all (not even boot/menus), only audio and input work.

--console series-x:

  • Renders fine, no black screen.

So the PR fixes the freeze but breaks rendering specifically in
Series S mode. Is this a known gap, or is there a flag I should try?

**@⁠user2472194366** on GitHub · 2026-11-26 04:28 UTC · [original](https://github.com/fxceless/victory-fork/issues/942#issuecomment-7182628693) Tested PR #1147 (branch pr-1147-fix, head e8a93d2) on RTX 4060 Laptop 8GB. --console series-s: - Deadlock is fixed: no more freeze, the game boots into the prologue and the character moves normally. - But the screen is completely black from start to finish — no picture at all (not even boot/menus), only audio and input work. --console series-x: - Renders fine, no black screen. So the PR fixes the freeze but breaks rendering specifically in Series S mode. Is this a known gap, or is there a flag I should try?
Author
Owner

@⁠HLVM04 on GitHub · 2026-11-26 04:56 UTC · original

Series S black screen with Series X fine: there are two separate gaps on that profile, each with an open PR. We saw both on an RTX 5070 Ti (Windows 11, Series S profile). We have not run #1147 or tested on your card.

  • Black world frames: #798 (the title keeps its own upscaler instead of FSR 4). With it, the world rendered lit and correct for us in the first room. One run on 9376fd6, then a few runs on later stacks.
  • Black boot, menus and intro video (sound plays) and missing HUD prompts: on Series S the title calls PresentX with two planes. Plane 0 is the 1920x1080 world. Plane 1 is a 3840x2160 RGBA8 layer holding menus, loading art, the intro video and the HUD hints. The fork shows plane 0 only. Series X is unaffected because the title composites that layer itself there. #1081 blends the second plane over the first. We used our own similar local pass (planes 1-3 drawn over the window buffer with one / one-minus-source-alpha), and the intro video and HUD hints came back. We have not run #1081's code itself.

So on Series S you probably need both: #798 for the world and #1081 for the interface.

**@⁠HLVM04** on GitHub · 2026-11-26 04:56 UTC · [original](https://github.com/fxceless/victory-fork/issues/942#issuecomment-7183032225) Series S black screen with Series X fine: there are two separate gaps on that profile, each with an open PR. We saw both on an RTX 5070 Ti (Windows 11, Series S profile). We have not run #1147 or tested on your card. - **Black world frames:** #798 (the title keeps its own upscaler instead of FSR 4). With it, the world rendered lit and correct for us in the first room. One run on 9376fd6, then a few runs on later stacks. - **Black boot, menus and intro video (sound plays) and missing HUD prompts:** on Series S the title calls `PresentX` with two planes. Plane 0 is the 1920x1080 world. Plane 1 is a 3840x2160 RGBA8 layer holding menus, loading art, the intro video and the HUD hints. The fork shows plane 0 only. Series X is unaffected because the title composites that layer itself there. #1081 blends the second plane over the first. We used our own similar local pass (planes 1-3 drawn over the window buffer with one / one-minus-source-alpha), and the intro video and HUD hints came back. We have not run #1081's code itself. So on Series S you probably need both: #798 for the world and #1081 for the interface.
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/fxceless--victory-fork#942
No description provided.