Add mandatory hardware regressions for copy helpers and Execute boundaries #4677
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!4677
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4676"
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?
@john-9474 on GitHub · 2026-12-01 01:31 UTC · original
john-9474:codex/place-helper-hardware-regressions→main· +436 −0 · 1 files · 1 commits · closed without mergingRefs #194, #4016 and #4590.
What it changes
Placed-copy helpers can return the expected bytes while recording invalid D3D12 buffer states. Independently recorded native copy lists also behave differently when grouped into one Execute: the implicit-read case returns a wrong, all-zero snapshot, while an explicit-read/write case returns correct bytes despite validation errors. Submission can drain the normal message queue before a test checks it.
Adds eight diagnostics-only ignored hardware fixtures in
host/place.rs:place_copy/place_constantcases: the existing 512-byte test, repeated writes with and without an intermediate snapshot, and an already-valid explicit read-state control.0x841mask is a real transition, not a claim of shader or CBV execution.Each explicitly requested case requires a physical adapter, debug interface, Host InfoQueue1, successful callback registration and a positive application-message witness. Missing support fails rather than skipping. Process-static atomic counters and a bounded first description retain errors across queue drains; callback storage survives unregister failure without assuming unregister joins pending callbacks. Completion labels distinguish production helpers from raw native commands.
The diff adds 436 test lines in one file. Production code and all pre-existing main tests are unchanged. The four previously published hardware cases retain their assertions; their observer is shared with the new cases. No state tracker, private runtime instrumentation, dependency, lockfile change, game data or binary is included. Normal CI leaves these hardware fixtures ignored.
How it was tested
Clean main
f5c3d243, one-file tests-only candidate, pinned Rust 1.98.1 on Windows, RTX 3080 Ti (10de:2208), driver 610.47. All eight exact cases used the same frozen diagnostics library-test binary, SHA256 prefix77ce29d7, with a fresh process and mandatory hardware/InfoQueue/callback-witness checks for each case.0x841These are five captured failures and three passing controls, not eight passing tests. Seven cases completed their full byte assertions; the implicit grouped case failed its first snapshot assertion. All eight outer guards exited 0 after checking the expected observations; that does not turn Rust exit 101 into a test pass. There were no timeouts or native aborts.
CPU commands actually run on this candidate, with locked dependencies and two jobs:
Compile-only, the one-file policy check and the diff check passed. Both strict Clippy commands exited 101, reporting exactly the five unchanged UI findings also present in clean f5c3 main CI: too many arguments at
host/font.rs:213and:260, manual-is-multiple-of athost/menu.rs:667, and collapsible-if athost/panel.rs:602and:668. All three UI files are byte-identical to that base. Existing #4680 addresses those findings separately; no unrelated cleanup or lint allowances are bundled here. No authored diagnostic was reported. The full crate/workspace test suite was not run.To repeat, use a fresh process with
VICTORY_REQUIRE_HW_GPU=1,VICTORY_D3D12_DEBUG=1,VICTORY_GPU_TIMING=0,VICTORY_NARROW_BARRIERS=0,VICTORY_COPIES_IN_PLACE=1,VICTORY_PLACED_CONSTANTS=1,VICTORY_CARD_ALL=1,VICTORY_CARD_BUFFERS_MIN_KB=64,VICTORY_CARD_STEPS=2andVICTORY_WINDOWS_OWN=0. BothVICTORY_WARPandVICTORY_D3D12_WARPmust be absent. Run the compiled library-test executable with--exact NAME --ignored --nocapture --test-threads=1, once per process:This validates owned allocations, native copy commands and synchronous DIRECT-queue Execute boundaries. No game profile, DLSS/frame generation, ray-tracing workload, shader algorithm/wave-size, GPU lifetime, visual or FPS result is claimed. Separate private exact-state experiments are not part of this PR or of the clean binary above.
Checked for overlap
Add mandatory hardware regressions for placed copy helpersto Add mandatory hardware regressions for copy helpers and Execute boundaries792b71a8bcto5b926b0b06@trustno1-coder on GitHub · 2026-12-01 18:35 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