Skip to content

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

Open
DesertGamer wants to merge 4 commits into
ProjectLeonida:mainfrom
DesertGamer:docs/retail-boot-main-rtx5070
Open

DesertGamer wants to merge 4 commits into
ProjectLeonida:mainfrom
DesertGamer:docs/retail-boot-main-rtx5070

Conversation

@DesertGamer

@DesertGamer DesertGamer commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

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

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):

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

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.

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 ProjectLeonida#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.
@roanh47

roanh47 commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

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.

@aslan2142

Copy link
Copy Markdown
Collaborator

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).

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.

3 participants