Indirect light stand-in: VICTORY_AMBIENT_ASIDE=1 makes its passes on a thread of ours and leaves them out until made, so a list thread never waits in the driver cache with the frame behind it #1122

Manually merged
github merged 1 commit from github-bot/gh-1122 into gh-pr/1122/base 2026-11-28 19:42:58 +00:00 AGit
Owner

@⁠101Leafy on GitHub · 2026-11-28 13:42 UTC · original
101Leafy:nv/ambient-aside → main · +42 −8 · 1 files · 1 commits · merged 2026-11-28 19:39 UTC

Problem

The indirect light stand-in makes its seven compute passes on first use, on whichever list thread asks first. With an empty driver cache those creates can take as long as the title's own pipelines, tens of seconds. The list threads behind it wait too, the submission they translate stays at the head of the line, and the present behind it can pass the title's 30 s watchdog.

Change

VICTORY_AMBIENT_ASIDE=1 makes the passes on a thread of their own (victory-ambient). Until they are made, pass() returns None and the stand-in is left out, as when it cannot be made. The time taken is logged once. If the thread cannot start, the stand-in stays off. Off by default: without the switch the passes are made on first use, as before.

Tested

Built. It only changes anything when set.

**@⁠101Leafy** on GitHub · 2026-11-28 13:42 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1122) `101Leafy:nv/ambient-aside` → `main` · +42 −8 · 1 files · 1 commits · merged 2026-11-28 19:39 UTC ### Problem The indirect light stand-in makes its seven compute passes on first use, on whichever list thread asks first. With an empty driver cache those creates can take as long as the title's own pipelines, tens of seconds. The list threads behind it wait too, the submission they translate stays at the head of the line, and the present behind it can pass the title's 30 s watchdog. ### Change `VICTORY_AMBIENT_ASIDE=1` makes the passes on a thread of their own (`victory-ambient`). Until they are made, `pass()` returns `None` and the stand-in is left out, as when it cannot be made. The time taken is logged once. If the thread cannot start, the stand-in stays off. Off by default: without the switch the passes are made on first use, as before. ### Tested Built. It only changes anything when set.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 14:33:46 +00:00
github-bot referenced this pull request from a commit 2026-11-28 19:41:56 +00:00
github-bot changed target branch from main to gh-pr/1122/base 2026-11-28 19:42:45 +00:00
github manually merged commit e0e6f6e265 into gh-pr/1122/base 2026-11-28 19:42:48 +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!1122
No description provided.