Repository navigation
Conversation
Consolidate the locally integrated submission, cache, translation, streaming diagnostics and resource-management changes on current upstream main. Port credits include the authors of upstream PRs trustno1-coder#347, trustno1-coder#991, trustno1-coder#1014, trustno1-coder#1066, trustno1-coder#1296 and Project Neptune VI 1.0.2. Retain the per-module source credits and GPL provenance. Co-authored-by: aventureroestelar-source <362393708+aventureroestelar-source@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Codex <codex@openai.invalid>
Adapt the DirectStorage portion of Gemini's 8e1fbfd. Co-authored-by: Gemini <noreply@google.com>
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Inspired by the frame-rate preflight in Project Neptune VI 1.0.2 (GPL-3.0). Keep hash-only site verification, check every page before writing, and restore the individual protections after committing the group. Co-Authored-By: Codex <codex@openai.invalid>
The release build warned that PREPARING, preparing and preparing_from were compiled in but unused: only the diagnostics-only VICTORY_SLOT_ORDER_CHECK path uses them. Gated, as its stamp and check already are; release and diagnostics checks and clippy are clean again. Co-Authored-By: OpenCode (DeepSeek V4.1 Flash) <noreply@opencode.ai>
Typed UAV stores can preserve integer payloads through float overloads. Add a synthetic UINT readback covering the affected bit patterns. Co-Authored-By: Codex <codex@openai.invalid>
Adapt the shader-only changes from public PR trustno1-coder#1296 (9da16ec, GPL-3.0). Keep folding opt-in, preserve the existing paired-lane lowering, and omit two title-derived fixtures. Co-Authored-By: aventureroestelar-source <362393708+aventureroestelar-source@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: Codex <codex@openai.invalid>
Co-Authored-By: Codex <codex@openai.invalid>
Detect scalar writes that can reactivate lanes, including saved masks and whole-quad expansion. Cover the production folded path with a synthetic skip-and-restore shader. Co-Authored-By: Codex <codex@openai.invalid>
(cherry picked from public GPL-3.0 PR trustno1-coder#1214, ghptc/VIctory-NVIDIA fix/texture-pool-budget-room 5453df7)
…VICTORY_TITLE_AFFINITY_FREE, off) The title ties threads to console processor numbers with SetThreadGroupAffinity (public reports: ~9 busy workers on 0xFF, ~8 on 0x1F00, one time-critical thread on 0x2000). On an 8-core SMT host that puts nine busy workers on both halves of four cores and never runs title code on the last core. VICTORY_TITLE_AFFINITY_FREE=1: the masks are remembered and told back (previous affinity, GetThreadGroupAffinity), not applied. Off by default. Each new mask is logged once. Diagnostics: VICTORY_AB can name the switch; at each phase change every remembered thread (same id and creation time) gets its mask back or the process mask (victory_gpu::on_switch_change, a hook list in ab.rs). After Marvisak/VIctory PR #3635 (TG0000, after maren-halv/VIctory-Fast eb37550c) and trustno1-coder/VIctory-NVIDIA PR trustno1-coder#419 (justrealyme), GPL-3.0; written anew for this tree. Tests: hle lib 191 passed (incl. affinity, with and without the switch), gpu ab:: ok, workspace + diagnostics checks clean. Co-Authored-By: Claude <noreply@anthropic.com>
…al core at a time (off) Run a1 (VICTORY_TITLE_AFFINITY_FREE in-run A/B, 180 s): -0.52 ms trimmed, not proven. Masks seen: 0xffff, 0x0, 0x3fff, 0x1f00, 0xff, 0x2000, 0x3f00. SPREAD keeps the title's ties but maps its processor i to the host's i-th logical processor taken first halves of all cores first (GetLogicalProcessorInformationEx): on 8 cores x 2 its 0xFF becomes 0x5555, one half of each core, instead of both halves of four. A/B-able in-run like FREE. A mask Windows refuses (0x0) is no longer remembered. Co-Authored-By: Claude <noreply@anthropic.com>
After Anorak-314's public trustno1-coder#1273 (GPL-3.0): widest() allowed more than 65,535 groups in x on AMD cards only. The title's tile lists hold 67,440 and 47,760 groups at 2560x1440 and 259,200 at 3840x2160, so on NVIDIA the first list lost its lowest 1,905 tiles (blocky patches on arms and hands) and at 4K about half the tiles never ran (stale light streaks across faces). An NVIDIA card runs them as asked (the author's RTX 5090 ran 67,440, 115,200 and 2^20, each under its own number); the vendor is now read once through a helper, VICTORY_INDIRECT_WIDE=0 still turns it off and =force asks for it on other cards. Tests: indirect:: 29 passed, 0 failed, 9 ignored (the device ones gated on WarpHarness). Co-Authored-By: OpenCode (DeepSeek V4.1 Flash) <noreply@opencode.ai>
(cherry picked from commit 686a0fd)
Adapt the constrained allocation route from Gemini's 90175cf. Co-authored-by: Gemini <noreply@google.com>
bcpack_throughput says what a decode costs; this says where. On synthetic streams (release, one thread): BC1 lanes 136.2 MB/s out, block rebuild 648.5; BC4 129.5 and 588.6; BC7 93.5 and 182.4. The lanes' entropy decoding is the part worth attacking (twice the lanes is about 1.5x the decode; twice the rebuild about 1.2x), if the streaming stats say decoding is a bottleneck at all. Co-Authored-By: OpenCode (DeepSeek V4.1 Flash) <noreply@opencode.ai>
…slot a lane water_shading:CS_TransmissionVolumetrics_GenerateTiles lists the water tiles to light. Run as two host waves on a 32-lane card, the second wave's tiles overwrote slots of the first: those tiles got no light that frame and the sea had dark patches in blocks of 16 x 16 pixels around boats, piers and lamp posts (measured in one captured frame: 79 unlit tiles, 76 of them of threads 0-31; in two groups the unlit count equalled the count listed by threads 32-63). On hosts of 32-lane waves each lane now takes its own slot by adding 1 to the list's counter (emit/water_tile_slots.rs; VICTORY_WATER_TILE_SLOTS=0 gives the program as it is, byte for byte). Slots are each given once and the counters end the same; only the order within a list differs. The idea is xss3009's "Fix transmission tile allocation on wave32 hosts", seen in the SmXme fork of VIctory-NVIDIA, written again for this tree. Seen on a GeForce RTX 4070: the open water has its colour, its light and no dark patches. README updated. Checks: release build passes; the two new tests pass; the changed program passes the DXIL validator. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> (cherry picked from commit cd9355206de35baeab822ce9bb2bbac7e8354eb6)
Owner
|
Thanks for this. I'm closing it without merging: at 74 files and about 14,000 lines it bundles too many changes to review and test as one, and it conflicts with main. Please split it into small pull requests against the current main, one change each. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This draft bundles the compatibility and performance work from a local integration branch for coordinated upstream review.
Verification
cargo check --locked --release --workspace --all-targetspassed on Windows at the draft head3706b150.git diff --checkpassed against upstream main. Earlier component checks included synthetic DXIL validation, DirectStorage ordering tests, sparse-texture tests, and targeted upload lifetime tests. The combined draft has no end-to-end FPS or flicker claim. Folded Wave64 remains opt-in. Capture does not yet reproduce the upload guard's predication decision.Related work
Includes adaptations of #347, #419, #991, #1014, #1066, #1193, #1214, #1273, and #1296, along with work from Project Neptune VI and related forks. Source comments and commit trailers retain origin and attribution. #1296's title-derived fixtures are omitted. The export contains source, synthetic test code, and documentation.