Face watch: log the face programs' buffers a frame, the copies that read them and whether they match title memory (diagnostics, VICTORY_FACE_WATCH=1) #1706

Merged
101Leafy merged 5 commits from upstream-pr/1706 into main 2026-11-29 08:16:54 +00:00
101Leafy commented 2026-11-28 23:40:01 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-11-28T23:40:01Z.


Cutscene mouths and brows can stay still when a host copy that reads the face programs' output is refreshed from title memory that never got the writes, or that the write watch never saw change. Nothing in the logs says which copy is behind.

VICTORY_FACE_WATCH=1 watches the buffers the face programs write (the same 25 programs VICTORY_LDS_BOUNDS_EXEMPT names by default) and logs a line a frame while they write: how many ranges, how many other copies read them, and those that differ from title memory after their refresh, with the frame each was last found the same. Up to 512 ranges are kept and 64 KiB of each is compared. Diagnostics builds only. Off by default.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5545704966 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1706). Originally posted by [101Leafy](https://github.com/101Leafy) on 2026-11-28T23:40:01Z. --- Cutscene mouths and brows can stay still when a host copy that reads the face programs' output is refreshed from title memory that never got the writes, or that the write watch never saw change. Nothing in the logs says which copy is behind. VICTORY_FACE_WATCH=1 watches the buffers the face programs write (the same 25 programs VICTORY_LDS_BOUNDS_EXEMPT names by default) and logs a line a frame while they write: how many ranges, how many other copies read them, and those that differ from title memory after their refresh, with the frame each was last found the same. Up to 512 ranges are kept and 64 KiB of each is compared. Diagnostics builds only. Off by default.
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!1706
No description provided.