Linux/RADV, RX 7900 XTX at 25-30 fps: every character has no head skin (eyes, teeth, hair only); not a switch, fxceless 52ac4ec draws them #400

Open
opened 2026-11-27 00:56:37 +00:00 by github-bot · 2 comments
Owner

@⁠LofisMusk on GitHub · 2026-11-26 23:47 UTC · original

From a tester working with Claude (AI-assisted). Measured on my own machine; no game data beyond hashes and counts. Screenshots are kept locally.

Setup: Arch Linux, kernel 7.3, i9-13900KF, 32 GB RAM, RX 7900 XTX (RADV, Mesa 26.3.1), Wine 11.22 with the view-tree wineserver, vkd3d-proton master 71cae091. Tree: 126acb3 plus the Linux patches of #386 and the corrected placeholder fallback from #59. Release build, scripts/play.ps1 settings (not -Safe), Series X profile, every pipeline warmed (victory warm: 83,563 made).

Result: 25 fps in the prison cell and 30 (the cap) in lighter scenes. Every character has no head or neck skin: only the eyes, teeth and hair are drawn, and the hair hangs loose instead of in the ponytail. On the same machine and stack, fxceless/victory-gta6 at 52ac4ec draws Lucia correctly (skin, neck, tied hair, the INMATE print), at 7 fps.

Checked one at a time in the cell scene, with screenshots. None brings the skin back:

Change Skin
VICTORY_FETCH_CHECK=1 (#138) no
VICTORY_LAND_ECHO=0 (#59) no
VICTORY_RELAY=1 VICTORY_CARD_STEPS=0 (#13) no
VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=4096 (#138's set) no
none of play.ps1's switches; -Safe no
all ~75 switches that are on by default in this tree and not in fxceless, set to 0 at once no (but the INMATE print comes back: it is one of the memory/landing ones: LAND*, SEND_*, *_IN_PLACE, KNOWN_HOLES, SLOT_*, HEAP_* …)
VICTORY_RDNA_FLOAT=0 (re-translated) no
VICTORY_TEXTURE_GUARD=0 no
VICTORY_UPSCALER=6 no
VICTORY_BAKE_TEXTURES_MS=60000 no
this tree at 9c23e8d (where #138 saw faces) no
fxceless #927 (16-bit through table views, "the face network computed zeros") ported by hand no
fxceless #684 (32-bit integer typed views as floats, "meshlet culling appends packed meshlet numbers") ported no

So it is not the first-launch pipeline case of #75 (all warmed, nothing "being made"), and not a switch. Something in the code differs between the two trees on the path character heads take.

Does anyone see heads drawn on Linux with this tree, or on Windows with an RX 7900 XTX? If so, with what?

**@⁠LofisMusk** on GitHub · 2026-11-26 23:47 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/400) *From a tester working with Claude (AI-assisted). Measured on my own machine; no game data beyond hashes and counts. Screenshots are kept locally.* **Setup:** Arch Linux, kernel 7.3, i9-13900KF, 32 GB RAM, RX 7900 XTX (RADV, Mesa 26.3.1), Wine 11.22 with the view-tree wineserver, vkd3d-proton master `71cae091`. Tree: `126acb3` plus the Linux patches of #386 and the corrected placeholder fallback from #59. Release build, `scripts/play.ps1` settings (not `-Safe`), Series X profile, every pipeline warmed (`victory warm`: 83,563 made). **Result:** 25 fps in the prison cell and 30 (the cap) in lighter scenes. Every character has **no head or neck skin**: only the eyes, teeth and hair are drawn, and the hair hangs loose instead of in the ponytail. On the same machine and stack, `fxceless/victory-gta6` at `52ac4ec` draws Lucia correctly (skin, neck, tied hair, the INMATE print), at 7 fps. **Checked one at a time in the cell scene, with screenshots. None brings the skin back:** | Change | Skin | |---|---| | `VICTORY_FETCH_CHECK=1` (#138) | no | | `VICTORY_LAND_ECHO=0` (#59) | no | | `VICTORY_RELAY=1 VICTORY_CARD_STEPS=0` (#13) | no | | `VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=4096` (#138's set) | no | | none of `play.ps1`'s switches; `-Safe` | no | | all ~75 switches that are on by default in this tree and not in fxceless, set to `0` at once | no (but the **INMATE print comes back**: it is one of the memory/landing ones: `LAND*`, `SEND_*`, `*_IN_PLACE`, `KNOWN_HOLES`, `SLOT_*`, `HEAP_*` …) | | `VICTORY_RDNA_FLOAT=0` (re-translated) | no | | `VICTORY_TEXTURE_GUARD=0` | no | | `VICTORY_UPSCALER=6` | no | | `VICTORY_BAKE_TEXTURES_MS=60000` | no | | this tree at `9c23e8d` (where #138 saw faces) | no | | fxceless #927 (16-bit through table views, "the face network computed zeros") ported by hand | no | | fxceless #684 (32-bit integer typed views as floats, "meshlet culling appends packed meshlet numbers") ported | no | So it is not the first-launch pipeline case of #75 (all warmed, nothing "being made"), and not a switch. Something in the code differs between the two trees on the path character heads take. Does anyone see heads drawn on Linux with this tree, or on Windows with an RX 7900 XTX? If so, with what?
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 00:56:37 +00:00
Author
Owner

@⁠LofisMusk on GitHub · 2026-11-27 08:26 UTC · original

Cause found: the skin bake runs too early at our frame rate. Same machine and tree as above (126acb3 + #386 + the placeholder fallback), release.

Capped at 5 a second for the whole run (VICTORY_FRAME_INTERVAL_MS=200), every character has head and neck skin and Lucia's hair is tied. Uncapped (25-30 a second), 20 runs out of 20 had none. fxceless's tree at 3-7 a second has it in some runs and not in others: a bisect over its 99 commits since the common ancestor a26859f gave a commit that does not run here (submit_split is not used with the default submit_cut), so the result there is chance.

The log's "a draw of the title's decoration bake" lines show why: at every bake 6,000 to 23,000 slots of textures picked by index are still queued, and only a few hundred are due. The title bakes a set number of frames after it asks for the textures, and at 25 a second they have not landed. What is baked then stays for the run.

I'm testing a switch that slows frames only while the title loads (VICTORY_LOAD_INTERVAL_MS=<ms>[,<hold s>]: a frame takes at least that long until no bake draw has been seen for hold seconds, then the usual interval). Results and a PR to follow.

AI-assisted (Claude Code). Screenshots kept locally.

**@⁠LofisMusk** on GitHub · 2026-11-27 08:26 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/400#issuecomment-7213548416) **Cause found: the skin bake runs too early at our frame rate.** Same machine and tree as above (126acb3 + #386 + the placeholder fallback), release. Capped at 5 a second for the whole run (`VICTORY_FRAME_INTERVAL_MS=200`), every character has head and neck skin and Lucia's hair is tied. Uncapped (25-30 a second), 20 runs out of 20 had none. fxceless's tree at 3-7 a second has it in some runs and not in others: a bisect over its 99 commits since the common ancestor a26859f gave a commit that does not run here (`submit_split` is not used with the default `submit_cut`), so the result there is chance. The log's "a draw of the title's decoration bake" lines show why: at every bake 6,000 to 23,000 slots of textures picked by index are still queued, and only a few hundred are due. The title bakes a set number of frames after it asks for the textures, and at 25 a second they have not landed. What is baked then stays for the run. I'm testing a switch that slows frames only while the title loads (`VICTORY_LOAD_INTERVAL_MS=<ms>[,<hold s>]`: a frame takes at least that long until no bake draw has been seen for `hold` seconds, then the usual interval). Results and a PR to follow. *AI-assisted (Claude Code). Screenshots kept locally.*
Author
Owner

@⁠jtrudeau1530 on GitHub · 2026-11-27 14:25 UTC · original

AI-assisted (Claude Code), measured on our own machine: Arch, RX 7900 XT (RADV, Mesa 26.2.3), Wine 11.18 + tree wineserver, vkd3d-proton master 71cae091.

Possibly the same root cause, worth one run on your side: VKD3D_CONFIG=no_descriptor_heap.

Our symptom on this stack was melting/morphing faces (#231-adjacent) rather than missing skin, but it is the same facial network (CS_*Operation f16 kernels → CS_BlendshapeTranslationsHSSGraphOutputExtract 970c4fbb3b017c0e). What we found:

  • vkd3d-proton master 71cae091 enables VK_EXT_descriptor_heap on RADV (log: "VK_EXT_descriptor_heap enabled").
  • With it, the scratch UAV of CS_FormulaOperation (0aa7934094794dbf, a 1024-thread interpreter with a barrier between levels) reaches NIR as access=restrict without coherent, so ACO emits the loads without glc. A 1024-thread group spans two CUs with separate L0s, so later levels read stale values. Every later stage builds on the wrong values.
  • Evidence:
    • An in-list GPU readback right after that one dispatch matched an offline ISA replay only 77% (786 outputs).
    • The same SPIR-V in a standalone Vulkan harness matches exactly. Stripping Coherent from it reproduces the in-game values (98% identical).
    • With VKD3D_CONFIG=no_descriptor_heap, the in-game readback is 100% within rounding, and faces are natural and animate.
  • Cost here: play settings, 300 s walk, 3 runs each, mean 28.7 vs 29.8 fps.

Not yet isolated whether the coherence is dropped in RADV's descriptor-heap path or in vkd3d-proton's heap mapping. We haven't written a VK_EXT_descriptor_heap-only repro yet. Your frame-rate dependence (5 fps fixes it) fits a stale-cache race too, so it'd be interesting to see if the switch brings the skin back uncapped.

**@⁠jtrudeau1530** on GitHub · 2026-11-27 14:25 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/400#issuecomment-7220762517) *AI-assisted (Claude Code), measured on our own machine: Arch, RX 7900 XT (RADV, Mesa 26.2.3), Wine 11.18 + tree wineserver, vkd3d-proton master `71cae091`.* Possibly the same root cause, worth one run on your side: **`VKD3D_CONFIG=no_descriptor_heap`**. Our symptom on this stack was melting/morphing faces (#231-adjacent) rather than missing skin, but it is the same facial network (`CS_*Operation` f16 kernels → `CS_BlendshapeTranslationsHSSGraphOutputExtract` 970c4fbb3b017c0e). What we found: - vkd3d-proton master `71cae091` enables **VK_EXT_descriptor_heap** on RADV (log: "VK_EXT_descriptor_heap enabled"). - With it, the scratch UAV of `CS_FormulaOperation` (0aa7934094794dbf, a 1024-thread interpreter with a barrier between levels) reaches NIR as `access=restrict` **without `coherent`**, so ACO emits the loads without `glc`. A 1024-thread group spans two CUs with separate L0s, so later levels read stale values. Every later stage builds on the wrong values. - Evidence: - An in-list GPU readback right after that one dispatch matched an offline ISA replay only 77% (786 outputs). - The same SPIR-V in a standalone Vulkan harness matches exactly. Stripping `Coherent` from it reproduces the in-game values (98% identical). - With `VKD3D_CONFIG=no_descriptor_heap`, the in-game readback is 100% within rounding, and faces are natural and animate. - Cost here: play settings, 300 s walk, 3 runs each, mean **28.7 vs 29.8 fps**. Not yet isolated whether the coherence is dropped in RADV's descriptor-heap path or in vkd3d-proton's heap mapping. We haven't written a VK_EXT_descriptor_heap-only repro yet. Your frame-rate dependence (5 fps fixes it) fits a stale-cache race too, so it'd be interesting to see if the switch brings the skin back uncapped.
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/avatarmanz--VIctory-7900XTX#400
No description provided.