stacks: scheduled dumps also go to the crash log #4132
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!4132
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4132"
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?
@kc01-8 on GitHub · 2026-11-30 16:32 UTC · original
kc01-8:kc/stacks-crash-log→main· +13 −7 · 2 files · 12 commits · openCI: the
checkjob is red onmainitself (84bd61e2c) with four clippy errors:loop_capsnever read (victory-shader/src/emit/lower.rs),copystat::mbandShadow::rangednever used, and a manual.is_multiple_of()inhost.rs. This PR adds no clippy error and no failing test: I checked by running the workflow's steps on this PR merged intomainand onmainitself. Under Wine, two tests fail now and then onmainas well (xmem::a_title_thread_goes_on_using_the_rest_of_a_view,crash::concurrent_crash_records_stay_together).What:
VICTORY_STACKS=<seconds>,...now also appends each dump to the crash log. Until now it printed to stderr only.Why: under Proton the game is started without a console, so the program's stderr reaches no file and the scheduled dumps were lost. The hang watcher's dumps already go to the crash log; the scheduled ones now go there too.
The change (
crates/victory-loader/src/stacks.rs,crash.rs):dump_stacksbuilds the text in aStringinstead of callingeprintln!for each line.crash::append_to_log, which is nowpub(crate).Tested on an RTX 3080 Ti under Proton Experimental 11.0, with a diagnostics build: in a run with
VICTORY_STACKSset, the dump was incrashes.log: 142 threads, each with its frames. It showed all four pipeline workers inside the driver's pipeline compile, called from vkd3d-proton, which is how we found that the pipelines weren't coming from the driver's cache. On this tree,cargo clippy -p victory-loader -- -D warningsis clean with and without--features diagnostics.Context: this came out of getting the title running at speed on an RTX 30 card under Linux/Proton, https://github.com/kc01-8/VIctoryNVIDIALINUX (branch
kc/trustno1, built on this tree). There, with DLSS performance, play renders at 19.5 fps, and FSR 3 frame generation shows 35.8–37.4 frames a second.🤖 Generated with Claude Code
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.