Integrate texture readback fixes and the optional Agility SDK #128

Closed
github-bot wants to merge 6 commits from github-bot/gh-128 into main AGit
Owner

@⁠TaynanGT on GitHub · 2026-11-27 03:13 UTC · original
TaynanGT:batch/verified-readback-agility → main · +517 −32 · 6 files · 6 commits · closed without merging

I split the readback and Agility SDK changes out of #120. This branch carries #92, #118, and #102 on main, with their original commits.

The readback pool stays opt-in and retains the full device-removal report if the fence reports a lost device. In a Series S diagnostic run with the same readback code enabled, the pool recorded 45,713 reuses and zero allocation failures.

Both Clippy configurations passed on this branch. The Windows 10 retest for #84 is still open.

**@⁠TaynanGT** on GitHub · 2026-11-27 03:13 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/128) `TaynanGT:batch/verified-readback-agility` → `main` · +517 −32 · 6 files · 6 commits · closed without merging I split the readback and Agility SDK changes out of #120. This branch carries #92, #118, and #102 on main, with their original commits. The readback pool stays opt-in and retains the full device-removal report if the fence reports a lost device. In a Series S diagnostic run with the same readback code enabled, the pool recorded 45,713 reuses and zero allocation failures. Both Clippy configurations passed on this branch. The Windows 10 retest for #84 is still open.
Keep each readback exclusive until its recording is reset or retired. Add a per-device bounded idle pool and separate allocation, reuse and landing telemetry.

(cherry picked from commit 67028e2193051340edcd3e06e960e673a58af1b5)
The submission relay must not retire flights on the D3D12 removed-device sentinel while readback buffers can be reused. Follow the fence check in fxceless/victory-fork@d036cea8.
Adapt the executable exports from Calvix2k in avatarmanz/VIctory-7900XTX#165 (c0c19d280d76a24c77ed45fa5bda5c924ace0466). Require an explicit build setting and diagnose a missing local runtime before initializing Direct3D.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 03:16:08 +00:00
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-27 03:13 UTC · original · edited 2026-11-27 03:16 UTC

Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-27T03:15:12.641363Z 5580911 PR opened
🔒 Security Review ✅ Completed 2026-11-27T03:16:18.297138Z 5580911 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@⁠codex review" or "@⁠codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-27 03:13 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/128#issuecomment-7208806434) · edited 2026-11-27 03:16 UTC <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"55809112e90d54f0da1c8a0b491b288f217efdca","has_any_findings":true,"has_unresolved_findings":true,"status":"completed"},"security_review":{"commit_sha":"55809112e90d54f0da1c8a0b491b288f217efdca","has_any_findings":null,"has_unresolved_findings":null,"status":"completed"}} --> <!-- codex-security-review:v1 {"blockingSeverityThreshold":"P0","headSha":"55809112e90d54f0da1c8a0b491b288f217efdca","mergeGateEnabled":false,"pullRequestNumber":128,"repository":"TaynanGT/Vice-Tay","status":"completed"} --> <details> <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-11-27T03:15:12.641363Z">2026-11-27T03:15:12.641363Z</relative-time> | `5580911` | PR opened | | 🔒 **Security Review** | ✅ **Completed** <relative-time datetime="2026-11-27T03:16:18.297138Z">2026-11-27T03:16:18.297138Z</relative-time> | `5580911` | PR opened | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@⁠codex review" or "@⁠codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-27 03:15 UTC · original · reviewed

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 55809112e9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@⁠codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@⁠codex address that feedback".

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-27 03:15 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/128#pullrequestreview-6082996115) · **reviewed** <!-- codex-review-receipt:v1 --> ### 💡 Codex Review Here are some automated review suggestions for this pull request. **Reviewed commit:** `55809112e9` <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@⁠codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@⁠codex address that feedback". </details>
@ -3688,1 +4016,4 @@
let completed = unsafe { host.fence.GetCompletedValue() };
if texture_readback_idle_limit() != 0 && completed == u64::MAX {
drop(line);
fail(format_args!("texture readback pool cannot retire after device removal"));
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-27 03:15 UTC · original

P2 Badge Preserve removal diagnostics in the relay fence guard

When the readback pool and relay are enabled and the device is removed, this guard aborts before Host::relay_land can produce its existing report containing removal_data(&runs) and last_notes(&runs). Although fail() can log DRED data separately through log_removal_context(), that fallback uses an empty run list and does not include the per-submission report in the failure callback's text. Consequently, enabling the pool loses diagnostic context precisely when investigating a GPU failure. Collect the queued runs and preserve the existing removal report before aborting, as the synchronous fence checks now do.

Useful? React with 👍 / 👎.

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-27 03:15 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/128#discussion_r4715328263) **<sub><sub>![P2 Badge](https://img.shields.io/badge/P2-yellow?style=flat)</sub></sub> Preserve removal diagnostics in the relay fence guard** When the readback pool and relay are enabled and the device is removed, this guard aborts before `Host::relay_land` can produce its existing report containing `removal_data(&runs)` and `last_notes(&runs)`. Although `fail()` can log DRED data separately through `log_removal_context()`, that fallback uses an empty run list and does not include the per-submission report in the failure callback's text. Consequently, enabling the pool loses diagnostic context precisely when investigating a GPU failure. Collect the queued runs and preserve the existing removal report before aborting, as the synchronous fence checks now do. Useful? React with 👍 / 👎. <!-- codex-code-review-finding:v1 -->
github-bot closed this pull request 2026-11-27 03:42:54 +00:00
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 03:41 UTC · original

I moved the same readback and Agility SDK fixes to #130 on the current main.

**@⁠TaynanGT** on GitHub · 2026-11-27 03:41 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/128#issuecomment-7209191037) I moved the same readback and Agility SDK fixes to #130 on the current main.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.