Crash at the first screen and freeze at story load when Windows has no active playback device #305

Closed
opened 2026-11-27 20:54:28 +00:00 by github-bot · 2 comments
Owner

@⁠MmePropre on GitHub · 2026-11-27 20:52 UTC · original

Summary

With no active audio output in Windows (every playback endpoint "unplugged" or "not present"), the title:

  1. crashes with 0x80000003 at victory-image-…+0x4dcbc9d if no button is pressed for about 15 s on the first screen;
  2. freezes forever on the loading screen when starting the story.

Cause (from disassembly and live snapshots)

  • The title's audio manager calls IMMDeviceEnumerator::GetDefaultAudioEndpoint(eRender, eConsole) at 0x1443AEBED. On the host this returns E_NOTFOUND (0x80070490), so no output is registered (sub+0x52C == 0).
  • At boot, 0x145267720 takes the audio manager's lock (manager+0x3CED0, via 0x140004B40). Then it returns early at 0x145267747 → 0x145267CFB when the output count is 0, without unlocking. Every other exit unlocks through 0x144D9DAB0. This is a title bug that probably never triggers on console.
  • At story load, the audio update needs that lock and blocks. The main thread waits on the audio frame sync (0x1402250C0), so the load never finishes.
  • Without an output, nothing drains the per-frame audio command buffers (96 KB each, tag 0xF0A244EF). While the first screen waits for input, they overflow, and the title's size check in 0x144DCBC40 hits int3.

Suggested fix

When the host has no active render endpoint, have the engine hand the title a silent stand-in endpoint (or a null audio client) instead of passing E_NOTFOUND through.

Setup

  • Windows 11 IoT Enterprise LTSC 2024
  • Ryzen 5 3600, 64 GB RAM
  • Quadro RTX 8000 (driver 621.24)
  • Release v2026.11.27, Xbox Series build v1.0.2.1
**@⁠MmePropre** on GitHub · 2026-11-27 20:52 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/305) ### Summary With no active audio output in Windows (every playback endpoint "unplugged" or "not present"), the title: 1. **crashes** with `0x80000003` at `victory-image-…+0x4dcbc9d` if no button is pressed for about 15 s on the first screen; 2. **freezes forever** on the loading screen when starting the story. ### Cause (from disassembly and live snapshots) - The title's audio manager calls `IMMDeviceEnumerator::GetDefaultAudioEndpoint(eRender, eConsole)` at `0x1443AEBED`. On the host this returns `E_NOTFOUND` (`0x80070490`), so no output is registered (`sub+0x52C == 0`). - At boot, `0x145267720` takes the audio manager's lock (`manager+0x3CED0`, via `0x140004B40`). Then it returns early at `0x145267747` → `0x145267CFB` when the output count is 0, **without unlocking**. Every other exit unlocks through `0x144D9DAB0`. This is a title bug that probably never triggers on console. - At story load, the audio update needs that lock and blocks. The main thread waits on the audio frame sync (`0x1402250C0`), so the load never finishes. - Without an output, nothing drains the per-frame audio command buffers (96 KB each, tag `0xF0A244EF`). While the first screen waits for input, they overflow, and the title's size check in `0x144DCBC40` hits `int3`. ### Suggested fix When the host has no active render endpoint, have the engine hand the title a silent stand-in endpoint (or a null audio client) instead of passing `E_NOTFOUND` through. ### Setup - Windows 11 IoT Enterprise LTSC 2024 - Ryzen 5 3600, 64 GB RAM - Quadro RTX 8000 (driver 621.24) - Release v2026.11.27, Xbox Series build v1.0.2.1
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 20:54:28 +00:00
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-27 21:00 UTC · original

v2026.11.27.6 is out (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.6), with today's crash fixes: the crash after the loading screen ("Failed to allocate upload buffer"), the 0x887E0003 / D3D12SerializeVersionedRootSignature crash at start, and memory that kept growing through a session.

Thanks for tracking this down to audio. Until the no-audio-device case is fixed, plugging in or enabling any playback device (even a virtual one) avoids it. Please try .6. If it still happens, attach the new victory-nvidia-play-*.log and crashes.log (both in %LOCALAPPDATA%\victory\logs). They show where it stops.

**@⁠trustno1-coder** on GitHub · 2026-11-27 21:00 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/305#issuecomment-7228040645) **v2026.11.27.6** is out (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.6), with today's crash fixes: the crash after the loading screen ("Failed to allocate upload buffer"), the 0x887E0003 / D3D12SerializeVersionedRootSignature crash at start, and memory that kept growing through a session. Thanks for tracking this down to audio. Until the no-audio-device case is fixed, plugging in or enabling any playback device (even a virtual one) avoids it. Please try .6. If it still happens, attach the new `victory-nvidia-play-*.log` and `crashes.log` (both in %LOCALAPPDATA%\victory\logs). They show where it stops.
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-29 15:51 UTC · original

Closing this since there's been no reply for over a day. If it still happens on the latest release, comment here with the log and it will be reopened.

**@⁠trustno1-coder** on GitHub · 2026-11-29 15:51 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/305#issuecomment-7258427413) Closing this since there's been no reply for over a day. If it still happens on the latest release, comment here with the log and it will be reopened.
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/trustno1-coder--VIctory-NVIDIA#305
No description provided.