Under Wine, characters' skin is missing once the card-buffer budget is full (VICTORY_CARD_BUFFERS_MB) #105
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/Belobug--VIctory-Belobug-AMD#105
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?
@sil-kong on GitHub · 2026-11-25 14:15 UTC · original
Linux / Wine (RX 7900 XT, RADV, GE-Proton10-34's Wine, vkd3d-proton from Proton Experimental),
71652a2with title memory copied (VICTORY_COPY_MEMORY=1, as #53 does under Wine) and without sparse copies (#69).In the first room of the prison, characters' skin is missing (necks and faces not drawn, earrings floating) or present depending only on
VICTORY_CARD_BUFFERS_MB. Same save, same spot, nothing else changed:VICTORY_CARD_BUFFERS_MIN_MBVICTORY_CARD_BUFFERS_MBSo the skin goes missing once the card-buffer budget is full and some large buffers stay ordinary copies. My guess is that a buffer the skin needs (a GPU-written one?) loses its writes on the copy path that buffers past the cap take, but I haven't found which buffer or where.
On Windows, with title memory used in place, far fewer buffers probably go through card buffers, which would explain why this doesn't show there. Under Wine, raising
VICTORY_CARD_BUFFERS_MB(4096 here, 20 GB card) works around it; the frame rate is the same, and objects and walls load noticeably faster. A larger default when title memory is copied might be enough for most cards, but the copy path losing those writes is probably the real bug.