8 GB card / 16 GB RAM: prelude OOM retry, texture sweep off the frame, lighter memory line, replay cross-adapter fix #4306
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!4306
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4305"
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?
@leo-pansonato on GitHub · 2026-11-30 18:39 UTC · original
leo-pansonato:main→main· +1355 −887 · 37 files · 26 commits · closed without mergingWhat it changes
Fixes and memory relief for an 8 GB card with 16 GB of RAM (RTX 5060 Ti, i5-14600KF). On that PC the process ran out of commit, stalled on its own bookkeeping, and sometimes crashed. Every change below is on by default and needs no switch.
0x8007000Egave up the run ("host state prelude did not record").procmem):namedno longer counts mapped sections;VICTORY_PROCESS_MEMORY_S, default 60 s). Walking every 5 s stalled the game for 1.5–2 s each time.D3D12_RESOURCE_FLAG_ALLOW_CROSS_ADAPTER.E_INVALIDARG, and the replay then hung the device (0x887A0006).e1251c31.How it was tested
84bd61e2with its defaults.84bd61e2, with the same defaults.cargo test --workspace --locked: everything this PR touches passes. Two tests fail, and they fail the same way on a cleanupstream/main(e1251c31):list::thin::tests::bindings_record_no_work:47 != 49;shader_cache::tests::every_switch_of_the_translator_is_in_the_key.cargo clippy --workspace --all-targets --all-features --locked: none of the warnings come from these commits. The five there are in upstream lines:copystat.rs:1470,host.rs:5252,shadow.rs:7211,xmem.rs:1933,lower.rs:114.Checked for overlap
I searched the open pull requests for the same issue and for the files this touches. Related, partly overlapping:
namedcount;This PR does not depend on any of them; whichever lands first, I can rebase the other side.
🤖 Generated with Claude Code
On an 8 GB card with 16 GB of RAM the PC's memory shared with the card reaches the system's budget (7.45 GB there) and `list.Close()` of a state prelude fails with 0x8007000E, which ended the run ("a host state prelude did not record"). As upload buffers already do, the spares no list holds are freed and the prelude is recorded once more, on a new allocator, before the run is given up. Detilings the first recording noted for the submission are forgotten so the second records them too. Co-Authored-By: Claude Opus 5.5 <[email protected]>@trustno1-coder on GitHub · 2026-12-01 18:44 UTC · original
Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
Pull request closed