Runs n08 and n11 were lost to page faults in the first texture of a block made that instant: lists on the
card read the slots new textures are put in. 12 empty blocks are made ahead; textures up to a whole block
lie in them.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Lists already on the card read our descriptor heaps as they are; only lists sent later wait for a new
heap's mapping. Run n08's loss: a page fault in a texture made that instant, in a new block.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- The lists' notes for a lost device hold direct mesh dispatches too (pipeline,
groups, user data): run n06c stopped among them.
- A mesh dispatch of more than 65,535 groups is cut to that (more is undefined
on the host; said once). Vertex and index buffer views end with the copy they
show.
- indirect::tests::loads_far_outside_views (a measurement): raw, typed,
constant buffer and texture loads at the ends of 32 bits, uniform and per
lane, samples at coordinates, levels and gradients that are no numbers: all
198 ways end inside their views on the RX 7900 XTX.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
cpu_sets and keep_on_fast_cores are fxceless/victory-fork's (framelog.rs,
commit 0b0074e0). Asked for by: submit, relay, late-wait, heap-sync, aside;
and the helpers of the wide copies (refreshes, fills, snapshots) and of the
landings.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
With device-removed data on, every buffer, texture and texture block stands in
a book with its address (a texture's is the base in its first descriptor) and
stays with the time it went. A device loss prints who has and had the faulting
address, newest first, and every slot of the view heap whose descriptor
reaches it, with what our books say of the slot. VICTORY_BOOK=0: not kept.
VICTORY_SLOT_CHECK=1 walks the view heap (2^22 slots, 3.8 s a round) and says
which slots name memory that is gone. Run crash-5 (opening, -Walk, 260 s): 1.7
million descriptors a round, 105,352 things alive, 27,342 gone, none of the
slots named anything gone or unknown in any round.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Run cpu-5: 25,000 exceptions a second at five clzero loops of one function
of the title, against 1,400-7,000 at the one monitorx/mwaitx pair (28,000
at the monitorx alone with only the mwaitx replaced, run cpu-6).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Dumps of runs light-8 and light-9: of structures of the same size some are unpacked right and some not, more of them in frames that stream much. The title's queue waits for its streaming, so a packed structure's bytes may come after the dispatch that unpacks it is recorded. Not run in the game yet.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
An arena another list made while this one was being recorded was brought up by that list's submission alone: structures unpacked from zeros, then written over by the arena's first upload. In run light-8 half of the 470 structures unpacked in the frame with the most (1381) were wrong, 5-15 % in frames with few. A title buffer the builder stores in sends up only the dwords the title changed.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
4.6 twins a frame of run crash-3 were null because they begin off a dword (16
bit values at an odd one); the typed view they stand for begins there as well.
Measured (raw_loads_past_views): a raw view moved on by 8 bytes gives the
bytes from there and ends where it should, uniform and per lane.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
VICTORY_COPY_OVER_TITLE=title: over what title memory holds; =0: over whatever the block of the pool held.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The idea is fxceless/victory-fork's, commit f85101b6. Here one line holds
what all queues were given, presents too, in the order of the calls.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
monitorx and mwaitx raised an illegal instruction exception at every pass of
the title's wait loops. Diagnostics builds log the faulting console
instructions a second by kind and place.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Pieces went through the title's address, guards opened, whenever the runtime was mapping pages, which is most of the time since they
are mapped in groups (28 of 1,620 pieces a frame beside the guards in run textures-4, 640 before): 5,000 blocks opened and 7,000
guarded a frame. VICTORY_LAND_ANYTIME=0: as before. The vertices of rectangle lists are read through the kernel at submission, not
under the lock the mapping holds.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
4 MiB for every constant that looked like an address took a third of the pages (run light-5). Which pages came for what is in the ten-second line.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A bake's uploads waited for the lock the runtime holds while it remaps, and a staging buffer a draw kept waited at every later
refresh (29 to 239 ms a frame, all threads, run n04): gone, a read through the kernel gets every page. A staging buffer made for
one upload asks neither the write watch nor the guards (VICTORY_TEXTURE_ONCE=0: as before). blake3 makes way for a 128-bit digest
(0.035 against 0.2 ms a megabyte). While textures are kept for minutes the sweep looks at 8,192 a time (VICTORY_TEXTURE_SWEEP=whole).
The pass before a bake is made again only for something new.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
After victory-fork f85101b6, whose window checker found 90 records of 2^24 vertices in one list; ours
also run mesh records over 65,535 groups (all ones) empty instead of as 65,535 groups.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Runs n03 and n04 lost the device in the main pass. The pixel program
3711fdad456538a1, bound in both stopped lists, reads entry 35 of its big table
as raw bytes per lane, and that slot is a structured view of 8 byte elements
that begins at 8 mod 16 (capture play-1125-0127, all 766 draws): no raw view
begins there, so it stayed structured, and a raw load through it has no end on
AMD. So not only picked buffers: tables' buffers too, in title slots and in
the dynamic slots, which have twins now as well (a constant buffer of a fresh
table has a raw one of its bytes).
Measured with it: constant buffer loads, uniform and per lane, end with a
constant buffer's view. Loads by title address end with the raw view of the
copy, or read the null view for a page without one. VICTORY_RAW_VIEWS=0: as
before. Every shader is translated again (5 min).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A directory entry says whether stores by address reach its page (translator and host). Faults take at most 128 pages a frame and 8,192 in all; every slot of the copies' run holds a null view until its copy is there; a page is looked at once a frame.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
xmem.rs is local/next's: its side-by-side mapping (VICTORY_MAP...) takes the place of 4180818's runs.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
13 % of the title's main thread while walking (profile cpu-1: two kernel calls for each 64 KiB page).
Co-Authored-By: Claude Opus 5.5 <[email protected]>