• v2026.12.01-ma.4 a86480ee4b

    github-bot released this 2026-12-01 21:23:50 +00:00 | 47 commits to main since this release

    @⁠MahanYTT on GitHub · 2026-12-01 21:37 UTC · original

    Block Refresh, Watch & Memory Hot-Path Optimizations

    • Watch & guard acceleration (watch.rs): Replace BTreeMap block sets with a flat L0 Blocks table + O(1) count and bulk insert_all/remove_all; add 64-page presence bitmaps on PageEpochs; move KERNEL_WRITES off GUARDS with lock-free SeqCst fast paths; coalesce unguard across uniform VirtualQuery-verified MEM_COMMIT PAGE_READONLY | PAGE_READWRITE regions (preserving adjacent non-RW/executable protections); avoid skipping runtime-reserved placeholders on UNKNOWN_CLASS hosts.
    • Range locks, shadow scans & HLE fast paths (rangelock.rs, shadow.rs, xmem.rs, dstorage.rs, .cargo/config.toml): Reuse s.writing allocations and skip empty Condvar broadcasts in RangeLock; switch stale_pages_in_atomic to monotonic partition-point scans and bound for_each_overlapping lookbacks with LOOSE_MAX_LEN; add VIRTUAL_BLOCK_COUNT atomic fast path in XMemFreeDefault; reuse DirectStorage Scratch buffers without redundant zero-fills; enable x86-64-v3 codegen in .cargo/config.toml.

    Parallel Work Splitting & GPU Submission Throughput

    • Smarter submission work splitting (host.rs, land.rs, pool.rs): Group dirty front spans largest-first into 128 KiB weighted bins for parallel workers; overlap CPU land_captured copies with GPU readback DMA; split land.rs stale-page merging into 16-page chunks and add non-blocking try_each_under for nested shadow::wide_each_scoped calls; switch Pool::cut to a single-pass scan and cache VRAM over-budget status inside the 500 ms sweep_cadence check instead of per-submit DXGI/pool locks.
    • Separate command-list binding epoch (draw.rs, list.rs, mirror.rs): Track host pipeline/root/heap invalidations with HostList::bindings_epoch() (changed_bindings) separately from general changed_something(), including run_external passes.

    GPU Cache & Storage Compression

    • Zlib-compressed GPU caches (shader_cache.rs, pipeline/known.rs, replay/wire.rs, victory-pipeline/src/cache.rs): Compress VSH2 shader cache entries, known-shaders.bin entries (with concurrent seek_read), and VICFRMZ1 replay frames with fast level-1 zlib_rs compression while remaining backward-compatible with uncompressed VSH1 and raw formats; cache canonicalized pipeline cache roots and drop unnecessary sync_all() flushes.
    • Sparse CPU mirrors (fileback.rs): Enable FSCTL_SET_SPARSE on temporary file-backed CPU mirrors on NTFS so untouched mirror regions do not reserve physical disk blocks.

    DLSS Frame Generation & VRAM Stability Fixes

    • React to waitCPUFence hangs & over-budget VRAM (streamline.rs, resource.rs, sweeping.rs): Trigger DLSS-G VRAM pause immediately when Streamline logs a waitCPUFence timeout under tight local VRAM headroom (< 384 MiB), hold recovery until both headroom recovers and fence timeouts clear, reserve 8% local VRAM headroom while DLSS-G is active, and add fast evict_window_drain reclamation when paused.
    • Fix STAGED counter underflow & texture upload races (texture.rs, texture/ahead.rs, inplace.rs, port.rs): Check texture::STAGING before building Staging so concurrent staging races cannot drop an uncounted buffer and underflow live_staging_bytes near u64::MAX; add CLAIMING state, ClaimGuard unwind safety, and fail_jobs cleanup in ahead.rs; track original section keys so title_memory_section_gone cleans up inplace/port regions cleanly.

    • Version: v2026.12.01-ma.4
    • Commit: a86480ee (main)
    • SHA-256 of victory.exe: 5e39631ae7f7bb5903be676faa39f5b75d450067e60e7016841471e54a0eb0ea

    Files (download from GTA HUB storage; a backup copy is attached to this release):

    Downloads