Watchdog: a hang watchdog that no longer ends the title on slow frames #137

Closed
Lilpez wants to merge 0 commits from upstream-pr/137 into main
Lilpez commented 2026-11-29 19:46:37 +00:00 (Migrated from github.com)

Imported from uiliannn/VItoriaBr. Originally posted by Lilpez on 2026-11-29T19:46:37Z.


The title has its own hang watchdog (a thread at title+0x2215ea0) that checks 64 threads' heartbeats and, past a limit, deliberately writes to address 0. At a few seconds per frame, threads waiting on the GPU look hung to it, and every "crash" so far was this.

This patch nops the three checks (the 64-thread check and both forms of the 30 s heartbeat countdown) right after the image is mapped, only if the bytes match this build. VICTORY_WATCHDOG=1 keeps the original behaviour.

Tested on Series S and Series X modes; cargo test -p victory-hle passes.

🤖 Generated with Claude Code

<!-- greyfinch-sync:uiliannn/VItoriaBr:issue:5554429849 --> Imported from [uiliannn/VItoriaBr](https://github.com/uiliannn/VitoriaBr2.0/pull/137). Originally posted by [Lilpez](https://github.com/Lilpez) on 2026-11-29T19:46:37Z. --- The title has its own hang watchdog (a thread at title+0x2215ea0) that checks 64 threads' heartbeats and, past a limit, deliberately writes to address 0. At a few seconds per frame, threads waiting on the GPU look hung to it, and every "crash" so far was this. This patch nops the three checks (the 64-thread check and both forms of the 30 s heartbeat countdown) right after the image is mapped, only if the bytes match this build. `VICTORY_WATCHDOG=1` keeps the original behaviour. Tested on Series S and Series X modes; `cargo test -p victory-hle` passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)

Pull request closed

Sign in to join this conversation.
No reviewers
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
uiliannn/VItoriaBr!137
No description provided.