verify: compare explicit stock and launcher CBV configurations #271

Closed
Valdi320 wants to merge 1 commit from upstream-pr/271 into main
Valdi320 commented 2026-11-26 20:37:14 +00:00 (Migrated from github.com)

Imported from brcly/TuxBox. Originally posted by Valdi320 on 2026-11-26T20:37:14Z.


Follow-up to #251 and NickStallman's root CBV measurements. Do not duplicate his proposed offsets control or change provider behavior. The isolated D3D12 regression runner now accepts explicit --cbv-mode stock/launcher (default inherit, unchanged). Both explicit modes remove the listed inherited descriptor/layer overrides; launcher reuses configure_console_cbv to select the Proton feature or Vulkan layer. Retain the selected Vulkan driver and report requested flags and layer/feature fingerprints without private paths. System implicit layers are not removed. Local info logs allow checking the actual descriptor path.

Validation on main 42ec699: six no-GPU groups, 382 Python tests and 374 compiler unit tests (plus two integration tests). On RTX 4080, GE-Proton11-14, the identical freshly built provider and guest binaries pass root-cbv-window and tables in both modes. Deliberately polluted parent VKD3D_CONFIG and VK_INSTANCE_LAYERS are absent from both runs; stock logs empty VKD3D_CONFIG and enabled descriptor_heap, launcher logs force_raw_va_cbv and no enabled descriptor_heap line. Actual fork path is unit-tested only. This is a harness improvement; existing aligned-offset fixture passes in either mode, so it does not establish 16-byte-offset accuracy or fix the underlying provider problem. No title run, AMD or full GPU suite. Draft for review.

<!-- greyfinch-sync:brcly/TuxBox:issue:5516827566 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/271). Originally posted by [Valdi320](https://github.com/Valdi320) on 2026-11-26T20:37:14Z. --- Follow-up to #251 and NickStallman's root CBV measurements. Do not duplicate his proposed offsets control or change provider behavior. The isolated D3D12 regression runner now accepts explicit --cbv-mode stock/launcher (default inherit, unchanged). Both explicit modes remove the listed inherited descriptor/layer overrides; launcher reuses configure_console_cbv to select the Proton feature or Vulkan layer. Retain the selected Vulkan driver and report requested flags and layer/feature fingerprints without private paths. System implicit layers are not removed. Local info logs allow checking the actual descriptor path. Validation on main 42ec699: six no-GPU groups, 382 Python tests and 374 compiler unit tests (plus two integration tests). On RTX 4080, GE-Proton11-14, the identical freshly built provider and guest binaries pass root-cbv-window and tables in both modes. Deliberately polluted parent VKD3D_CONFIG and VK_INSTANCE_LAYERS are absent from both runs; stock logs empty VKD3D_CONFIG and enabled descriptor_heap, launcher logs force_raw_va_cbv and no enabled descriptor_heap line. Actual fork path is unit-tested only. This is a harness improvement; existing aligned-offset fixture passes in either mode, so it does not establish 16-byte-offset accuracy or fix the underlying provider problem. No title run, AMD or full GPU suite. Draft for review.
Valdi320 commented 2026-11-26 23:20:57 +00:00 (Migrated from github.com)

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


Deferred in favor of Nick's more direct 16-byte-offset control #282. This stock/launcher harness remains available if needed; not claiming that #282 contains every change. Closing this draft to make the review queue manageable, per the maintainer's request. The branch and history remain intact at cf940e4; no branch deleted.

<!-- greyfinch-sync:brcly/TuxBox:comment:7205465564 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/271#issuecomment-7205465564). Originally posted by [Valdi320](https://github.com/Valdi320) on 2026-11-26T23:20:57Z. --- Deferred in favor of Nick's more direct 16-byte-offset control #282. This stock/launcher harness remains available if needed; not claiming that #282 contains every change. Closing this draft to make the review queue manageable, per the maintainer's request. The branch and history remain intact at `cf940e4`; 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!271
No description provided.