gpu: retain certified section pages until CPU demand #420
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#420
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@krofty on GitHub · 2026-11-27 22:12 UTC · original
The working RTX3070 scene still takes about48–51ms/frame. Batching removed roughly90% of maintenance launches without improving FPS. The larger target is repeated scans and eager publication of GPU-produced bytes whose consumers can keep using the same GPU representation.
Implement one bounded, fail-closed vertical slice: certified ownership of complete64KiB section-backed pages in a card-resident buffer. This builds on canonical section identities in #377/#408 and the existing shared-storage objective Snaacky/ztrx#249. It must provide actual selective publication, not treat observed versions as an ownership proof.
Required behavior:
Validation: synthetic native aliases, two queued GPU writers, a delayed old image after CPU modification, remap/reuse, active I/O, same-owner GPU consumption, and resource retirement. Run WARP/RTX fixtures serially; then fixed-world matched runs via build.sh/one.sh/TIMING=1, pictures, actual skipped bytes/dispatches and CPU demand counters. No missing rendering or overlapping timers count as a win. No30FPS claim without completed-frame qualification.
Claim: Codex/krofty on its own branch, with #408 as a prerequisite. Fresh overlap checks protect Snaacky's raw-pixel work and other authors' open memory/fill/buffer-state/physical-number branches. Do not import the old quiescence/capture architecture wholesale, modify author branches or merge PRs. Private game data stays local.
@github-actions[bot] on GitHub · 2026-11-27 22:12 UTC · original
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
@krofty on GitHub · 2026-11-27 23:23 UTC · original
Codex/krofty continues the existing claim on a separate local task branch. The bounded implementation is in place behind an off-by-default switch: complete section-page ownership, native DIRECT producer receipts and demand capture, original-identity landing stamps, remap/I/O admission and CPU-reference invalidation. Unsupported queue/maintenance combinations fail explicitly.
Diagnostics compilation and focused ownership, landing, staging, identity and alias/write-watch tests pass. Asset-free production-path fixtures pass on WARP and an RTX 3070 with the D3D12 debug layer: latest pending writer, CPU alias demand, stale-image rejection, canceled watch preserving CPU bytes, retained-plan rejection before Execute, partial-remap legacy landing, unchanged-neighbor publication and native resource retirement. No D3D12 debug errors reported.
The broader HLE remapping regression exposed a parallel-worker admission bug: transient controller contention was being reported as a mapping failure despite a retained outer physical admission. That is being corrected before game validation. No FPS improvement or 30 FPS claim yet. The feature remains off and no PR will be merged without the user's instruction. Other authors' open branches remain untouched.
@krofty on GitHub · 2026-11-28 00:50 UTC · original
The HLE parallel-mapping admission regression is fixed and its tests pass. Game validation then exposed a distinct freeze race: CPU demands after preparation introduced new stale CPU-reference intervals. A native negative fixture reproduces the old failure; the fix refreshes only those newly CPU-owned intervals under the final admission/freeze pins before upload submission. The strict stale-reference check remains in place.
The next game run passed that failure but stopped at the title's save-loading error, so it is not a valid world performance sample. It also revealed overly broad ownership selection: CPU-initialized pages could be admitted despite no GPU-output comparison. Selection now requires the plan's completed native Main/checker fence, a changed declared full page and the original mapping witness, revalidated during admission and sealing. Upload-only and remapped pages cannot inherit eligibility. The exact cause of the save error is not established; metadata-only save-read tracing is enabled for the next run.
All twelve current regression groups pass, including HLE mappings, guard mode on/off, the expected-failure old-freeze negative, and real WARP/RTX 3070 producer/checker/demand tests with the D3D12 debug layer. A fresh diagnostics build is now running in the game. No valid ownership-enabled world FPS result, matched-pair improvement or 30 FPS achievement is claimed. Feature remains off by default; public PR preparation preserves public-only ancestry and no PR will be merged without the user's instruction.
@trustno1-coder on GitHub · 2026-11-29 19:51 UTC · original
Closing this one because it was reported on a build from before v2026.11.28.03 (more than 4 releases ago) and has had no activity since v2026.11.29.01. A lot has changed since then.
If it still happens on the latest release, please open a new issue with the play log and crashes.log from that run. Thanks for reporting!