d3d12: coalesce redundant placed texture queue waits #277

Merged
Valdi320 merged 1 commit from upstream-pr/277 into main 2026-11-27 14:07:09 +00:00
Valdi320 commented 2026-11-26 22:32:53 +00:00 (Migrated from github.com)

Imported from brcly/TuxBox. Originally posted by Valdi320 on 2026-11-26T22:32:53Z.


Review goal: Reduce duplicate waits on the same monotonic private fence without changing required synchronization.

Scope: One helper and three separate wait phases; retain maximum eligible tick per fence. Existing self/completed/label-blocked filters remain; never merge different fences or phases.

Evidence: Head 6ea8f39 on e76ff6a: 3 helper tests, six no-GPU groups, 17/17 selected NVIDIA GPU gates; Nick's independent AMD full check 120/120. Synthetic 8,192 textures x 3 timelines reduce 24,576 candidate waits to 3; no measured retail driver-call or FPS gain. Does not fix #215.

Review order: second. Independent of other pending PRs. Current main has moved; evidence refers to the tested head, not a new combined run. Earlier integration evidence.

<!-- greyfinch-sync:brcly/TuxBox:issue:5518047345 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/277). Originally posted by [Valdi320](https://github.com/Valdi320) on 2026-11-26T22:32:53Z. --- **Review goal:** Reduce duplicate waits on the same monotonic private fence without changing required synchronization. **Scope:** One helper and three separate wait phases; retain maximum eligible tick per fence. Existing self/completed/label-blocked filters remain; never merge different fences or phases. **Evidence:** Head 6ea8f39 on e76ff6a: 3 helper tests, six no-GPU groups, 17/17 selected NVIDIA GPU gates; Nick's independent [AMD full check 120/120](https://github.com/brcly/TuxBox/pull/277#issuecomment-7205168767). Synthetic 8,192 textures x 3 timelines reduce 24,576 candidate waits to 3; no measured retail driver-call or FPS gain. Does not fix #215. **Review order:** second. Independent of other pending PRs. Current main has moved; evidence refers to the tested head, not a new combined run. [Earlier integration evidence](https://github.com/brcly/TuxBox/pull/277#issuecomment-7204833966).
Valdi320 commented 2026-11-26 22:36:49 +00:00 (Migrated from github.com)

Imported from brcly/TuxBox. Originally posted by Valdi320 on 2026-11-26T22:36:49Z.


Follow-up integration branch github.com/Valdi320/TuxBox@f42521dbee combines #277 with #258 at 5a795cb and the #235 review follow-up at 2f7e0f8. Rebuilt XMem and D3D12 providers and Lanes fixture. RTX 4080/GE-Proton11-14: 19/19 selected guest gates (all 14 Lanes self-tests, heaps/tables/queues and both bindless compute trials) plus 6/6 isolated memory cases passed, no stand-ins for the memory and bindless controls. This is a joint synthetic result, not a title or AMD performance result. No changes to the other authors' branches.

<!-- greyfinch-sync:brcly/TuxBox:comment:7204833966 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/277#issuecomment-7204833966). Originally posted by [Valdi320](https://github.com/Valdi320) on 2026-11-26T22:36:49Z. --- Follow-up integration branch https://github.com/Valdi320/TuxBox/tree/f42521dbeeedc52673c0a6d7bf497766bcf4b820 combines #277 with #258 at 5a795cb and the #235 review follow-up at 2f7e0f8. Rebuilt XMem and D3D12 providers and Lanes fixture. RTX 4080/GE-Proton11-14: 19/19 selected guest gates (all 14 Lanes self-tests, heaps/tables/queues and both bindless compute trials) plus 6/6 isolated memory cases passed, no stand-ins for the memory and bindless controls. This is a joint synthetic result, not a title or AMD performance result. No changes to the other authors' branches.
NickStallman commented 2026-11-26 23:00:11 +00:00 (Migrated from github.com)

Imported from brcly/TuxBox. Originally posted by NickStallman on 2026-11-26T23:00:11Z.


AMD run of 6ea8f39 (this PR's head): the full python tuxbox.py check --adapter 1002:13c0 --proton … --prefix … --windows-dxc … passed, 120 gates. Every group passed: Lanes and the self-tests, the D3D12 regression controls and the translator on the GPU.

AMD Raphael iGPU (1002:13c0, RDNA2), RADV (Mesa 26.0.8), GE-Proton11-14, Linux 7.0. This is a correctness run only; I took no timing measurements.

<!-- greyfinch-sync:brcly/TuxBox:comment:7205168767 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/277#issuecomment-7205168767). Originally posted by [NickStallman](https://github.com/NickStallman) on 2026-11-26T23:00:11Z. --- AMD run of `6ea8f39` (this PR's head): the full `python tuxbox.py check --adapter 1002:13c0 --proton … --prefix … --windows-dxc …` passed, 120 gates. Every group passed: Lanes and the self-tests, the D3D12 regression controls and the translator on the GPU. AMD Raphael iGPU (1002:13c0, RDNA2), RADV (Mesa 26.0.8), GE-Proton11-14, Linux 7.0. This is a correctness run only; I took no timing measurements.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
brcly/TuxBox!277
No description provided.