Repository navigation
RT-PLACED-DEPTH-OVERLAP: d3d12_xs: a depth placement inside another one's PC extent gets its own image (the boot's texture-creation int3 on RADV) - #1544
Merged
Conversation
…image The slot-133 depth/UAV registry recorded each placement's extent as the PC allocation size and refused, with E_NOTIMPL, any placement that started inside another live range. On RADV the PC size of a large D16 target is above the block the title placed it in, so the title's next block starts inside the previous range: its first depth target was refused, no trace line showed it, and the title stopped on its own assert and crash reporter about 30 s into the boot (Game Init, frame 0) on an RDNA2 iGPU. Overlapping placements at different addresses never shared a backing, so between two opaque layouts the inner one now gets an image of its own, as D3D12 leaves an alias's contents undefined until it is reinitialized. A non-opaque layout is still refused there, and the same-address rules are unchanged. A refused depth placement is now logged. d3d12_depth_stencil_uav_test places a texture one alignment step inside another one: refused for the tiled Xbox layout, its own backing for the opaque one, and the outer placement still finds its shared backing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
Author
|
Merged as a boot-blocker fix: it moves the retail boot on an RDNA2 iGPU under RADV past the texture-creation stop at about 30 s (counts in the description).
AI-assisted (Claude Code, Claude Opus 5.5). |
6 tasks done
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.
Item:
RT-PLACED-DEPTH-OVERLAP. The claim could not be posted: coordination issue #14 reached GitHub's 2,500-comment limit at 03:46 UTC and no successor exists yet. The claim text is below, to be copied there once there is one:Searched first: no claim or open pull request covers this case. #689 (QemmHD) is the same-address case, not this one.
What and why
On an RDNA2 iGPU under RADV, the retail boot stops about 30 s in on the title's own
int3, inside the title's crash reporter, right after a texture creation returns null. This was measured onmainplus the RADV import fix (#1539), without which the device is lost earlier.d3d12_xs_placed_depth.hrecords each range's end with the PC allocation's size. RADV sizes the largest of the three (2048×2048) at 8,716,288 bytes, more than the title's block, so the next block's first placement starts inside the previous range at a different address. The registry answeredE_NOTIMPLthere, andproxy_create_placed_depthwrote no line for it. The trace showed zero failed calls.proxy_create_placed_depthnow logs the first eight refused depth placements (hr, format, size, layouts, PC size).docs/d3d12_vulkan.md.Tests
d3d12_depth_stencil_uav_test(test/d3d12_placed_depth_test.h) places a texture one alignment step inside another. The tiled layout still getsE_NOTIMPL. The opaque layout gets a backing of its own at the right address, and the outer placement keeps its shared backing.main's baseline: no test goes from pass to fail;d3d12_depth_stencil_uavpasses on both.d3d12_xs_placed_depth.hchange reverted (the test and the log kept),d3d12_depth_stencil_uavfails on both devices.Measured on the retail boot (RDNA2 iGPU, RADV, Wine 11.22, with #1539; counts only)
AI-assisted (Claude Code, Claude Opus 5.5).