Repository navigation
docs: the retail boot on plain main with an RTX 5070 (DOC-BOOT-MAIN-RTX5070) - #629
Open
DesertGamer wants to merge 4 commits into
Open
DesertGamer wants to merge 4 commits into
DesertGamer wants to merge 4 commits into
Conversation
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.
Contributor
|
Confirmed on a second Windows setup: Windows 11 Pro 10.0.26300, NVIDIA GeForce RTX 3070 (NVIDIA 610.88), MSVC 19.44,
|
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claimed in the coordination issue as: DOC-BOOT-MAIN-RTX5070 (#14 (comment))
What and why
docs/retail_boot_chain.mdanddocs/retail_boot_intel_host.mdmeasure the retail boot on an RTX 4090 and on anIntel host, both with pull requests merged locally. There is no measurement of plain
mainon an RTX 5070.This adds
docs/retail_boot_main_rtx5070.md(and its row indocs/README.md), measured with the Vulkan device (everyrun logs
Vulkan device: NVIDIA GeForce RTX 5070):main21625bca8:--runstops at the title'sint3after 13 D3D12 calls; call tests: give the camera vm context the globals the viewer uses at load #13,CreateCommandList, failed(stop 9, device slot 73).
main+ d3d12_xs: answer the console command-list IID at device slot 73 (RT-XS-LIST-X-IID) #601: the boot goes on for 1,639 calls (1,619 ok) and stops at anint3in another place of the title; thelast call is
CreateUnorderedAccessView.main+ d3d12_xs: answer the console command-list IID at device slot 73 (RT-XS-LIST-X-IID) #601 + xmem: commits into placeholder windows, title page-size bits, window release (RT-XMEM-WINDOWS) #417: the same 1,639 calls as with d3d12_xs: answer the console command-list IID at device slot 73 (RT-XS-LIST-X-IID) #601 alone.main+ d3d12_xs: answer the console command-list IID at device slot 73 (RT-XS-LIST-X-IID) #601 + xmem: commits into placeholder windows, title page-size bits, window release (RT-XMEM-WINDOWS) #417 with the translated shaders andLEONIDA_SKIP_INT3=1(two runs): both log the root signaturerefusal (
root parameter 8 does not fit in the user SGPRs, the one thefinding:about the embeddedXboxBvhBuilder.dllshaders describes). The run on the finished shader folder goes on to 1,655 calls and ends on anaccess 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=vulkanis then ignored. An earlier version of this page came from runs like that and was wrong; thisversion replaces it after a rebuild with
VULKAN_SDKset.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
make_game.py --stages check,shaders,runtime, thengta6rt --dry-run,--initand--run --trace --trace-d3d12withLEONIDA_D3D12=vulkanand--overlay, onmain,main+ d3d12_xs: answer the console command-list IID at device slot 73 (RT-XS-LIST-X-IID) #601 andmain+ d3d12_xs: answer the console command-list IID at device slot 73 (RT-XS-LIST-X-IID) #601 + xmem: commits into placeholder windows, title page-size bits, window release (RT-XMEM-WINDOWS) #417 (merged locally, one run each, plus the two shader runs above);tools/boot_trace.pysummarized the runs.python -I scripts/check_no_game_data.pyon both files, and everytests/test_docs_*.py, pass.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
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed.