You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
startup: after #2849 the upload ring still runs out in the post-load animation; closed lists pin their chunks until Reset #2948
After #2823 and #2849, the main executable's startup run (#870) exhausts the 256 MiB shared upload ring during the post-load animation. Refused copies leave translated draws with null buffer bindings; on screen these are single full black frames in otherwise correct animation sequences. #2837 was closed with #2849, whose fixtures cover a sequence where every chunk becomes free.
Windows 10 22H2, i7-4790K, RTX 3080 Ti, NVIDIA 32.0.16.1047, release, warm shader cache, run.ps1 -Render without -Translate, scripted input, same switches in each pair:
A local census at every refusal (logging only) showed why recycling does not keep up:
Every chunk was held by command lists that were closed but not yet Reset; every queue had already passed the chunk's fence (no UINT64_MAX pins).
Recycling did happen (the 128 MiB chunk reached generation 191), but one or two held lists pin a whole chunk of up to 128 MiB.
Most refused requests were 64 KiB: the window upload_from_title copies for a graphics root SRV without an upload mapping.
The title never submitted a closed list again without a Reset: 0 of more than 500,000 submits over five runs.
Smaller chunks alone (16 MiB, 256 MiB cap) left 209 of 4,440 frames with a refused copy; a 512 MiB cap alone, 103 of 4,431.
Proposed in #2949: an opt-in X2W_D3D12_RING_RELEASE_AT_SUBMIT=1 that releases a closed list's holds at its fenced submit (the queue fence still guards the bytes), with 16 MiB chunks up to 512 MiB, and reports a later resubmit that would read reused bytes. The default stays as on main.
This report was prepared with AI assistance (Claude); the runs are mine.
Activity
startup: refuse a stale resubmit of a released list before the execute
startup: opt-in release of upload ring chunks at a fenced submit (R0Y…
startup: make unused graphics root SRV copies optional (#3028)