AMD RX 7800 XT (RADV, Proton): cutscene faces still wrong on v2026.11.30.01 (follow-up to #1320) #4101
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#4101
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?
@DemonicSavage on GitHub · 2026-11-30 16:03 UTC · original
What happens
In cutscenes, faces pull wrong expressions: stretched lips, bared teeth. Same as #1320, which was closed as predating v2026.11.29.01. It still happens on the official v2026.11.30.01
victory.exe(release asset, unmodified).Seen in: every cutscene
Setup
victory.exeumu-runLogs
victory-nvidia-play-20261130-155732-340.log(attached; the face network's program0aa7934094794dbfis first bound at 15:58:06Z)victory-nvidia-play-20261130-155732-340.log
crashes.log: no entry from this run (its only entry is an unrelated device loss on 2026-11-29).crash.logintemp\: the game did not crashWhat fixes it here
PR #2664 (
VICTORY_GROUP_COHERENT=1) is half of it. Its second half, VKD3D_DISABLE_EXTENSIONS=VK_EXT_descriptor_heap, is not usable on AMD with this layer: vkd3d-proton then reports a 1,000,000-view heap limit, so the layer turns raw twins off (raw_twins=false) and caps the title's heap (606,783 of 1,245,184 views). Without twins, raw loads through non-raw views fault on AMD, as emit/shader.rs documents. Here: an SQC data page fault at 0x50000, in the same second compute pipelines 45b8c316ec2f3e8c, b5e3137b54ba16c4 and 9216e90f97b19283 were first bound; the same pipelines ran without fault in three sessions with heaps on.What made the faces right on this card, with descriptor heaps left on: PR #2664 plus one more change, making the formula program run in CU mode on RADV.
RADV runs a compute program in WGP mode when it uses no group shared memory (
radv_should_use_wgp_mode). A group's waves then sit on the two compute units of a work-group processor, each with its own L0 cache, and the program's typed loads can be served a line the other unit's waves have since written. With any group shared memory it runs in CU mode, where they share one cache.The change makes
keep_writtenalso touch one dword of group shared memory, via an atomic guarded so it never runs in practice. Mesa folded away a plain index guard, and removed a plain store to memory nothing reads.RADV_DEBUG=shadersof0aa7934094794dbfwith the change:shared_size4, the typed loads after the barrier no longer reorderable. In game: faces correct, no device loss.I can open a PR with that change on top of #2664 if wanted.