Minimize a private log console after startup #5011
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!5011
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-5010"
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?
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 17:15 UTC · original
andrewpozdnakov7-jpg:codex2/fix/minimize-private-log-console→main· +32 −1 · 3 files · 1 commits · openRefs #5003.
What it changes
victory.exe play --set VICTORY_MINIMIZE_CONSOLE=1can minimize a private classic Windows log console after the first accepted present. This leaves startup output visible during preparation and keeps logging after the window is minimized. The window can still be opened from the taskbar.The call is asynchronous and the console must belong to this process alone. A shared shell, a Windows Terminal pseudoconsole or a process with no console keeps its current window behavior. Microsoft's console API returns only a non-displayed handle for a pseudoconsole. Console window documentation
How it was tested
cargo check --locked -p victory-gpupassed on2be10963.cargo xtask policy --stagedpassed. The patch combines cleanly with #4993.Checked for overlap
Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change into another commit.AI-assisted with OpenAI Codex.
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 18:39 UTC · original · edited 2026-12-01 18:46 UTC
The console hook applies locally to the current meter at
7724fb03. Windowscargo check --locked -p victory-gpuand the six focused console-routing scenarios passed. The staged asset check stopped onhost.rs: that file is 1,064,517 bytes on main, already above the 1,048,576-byte limit. The local result is 1,065,663 bytes.The tested update is pending the host file size fix. This PR's published head is still
2be10963.#5065 moves the existing present queue into its own module and brings the source file below the limit. Its Windows crate check and staged asset check passed.
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.