d3d12: accept slot 62 copies of textures padded to a whole tile #217
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from brcly/TuxBox. Originally posted by ReverendOzmund on 2026-11-26T08:57:58Z.
ProjectScarlett 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
Imported from brcly/TuxBox. Originally posted by NickStallman on 2026-11-26T09:26:12Z.
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.Imported from brcly/TuxBox. Originally posted by ReverendOzmund on 2026-11-26T09:28:10Z.
edited the above post
Imported from brcly/TuxBox. Originally posted by ReverendOzmund on 2026-11-26T09:29:14Z.
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.