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

Open
opened 2026-11-25 13:24:44 +00:00 by user2472194366 · 4 comments
user2472194366 commented 2026-11-25 13:24:44 +00:00 (Migrated from github.com)
Contributor

Imported from fxceless/victory-fork. Originally posted by user2472194366 on 2026-11-25T13:24:44Z.


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.
<!-- greyfinch-sync:fxceless/victory-fork:issue:6605505121 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/942). Originally posted by [user2472194366](https://github.com/user2472194366) on 2026-11-25T13:24:44Z. --- ## 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.
user2472194366 commented 2026-11-25 14:10:49 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by user2472194366 on 2026-11-25T13:28:12Z.


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.
<!-- greyfinch-sync:fxceless/victory-fork:comment:7163822737 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/942#issuecomment-7163822737). Originally posted by [user2472194366](https://github.com/user2472194366) on 2026-11-25T13:28:12Z. --- ## 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.
tippythetaidum commented 2026-11-25 22:07:24 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by tippythetaidum on 2026-11-25T21:39:13Z.


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

<!-- greyfinch-sync:fxceless/victory-fork:comment:7175364340 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/942#issuecomment-7175364340). Originally posted by [tippythetaidum](https://github.com/tippythetaidum) on 2026-11-25T21:39:13Z. --- 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).
user2472194366 commented 2026-11-26 05:05:54 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by user2472194366 on 2026-11-26T04:28:38Z.


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?

<!-- greyfinch-sync:fxceless/victory-fork:comment:7182628693 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/942#issuecomment-7182628693). Originally posted by [user2472194366](https://github.com/user2472194366) on 2026-11-26T04:28:38Z. --- 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?
HLVM04 commented 2026-11-26 05:05:54 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by HLVM04 on 2026-11-26T04:56:11Z.


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.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7183032225 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/942#issuecomment-7183032225). Originally posted by [HLVM04](https://github.com/HLVM04) on 2026-11-26T04:56:11Z. --- 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.
Sign in to join this conversation.
No labels
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.

Reference
fxceless/victory-fork#941
No description provided.