GPU: keep textures the title rewrites in place in step (TV and phone video) #390
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!390
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-390"
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?
@Ahmet-Dedeler on GitHub · 2026-11-26 22:19 UTC · original
Ahmet-Dedeler:live-video-textures→main· +160 −14 · 3 files · 1 commits · openThe TV news in the game showed a colour ghost of the frame before (the reporter's arm and head in pink beside him). This fixes it.
The video planes are title textures the CPU rewrites in place: luma 2048x1088 (2,228,224 bytes) and chroma 1024x544 (557,056 bytes). The texture pass rechecks a texture 4, 12, 40, 120 and 400 frames after its upload. One found changed is looked at again the next frame, but a single unchanged look puts it back on that schedule. And a look only reads three 16 KiB strips (start, middle, end), which in a news shot are mostly still background. So each plane went stale on its own count. In my log the "changed after its upload" warning showed
looks=1withframes_after_upload12 to 44, and the screen mixed one video frame's luma with another's chroma.The change:
VICTORY_LIVE_TEXTURES=0turns it offRechecks are already served ahead of fresh slots on main, so nothing changes in the order. In my session about 25 slots went live (8 luma, 17 chroma planes), around 27 MB of reads a frame for the fingerprints.
Tested:
victory-gpulib tests under CrossOver). The tests that fail there (argument clamp, the indirect host-list tests, ambient and lightprobe pass builds, two view tests) fail the same way on main without this change.cargo clippy -p victory-gpu --all-targets -- -D warningsreports nothing new. Its two errors (list.rstotals,watch.rsopen) are on main too.@akimfomin on GitHub · 2026-11-26 23:41 UTC · original
The full fingerprint sees changes between strips once a texture is live. On
a89d392, I added a synthetic 1024×544 byte plane and changed only bytes 64–68 KiB. The existing non-live fingerprint stayed identical and the live fingerprint changed. The focused Windows test passed. Function tested · Promotion check useswas_live.One useful negative control: begin with a plain queue slot and repeatedly change only a gap between the sampled strips, then check whether it ever becomes live. This would tell us whether that class needs a bounded initial full check or an explicit source hint. It does not contradict the Mac result or reproduce the video's appearance on Windows. PortBridge · AI-assisted test report.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.