Avoid refreshing current alias shadows after a relay merge #1346

Open
opened 2026-11-26 17:32:31 +00:00 by github-bot · 0 comments
Owner

@⁠Marukooh on GitHub · 2026-11-26 17:30 UTC · original

A relay merge writes title memory and updates the shadow that owns the merge. Other shadows of the same backing may then refresh the same bytes from the title allocation. A local prototype propagated just the merged bytes to a current sibling and advanced that sibling's stamp only if the pre-merge stamp matched. A stale sibling remained stale.

On a local Series X branch with RTX 5070 Ti / Proton, an off/on/on/off comparison changed watched refresh from about 121 to 103–110 MB/frame. Frame medians were 115.1 / 118.5 ms off and 110.3 / 108.2 ms on. No run lost the device. Visual parity needs checking and these measurements predate e4245f3.

The check for main should distinguish a current sibling from a stale one and cover view offsets, a boundary crossing and a concurrent title write. This is about the CPU shadow after the relay merge. #1131 covers a separate queue-ordered remapping hazard.

**@⁠Marukooh** on GitHub · 2026-11-26 17:30 UTC · [original](https://github.com/fxceless/victory-fork/issues/1346) A relay merge writes title memory and updates the shadow that owns the merge. Other shadows of the same backing may then refresh the same bytes from the title allocation. A local prototype propagated just the merged bytes to a current sibling and advanced that sibling's stamp only if the pre-merge stamp matched. A stale sibling remained stale. On a local Series X branch with RTX 5070 Ti / Proton, an off/on/on/off comparison changed watched refresh from about 121 to 103–110 MB/frame. Frame medians were 115.1 / 118.5 ms off and 110.3 / 108.2 ms on. No run lost the device. Visual parity needs checking and these measurements predate e4245f3. The check for main should distinguish a current sibling from a stale one and cover view offsets, a boundary crossing and a concurrent title write. This is about the CPU shadow after the relay merge. #1131 covers a separate queue-ordered remapping hazard.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 17:32:31 +00:00
This discussion has been locked. Commenting is limited to contributors.
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/fxceless--victory-fork#1346
No description provided.