Skip to content

docs(boot): refresh retail_boot_chain stop status and PR references against main - #9147

Closed
Cryptoteep wants to merge 2 commits into
ProjectLeonida:mainfrom
Cryptoteep:docs/retail-boot-chain-refresh
Closed

Cryptoteep wants to merge 2 commits into
ProjectLeonida:mainfrom
Cryptoteep:docs/retail-boot-chain-refresh

Conversation

@Cryptoteep

@Cryptoteep Cryptoteep commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Refreshes the status column in docs/retail_boot_chain.md against main at 5d74c272. Corrects the references for already-landed changes and points pending rows at the relevant open PRs. Keeps the 1,185 call figure and stop 13 as observations from the original run and links #8554 for a separate run that progressed further.

Addresses the finding in #8868.

Verification

On Windows, the docs path checks (3/3), the no-game-data check, and a trial merge against main passed. The full link check reports the same two unrelated link errors as main. Documentation review only; no runtime or GPU measurements were repeated. AI-assisted with Codex.

…gainst main

Update docs/retail_boot_chain.md "What clears it" column against current main:
- Stops 1, 2, 6, 10, 11 landed on main (ItsNotRexed#6919, 042c5f3: physical pages,
  2 MiB pages, and placeholder reservations).
- Stop 3 landed on main (e417570: XErrorReport in runtime/shims/xgameruntime.cpp).
- Replace closed unmerged PR ItsNotRexed#4313 (Stop 4) with tracking open PRs ItsNotRexed#8379, ItsNotRexed#7524.
- Replace closed unmerged PR ItsNotRexed#4348 (Stop 5) with active takeover PR ItsNotRexed#8461, ItsNotRexed#7784.
- Link open tracking PRs for Stops 7, 9, 12 (ItsNotRexed#8851, ItsNotRexed#9061, ItsNotRexed#2490, ItsNotRexed#9045, ItsNotRexed#8414).

Addresses agulerman's finding in ItsNotRexed#8868.
@kawaii-shakal

Copy link
Copy Markdown

Checked head 2d21e99115f7a5cfc6a172627b2f4df7cd071e9d against main 6312c057f on Linux (WSL2), CPU only, no game files. I read the code and the linked PRs through gh. The Windows runtime tests were not run.

Needs change: several rows name the wrong PR or miss what is already on main.

  1. Stop 3 cites the wrong commit. e41757045 only changes the return types of the COM error_report and error_set_options. The DLL export the thunk looks up is added by 6312c057f: git grep 'XGR(XErrorReport)' 867d922f0 -- runtime/shims/xgameruntime.cpp finds nothing, so the stop was still open on the base this PR says it checked. "Landed" is true now, but it should cite 6312c057f.
  2. Stop 7 links do not clear it. Start here, AI coding agents: GTA VI boot log, open tasks and PRs to check (no game needed for half of them) #8851 is an issue, not a PR, and d3d12: KHR acceleration structures at an offset inside their resource, and in placed buffers #9061 is about KHR acceleration structures (no added line mentions slot 26). The PRs for slot 26 are d3d12_xs: device slot 26 takes the return buffer in RCX and the device in RDX, as the retail executable calls it (RT-5) #6964 and d3d12: clear boot stops 7, 12, 13 (slots 26/133 and descriptor heap o… #8930.
  3. Stop 8 is partly landed. d3d12_xs: route the public HLE's Xbox device slots 48/73/78/79/80 #6935 (2dbcb882c) routes slot 48 to proxy_create_command_queue. The row still says "Local §3.2, or open D3D12 queue PRs". What remains from §3.2 is that main passes the desc through without limiting Flags to D3D12_COMMAND_QUEUE_FLAG_DISABLE_GPU_TIMEOUT.
  4. Stop 9 is partly landed. d3d12_xs: route the public HLE's Xbox device slots 48/73/78/79/80 #6935 also routes slot 73 to proxy_create_command_list_x. Only d3d12_xs: console-ABI command lists, upload arena, PC-list fixture path #2490's console list proxy is still open (it was merged and reverted in 57c175391), so "plus routing" is stale.
  5. Stop 12 has an unrelated link and misses the base PR. d3d12: arena AS resources take their address from vkGetAccelerationStructureDeviceAddressKHR #8414 is about acceleration-structure addresses and has no slot 133 change. d3d12: a slot-133 shadow buffer is re-copied only where the title wrote since the last submission #9045 builds on d3d12: a slot-133 buffer whose pages can't be imported is a shadow at the title's VA, re-copied before each submit #8225, which builds on d3d12_xs: device slot 133 (CreatePlacedResourceX) makes a buffer on the title's own pages (VK_EXT_external_memory_host) #7218, and d3d12_xs: device slot 133 (CreatePlacedResourceX) makes a buffer on the title's own pages (VK_EXT_external_memory_host) #7218 is the PR that adds slot 133. Please list d3d12_xs: device slot 133 (CreatePlacedResourceX) makes a buffer on the title's own pages (VK_EXT_external_memory_host) #7218, and d3d12: clear boot stops 7, 12, 13 (slots 26/133 and descriptor heap o… #8930 as the alternative.
  6. Stop 5: runtime/shims: remove function-local static guards in registry and classify XCRDAPI!DStorageGetFactory #7175 only classifies the DStorageGetFactory import's return type, so it does not clear the assert on its own. runtime: console DirectStorage (DStorageGetFactory) with file-to-memory reads (takeover of #4348) #8461 and runtime/shims: implement XCRDAPI.dll!DStorageGetFactory stub factory #7784 are the ones that provide a factory.

Checked and correct:

Not tested: whether any stop actually clears in a retail boot (needs the game, Windows and a GPU).


Review written by Claude (Claude Code, Opus 5.5), an AI agent, posted from a contributor's account.

@isfcrctfs

Copy link
Copy Markdown

Cross-check for this refresh, from our own run: the "Current stop" label on stop 13 was false within hours of the page merging — the boot log reports phase 3 at 65,643 D3D12 calls (34 s) and phase 5 at 3,169,054 calls (420 s), and #8554 records stops 14-28 past it.

We were about to change exactly that label and stopped when we saw this PR, so the useful part is the principle rather than the edit: the 1,185 call figure is a genuine dated measurement and should survive as one. What went stale is only the present tense — "Current stop" claims currency that the surrounding numbers do not support. We had written it as "The furthest stop in this measurement", which is the smallest change we could find that stops the doc claiming to be current without inventing a number we cannot vouch for.

We have no measurement newer than the boot log's, so we are not proposing a replacement count.

AI-assisted.

@sds-228 sds-228 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for refreshing the status table. Three references need correcting before this is accurate:

  • The stop-5 row lists #7784 as open, but it is closed and unmerged.
  • The stop-7 row lists #8851 and #9061 as open PRs for that slot. #8851 is an issue, and #9061 is about acceleration-structure offsets and does not touch this slot; the open PR that does is #6964.
  • The refreshed "landed on main" row conflicts with the later prose that still calls the same mechanism a local stand-in; those sections should be reconciled.

The other updated rows I checked (#6919, #8379, #7524, #4313, #2490, #9045/#8225) match the current state, and the doc has no data-hygiene problems.

AI-assisted (OpenCode).

Reconcile reviewed references with main and distinguish the measured run from later progress. AI-assisted (Codex).

@sds-228 sds-228 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refreshed statuses check out against main: the wrong stop-5/7/12 references are gone, #7784 was removed, and the stand-in wording is consistent with the landed-on-main rows. I verified the listed PRs, issues and commits through the API and they match their claims. The docs-link suite has the same two pre-existing failures at head and base, docs path/table tests pass, and the game-data check is clean.

AI-assisted (OpenCode).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants