Start: say so when Windows has no audio output (issue #305) #366
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!366
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-366"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ghost on GitHub · 2026-11-27 21:30 UTC · original
fix/no-audio-endpoint→main· +122 −5 · 8 files · 1 commits · merged 2026-11-29 08:16 UTCFor #305. This does not fix the freeze itself: it tells the player what to do before they run into it.
With no playback device in Windows, the title gets
E_NOTFOUNDfor its default audio endpoint, keeps a lock of its own for good, and freezes at the story's loading screen (the analysis is in #305). Any playback device, even a virtual one, avoids it.What this adds:
victory.exeasks Windows whether there is a default playback device (GetDefaultAudioEndpoint(eRender, eConsole)), on a thread of its own so the title still chooses its COM apartment.audioline) and at the top of the picture for the first 30 seconds, above the warm-up and frame generation lines:victory_gpu::start_notice: a small way for the start to add lines to that notice.windowscrate is no longer optional invictory-hle: the check needs it in every build.Cargo.lockis unchanged.Tested on an RTX 4070, Windows 11, release build, title v1.0.2.1:
Not seen on screen: the empty line after the three lines, added after the first test. The two new unit tests pass.
cargo clippy -D warningsfails onmainalready (victory-gpu, victory-formats), with nothing in the files this touches.🤖 Generated with Claude Code