<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/docs/directstorage.md, branch ci/exclude-legacy-cpp-runtime-tests</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=ci%2Fexclude-legacy-cpp-runtime-tests</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=ci%2Fexclude-legacy-cpp-runtime-tests'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-11-29T04:46:18+00:00</updated>
<entry>
<title>Merge remote-tracking branch 'origin/main' into work/dstorage-multilevel-bcpack-fit</title>
<updated>2026-11-29T04:46:18+00:00</updated>
<author>
<name>Zack</name>
<email>zmasi21@gmail.com</email>
</author>
<published>2026-11-29T04:46:18+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=770f5e0e18a9bcc36fd795f953333ab75b441cec'/>
<id>urn:sha1:770f5e0e18a9bcc36fd795f953333ab75b441cec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #1023 from robot00f/docs/agent4</title>
<updated>2026-11-28T18:23:30+00:00</updated>
<author>
<name>MoonEyes</name>
<email>ducoinbenjamin@yahoo.fr</email>
</author>
<published>2026-11-28T18:23:30+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=6618de35b25849a0134dc95b48da7f895c36341e'/>
<id>urn:sha1:6618de35b25849a0134dc95b48da7f895c36341e</id>
<content type='text'>
docs(directstorage): measured factory IID and SetStagingBufferSize slot (DSTORAGE-FACTORY-MEASURED)</content>
</entry>
<entry>
<title>Merge upstream main into PR #1715</title>
<updated>2026-11-28T13:59:13+00:00</updated>
<author>
<name>Дмитрий Корлодный</name>
<email>deusex1998@gmail.com</email>
</author>
<published>2026-11-28T13:59:13+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=0f71e76707127a1cf09d4351740759d790ed312f'/>
<id>urn:sha1:0f71e76707127a1cf09d4351740759d790ed312f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge origin/main into fix/dstorage-multilevel-bcpack-fit</title>
<updated>2026-11-27T00:17:53+00:00</updated>
<author>
<name>Zack</name>
<email>zmasi21@gmail.com</email>
</author>
<published>2026-11-27T00:17:53+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=801f8e7b7ec95dd42ff03acbf8fdaf8f0dff80b2'/>
<id>urn:sha1:801f8e7b7ec95dd42ff03acbf8fdaf8f0dff80b2</id>
<content type='text'>
Run fit_distant_mips ahead of fit_decoded_neighbors so mixed-codec BC6H and BC7 streams fit directly against lossless raw/zlib mips across multi-level distances before iterative BCPack sibling decoding, eliminating all 10 remaining BC6H stream refusals on 1.0.2.1 (210 -&gt; 226/256 endpoints, 249 -&gt; 251/256 indices) and cutting fit_decoded_neighbors runtime by 46%.
</content>
</entry>
<entry>
<title>Merge #2124 from QemmHD: reads into physical pages wait for the title's Submit (DSTORAGE-HOLD-PAGE-READS)</title>
<updated>2026-11-26T14:17:29+00:00</updated>
<author>
<name>Jan Trencansky</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-26T14:17:29+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=cb825bb786b4db6dd5f6119de024c50f118e5b73'/>
<id>urn:sha1:cb825bb786b4db6dd5f6119de024c50f118e5b73</id>
<content type='text'>
Head 6b09de493.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>dstorage history: fit packed tails against decoded BCPack siblings</title>
<updated>2026-11-26T14:07:52+00:00</updated>
<author>
<name>Jan Trencansky</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-26T06:40:27+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=2a491668a5afcb8bd1d9208d3b9ad0178df72e28'/>
<id>urn:sha1:2a491668a5afcb8bd1d9208d3b9ad0178df72e28</id>
<content type='text'>
The predictor profile fits a history field only from a stream with a raw or
zlib sibling mip. A BC7 texture whose mip 1 and packed tail share one BCPack
stream has none for the tail, so history fields that only such tails use
stayed unknown and the runtime refused the stream with missing-endpoint
(E_DSTORAGE_DECOMPRESSION_ERROR) on every game run.

fit_decoded_neighbors decodes the nearest BCPack sibling with the profile so
far, also inside a stream the decoder refuses (blocks whose chains start at an
unknown field are left out of the reference), and fits the streams that still
reference missing fields. Only empty fields are filled, never as confirmed.

On the local package the BC7 endpoint fields go from 4228 to 4406 of 6144 and
the runtime decoder refuses 8 of 5167 BC7 streams instead of 60; both request
shapes that failed in game runs decode. BC6H is unchanged (10 of 268).

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>tools/dstorage: fit missing BPTC history slots across multi-level sibling mips</title>
<updated>2026-11-26T09:49:30+00:00</updated>
<author>
<name>Zack</name>
<email>zmasi21@gmail.com</email>
</author>
<published>2026-11-26T09:49:30+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=16a95502a2ff4eae321718d3aebf4f0c40452cbb'/>
<id>urn:sha1:16a95502a2ff4eae321718d3aebf4f0c40452cbb</id>
<content type='text'>
When a BC6H or BC7 stream still references an unfitted built-in predictor slot after adjacent-mip fitting, pair its mips with the closest raw or zlib mip on the same layer across multi-level mip distances before running the full-stream constraint pass. Existing adjacent-mip, array, and cubemap fits keep precedence.
</content>
</entry>
<entry>
<title>dstorage: reads into physical pages wait for the title's Submit</title>
<updated>2026-11-25T21:35:47+00:00</updated>
<author>
<name>QemmHD</name>
<email>290605352+QemmHD@users.noreply.github.com</email>
</author>
<published>2026-11-25T21:05:35+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=6b09de493cef367f2fd48c1e73583a277732c9ff'/>
<id>urn:sha1:6b09de493cef367f2fd48c1e73583a277732c9ff</id>
<content type='text'>
A queue with auto-submit on submits itself once the entries enqueued
since the last submit reach half its capacity. A request whose
destination is a physical page list names its pages through
DestinationPageArray, a pointer into the title's own page-number table,
and the worker reads that table only when the request runs
(page_transfer). The title fills the page table just before Submit. So a
read started by the self-submit found page 0 (the entry failed) or the
number the slot held before (the data landed in a page that now belongs
to something else, with no error).

A self-submit now stops at the first read into physical pages. That read
and every entry behind it wait for the title's Submit, in order, so a
status entry, fence or event behind a held read still comes after it. A
full queue submits the held entries too, since the title cannot call
Submit while it waits in an enqueue. Close submits everything, as
before. A hold also ends after LEONIDA_DSTORAGE_HOLD_MS (2000 ms unless
set; 0 means no limit), so a path that never calls Submit cannot stall
for good. LEONIDA_DSTORAGE_HOLD_PAGES=0 restores the old self-submit of
everything.

"[rt] ds-hold" counts self-submits, held reads, full-queue and timed
releases, and destination lists that named page 0 when written. It is
printed at each power of two of the counter that moved
(runtime/src/dstorage_hold.h).

The idea is from Marvisak/VIctory eddde73; it also appears in
fxceless/victory-fork 79cfdd9. Written anew for this queue.

Test: dstorage_test, test_page_reads_wait_for_submit: a list changed
between the self-submit and Submit, a list still empty at the
self-submit, a full queue, the default and an explicit time limit, no
limit, the switch, and the page-0 counter.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01SR1Fv7eQNgZjM6miWPKjHf
</content>
</entry>
<entry>
<title>docs(directstorage): measured factory IID and SetStagingBufferSize slot</title>
<updated>2026-11-25T15:42:30+00:00</updated>
<author>
<name>robot00f</name>
<email>robot00f@users.noreply.github.com</email>
</author>
<published>2026-11-24T17:01:13+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=6be061761d3532d102b457f6772ed277b7dfa931'/>
<id>urn:sha1:6be061761d3532d102b457f6772ed277b7dfa931</id>
<content type='text'>
Records the one DStorageGetFactory call site (RT-5): the import comes from XCRDAPI.dll, RCX is the id address {62959D11-D45F-4884-A0A3-F7862EA243AE} at 0x1462FC7D8, RDX is the out pointer at 0x1478F5E78, and the object's slot 8 (call [rax+0x40]) takes 0x02000000 and checks the HRESULT sign.

PC dstorage.h puts SetDebugFlags at slot 6 and SetStagingBufferSize at slot 7, so SetStagingBufferSize at slot 8 confirms one console-only method (SetCpuAffinity) sits alongside the shared SetDebugFlags at slots 6 and 7 while their relative order stays a guess; the module is now measured instead of a name from a library list.

Claimed in ubiquitarianism/leonida#14 (item DSTORAGE-FACTORY-MEASURED).

AI-assisted: yes (Antigravity)
</content>
</entry>
<entry>
<title>dstorage: rebuild a BC6H/BC7 request with a few lost blocks instead of failing it (BCPACK-LOST-BLOCK-LIMIT)</title>
<updated>2026-11-25T09:20:30+00:00</updated>
<author>
<name>kawaii-shakal</name>
<email>deusex1998@gmail.com</email>
</author>
<published>2026-11-25T09:20:30+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=7b251064ade817ade05a1bfe40d160558ac62604'/>
<id>urn:sha1:7b251064ade817ade05a1bfe40d160558ac62604</id>
<content type='text'>
A fitted BPTC request whose predictor chains reach a history entry the
local profile does not know was refused once more than max(2, blocks/1024)
blocks were affected, leaving the whole destination untouched. On the
1.0.2.1 package two BC7 requests fail this way at every boot, with one
unknown endpoint entry each (5 of 1,536 and 15 of 768 blocks).

bcpack::decode gets a separate limit for these lost blocks (lost_divisor,
1024 by default, as before) and an optional Report with the block and
lost counts. DirectStorage passes 32 (LEONIDA_DSTORAGE_LOST_DIVISOR) and
logs each approximated request. Inconsistent blocks keep the 1-in-1,024
limit; strict mode refuses any lost block.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
