Tracking: large streaming open-world workloads (compile stalls, host memory growth, table reuse, capture and replay) #28913
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?
Imported from boykopovar/AnyPS5. Originally posted by brajankw on 2026-12-04T16:18:04Z.
This issue tracks a series of small pull requests that make AnyPS5 hold up under large streaming open-world workloads: descriptor image tables with tens of thousands of entries, about two thousand graphics and compute pipelines (some taking minutes to build), a guest address space that uses the AMM mapper window heavily, and long sessions that previously grew host memory without bound or stalled whole queues behind one compile.
Each pull request fixes or speeds up one behaviour, has its own tests, and says
Part of #28913in its description. None of them is specific to one title. Items below are the planned slices; each line is replaced with its pull request link when it opens, and large items may land as several pull requests.Already open: #27590 (AMM ranges in a reserved window outside the guest arena), #27588, #28118, #28102, #24490, #23624, #22042, #22048.
Guest address space and write tracking
Keep guest writes visible to the texture and table caches when they land in the reserved AMM mapper window, and keep imports and snapshots correct when aliases grow.
Host memory growth
Bound what the driver keeps in host memory (recycled descriptors, draw cache, storage images, snapshot copies) and back off reclaim that frees nothing.
Image table and texture reuse
Stop rebuilding descriptor image tables and textures that a proof shows are unchanged, across collects, queues and dynamic-resolution views.
Pipeline compile stalls
Keep queues and the presenter moving while long pipelines compile: build outside the GPU mutex, admit long builds within a memory budget, prebuild pipelines that the queue will need, and pause the guest clock while the host compiles.
Pipeline cache, journal and compile-ahead
Make the pipeline cache and journal survive long runs and cache-key changes, record the actual translation inputs, and build the recorded pipelines before launch.
Runtime descriptor fields
Read eligible descriptor fields at run time so one module serves many descriptor variants, with exact fallbacks where device limits or layouts do not allow it.
Bindless heap
Keep bindless heap entries correct and bounded: eviction, pending GPU producers, present-time alias refresh and sampler border classes.
Rendering correctness
Depth plane ownership and HTILE clears, packed 4_4_4_4 targets, narrow storage-image atomics, quad-mask restore, carried shadows and rect-list fast-launch modes.
Shader recompiler correctness
Descriptor indices through waterfall loops and guarded edges, outer merges across early exits, half-wave mask proofs.
Frame capture and replay
Captures that finish on abort, start while queues wait, keep mapping deltas across rewinds, and replay inside the AMM window.
Diagnostics
Reports a developer can act on: GPU label writers and collisions, queue progress at flips, recorded dispatches on device loss, host residency and import use, table reuse misses, effective feature switches, pipeline identities.
Audio and runtime libraries
AJM decodes every packet that fits, ACM runs FFT jobs, an opt-in AudioOut2 PCM trace, crash reports and timed dumps end at their deadline, profile batches stay whole, and sleeps outside a clock hold keep their deadline.