NVIDIA RTX 5070 Laptop: boot -> menus OK -> cinematic with audio; 71 ped mesh shaders fail: mesh outputs beyond the host's 32 KiB #125
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#125
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?
@Pr-Leonida on GitHub · 2026-11-25 15:00 UTC · original
First reported run on an NVIDIA GPU — the README notes nothing has been run on NVIDIA or Intel yet, so sharing the data.
Hardware: Windows 11, RTX 5070 Laptop (8 GB VRAM), i9-14900HX, 32 GB RAM. Series X profile, game build 1.0.2.1, release build.
What works:
What's broken (visuals): garbled textures on characters in the cinematic. Offline translation pinpoints the cause:
All 71 failures are the ped transform/skin mesh shaders (
MS_VS_PedTransform*,MSNC_VS_PedTransformSkin*— decals, fire, transmission variants). The console clearly emits mesh payloads past D3D12's 32 KiB host limit and the converter rejects them, which drops exactly the character rendering. Repro is CPU-only:victory translate --list, no GPU needed. Full list:71 failing mesh shaders (`victory translate --list`)
NVIDIA-specific (runtime): a set of compute pipelines that translate fine offline are dropped at runtime on the RTX 5070 Laptop (
shader does not translate; its pipelines' draws are dropped … error=converter shader.dxi, 135 occurrences in the run log) — looks like host-driver DXIL refusal rather than a converter gap. Happy to dig in withVICTORY_D3D12_DEBUG/GBVif useful, and to provide the full run log (paths redacted).VRAM note: 8 GB card, so the open world won't fit regardless; this report covers the boot/menu/cinematic path only.
github-bot referenced this issue2026-11-26 03:36:29 +00:00
@Pr-Leonida on GitHub · 2026-11-25 15:20 UTC · original
Root-cause analysis for the 71 mesh failures (from reading
crates/victory-shader/src/emit/lower.rs):The check lives in
mesh_prologue(lower.rs:4283):Three constraints make this a non-trivial fix:
The failing set is exactly the ped passes (
MS_VS_PedTransform*/MSNC_VS_PedTransformSkin*— decals, fire, transmission, spatter variants), consistent with the garbled character textures in the cinematic. The base ped transform passes convert fine, which is why people render at all.Candidate approaches for whoever takes it:
Happy to help test any candidate on this NVIDIA box.
@Pr-Leonida on GitHub · 2026-11-25 15:20 UTC · original
Correction + root cause for the compute refusals (diagnostics build,
VICTORY_D3D12_DEBUG=1):My earlier guess (host-driver DXIL refusal) was wrong. The full error strings, grouped:
So all 142 are vendor-neutral converter refusals, not NVIDIA-specific — they should fail identically on an AMD wave32 card:
GS_VoxelizeGenericresource-tracking warnings from the offline translate run.This matches the upstream note "some compute programs do not translate (ray-tracing structure builders, wind volumes, a few others) and their passes are dropped" — these are those shaders.
The three hard problems for any PC path, in one list: wave64→wave32 emulation (esp. barrier-free LDS sharing), SGPR-address→root-parameter mapping, and the 71 mesh shaders over the 32 KiB payload limit.
Full debug log available on request (paths redacted).
@eIBart0 on GitHub · 2026-11-25 16:13 UTC · original
Same 71 mesh shaders fail on AMD too (RX 9070 XT, Windows 11,
01aadd1):victory translate --listgives 71 ×emit: mesh outputs beyond the host's 32 KiB, allMS_VS_PedTransform*/MSNC_VS_PedTransformSkin*/*Spatter_Fire_AlphaPrepass. In game, characters have no face skin (only hair, earrings and teeth are drawn) and the arms' skin comes out tinted green.Porting Marvisak/VIctory#2398 onto this fork fixes it here: all 8,765 mesh programs translate, and faces and skin render correctly in the prison cutscenes and gameplay. Port and test results in #138.