Record early startup stages in the play log #4972
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!4972
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4971"
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 15:56 UTC · original
andrewpozdnakov7-jpg:codex2/fix/play-startup-progress→main· +22 −2 · 2 files · 1 commits · openRefs #4966 and #4198.
What it changes
All five play logs in #4966 end at the settings header. That header is written before the launcher checks the cache or waits for automatic preload. The runtime tracing file opens later, so a header-only log cannot distinguish those stages. The attachment in #4198 has the same single settings line. The reporter saw two runner processes, which can occur during automatic preload. The current log cannot identify the stage in that session. Attachment check
Add short progress lines to the existing play log before checking the shader cache, waiting for preload, initializing the runtime, and starting the game. A returned game error records that the console has details. The entries contain fixed stage text. Launch decisions and the original error handling stay as before.
How it was tested
5fabb46eand6204235847c225dd5ca6892eb8e0ce7926944b43with a synthetic play log and stub startup operations. Main left the header alone in both cases. The patch wrote three milestones on a direct start and five on a preload followed by a returned error. Each milestone was readable before the corresponding step.cargo xtask policy --stagedaccepted both files.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.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.