verify: repeat descriptor reclamation lifecycles on one device #275

Closed
Valdi320 wants to merge 1 commit from upstream-pr/275 into main
Valdi320 commented 2026-11-26 22:00:58 +00:00 (Migrated from github.com)

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


Purpose

Follow up on #172 and the documented request to validate long-run descriptor reclamation. Add an opt-in Lanes gate that repeats the existing full descriptor lifecycle eight times on one D3D12 device, destroying and recreating the heaps, queues, lists and fences between cycles. Each cycle includes the 2,097,152-descriptor logical turnover with a 1,000,000 resident limit, overlapping in-flight Reset, ClearState, rebind, deliberate OOM and recovery. Exact GPU readbacks are inherited from the original control.

Run: python tuxbox.py verify --only lanes-descriptor-soak --output build/lanes-descriptor-soak.json

Evidence

RTX 4080 / GE-Proton11-14: passed all eight cycles on current main e76ff6a, real provider, null pipelines disabled. Guest file receipt explicitly records cycles=8 (GUI-subsystem stderr was not forwarded in the first test). Six no-GPU groups passed before the receipt-only correction; final Python suite passed, rebuilt changed selftest object and reran GPU gate successfully. The eight cycles exercise 16,777,216 logical descriptors in the sustained-turnover phases alone; this is not a measurement of native allocation totals or hours of retail gameplay. Default tests and --selftest all are unchanged. No AMD run or title-level proof.

<!-- greyfinch-sync:brcly/TuxBox:issue:5517729424 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/275). Originally posted by [Valdi320](https://github.com/Valdi320) on 2026-11-26T22:00:58Z. --- ## Purpose Follow up on #172 and the documented request to validate long-run descriptor reclamation. Add an opt-in Lanes gate that repeats the existing full descriptor lifecycle eight times on one D3D12 device, destroying and recreating the heaps, queues, lists and fences between cycles. Each cycle includes the 2,097,152-descriptor logical turnover with a 1,000,000 resident limit, overlapping in-flight Reset, ClearState, rebind, deliberate OOM and recovery. Exact GPU readbacks are inherited from the original control. Run: `python tuxbox.py verify --only lanes-descriptor-soak --output build/lanes-descriptor-soak.json` ## Evidence RTX 4080 / GE-Proton11-14: passed all eight cycles on current main e76ff6a, real provider, null pipelines disabled. Guest file receipt explicitly records cycles=8 (GUI-subsystem stderr was not forwarded in the first test). Six no-GPU groups passed before the receipt-only correction; final Python suite passed, rebuilt changed selftest object and reran GPU gate successfully. The eight cycles exercise 16,777,216 logical descriptors in the sustained-turnover phases alone; this is not a measurement of native allocation totals or hours of retail gameplay. Default tests and --selftest all are unchanged. No AMD run or title-level proof.
Valdi320 commented 2026-11-26 23:20:54 +00:00 (Migrated from github.com)

Imported from brcly/TuxBox. Originally posted by Valdi320 on 2026-11-26T23:20:54Z.


Deferred: optional repeated descriptor lifecycle check, no new runtime fix. Reactivate if #172 needs extended stress evidence. Closing this draft to make the review queue manageable, per the maintainer's request. The branch and history remain intact at 7d8e6c7; no branch deleted.

<!-- greyfinch-sync:brcly/TuxBox:comment:7205464833 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/275#issuecomment-7205464833). Originally posted by [Valdi320](https://github.com/Valdi320) on 2026-11-26T23:20:54Z. --- Deferred: optional repeated descriptor lifecycle check, no new runtime fix. Reactivate if #172 needs extended stress evidence. Closing this draft to make the review queue manageable, per the maintainer's request. The branch and history remain intact at `7d8e6c7`; no branch deleted.

Pull request closed

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!275
No description provided.