docs: the retail boot on plain main with an RTX 5070 (DOC-BOOT-MAIN-RTX5070) #629

Open
github-bot wants to merge 4 commits from github-bot/gh-629 into main AGit
Owner

@⁠DesertGamer on GitHub · 2026-11-24 10:16 UTC · original
DesertGamer:docs/retail-boot-main-rtx5070 → main · +104 −0 · 2 files · 4 commits · open

Claimed in the coordination issue as: DOC-BOOT-MAIN-RTX5070 (#14)

What and why

docs/retail_boot_chain.md and docs/retail_boot_intel_host.md measure the retail boot on an RTX 4090 and on an
Intel host, both with pull requests merged locally. There is no measurement of plain main on an RTX 5070.

This adds docs/retail_boot_main_rtx5070.md (and its row in docs/README.md), measured with the Vulkan device (every
run logs Vulkan device: NVIDIA GeForce RTX 5070):

  • main 21625bca8: --run stops at the title's int3 after 13 D3D12 calls; call #13, CreateCommandList, failed
    (stop 9, device slot 73).
  • main + #601: the boot goes on for 1,639 calls (1,619 ok) and stops at an int3 in another place of the title; the
    last call is CreateUnorderedAccessView.
  • main + #601 + #417: the same 1,639 calls as with #601 alone.
  • main + #601 + #417 with the translated shaders and LEONIDA_SKIP_INT3=1 (two runs): both log the root signature
    refusal (root parameter 8 does not fit in the user SGPRs, the one the finding: about the embedded
    XboxBvhBuilder.dll shaders describes). The run on the finished shader folder goes on to 1,655 calls and ends on an
    access violation in the title; the earlier run on a folder still being completed ended at 1,639 calls. The page says
    that it did not isolate why the two differ.

The page also records that without Vulkan headers CMake only warns and the build still succeeds, so
LEONIDA_D3D12=vulkan is then ignored. An earlier version of this page came from runs like that and was wrong; this
version replaces it after a rebuild with VULKAN_SDK set.

Slot numbers, counts and log classes only: no addresses, offsets, IID values or bytes of the executable, and the
traces stay outside the repository.

Tested

  • Measured on my own 1.0.2.1 copy: make_game.py --stages check,shaders,runtime, then gta6rt --dry-run, --init and
    --run --trace --trace-d3d12 with LEONIDA_D3D12=vulkan and --overlay, on main, main + #601 and
    main + #601 + #417 (merged locally, one run each, plus the two shader runs above); tools/boot_trace.py summarized the runs.
  • python -I scripts/check_no_game_data.py on both files, and every tests/test_docs_*.py, pass.
  • Windows 11 build 26200, AMD Ryzen 7 7800X3D, NVIDIA GeForce RTX 5070 (Windows driver 32.0.16.1714).
  • Docs only; no code changed.

GPUs tested: NVIDIA GeForce RTX 5070, Windows driver 32.0.16.1714, Windows 11 (the layer logs it as the Vulkan
device; the AMD integrated GPU was not used)

AI-assisted: yes (Claude Code, Sonnet 5.5)

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed.
**@⁠DesertGamer** on GitHub · 2026-11-24 10:16 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/629) `DesertGamer:docs/retail-boot-main-rtx5070` → `main` · +104 −0 · 2 files · 4 commits · open Claimed in the coordination issue as: DOC-BOOT-MAIN-RTX5070 (https://git.gtahub.st/github/ubiquitarianism--leonida/issues/14) ### What and why `docs/retail_boot_chain.md` and `docs/retail_boot_intel_host.md` measure the retail boot on an RTX 4090 and on an Intel host, both with pull requests merged locally. There is no measurement of plain `main` on an RTX 5070. This adds `docs/retail_boot_main_rtx5070.md` (and its row in `docs/README.md`), measured with the Vulkan device (every run logs `Vulkan device: NVIDIA GeForce RTX 5070`): - `main` `21625bca8`: `--run` stops at the title's `int3` after 13 D3D12 calls; call #13, `CreateCommandList`, failed (stop 9, device slot 73). - `main` + #601: the boot goes on for 1,639 calls (1,619 ok) and stops at an `int3` in another place of the title; the last call is `CreateUnorderedAccessView`. - `main` + #601 + #417: the same 1,639 calls as with #601 alone. - `main` + #601 + #417 with the translated shaders and `LEONIDA_SKIP_INT3=1` (two runs): both log the root signature refusal (`root parameter 8 does not fit in the user SGPRs`, the one the `finding:` about the embedded `XboxBvhBuilder.dll` shaders describes). The run on the finished shader folder goes on to 1,655 calls and ends on an access violation in the title; the earlier run on a folder still being completed ended at 1,639 calls. The page says that it did not isolate why the two differ. The page also records that without Vulkan headers CMake only warns and the build still succeeds, so `LEONIDA_D3D12=vulkan` is then ignored. An earlier version of this page came from runs like that and was wrong; this version replaces it after a rebuild with `VULKAN_SDK` set. Slot numbers, counts and log classes only: no addresses, offsets, IID values or bytes of the executable, and the traces stay outside the repository. ### Tested - Measured on my own 1.0.2.1 copy: `make_game.py --stages check,shaders,runtime`, then `gta6rt --dry-run`, `--init` and `--run --trace --trace-d3d12` with `LEONIDA_D3D12=vulkan` and `--overlay`, on `main`, `main` + #601 and `main` + #601 + #417 (merged locally, one run each, plus the two shader runs above); `tools/boot_trace.py` summarized the runs. - `python -I scripts/check_no_game_data.py` on both files, and every `tests/test_docs_*.py`, pass. - Windows 11 build 26200, AMD Ryzen 7 7800X3D, NVIDIA GeForce RTX 5070 (Windows driver 32.0.16.1714). - Docs only; no code changed. GPUs tested: NVIDIA GeForce RTX 5070, Windows driver 32.0.16.1714, Windows 11 (the layer logs it as the Vulkan device; the AMD integrated GPU was not used) AI-assisted: yes (Claude Code, Sonnet 5.5) ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed.
retail_boot_chain.md and retail_boot_intel_host.md measure trees with pull
requests merged locally. This page records plain main: --dry-run and --init
exit 0, and --run stops at the title's int3 right after the first device
slot 73 call, with one D3D12 call recorded and the runtime's allocator-proxy
warning printed before it.

Only slot numbers, counts and log classes are given; the page lists what the
single run does not show.
The page named the unwrapped-allocator warning as the likely cause. Reading
proxy_create_command_list_x shows slot 73 passes the title's riid to the PC
CreateCommandList and clears the output pointer on failure, which is what the
open pull requests on the console command-list IID describe; the allocator
warning comes from slot 9 and is not the cause.

Also record the LEONIDA_SKIP_INT3=1 run (the int3 is stepped over, then a read
from address 0 in the same function) and say that the exit codes are what the
shell reported.
The runs behind the first version were made with a gta6rt built without
Vulkan headers, so LEONIDA_D3D12=vulkan was ignored and the title ran on the
host's D3D12 device. The page now reports runs of a rebuilt binary that logs
the Vulkan device: main stops after 13 D3D12 calls at a failed
CreateCommandList, and with #601 the boot goes on for 1,639 calls.

It also records that CMake only warns when the Vulkan headers are missing.
The page stated that 26,503 shaders were translated from a log line that only
counted the shaders to translate. It now cites the finished build (exit 0, the
merged index of 26,503 entries) and adds two runs with translated shaders and
LEONIDA_SKIP_INT3=1: both log the root signature refusal, and the run on the
finished folder goes on to 1,655 D3D12 calls before an access violation in the
title. The two runs differ and the page says that it did not isolate why.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:12:43 +00:00
Author
Owner

@⁠roanh47 on GitHub · 2026-11-24 11:09 UTC · original

Confirmed on a second Windows setup: Windows 11 Pro 10.0.26300, NVIDIA GeForce RTX 3070 (NVIDIA 610.88), MSVC 19.44, main 21625bca8.

gta6rt --run stops after 13 D3D12 calls; call #13 ID3D12Device::CreateCommandList fails, followed by the title's int3. This matches the RTX 5070 Stop 9 result in this PR. No game data or addresses are included; traces stayed local.

**@⁠roanh47** on GitHub · 2026-11-24 11:09 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/629#issuecomment-7129725933) Confirmed on a second Windows setup: Windows 11 Pro 10.0.26300, NVIDIA GeForce RTX 3070 (NVIDIA 610.88), MSVC 19.44, `main` `21625bca8`. `gta6rt --run` stops after **13 D3D12 calls**; call #13 `ID3D12Device::CreateCommandList` fails, followed by the title's `int3`. This matches the RTX 5070 Stop 9 result in this PR. No game data or addresses are included; traces stayed local.
Author
Owner

@⁠aslan2142 on GitHub · 2026-11-25 19:43 UTC · original

This page measures main at 21625bca8 (stop 9) and with #601. Since then, #359 (slot 73) has been merged and #601 has been closed, so sections 1–3 describe a tree that no longer exists. Could you re-measure on current main, or close this?

AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠aslan2142** on GitHub · 2026-11-25 19:43 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/629#issuecomment-7172693952) This page measures `main` at `21625bca8` (stop 9) and with #601. Since then, #359 (slot 73) has been merged and #601 has been closed, so sections 1–3 describe a tree that no longer exists. Could you re-measure on current `main`, or close this? AI-assisted (Claude Code, Claude Opus 5.5).
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/629/head:github-bot/gh-629'
git switch 'github-bot/gh-629'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-629'
git switch 'github-bot/gh-629'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-629'
git switch 'github-bot/gh-629'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-629'
git switch 'main'
git merge --squash 'github-bot/gh-629'
git switch 'main'
git merge --ff-only 'github-bot/gh-629'
git switch 'main'
git merge 'github-bot/gh-629'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.