Send: VICTORY_SEND_PASS_AWAY=1 makes the pass for changed words off the submitting thread, copies meanwhile #1123

Manually merged
github merged 4 commits from github-bot/gh-1123 into main 2026-11-29 08:21:42 +00:00 AGit
Owner

@⁠101Leafy on GitHub · 2026-11-28 13:43 UTC · original
101Leafy:nv/send-pass-away → main · +80 −38 · 10 files · 4 commits · merged 2026-11-29 08:16 UTC

Problem

The pass that sends changed words to the card is made on the submitting thread at its first use. When that happens while pipeline workers are compiling, the driver's create can wait on its shader cache lock for a long time. The title's present waits on the submitting thread, so a slow create there can run past the title's 30 s watchdog.

Change

VICTORY_SEND_PASS_AWAY=1 makes the pass on a thread of its own (victory-send-pass) at first use. Until it is made, pass() returns None and the changed words go up as copies, the same path as VICTORY_SEND_OWN=0. The time taken is logged once. If the thread cannot start, the pass is made in place as before. The create moved into make_pass unchanged. Off by default.

Tested

Built. It only changes anything when set.

Tested on: not run on a GPU yet. It was only built (see above), so there is no before and after to report.

**@⁠101Leafy** on GitHub · 2026-11-28 13:43 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1123) `101Leafy:nv/send-pass-away` → `main` · +80 −38 · 10 files · 4 commits · merged 2026-11-29 08:16 UTC ### Problem The pass that sends changed words to the card is made on the submitting thread at its first use. When that happens while pipeline workers are compiling, the driver's create can wait on its shader cache lock for a long time. The title's present waits on the submitting thread, so a slow create there can run past the title's 30 s watchdog. ### Change `VICTORY_SEND_PASS_AWAY=1` makes the pass on a thread of its own (`victory-send-pass`) at first use. Until it is made, `pass()` returns `None` and the changed words go up as copies, the same path as `VICTORY_SEND_OWN=0`. The time taken is logged once. If the thread cannot start, the pass is made in place as before. The create moved into `make_pass` unchanged. Off by default. ### Tested Built. It only changes anything when set. Tested on: not run on a GPU yet. It was only built (see above), so there is no before and after to report.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 14:33:48 +00:00
github-bot changed title from Send: VICTORY_SEND_PASS_AWAY=1 makes the pass for changed words off the submitting thread, copies meanwhile to [pr-fix, crash, startup] Send: VICTORY_SEND_PASS_AWAY=1 makes the pass for changed words off the submitting thread, copies meanwhile 2026-11-28 21:25:28 +00:00
github-bot changed title from [pr-fix, crash, startup] Send: VICTORY_SEND_PASS_AWAY=1 makes the pass for changed words off the submitting thread, copies meanwhile to Send: VICTORY_SEND_PASS_AWAY=1 makes the pass for changed words off the submitting thread, copies meanwhile 2026-11-28 21:37:45 +00:00
github-bot force-pushed github-bot/gh-1123 from 8ef5385e1d to 9dc0a60af7 2026-11-29 01:46:39 +00:00 Compare
github manually merged commit d1589ad5ce into main 2026-11-29 08:21:42 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!1123
No description provided.