Rig scripts: "host memory pressure cleared" is no longer counted or alerted as a new warning #3790
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!3790
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3790"
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?
@mixaoc on GitHub · 2026-11-30 07:17 UTC · original
mixaoc:patch-1→main· +9 −2 · 3 files · 3 commits · openWhat it changes
crates/victory-gpu/src/residency.rslogs two lines about host memory pressure:host memory pressure: limiting texture prefetch and idle upload storage ... available_commit_mib=Nhost memory pressure cleared physical_free_mib=N available_commit_mib=NBoth rig scripts also match the second one:
play-rig.ps1 -Summarycounts it as a memory-pressure warning, so an episode that clears is counted twice. With the lines quoted in #1806 (a warning, a clear, a second warning) it reports 3 warnings instead of 2.watch-rig.ps1raises "ALERT the layer reports memory pressure: N MB of commit left" when the pressure has just ended, and adds it to the run's total.Both patterns now require the colon that only the warning has. A regression test is added to the
-Summarytests.How it was tested
-Summarytests ofplay-rig.Tests.ps1, withNew-Log,Get-RunSummary,Show-RunSummaryandWrite-Lineloaded from the files andInvoke-Launcherreplaced by a direct call. The whole test file was not run.-Summarytests pass with an invariant number format.watch-rig.ps1: its log-reading loop run on both lines. Before: 2 alerts, count 2. After: 1 alert, count 1.cargo test: no crate touched (scripts only).Checked for overlap
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.