Repository navigation
boot.md: first-boot runbook fixes; boot_trace marks relocated modules in its text report - #5794
lines9686-rgb wants to merge 1 commit into
Conversation
… in its text report - Where gta6rt.exe is: runtime\build with build_runtime.ps1 (Ninja), runtime\build\RelWithDebInfo with the direct CMake (Visual Studio generator) path. - Without LEONIDA_D3D12=vulkan the trace is not empty: the Xbox-ABI proxy still records device creation, queue, fence and allocator calls. Say so, and to check the log for "[rt] d3d12: Vulkan device:". - The runtime writes no "partial" outcome yet (ExecuteCommandLists records ok or failed); only the tool knows it. - --overlay: the default is already <game-dir>\overlay; the package is never written. - d3d12_vulkan.md 8.2 no longer repeats questions 16, 19 and 20. - Triage step 1 asks whether the executable is at its preferred base, but the text report printed module names only; it now marks a relocated module. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Kam471
left a comment
There was a problem hiding this comment.
Head: 9f3173b.
python -I -m pytest tests/test_boot_trace.py -q-> 20 passed, 10 subtests. Docs tests -> 5 passed.- Text report:
modules (2): game.exe, x.dll (relocated);tools/boot_trace.py ... --jsonexits 0 and the summary parses. A proxy-only log (D3D12XboxCreateDevice,ExecuteCommandLists) summarizes as2 call(s) ... ok 2. - Verified against code:
runtime\build\gta6rt.exefrombuild_runtime.ps1;--traceEEXIST -> exit 2 (main.cpp); overlay defaults to<game-dir>/overlay; no runtimepartial(ExecuteCommandLists recordsok/failed,d3d12_com.cpp:1396);[rt] d3d12: Vulkan device:exists; proxy records device creation plus queue/fence/allocator, not device-slot calls. - Nit:
parse_d3d12's zero-line error still asks “with the Vulkan device enabled?”, although the new text says a no-Vulkan log is valid.
Verdict: approve; the runbook changes match the code and the relocation mark works.
|
Tested 9f3173b merged with main 561b65a on Ubuntu (WSL2) / Python 3.12.16: pass tests/test_boot_trace.py: 20 run, 20 passed, 0 failed; all 11 tests/test_docs_*.py pass (cli_flags, design_rows, env_vars, links, list_items, pr_template, python_deps, repeated_lines, repo_paths, table_ids, table_rows). Negative control: with tools/boot_trace.py from main, the changed assertion |
Item: new finding, claimed in #5781 (#5781 (comment)). Depends on: none.
docs/boot.mdis about to be used for real, so I checked every command, switch, variable and trace outcome in it against the code on main561b65a8.Docs
gta6rt.exeis. The commands useruntime\build\gta6rt.exe, which is wherescripts\build_runtime.ps1(Ninja) puts it. runtime/README's direct CMake path uses the Visual Studio generator and writesruntime\build\RelWithDebInfo\gta6rt.exe; the runbook now says so.LEONIDA_D3D12=vulkan(or with a runtime built without Vulkan headers, which accepts the variable silently) the Xbox-ABI proxy still writes[d3d12-trace]lines for device creation and the queue/fence/allocator slots (d3d12_xs.cpp,d3d12_xs_device.cpp), andboot_trace.pysummarizes them. The runbook said the trace would be empty; it now names the[rt] d3d12: Vulkan device: <name>line to check for. Same fix in §6 Limits.partial. The runtime does not write apartialoutcome:ExecuteCommandListsrecordsokorfailed("nothing was submitted"). 458b107 taughtboot_trace.pyand the docs the word, not the runtime. Step 6 now describes what the runtime writes and notes that the tool also knowspartial.--overlay: the default is already<game-dir>\overlay, and the package is never written; the switch is for a read-only package drive.d3d12_vulkan.md§8.2 repeats questions 16, 19 and 20; it no longer does.Tool
relocated: false), but the text report printed only module names (relocatedwas in--jsononly). The modules line now marks a relocated module:game.exe, x.dll (relocated).tests/test_boot_trace.pychecks it; it fails with the tool change reverted.Left out: the missing
LEONIDA_SHADERSstep, which #5313 adds. #5313, #5330, #5367 and #4695 edit neighbouring lines of the same paragraphs, so whichever lands second needs a small text merge; nothing here contradicts them.Tested: Windows 11 (26200), Python 3.12:
tests/test_boot_trace.py20 OK (1 failure with the tool line reverted), alltests/test_docs_*.pyOK,git diff --checkclean. Also ran the freshly builtgta6rt.exeagainst a missing file, a non-PE file and a Cyrillic path: each is one clearerror:line. No game files. AI-assisted (Claude Code).🤖 Generated with Claude Code