Avoid refreshing current alias shadows after a relay merge #1346
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork#1346
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@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.