d3d12: accept slot 62 copies of textures padded to a whole tile #217
No reviewers
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/brcly--TuxBox!217
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-217"
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?
@ReverendOzmund on GitHub · 2026-11-26 08:57 UTC · original
ReverendOzmund:d3d12-slot62-tile-padded→main· +28 −3 · 2 files · 1 commits · merged 2026-11-26 11:19 UTCProjectScarlett copies 0x4000 bytes for a 128x4 RGBA16 texture whose 0x1000-byte footprint is padded to a 16-row tile. plan() allowed at most one footprint of tail, so the copy failed and the graphics command list was rejected. Accept whole rows up to the next 64-row tile height and copy only the footprint, as before.
Summary
Seen during a cold ProjectScarlett load (
bc4ba79, RTX 3080 Ti, driver 620.70.06, GE-Proton11-14):This is the same texture
97b8ad3accepts at 0x2000 bytes. Here its height is padded to a 16-row tile (64-bit texels in a 4 KiB tile are 32x16).plannow also accepts a single-subresource copy that is whole rows of the footprint's pitch, up to the next multiple of 64 rows (the tallest 4 KiB tile). Only the footprint is copied. Partial rows and anything taller are still rejected.Verified on Lanes
python tuxbox.py verifypassed on this branch: Bazzite has no lld-link on the host, so I built in a Fedora distrobox and ran the GPU suites on the host in a separate prefix (summary below)No Lanes scenario:
planis pure layout arithmetic. The new unit testtile_padded_single_subresource_uploads_its_footprintfails without the change, which matches how97b8ad3covered the 0x2000 case.GPU, driver and backend: RTX 3080 Ti, 620.70.06, GE-Proton11-14, Bazzite.
Paste the summary printed at the end:
🤖 Generated with Claude Code
https://claude.ai/code/session_01KP1nQKEc17PvmrwfPtLi8Z
@NickStallman on GitHub · 2026-11-26 09:26 UTC · original
AMD run of
python tuxbox.py checkon this PR's head (12ddd28):guest-present,guest-present-rgb10,guest-present-4k-owned,guest-present-4k-oversizedandguest-present-4k-fit.mainand on every other branch I've run on this machine. They come from how this host samples the screen, so they aren't caused by this change.@ReverendOzmund on GitHub · 2026-11-26 09:28 UTC · original
edited the above post
@ReverendOzmund on GitHub · 2026-11-26 09:29 UTC · original
Thanks NickStallman, that covers AMD. I've updated the checklist. Also, I've seen #215: same +0x23CF683 crash here on a 3080 Ti at mission 0x98c85f2a, so I'll add my data there and I'm happy to test the label-bridging work on Ampere.