Repository navigation
Conversation
…ugh a V# outside the arena (RT-753) Records why the title's one back-buffer draw writes no pixel once the frame loop runs: its vertex shader takes its transform through a V# whose base is in the title's own memory, which heap_base cannot reach (D3D-53). Also records that RADV under Wine refuses to import slot 133's section-backed pages, and that ItsNotRexed#8225's shadow gets the lists submitted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Tested 1e748cc on Linux, Python 3.14.4: pass
git merge-tree with #8166 conflicts: both change the last sentence of section 4 ("Nothing has reached a draw or a present yet"), and #8166 adds a section 5 after it. Worth a Depends on line so the second one rebases. |
Author
|
@YordiLorenzo thanks, added |
Contributor
tibzejoker
pushed a commit
to tibzejoker/Leonida
that referenced
this pull request
Nov 23, 2026
…ugh an arena window A root view or buffer V# may name the title's own memory outside any slot-133 buffer (a per-frame constant ring, ItsNotRexed#8862 section 3.5). The layer now makes a 64 KiB-aligned window of those pages in the GPU address arena, copies it before every submission like a slot-133 shadow, and names that copy instead: for root views when set, for V#s the layer writes, and for buffer V#s the title writes into a bound CBV/SRV/UAV table itself, rewritten in place before each submission. Counters per kind, LEONIDA_TITLE_WINDOWS_MB caps the windows (64 MiB). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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: RT-753 (#8047 (comment); finding #8683 (comment))
Depends on: #8166 (both change section 4's last sentence of
docs/retail_boot_chain.md; whichever lands second rebases)What and why
RT-753 asked why the title's one UI draw writes nothing once a cleared colour reaches
PresentX. This records the measured answer indocs/retail_boot_chain.md, as a new section 3.5, and updates section 4's "nothing has reached a draw or a present yet":SetGraphicsRootDescriptorTable, the table in the title's own heap). The V#'s base is in the title's own memory, not in the BDA arena, and not inside the slot-133 buffer. The translated shader addsheap_baseto it, the case D3D-53 indocs/d3d12_vulkan.mdalready measured as unreachable for a V#, so every vertex collapses.OpKillreplaced byOpReturn.VirtualAllocmemory), so nothing is submitted without a shadow; 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's shadow gets the lists submitted.Docs only. The fix itself is the single-address-space item @Etr0p claimed in #8683.
Tested
python3 -I tests/test_docs_list_items.py,test_docs_repo_paths.py,test_docs_repeated_lines.py,test_docs_env_vars.py,test_docs_table_ids.py: OK.test_docs_links.pyfails onmaintoo (docs/dev-tools.md), unchanged by this.python3 -I scripts/check_no_game_data.py docs/retail_boot_chain.md: exit 0.gta6rt --runwithLEONIDA_D3D12=vulkanand the game shaders translated, on a local integration of the open boot-path PRs plus local diagnostics (not part of this PR). The RADV import refusal was also reproduced with a synthetic test, no game data (posted in Coordinating who works on what (52) (moved to #8683) #8504).AI-assisted: yes (Claude Code)
Checklist
docs/design.md, with how it was confirmed. (n/a: docs only)🤖 Generated with Claude Code