Faces move: d16 accesses ask for the kind of a view in a table too; victory replay --bytes #114

Open
github-bot wants to merge 3 commits from github-bot/gh-114 into main AGit
Owner

@⁠secure-silicon on GitHub · 2026-11-26 04:05 UTC · original
secure-silicon:faces-and-replay-bytes → main · +129 −7 · 7 files · 3 commits · open

Summary

Faces stood still (lips, brows, blinks) while bodies, hair and cloth moved. The face network keeps its 16-bit halves in views of integer formats (R16_UINT), in tables, and reads and writes them with _d16 accesses. The translator asked for a view's kind only of views a program picks from the heap, so for these it took the halves as f16 through a float view: an integer's bits as a float are a denormal, whose f16 is zero. The network's result was all zeros, which is a face at rest.

 d16 typed load / store (emit/lower.rs)
-  integer_view(src): the word of the table of strides, for a view picked from the heap
+  integer_view(src): the same word, for a view in a table too
   integer view: pass the 16 bits
   other view:   f16 <-> f32

 a table made afresh in dynamic slots (draw.rs, descriptor/host.rs)
   for each slot of the table
+    write the slot's word of the table of strides (stride and kind)
     make the host slot

The network's tables hold constant buffers, so the host always makes them afresh in dynamic slots; those slots had no word before.

Second commit, a tool that found it: victory replay <capture> --bytes <resource>[:<at>:<bytes>] prints what a capture holds of a buffer (contents at the frame's start, what the CPU had changed by each submission, how many dwords are not zero), read from the capture's files with no device made.

Evidence

  • Before: in a frame captured at a cutscene, the buffer CS_BlendshapeTranslationsHSSGraphOutputExtract reads the network's result from held nothing but zeros, while the network's weights and the extract's other inputs were there. The translated CS_GatherOperation, which writes that result, had legacyF32ToF16 on all 31 of its loads and no read of the table of strides.
    After: faces move in the same cutscene, on an RTX 4080 SUPER (one run, on a tree with the same change). Not yet seen on an RX 7900 XTX.
  • cargo test --locked -p victory-shader on this branch: 278 passed, 4 ignored. cargo check --locked --profile diag -p victory --features diagnostics passes.
  • No test covers the table case: it needs hand-encoded console instructions.

Details are in docs/findings.md ("Faces stood still").

Merge Danger

Door: two-way

Two small commits, reverted independently. The translator's sources change, so the shader cache translates every program again on the first run.

Blast Radius: translator

Every program with _d16 typed accesses to views in tables now has the root view of the table of strides, so binding one asks for the heap pass (once a frame), as programs that pick views from the heap already do. A typed store onto an integer view still goes through a float handle and relies on the driver passing the bits, as it already did for views picked from the heap.

🤖 Generated with Claude Code

**@⁠secure-silicon** on GitHub · 2026-11-26 04:05 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/114) `secure-silicon:faces-and-replay-bytes` → `main` · +129 −7 · 7 files · 3 commits · open ## Summary Faces stood still (lips, brows, blinks) while bodies, hair and cloth moved. The face network keeps its 16-bit halves in views of integer formats (`R16_UINT`), in tables, and reads and writes them with `_d16` accesses. The translator asked for a view's kind only of views a program picks from the heap, so for these it took the halves as f16 through a float view: an integer's bits as a float are a denormal, whose f16 is zero. The network's result was all zeros, which is a face at rest. ```diff d16 typed load / store (emit/lower.rs) - integer_view(src): the word of the table of strides, for a view picked from the heap + integer_view(src): the same word, for a view in a table too integer view: pass the 16 bits other view: f16 <-> f32 a table made afresh in dynamic slots (draw.rs, descriptor/host.rs) for each slot of the table + write the slot's word of the table of strides (stride and kind) make the host slot ``` The network's tables hold constant buffers, so the host always makes them afresh in dynamic slots; those slots had no word before. Second commit, a tool that found it: `victory replay <capture> --bytes <resource>[:<at>:<bytes>]` prints what a capture holds of a buffer (contents at the frame's start, what the CPU had changed by each submission, how many dwords are not zero), read from the capture's files with no device made. ## Evidence - **Before:** in a frame captured at a cutscene, the buffer `CS_BlendshapeTranslationsHSSGraphOutputExtract` reads the network's result from held nothing but zeros, while the network's weights and the extract's other inputs were there. The translated `CS_GatherOperation`, which writes that result, had `legacyF32ToF16` on all 31 of its loads and no read of the table of strides. **After:** faces move in the same cutscene, on an RTX 4080 SUPER (one run, on a tree with the same change). Not yet seen on an RX 7900 XTX. - `cargo test --locked -p victory-shader` on this branch: 278 passed, 4 ignored. `cargo check --locked --profile diag -p victory --features diagnostics` passes. - No test covers the table case: it needs hand-encoded console instructions. Details are in `docs/findings.md` ("Faces stood still"). ## Merge Danger **Door:** two-way Two small commits, reverted independently. The translator's sources change, so the shader cache translates every program again on the first run. **Blast Radius:** translator Every program with `_d16` typed accesses to views in tables now has the root view of the table of strides, so binding one asks for the heap pass (once a frame), as programs that pick views from the heap already do. A typed store onto an integer view still goes through a float handle and relies on the driver passing the bits, as it already did for views picked from the heap. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Its contents at the frame's start and what the CPU had changed in it by each
submission, each with how many of its dwords are not zero, and the dwords from
a place given (as hex and as floats).

Co-Authored-By: Claude Fable 5.2 <[email protected]>
The face network keeps its 16-bit halves in views of integer formats, in
tables; the translator took them as f16 through a float view, and the
network's result was all zeros (a face at rest). The host writes the word of
the table of strides for the dynamic slots of a table it makes afresh.
Seen on an RTX 4080 SUPER; findings.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:24:48 +00:00
Author
Owner

@⁠avatarmanz on GitHub · 2026-11-26 07:39 UTC · original

Left open: d16 accesses through table views change translation on every card (and the PR notes faces not yet seen moving on the 7900 XTX); needs an in-game check there first.

**@⁠avatarmanz** on GitHub · 2026-11-26 07:39 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/114#issuecomment-7185698620) Left open: d16 accesses through table views change translation on every card (and the PR notes faces not yet seen moving on the 7900 XTX); needs an in-game check there first.
Author
Owner

@⁠FrozenGuy7 on GitHub · 2026-11-26 09:53 UTC · original

Confirmed on AMD: with this PR, faces move (lips, brows, blinks) in cutscenes and close-up dialogue on an RX 9070 XT (RDNA 4). Without it, on the same machine and save, faces stayed at rest while bodies, hair and cloth moved.

GPU Radeon RX 9070 XT (RDNA 4), driver 32.0.32029.2010 (Adrenalin 26.11.2)
OS Windows 11 Pro 10.0.26300
RAM 32 GB, 64 GB page file
Build main 9576c45 + this PR (41f93b7, 8003422), --profile diag --features diagnostics, plus local merges of #55, #53 and #28 (needed on RDNA 4)
Profile Series S, scripts/play.ps1 -Safe, FSR 4.1.2 + Frame Generation 4.0.2, VICTORY_PORT_CONSTANTS=1, VICTORY_PORT_DESCRIPTORS=1
Shaders all re-translated (victory shaders: 25,790, 195 left) and victory warm: 88,752 pipelines made, 0 compiler crashes

One note for whoever merges this together with #55. #55 reads a view's record count from the table of strides (its SLOT_COUNTS_AT part) for views in tables too, not only for views picked from the heap. But the host writes those counts only for title slots, so a view in a table made afresh in dynamic slots reads 0 records. This PR's HostHeap::dynamic_word is the natural place to write them. Locally I write the count there as well (counts + index ← view_records(view)), next to the stride/kind word. Without #55 it doesn't matter.

(Tested by me; the merge, the build and this write-up were done with the help of an AI assistant, Claude.)

**@⁠FrozenGuy7** on GitHub · 2026-11-26 09:53 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/114#issuecomment-7188623816) Confirmed on AMD: with this PR, faces move (lips, brows, blinks) in cutscenes and close-up dialogue on an RX 9070 XT (RDNA 4). Without it, on the same machine and save, faces stayed at rest while bodies, hair and cloth moved. | | | |---|---| | GPU | Radeon RX 9070 XT (RDNA 4), driver 32.0.32029.2010 (Adrenalin 26.11.2) | | OS | Windows 11 Pro 10.0.26300 | | RAM | 32 GB, 64 GB page file | | Build | main `9576c45` + this PR (`41f93b7`, `8003422`), `--profile diag --features diagnostics`, plus local merges of #55, #53 and #28 (needed on RDNA 4) | | Profile | Series S, `scripts/play.ps1 -Safe`, FSR 4.1.2 + Frame Generation 4.0.2, `VICTORY_PORT_CONSTANTS=1`, `VICTORY_PORT_DESCRIPTORS=1` | | Shaders | all re-translated (`victory shaders`: 25,790, 195 left) and `victory warm`: 88,752 pipelines made, 0 compiler crashes | One note for whoever merges this together with #55. #55 reads a view's record count from the table of strides (its `SLOT_COUNTS_AT` part) for views in tables too, not only for views picked from the heap. But the host writes those counts only for title slots, so a view in a table made afresh in dynamic slots reads 0 records. This PR's `HostHeap::dynamic_word` is the natural place to write them. Locally I write the count there as well (`counts + index ← view_records(view)`), next to the stride/kind word. Without #55 it doesn't matter. (Tested by me; the merge, the build and this write-up were done with the help of an AI assistant, Claude.)
Author
Owner

@⁠bordersky on GitHub · 2026-11-26 10:23 UTC · original

Tested on Linux: RX 7900 XT, RADV through vkd3d-proton master, GE-Proton10-34's Wine, on main 9576c45. This tree also carries fxceless#927's half views for table views, so integer_view there is asked only for views that do not move halves.

What #114 changed here is the word a table view now has. That word is what Beqren's raw typed loads (from #129, 1711cd1c2) check before reading raw: VIEW_INTEGER | 2*count.

  • Without #114, the raw loads were limited to heap views, and several faces were torn while their characters talked (mouths far too wide).
  • With #114, the raw loads also apply to table views, and the faces look right in the same scenes.

This is the player's observation in the prologue, without a capture. Two things are not separated: #114's own integer_view path, and the raw loads it lets through.

**@⁠bordersky** on GitHub · 2026-11-26 10:23 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/114#issuecomment-7189306269) Tested on Linux: RX 7900 XT, RADV through vkd3d-proton master, GE-Proton10-34's Wine, on main `9576c45`. This tree also carries fxceless#927's half views for table views, so `integer_view` there is asked only for views that do not move halves. What #114 changed here is the word a table view now has. That word is what Beqren's raw typed loads (from #129, `1711cd1c2`) check before reading raw: `VIEW_INTEGER | 2*count`. - Without #114, the raw loads were limited to heap views, and several faces were torn while their characters talked (mouths far too wide). - With #114, the raw loads also apply to table views, and the faces look right in the same scenes. This is the player's observation in the prologue, without a capture. Two things are not separated: #114's own `integer_view` path, and the raw loads it lets through.
Author
Owner

@⁠UwUCammie on GitHub · 2026-11-26 11:29 UTC · original · edited 2026-11-26 22:14 UTC

I isolated the renderer and translator changes in 41f93b7e on the Linux Radeon branch, with the bounded compute wait in both builds. Same saved data, Series X, RX 7900 XT, RADV 26.3.1, Wine 11.22 and vkd3d-proton GE build cae8353e (reported version 3.2.0). Each run started from its own copy of the same caches with source-keyed translations. Both reported just over 19 GiB of local budget at startup.

In 24 Hz recordings of the seated character turning back toward the server, the control kept the lips close together. With the table-kind change the jaw and lips moved, but the upper lip pulled up toward the nose and left a large opening. Both builds drew the facial skin. So I can reproduce a change in facial movement with #114 alone on this card, and the deformation remains on this combination. These two builds do not include #927 or the guarded raw typed loads in bordersky’s tree.

Two d16 paths covered by the new game-free test · Radeon test source

**@⁠UwUCammie** on GitHub · 2026-11-26 11:29 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/114#issuecomment-7190790065) · edited 2026-11-26 22:14 UTC I isolated the renderer and translator changes in 41f93b7e on the Linux Radeon branch, with the bounded compute wait in both builds. Same saved data, Series X, RX 7900 XT, RADV 26.3.1, Wine 11.22 and vkd3d-proton GE build `cae8353e` (reported version 3.2.0). Each run started from its own copy of the same caches with source-keyed translations. Both reported just over 19 GiB of local budget at startup. In 24 Hz recordings of the seated character turning back toward the server, the control kept the lips close together. With the table-kind change the jaw and lips moved, but the upper lip pulled up toward the nose and left a large opening. Both builds drew the facial skin. So I can reproduce a change in facial movement with #114 alone on this card, and the deformation remains on this combination. These two builds do not include #927 or the guarded raw typed loads in bordersky’s tree. [Two d16 paths covered by the new game-free test](https://github.com/secure-silicon/VIctory-7900XTX/pull/1) · [Radeon test source](https://github.com/UwUCammie/VIctory-7900XTX/tree/5d47a589)
Author
Owner

@⁠towade on GitHub · 2026-11-26 13:54 UTC · original

Tested together with #55 on an RX 9070 XT (RDNA 4), Windows: mouths move only with FrozenGuy7's record-count note applied

Hardware: Radeon RX 9070 XT 16 GB, driver 32.0.32029.2010 · Core i7-14700K · 64 GB · Windows 11 26300. Base: 9576c45 + #55 (without it this card does not get into the world) + this PR at 6170882, diag, all 25,790 shaders translated ahead, scripts\play.ps1 with defaults. Same cutscene before the boat both times.

build mouths in the cutscene eyes
#55 + this PR, as is shut, no change from before flat bright patches (#231)
#55 + this PR + dynamic_word also writing the record count move with the speech unchanged, still flat bright patches

For the second row I followed FrozenGuy7's note above: with #55, a view in a dynamic table slot reads 0 records unless dynamic_word writes the count beside the stride. My change, in crates/victory-gpu/src/descriptor/host.rs:

unsafe {
    let table = *data as *mut u32;
    table.add(index as usize).write_volatile(word);
    let counts = victory_shader::emit::SLOT_COUNTS_AT as usize;
    table.add(counts + index as usize).write_volatile(view.map_or(0, view_records));
}

plus a TRANSLATOR_VERSION bump so the cache is rebuilt. Tests (victory-gpu, victory-shader) pass with it. So if #55 and this PR both land, the one that lands second needs this, or faces stay still on cards that take #55's path.

Two more things, which I cannot pin on this PR yet (no A/B without it so far):

  • Overexposed at the start: right after loading the picture is clearly overexposed; this was new to me in both runs with this PR.
  • Shadows look as wrong as before in both runs.

0 first-chance exceptions; the second run went about 70 minutes without a crash.

AI-assisted (Claude Code).

**@⁠towade** on GitHub · 2026-11-26 13:54 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/114#issuecomment-7193996772) **Tested together with #55 on an RX 9070 XT (RDNA 4), Windows: mouths move only with FrozenGuy7's record-count note applied** Hardware: Radeon RX 9070 XT 16 GB, driver 32.0.32029.2010 · Core i7-14700K · 64 GB · Windows 11 26300. Base: `9576c45` + #55 (without it this card does not get into the world) + this PR at `6170882`, `diag`, all 25,790 shaders translated ahead, `scripts\play.ps1` with defaults. Same cutscene before the boat both times. | build | mouths in the cutscene | eyes | |---|---|---| | #55 + this PR, as is | shut, no change from before | flat bright patches (#231) | | #55 + this PR + `dynamic_word` also writing the record count | **move with the speech** | unchanged, still flat bright patches | For the second row I followed FrozenGuy7's note above: with #55, a view in a dynamic table slot reads 0 records unless `dynamic_word` writes the count beside the stride. My change, in `crates/victory-gpu/src/descriptor/host.rs`: ```rust unsafe { let table = *data as *mut u32; table.add(index as usize).write_volatile(word); let counts = victory_shader::emit::SLOT_COUNTS_AT as usize; table.add(counts + index as usize).write_volatile(view.map_or(0, view_records)); } ``` plus a `TRANSLATOR_VERSION` bump so the cache is rebuilt. Tests (`victory-gpu`, `victory-shader`) pass with it. So if #55 and this PR both land, the one that lands second needs this, or faces stay still on cards that take #55's path. Two more things, which I cannot pin on this PR yet (no A/B without it so far): - **Overexposed at the start**: right after loading the picture is clearly overexposed; this was new to me in both runs with this PR. - **Shadows** look as wrong as before in both runs. 0 first-chance exceptions; the second run went about 70 minutes without a crash. AI-assisted (Claude Code).
Author
Owner

@⁠Fedalv on GitHub · 2026-11-26 18:11 UTC · original

RX 7900 XTX (RDNA 3), Linux/Proton: this PR alone tears mouths; with fxceless#927's half views and the raw typed loads faces are right

Same as UwUCammie saw on the 7900 XT, now on a 7900 XTX: Linux, Mesa RADV 26.2.5, Proton Experimental 11.0-20261112 with vkd3d-proton master 71cae09, main c9c932c (later 2de9980), Series X, all shaders translated again for each build. Opening cutscenes (interrogation close-ups, the boat), compared by eye in captured frames; no captures posted (asset policy).

build mouths eyes
without this PR shut, no lip movement flat bright patches, no iris (#231)
this PR alone move, but the upper lip and teeth sit pulled up off the jaw, a dark gap below irises show
this PR + fxceless/victory-fork#927's half views + the raw typed loads (as bordersky/victory-linux carries them, applied onto c9c932c from its diff against 9576c45) move and sit on the jaw irises show

So on RDNA 3 this PR is half of the fix: it makes the face network compute, and the other two pieces make what it computes right. For #231 that also means the flat eyes come from the same zeros, not from reflections. The three together apply cleanly onto current main (victory-shader tests: 209 passed); the only conflict on rebasing is TRANSLATOR_VERSION.

AI-assisted (Claude Code); runs on my machine.

**@⁠Fedalv** on GitHub · 2026-11-26 18:11 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/114#issuecomment-7200160557) **RX 7900 XTX (RDNA 3), Linux/Proton: this PR alone tears mouths; with fxceless#927's half views and the raw typed loads faces are right** Same as UwUCammie saw on the 7900 XT, now on a 7900 XTX: Linux, Mesa RADV 26.2.5, Proton Experimental 11.0-20261112 with vkd3d-proton master `71cae09`, main `c9c932c` (later `2de9980`), Series X, all shaders translated again for each build. Opening cutscenes (interrogation close-ups, the boat), compared by eye in captured frames; no captures posted (asset policy). | build | mouths | eyes | |---|---|---| | without this PR | shut, no lip movement | flat bright patches, no iris (#231) | | this PR alone | move, but the upper lip and teeth sit pulled up off the jaw, a dark gap below | irises show | | this PR + fxceless/victory-fork#927's half views + the raw typed loads (as bordersky/victory-linux carries them, applied onto `c9c932c` from its diff against `9576c45`) | move and sit on the jaw | irises show | So on RDNA 3 this PR is half of the fix: it makes the face network compute, and the other two pieces make what it computes right. For #231 that also means the flat eyes come from the same zeros, not from reflections. The three together apply cleanly onto current main (`victory-shader` tests: 209 passed); the only conflict on rebasing is `TRANSLATOR_VERSION`. AI-assisted (Claude Code); runs on my machine.
Author
Owner

@⁠flamme-demon on GitHub · 2026-11-26 22:05 UTC · original

Tested and working here (eyes), together with fxceless/victory-fork#927's half views and the raw typed loads, taken from bordersky/victory-linux's tree as Fedalv describes above. That set applied onto c9c932c + the Linux PRs below without a conflict; victory-shader tests: 209 passed. All shaders translated again (its translator version), pipelines warmed again.

  • Eyes in close views now show irises and pupils; before, they were the flat bright patches of #231. Skin shading looks right. Seen in Series S and in Series X.
  • Mouth movement: not checked (no dialogue in the frames looked at).
  • Frame time unchanged (88–93 ms a frame in the same scene, Series S).

Setup: RX 7900 XTX (RDNA 3), Mesa RADV 26.2.4, Proton Experimental 20261112 with its wineserver rebuilt with the view tree, vkd3d-proton master 71cae09, Microsoft's d3dcompiler_47; main c9c932c + #151, #166, #200, #201, #274; diagnostics build, Series S (VICTORY_UPSCALER=6). Linux runs in a KVM guest with the card passed through.

Tested by Claude Code (Claude Opus 5.5) on my machine; I only watched the picture. No captures posted (asset policy).

**@⁠flamme-demon** on GitHub · 2026-11-26 22:05 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/114#issuecomment-7204343111) **Tested and working here** (eyes), together with fxceless/victory-fork#927's half views and the raw typed loads, taken from bordersky/victory-linux's tree as Fedalv describes above. That set applied onto `c9c932c` + the Linux PRs below without a conflict; `victory-shader` tests: 209 passed. All shaders translated again (its translator version), pipelines warmed again. - Eyes in close views now show irises and pupils; before, they were the flat bright patches of #231. Skin shading looks right. Seen in Series S and in Series X. - Mouth movement: not checked (no dialogue in the frames looked at). - Frame time unchanged (88–93 ms a frame in the same scene, Series S). Setup: RX 7900 XTX (RDNA 3), Mesa RADV 26.2.4, Proton Experimental 20261112 with its wineserver rebuilt with the view tree, vkd3d-proton master `71cae09`, Microsoft's `d3dcompiler_47`; main `c9c932c` + #151, #166, #200, #201, #274; diagnostics build, Series S (`VICTORY_UPSCALER=6`). Linux runs in a KVM guest with the card passed through. Tested by Claude Code (Claude Opus 5.5) on my machine; I only watched the picture. No captures posted (asset policy).
Author
Owner

@⁠borntofrag34 on GitHub · 2026-11-27 09:23 UTC · original

Tried on an RX 7900 GRE under Linux (RADV 26.3.1, vkd3d-proton 3.2.0, Proton Experimental's Wine), since the description says it was not yet seen on a 7900: the two commits picked onto the Linux branch of #440 (same base, c9c932c), every shader translated again, one run each, the opening cutscene's shot where both raise their hands, frames kept every eighth frame and cropped on the faces.

Tree Faces
without this mouths shut in 21 kept frames in a row over three spoken lines, eyes and heads moving; in a recorded frame the face deformer's shared input (title buffer 0xda62c8580+0x104000) is all zeros on the card and in the copy of title memory, as described here
with this (41f93b7, 8003422) faces deform, but wrongly: mouths wide open and the same in every kept frame, the woman's and the man's
with this and #329's shader commit (32a7e6f: d16 image bits, NaN guard, early depth, strict spills, all at their defaults) mouths change from frame to frame but stay agape and misshapen, with specks around the nose
the row above, and d16 typed buffer loads and stores of an integer view through a handle of integers (bufferLoad.i32 / bufferStore.i32, props 0x405, chosen at run time by the same word of the table of strides) instead of the float handle the same as the row above

So the network no longer gives zeros here, but not the right values either. The last row was my first suspect (the note that a typed store onto an integer view goes through a float handle and relies on the driver passing the bits): it is not that, the picture does not change. What it is has not been found yet; I am going on with a recorded frame and the network's programs one by one, and will report here.

🤖 Generated with Claude Code

**@⁠borntofrag34** on GitHub · 2026-11-27 09:23 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/114#issuecomment-7214622209) Tried on an RX 7900 GRE under Linux (RADV 26.3.1, vkd3d-proton 3.2.0, Proton Experimental's Wine), since the description says it was not yet seen on a 7900: the two commits picked onto the Linux branch of #440 (same base, c9c932c), every shader translated again, one run each, the opening cutscene's shot where both raise their hands, frames kept every eighth frame and cropped on the faces. | Tree | Faces | |---|---| | without this | mouths shut in 21 kept frames in a row over three spoken lines, eyes and heads moving; in a recorded frame the face deformer's shared input (`title buffer 0xda62c8580+0x104000`) is all zeros on the card and in the copy of title memory, as described here | | with this (41f93b7, 8003422) | faces deform, but wrongly: mouths wide open and the same in every kept frame, the woman's and the man's | | with this and #329's shader commit (32a7e6f: d16 image bits, NaN guard, early depth, strict spills, all at their defaults) | mouths change from frame to frame but stay agape and misshapen, with specks around the nose | | the row above, and d16 typed buffer loads and stores of an integer view through a handle of integers (`bufferLoad.i32` / `bufferStore.i32`, props 0x405, chosen at run time by the same word of the table of strides) instead of the float handle | the same as the row above | So the network no longer gives zeros here, but not the right values either. The last row was my first suspect (the note that a typed store onto an integer view goes through a float handle and relies on the driver passing the bits): it is not that, the picture does not change. What it is has not been found yet; I am going on with a recorded frame and the network's programs one by one, and will report here. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

@⁠borntofrag34 on GitHub · 2026-11-27 09:38 UTC · original

Follow-up on the RX 7900 GRE under RADV (same tree as above: this pull request and #329's shader commit on the Linux branch of #440). Three more things tried, one run each, none changes the picture (mouths agape, changing a little from frame to frame):

  • d16 typed buffer loads and stores of an integer view through a handle of integers (in the comment above);
  • every shader translated for a host of waves of 32 (VICTORY_HOST_WAVE=32), as on the RTX 4080 SUPER;
  • none of the float shortcuts for RDNA hosts (VICTORY_RDNA_FLOAT=0), so the same operations as on other vendors' cards.

From a frame recorded in that shot (two faces): the network's list runs 369 dispatches of 14 programs, and the buffer the deformer reads its result from (title buffer 0xda62c8580+0x104000, R16_UINT) holds 100,533 halves in one stretch, no NaN and no infinity, between -0.054 and 0.026 as f16 (mean magnitude 0.003), the first vertices some 4 cm away from rest; only 40 of its dwords changed in that frame. So the network gives numbers of a sensible size here, of a jaw wide open, and nearly the same from one frame to the next.

A question that would help to tell a difference between cards from something still missing: on the RTX 4080 SUPER, are the mouths right while people speak (closed between words, following the lines), or do faces move without matching the speech? If you have a frame captured there, the range of that buffer's halves would be enough to compare.

🤖 Generated with Claude Code

**@⁠borntofrag34** on GitHub · 2026-11-27 09:38 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/114#issuecomment-7214911417) Follow-up on the RX 7900 GRE under RADV (same tree as above: this pull request and #329's shader commit on the Linux branch of #440). Three more things tried, one run each, none changes the picture (mouths agape, changing a little from frame to frame): - d16 typed buffer loads and stores of an integer view through a handle of integers (in the comment above); - every shader translated for a host of waves of 32 (`VICTORY_HOST_WAVE=32`), as on the RTX 4080 SUPER; - none of the float shortcuts for RDNA hosts (`VICTORY_RDNA_FLOAT=0`), so the same operations as on other vendors' cards. From a frame recorded in that shot (two faces): the network's list runs 369 dispatches of 14 programs, and the buffer the deformer reads its result from (`title buffer 0xda62c8580+0x104000`, R16_UINT) holds 100,533 halves in one stretch, no NaN and no infinity, between -0.054 and 0.026 as f16 (mean magnitude 0.003), the first vertices some 4 cm away from rest; only 40 of its dwords changed in that frame. So the network gives numbers of a sensible size here, of a jaw wide open, and nearly the same from one frame to the next. A question that would help to tell a difference between cards from something still missing: on the RTX 4080 SUPER, are the mouths right while people speak (closed between words, following the lines), or do faces move without matching the speech? If you have a frame captured there, the range of that buffer's halves would be enough to compare. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

@⁠borntofrag34 on GitHub · 2026-11-27 13:23 UTC · original

Result on the RX 7900 GRE under RADV, as promised above: with the other two pieces Fedalv names, mouths are right here too.

Taken together as bordersky/victory-linux carries them (its tree at 2294b83 against main 9576c45, the translator's and the descriptors' files only: this pull request, fxceless/victory-fork#927's half views, and the raw typed loads), onto the Linux branch of #440. It applied without a conflict; every shader translated again.

Tree Faces
this pull request alone mouths wide open, the same in every frame (above)
this, #927's half views and the raw typed loads lips follow the lines and close between them, eyes blink; no speck by the nose

Two runs (100 s and 200 s: the street, the police stop, the car), frames kept every eighth frame and looked at; no captures posted (asset policy). The frame is as long as before: 28.9 ms against 28.8 over the same stretch.

So the same as on the 7900 XTX: on RDNA 3 under RADV this pull request is half of the fix. What I tried before and can now set aside as causes: integer handles for d16 typed accesses, waves of 32, the RDNA float shortcuts; and RADV's two compilers (ACO, and RADV_DEBUG=llvm) give the network's result word for word the same, so it is not the driver's compiler either.

It is in #440 now (542d441, with the authors named).

RX 7900 GRE, RADV 26.3.1, vkd3d-proton 3.2.0, Proton Experimental's Wine, Series X at 1920x1080.

🤖 Generated with Claude Code

**@⁠borntofrag34** on GitHub · 2026-11-27 13:23 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/114#issuecomment-7219414042) Result on the RX 7900 GRE under RADV, as promised above: with the other two pieces Fedalv names, mouths are right here too. Taken together as bordersky/victory-linux carries them (its tree at 2294b83 against main 9576c45, the translator's and the descriptors' files only: this pull request, fxceless/victory-fork#927's half views, and the raw typed loads), onto the Linux branch of #440. It applied without a conflict; every shader translated again. | Tree | Faces | |---|---| | this pull request alone | mouths wide open, the same in every frame (above) | | this, #927's half views and the raw typed loads | lips follow the lines and close between them, eyes blink; no speck by the nose | Two runs (100 s and 200 s: the street, the police stop, the car), frames kept every eighth frame and looked at; no captures posted (asset policy). The frame is as long as before: 28.9 ms against 28.8 over the same stretch. So the same as on the 7900 XTX: on RDNA 3 under RADV this pull request is half of the fix. What I tried before and can now set aside as causes: integer handles for d16 typed accesses, waves of 32, the RDNA float shortcuts; and RADV's two compilers (ACO, and `RADV_DEBUG=llvm`) give the network's result word for word the same, so it is not the driver's compiler either. It is in #440 now (542d441, with the authors named). RX 7900 GRE, RADV 26.3.1, vkd3d-proton 3.2.0, Proton Experimental's Wine, Series X at 1920x1080. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/114/head:github-bot/gh-114'
git switch 'github-bot/gh-114'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-114'
git switch 'github-bot/gh-114'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-114'
git switch 'github-bot/gh-114'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-114'
git switch 'main'
git merge --squash 'github-bot/gh-114'
git switch 'main'
git merge --ff-only 'github-bot/gh-114'
git switch 'main'
git merge 'github-bot/gh-114'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.