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

Merged
101Leafy merged 1 commit from upstream-pr/1122 into main 2026-11-28 19:39:38 +00:00
101Leafy commented 2026-11-28 13:42:58 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-11-28T13:42:58Z.


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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5540724799 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1122). Originally posted by [101Leafy](https://github.com/101Leafy) on 2026-11-28T13:42:58Z. --- ### 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.
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
trustno1-coder/VIctory-NVIDIA!1122
No description provided.