RTX 5080: no lip sync, different water colour and dark interiors compared to AMD — likely the shaders refused on 32-lane waves #1232
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?
Imported from fxceless/victory-fork. Originally posted by B0rm0t0s on 2026-11-26T01:16:42Z.
Hi! Thanks for the fork — on my RTX 5080 it's the best of everything I've tried. With
VICTORY_TEXTURE_BACK=1the water works and I've played through to Jason's house.Comparing my runs with AMD builds (streams of the AvatarManz / 7900 XTX build), I see three differences that look related:
What I checked
The same shaders fail in every run on the 5080:
E_INVALIDARG):2da4beb386509b77,369cbe906ea72764,2cc4c197ee29e291,02384a60fda6f2d0,6b82bc7d22016cb5,5dc3b25986622949,6f225b641c5b0708,a10179ab7eda0dc3f133e35efed2a48a("a lane mask exchanged where not…") and926c46bab3b86bd6("a lane mask holding lanes elsewhere…")f5e50eb2108c425b+ pixelce3f0432a08f1d35I then ran the same commit on the Ryzen 7800X3D's integrated GPU (RDNA2, 64-lane waves): 0 refused pipelines and 0 untranslated shaders. So all of these failures come from 32-lane waves. Unfortunately the world never rendered properly on the iGPU (thousands of draws dropped per frame), so I couldn't check lip sync or water there.
Hypothesis
Facial animation and part of the water shading are computed in these shaders, and the ray-tracing structure builder is refused for the same reason (avatarmanz/VIctory-7900XTX issue #37 reports the same on an RTX 5080).
Requests, if possible
VICTORY_AMBIENTin the AvatarManz build or the sky-dome ambient in VItoriaBr (ported from Belobug). On my 5080, VItoriaBr's interiors came out lit.I'll try
VICTORY_BVH_NO_HIT=1and report back. Happy to test anything on the 5080 and send logs. 🙏Imported from fxceless/victory-fork. Originally posted by HLVM04 on 2026-11-26T01:26:29Z.
Data from another 32-lane card (RTX 5070 Ti, Windows, Series S profile) on the refused list:
02384a60fda6f2d0,2cc4c197ee29e291,2da4beb386509b77,369cbe906ea72764,6b82bc7d22016cb5.2da4beb386509b77is not face or water work: bisected withVICTORY_SKIP_PIPELINESand checked in a PIX capture, it draws the textured wired glass of the first room's window.9376fd6) built 4 of the 7 we had refused then. It cost frame rate and made no visible change to the artifacts we were watching. We did not check lip sync or water with any of these, so we can't confirm or rule out your hypothesis for the others.VICTORY_BVH_BUILDER=1ran 240 s without a crash on our 32-lane card, at ~589 ms a frame (one run, picture not compared). So in that tree it is not refused for wave width.Imported from fxceless/victory-fork. Originally posted by Ym1r1710 on 2026-11-26T01:31:54Z.
Also on a 5080 here. On current main I only get 3 refused, not 8: compute 5dc3b25986622949, 6f225b641c5b0708 and mesh f5e50eb2108c425b. 2da4beb3, 369cbe90, 2cc4c197, 02384a60, 6b82bc7d and f133e35e all build and run for me.
5dc3b and 6f225 are refused only because I had
VICTORY_WAVE_WIDE_ONLY=noneset. Per the comment in shader_cache.rs those two are the water transmission volumetrics, and they're on the default wave-wide list together with 369cbe90 and 2cc4c197. With the list left at default, or withVICTORY_WAVE_WIDE=last, both build and the refused count drops to just the mesh one (2 runs each, no card loss). So if you have WAVE_WIDE_ONLY=none in your bat, or you're on an older commit, that would explain the water colour at least.Didn't get to a dialogue scene so can't say anything about lip sync. The mesh one (f5e50 + pixel ce3f0432) is refused every run for me too.
Imported from fxceless/victory-fork. Originally posted by Ym1r1710 on 2026-11-26T02:02:14Z.
Correction to what I wrote above: JigsawBR says in #1248 that with the wave-wide form 5dc3b and 6f225 (the _Tiled volumetrics) put black patches on the water around the boat in the first boat mission, and 369cbe90 stopped their card on the first world frame. My runs were only the opening cell, no water in view, so I couldn't have seen that. I've gone back to WAVE_WIDE_ONLY=none myself. TEXTURE_BACK=1 is still the one that matters for the water per the README.
Imported from fxceless/victory-fork. Originally posted by Garu667 on 2026-11-26T05:06:15Z.
Offline data point from an RTX 3080 10 GB (32-lane waves, Windows 11) on
main988aa41:victory translate shaders.rpf --pipelines --listwithVICTORY_HOST_WAVE=32, i.e. every compute program of the pack made into a host pipeline, no game run. 27 compute pipelines are refused withE_INVALIDARG(a run only meets the ones its scene uses: 8 in the first boat mission here). By the names the pack gives them:GpuParticleEmit:CS_Emit_Dynamic_Model*(6 variants: plain, Skinned, AttachMesh, AttachMesh_Skinned, Edge, EdgeHashGrid),CS_EmitCounts_Dynamic_Edge,GpuParticleUpdate:CS_Visibility(369cbe90)vfx_proj_decal_trail:9 programs (BuildProjectionBoxInstances, BuildVertexBufferFromNodes, DefragHeap_ComputeRelocations, PackVertexBuffer, SpawnLiquidTrail x2, UpdateAttachment x2, UpdateMeshIndices)vfx_triangleClip:CS_CollectTriangles,CS_CollectTriangles_Meshlets(6b82bc7d),CS_DefragHeap_ComputeRelocations(02384a60)water_shading:CS_TransmissionVolumetrics_Tiled(5dc3b259),_Tiled_LocalLights(6f225b64),_VolumePortalsOnly(a10179ab)shadowmask:CS_GenerateShadowMasks_SampleHairScreenSpace,..._HairOnly_SampleHairScreenSpacealphaResolve:CS_AlphTransmissionPrefilterMip(2da4beb3, the wired glass per HLVM04),sr_tracing:CS_Tiling_Generate_Opaque(2cc4c197)Also: 2 do not translate (
water_shading:CS_TransmissionVolumetricsSubmerged926c46ba,cascadeshadows_rendering:CS_ShadowRenderTiledCascadesAlphaCBPPPCf133e35e).On the lip sync question: none of the refused or untranslated programs is a face, skinning or animation pass by its name, so the missing lip movement probably has another cause than these refusals. The water colour may well be the three volumetrics above.
Full log available on request.
Imported from fxceless/victory-fork. Originally posted by HLVM04 on 2026-11-26T06:21:03Z.
On the lip sync row, agreeing with Garu667 that it's not the refusals: fork PR #927 ("16-bit buffer accesses keep their bits") reports that the face-animation network (
compute_graph_ops:*) computed zeros on 16-bit buffer accesses, so no mouth moved, and that mouths move with the fix. We merged it into our stack on an RTX 5070 Ti (Series S): no crash and no measurable frame cost (median ~80 ms at the time). We judged runs from still frames only, so we can't confirm the lip sync ourselves; it's the PR to try for that row.On the dark interiors, one thing to rule out: on our stack
VICTORY_SKIP_WC_BACK=1(#868) makes the room lamp light go missing, so rooms turn dark. If that switch is on in your runs, try without it before putting it all down to ray tracing.Imported from fxceless/victory-fork. Originally posted by FluffyCyanNova on 2026-11-26T10:11:09Z.
Names of the programs dropped on a 32-lane card (RTX 3060), what they feed, and which ones have anything to do with dark rooms
Every name below comes from the fork and upstream threads linked on each line, not from our own reverse engineering. The point: on a 32-lane card the "dropped N/frame without a host pipeline" lines are these programs, and almost none of them feed room lighting.
02384a60fda6f2d0vfx_triangleClip:CS_DefragHeap_ComputeRelocations6b82bc7d22016cb5vfx_triangleClip:CS_CollectTriangles_Meshlets(1024-thread group)369cbe906ea72764GpuParticleUpdate:CS_Visibility2da4beb386509b77CS_AlphTransmissionPrefilterMip2cc4c197ee29e291sr_tracing:CS_Tiling_Generate_Opaque5dc3b25986622949water_shading:CS_TransmissionVolumetrics_Tiled6f225b641c5b0708water_shading:CS_TransmissionVolumetrics_Tiled_LocalLightsf133e35efed2a48aCS_ShadowRenderTiledCascadesAlphaCBPPPCf607780aa8e502d0CS_IrradianceCache_ShadowTrace_WithFar269b802f878c24e1smh_modify:CS_InterpolateStrandStyleeeed82b877b44b5f,b83629b90cd2b7bcf5e50eb2108c425b+ pixelce3f0432a08f1d35PS_WindshieldWiperMaskWhat this means for dark rooms: only
2cc4c197ee29e291(reflections),f133e35efed2a48a(sun cascade shadows), the two water volumetrics andf607780aa8e502d0(probe GI) are lighting at all. None of them is the deferred-light pass for rooms. The fork README's note (no ray tracing) and this thread's "interiors almost black" fit the missing ray-traced bounce light better, since the ray-tracing structure builder is off. HLVM04 also reported in #1235 thatVICTORY_SKIP_WC_BACK=1(#868) removes the room lamp light on their stack.Fixes that exist for the 32-lane programs (public reports; we only merge-tested them on our line, we have not run them): fork #1002 makes
f133e35efed2a48atranslate exactly, and on an RTX 3060 12 GB (Zayfway) it cost nothing (272 ms against 264-274 ms); fork #823 / #1141 / #1176 build four of the others through the wave-wide form but JigsawBR reports black water patches (#1248), and HLVM04 reports it cost fps; fork #799's loose-LDS form builds three more but its author does not call it a safe default; fork #854/#994's paired exact forms cost about 66 ms of frame time on a 3060 in Zayfway's test (272 to 338 ms).Correction welcome: if you know the names for
eeed82b877b44b5fandb83629b90cd2b7bc, please add them.Imported from fxceless/victory-fork. Originally posted by anes66 on 2026-11-27T00:06:44Z.
Additional RTX 3060 12 GB / Windows 10 observation, with six of the refused compute hashes listed here and working boat buoyancy despite visibly incorrect water.
Tree:
3f65974, fork main4c60466plus Windows 10 Agility support #420 and snapshot-allocation retry #360. Ryzen 7 9800X3D, 32 GB RAM, NVIDIA driver file version32.0.16.2114, Agility 1.620.2, diagnostics build, Series X. Options:VICTORY_RELAY=2 VICTORY_LEVELS_ON_DEMAND=1 VICTORY_TEXTURE_BACK=1 VICTORY_D3D12_DRED=light VICTORY_D3D12_DEBUG=1; other inherited VIctory options cleared, caches retained.The player reports the boat now floats normally and the first boat mission was completed. The water still appears white; frame rate remained low. Runtime activation of texture readback is confirmed, with its sampled counter reaching 60,800. The 21 min 52 s run ended by closing the window, exit 0, without allocation-failure/device-removal messages or NVIDIA/Display events in the exported interval.
Seven compute pipeline sets were refused with
0x80070057:02384a60fda6f2d0,2da4beb386509b77,369cbe906ea72764,5dc3b25986622949,6b82bc7d22016cb5,6f225b641c5b0708,926c46bab3b86bd6. The first six overlap this issue's refused list; the last was previously listed here as untranslated. The two water hashes continue to be logged as dropped.This does not establish which rejection causes the white water. The previous sinking run used an older build with texture readback off, so it is not an isolated A/B. No raw logs, game files, captures or save data attached.
Follow-up on the same
3f65974executable, now withCARD_BUFFERS_MIN_KB=64 CARD_BUFFERS_MB=1536 CARD_HASH_LEN=1: a 29 min 44 s manual run again reached gameplay and ended by closing the window, exit 0, without device loss. The water defect is intermittent rather than permanently white: the player reports white/missing surface while moving and normal blue waves/reflections after standing still. The supplied local screenshots show both states, including visible seabed where the surface disappears. They are not timestamp-aligned to the log, so no particular pass or cause is established. Texture readback remained active; the sampled counter reached 118,400. Captures and raw logs remain local.Imported from fxceless/victory-fork. Originally posted by advxrsary on 2026-11-27T14:25:07Z.
Code for the "teach the translator these shaders on 32-lane hosts" request, from another RTX 5080 (driver 621.24, Windows 11): https://github.com/advxrsary/AnyXboxX/tree/wave64-exact-forms
The branch is on the AnyXboxX tree (
LooperSalty/AnyXboxX5a08a334, the layer is inthird_party/victory), not on this fork. The translator files have the same layout, so the commits are readable here too. The details are in LooperSalty/AnyXboxX#213.The main part is a new exact form for wave64 compute programs, the paired form (
emit/paired.rs): one host wave runs one console wave, and each thread runs console lanes n and n + 32. The translator tries it before each approximate form.With that branch, every program of this issue translates for a 32..32 host. The form each one gets (census of
translate, host wave 32):2da4beb386509b77369cbe906ea727642cc4c197ee29e29102384a60fda6f2d06b82bc7d22016cb55dc3b259866229496f225b641c5b0708a10179ab7eda0dc3f133e35efed2a48a926c46bab3b86bd6The mesh pipeline
f5e50eb2108c425bis not part of this work.Measured. Over the pack, 1,151 wave64 compute programs: 759 need no special form, 113 use exchange, 141 halves, 72 local, 66 paired, and none uses an approximate form.
cargo test -p victory-shader: 332 passed. In the opening cell (245 s runs) the driver refused no pipeline and the device was not lost.Not tested. Water, lip sync and the boat mission. My scene is the opening cell only. The comment above about black patches from the wave-wide form of
5dc3b259and6f225b64is the reason to check the paired form on the boat before you trust it. I also did not testf133e35efor the missing head of #1356.I am now moving the same commits to
Proudnoob4/VIctory-NVIDIA(nvidia-hybrid-v2), where the two water programs are still refused. I will post that branch when it builds and runs.AI-assisted (Claude Code). Builds, tests and game runs are from my own machine and my own copy of the game.
Imported from fxceless/victory-fork. Originally posted by advxrsary on 2026-11-28T00:43:34Z.
One more result from the same work. It is about the picture, not the frame rate.
Cause on our build: the layer left two program families of the title out by name while the ray-tracing structure builder is off. With both made again, the shimmer is gone.
The two families (in
crates/victory-gpu/src/pipeline/make.rs):CS_RaytracingResolveleft out on purpose: shades ray-tracing hits without BVHCS_ScreenProbes_ActivateRaysleft out on purpose: ray activation shader without BVHWithout the builder, these programs still do the title's own work. Each ray finds nothing, the program takes its miss branch and writes the sky's light into the light probes. If the layer leaves the programs out, nothing writes the probes. The probes keep the bytes that their memory had before. Surfaces that take much of their light from the probes then show those bytes: leaves, thin blinds, glass, bottles, a watch face. The colours change with the camera angle.
What to set (no rebuild on a base that has these switches):
Then run
victory shaders <rpf>andvictory warm --usedwith the same switches. On our basewarm --usedmakes the programs that the switches let in. Here it made 1,009 pipelines in 311 s (12 processes, median 3.6 s each). If you do not warm them, the first minutes in the world compile them, and the shimmer stays until the queue is empty.Tested on: RTX 5080 16 GB, driver 621.24, Ryzen 7 9800X3D, 32 GB, Windows 11, Series X profile, 2560x1440, DLSS Quality. Base: trustno1-coder/VIctory-NVIDIA at
29d8dbfplus open pull requests of that repository. Spot: the balcony of Jason's house and the rooms behind the glass door (the vertical blinds, the potted plants, a bottle in the kitchen).What the test shows and what it does not:
What did not help (so that nobody repeats it):
CS_DeferredFallbacksAlpha_SkyProbe(b7953a05b189dfc1) left outCS_GatherAlphaVBuffer_WithFar(36f04a4ed0ad1d9b) left outThe tiled lighting programs are not the cause.
TL_PS_PBR_MATERIAL_TRANSLUCENCY(a9a0b814cd938ec0) andBLURTRANSMISSION(0e44bcc54eaebe5f) take the same 222 root parameters and 24 samplers asSTANDARD(1cd9bc634417a981).TRANSLUCENCYreads the same resources asSTANDARD. These classes only use more of the light of the probes.AI-assisted (Claude Code).
This base leaves both families out without the builder (
crates/victory-gpu/src/pipeline/make.rs).Imported from fxceless/victory-fork. Originally posted by advxrsary on 2026-11-28T00:47:12Z.
A correction to my comment above. We tested the two switches one at a time.
CS_ScreenProbes_ActivateRaysonly (VICTORY_ACTIVATE_RAYS=1)So
CS_ScreenProbes_ActivateRaysis the one that matters. The 1,000CS_RaytracingResolveprograms are not necessary for this, and you do not have to warm them. Set onlyVICTORY_ACTIVATE_RAYS=1on a base that leaves the activation out.trustno1-coder/VIctory-NVIDIA
mainalready makes the activation by default (the comment inpipeline/make.rsnames its issue 2 and gives the same cause: the probes kept old values). Our base was older than that change.Same machine and same spot as before. One player judged it by eye in play.
AI-assisted (Claude Code).
Imported from fxceless/victory-fork. Originally posted by regiumlepidi on 2026-11-28T01:52:11Z.
Another offline data point from a 32-lane card (RTX 5070 Ti, driver 617.42, Windows 11), in the same format as Garu667's:
victory translate --validate --pipelines --listover the wholeshaders.rpfwithVICTORY_HOST_WAVE=32. Every emitted program was made into a real host pipeline on the card; no game run.The tree is regiumlepidi/VIctory-NVIDIA
k-v4(trustno1 main plus ports). The relevant pieces for this thread:26600c6), behindVICTORY_WAVE_PAIRS=1;cd93552water tile slots andf299fbawater light;VICTORY_LDS_TICKET_BORROW=1: a 32 KiB group numbers its host waves in LDS dword 0 and clears it before guest code, instead of allocating 32772 bytes. That was the last validator failure onCS_CollectTriangles_Meshlets(6b82bc7d).Other switches in the run:
VICTORY_EXACT_MASK_COPIES=1 VICTORY_EXACT_IO=1 VICTORY_MASK_DEMANDS=1 VICTORY_TWO_TERMS=1. All are opt-in. With them unset, every emitted hash is unchanged.So on this card, none of the 27 compute programs in Garu667's table is refused any more: GPU particle emit,
CS_Visibility, the proj-decal trail set, triangle clip, the three water volumetrics, hair shadow masks,CS_AlphTransmissionPrefilterMip,CS_Tiling_Generate_Opaque. What's left:weatherParticle:CS_BeginUpdate(7f61193d2c0e5f22). Its DXIL validates (6 KB, WaveSize 32), butCreateComputePipelineStatereturns E_OUTOFMEMORY from the NVIDIA driver even with every switch off. I'm looking into which construct the compiler chokes on.shadowmask:CS_TraceShadowRays_*, "a descriptor read only as data".GS_VoxelizeGeneric*, "an address in an SGPR that is no root parameter".MS_VS_PedTransform*,*Skin*Fire*): 66 components × 128 vertices.Two traps I hit that may explain odd numbers in other reports:
translate --pipelinesthen run on it: a ~31 GB "budget", DLSS "adapter not supported", under 1 fps, and with--pipelinesthe AMD compiler (amdxc64.dll) crashed outright onPS_BreakableGlass_AlphaPrepass, which builds fine on the NVIDIA card. Fix (high-performance adapter,VICTORY_GPU_PREFERENCE=0to opt out) in trustno1-coder/VIctory-NVIDIA#555. If your log shows a budget near half your system RAM, oradapter="AMD Radeon(TM) Graphics"on an NVIDIA box, that's this.translate --pipelineswithoutVICTORY_HOST_WAVE=32builds wave64 forms. On a 32-lane card I got 391 compute pipelines refused with E_INVALIDARG that all build once the variable is set. Make sure any refused-pipeline counts fromtranslatewere taken with it.This analysis was done with AI assistance (Claude Code) on my own hardware; the paired-form port and the LDS borrow were written with Codex and reviewed and tested here.