Keep the play log writing when the console stalls #2227
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!2227
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2227"
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?
@ThePerfomance on GitHub · 2026-11-29 10:44 UTC · original
ThePerfomance:fix/independent-log-sinks→main· +113 −58 · 1 files · 1 commits · openRelated to #2191.
What it changes
The asynchronous logger currently puts console and file writes on one bounded queue. While the worker is blocked writing to stderr, it cannot drain file entries either.
Give each output its own bounded queue and writer thread. Each output reports its own dropped lines, and the synchronous mode keeps its existing behaviour. Each queue can hold up to 16,384 formatted lines, so a run with a file can buffer more total lines under sustained backpressure.
The regression test holds the console write open and checks that the file destination receives its entry before the console is released. The startup hang in #2191 remains under investigation.
How it was tested
victory-coretests passed with both default and all features. The staged asset policy andgit diff --checkpassed.victorytest executable exited with0xc0000005. The baseline at829188ereproduced the same exit code even with--list. The check uses synthetic writers and does not require a GPU or title data.Checked for overlap
mainand open PRs touchinglogging.rs. #1609 introduced a shared worker. #1417 changes PowerShell launcher redirection. #1577 proposes filtering console output.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.