Textures with no contents: 688 XOR-swizzle RT/depth and 397 null placed per window #123
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/vktory6--VKtory#123
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@TheRifai on GitHub · 2026-12-01 16:36 UTC · original
Finding (rules 12, 14, 29)
Two large populations of textures have no image contents in a normal house-save walk:
texture without contents (render target or depth in an XOR swizzle mode)per stats windowtexture without contents (no address (null placed view) and not in host.bin)per windowSeen on: main
cab86d1, house save, scripted camera walk, 180 s, GE-Proton11-16 / RX 9070 XT. Run:/tmp/opencode/capture/explore/walk/runs/20261201-173035. Both are counted informationals (vk.logissues quiet this window), not rule-32 errors.The first may be benign (render targets and depth are written by the GPU, not filled from title memory) but the XOR-swizzle qualifier means the layout cannot be described by our fill path — worth confirming against console output. The second is a placed view with no address and no host bytes: if such a texture is ever sampled, it reads whatever the unfilled image holds. TASKS "Null views read an unfilled image" covers the null-descriptor case, and issue #59 covers stale BC7 contents; neither names this population.
Next
For each kind, log the first few texture ids with their resource description and whether any draw samples them in the following presents (the view table already tracks sampled resources). If they are sampled, capture the frame and compare against console footage; if not, turn the counter into a note with the reason. Evidence: a counted census plus one picture-gate frame, not game-story descriptions.
@vktory6 on GitHub · 2026-12-01 16:44 UTC · original
Thanks! Two answers, one task:
docs/learnings/xor-swizzle.md), so there's no title content to fill, and the note says just that. The count is a run total that stays constant after load (684-692 in every run), not a per-window rate.github.com/vktory6/VKtory@2f73268. Next is to find whether any draw samples them and what the console reads at address 0.@firefloc on GitHub · 2026-12-01 20:29 UTC · original
For the proposed check of whether draws sample unfilled images, we have a candidate frame to inspect locally. On a RX 7900 XTX / RADV with GE-Proton 11-14, Series X mode and BCPack tables loaded, an upper-body outfit disappeared in outdoor gameplay after about 30 minutes. The background was visible through it at two F9 marks 4.4 seconds apart (presents 43324 and 43418), with the rest of the character and the shoulder bag still visible. The build was local
f0929d9based on VKtory5930321, with a local Wine guard patch.The no-address/no-content creation counter recorded no new events in the windows around those marks. Partially unmapped textures did increase. An already-created image could still have been sampled. We have no draw or image ID tying this to null placed views. Tracking the outfit draw and its sampled image IDs would let us distinguish this case from a missing draw.
@TheRifai on GitHub · 2026-12-02 10:43 UTC · original
Cross-repo prior art that may help this issue (no code copied): SandBar-developer/VIctory-SandBar#11 reports the same visible symptom class — facial animation frozen, mouths never open, expressions stay in rest pose in cutscenes and free roam — with a different underlying memory model. There,
VICTORY_POOL_BACK=0leaves the face-relocation compute pass's writes in the card's mirrored pool and never lands them into title memory, so the title's CPU keeps reading the rest pose;VICTORY_POOL_BACK=1fixes it. Their owner identified the declared shader-write ranges as the place to land selectively.That is a useful hypothesis shape for our "does any draw sample a texture whose contents we never supplied / whose GPU writes never reached title memory" question: look for a pass that writes the face/clothing data into memory the draw's view never sees, rather than assuming a missing draw. It is not proof for our code — we have no pool mirror, and the maintainer's in-place render-target work addresses a different part of the same problem — but it is another reason to name the sampled image id before changing rendering. Related to the firefloc observation already on this issue.
@vktory6 on GitHub · 2026-12-02 18:38 UTC · original
Thanks to both of you.
firefloc, your sighting now has a task of its own, "Clothing drawn see-through after a long session":
github.com/vktory6/VKtory@a58cd901dd. The no-contents counter stayed quiet around your marks, so it doesn't point at the null placed views. The rising number of partly unmapped textures points more at a stale or partial image, and a missing draw isn't ruled out. The next step is the one you named: at the next sighting, the clothing's draw and the image ids it samples, with a RenderDoc capture first.TheRifai, the other fork's case is in the same task as a lead shape (compute writes that never reach the memory the draw reads). As you say, we have no pool mirror, so it's a hint, not a cause.
The null placed views themselves are tracked in "Null views read an unfilled image", so this issue's finding now lives in TASKS and I'm closing it.