RTX 4050 Laptop 6 GB, Series S: seven computes cost ~125 ms of GPU a frame once a 32-lane port runs them #1275
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 Curry-976 on 2026-11-26T09:42:23Z.
RTX 4050 Laptop 6 GB, Series S: seven computes cost ~125 ms of GPU a frame once a 32-lane port runs them. Which passes are they, and is there a cheaper way?
Machine: RTX 4050 Laptop 6 GB (Ada, 32-lane waves, ~4.9 GB budget), driver 32.0.16.1742, Intel i5-12450HX, 24 GB RAM (+ page file), Windows 11 26300, game package 1.0.2.1,
--console series-s, 1080p reported display.How we got here (one change at a time, each judged on the same spots):
-Safe: sharp, 4-5 fps, 22-23 GB private.THIN+JOIN_PARTStogether give 7-9 fps but break the picture (avatarmanz#62).18ea644+ #1081 + #798 (Series S black screen fixed) + #1002 + #592, Series S: 5-7 fps, 15-17 GB, but seven computes are refused on this card (02384a60fda6f2d0 2da4beb386509b77 369cbe906ea72764 5dc3b25986622949 6b82bc7d22016cb5 6f225b641c5b0708 926c46bab3b86bd6) and the player character shows 16 px staircase light.f4b48ad(a 7900XTX derivative with an NVIDIA wave32 port; built from source, never its release binary): 0 refused, staircase gone, very stable picture, but 3 fps. CPU preparing fell to ~70 ms a frame (from 110-130 on step 2) while the GPU went to ~200-250 ms a frame.VICTORY_TEXTURE_NO_WAIT=0(HLVM04's tip in #1022/#923) brought the player's face and neck back at no fps cost.GPU timing run (
VICTORY_GPU_TIMING=1 VICTORY_D3D12_DRED=1, ~2 min in the first rooms), slow list commands summed per shader, ~296 frames:8cbd7f5b9ce7530c47d8c225abfcb246528278df1274cb3332aa8384586e0f128b437ab61d8008fef46117391dd81461f7fc6c984427fef3None of these seven appears at all in a step-2 log on the same machine.
VICTORY_DISPLAY_MODE=1280x720changes nothing (the internal targets stay the same size).Leaving out
8cbd7f5b9ce7530c(VICTORY_SKIP_PIPELINES): 4 fps instead of 3 (GPU ~170-185 ms), and cutscenes look sharper to the player, so it may be a blur-type pass. I have not found the program names: the shader cache does not show them.Questions:
No game files, logs of the title or images attached. Tested by the person playing; the runs were driven and this written with Claude Code (Claude Opus 5.5).
Imported from fxceless/victory-fork. Originally posted by HLVM04 on 2026-11-26T09:56:15Z.
Partial answers from an RTX 5070 Ti (16 GB, 32-lane), Series S, on a fork stack (not cool_fox):
02384a60fda6f2d0,2da4beb386509b77,369cbe906ea72764,6b82bc7d22016cb5.2da4beb386509b77is the title's textured wired glass (bisected withVICTORY_SKIP_PIPELINES, checked in a PIX capture), so it is not lighting or skin.VICTORY_TEXTURE_NO_WAIT=0: the mechanism behind that is written up in #923.Imported from fxceless/victory-fork. Originally posted by Curry-976 on 2026-11-26T10:19:45Z.
Thanks, that helped. I tried #799 on the 6 GB card, here is what it gave.
Setup: RTX 4050 Laptop 6 GB (32-lane), driver 32.0.16.1742, i5-12450HX, 24 GB RAM, Series S, game 1.0.2.1. This fork
18ea644+ #1081 + #798 + #1002 + #592, then #799 picked on top. Three conflicts, because main moved on since the PR: I kept main'sconstant_view_size(the CBV clamp is already there) and main'slds_flag_regionloop, with!LDS_LOOSE.get()added to its refusal, and put the loose-LDS tries after main'swide_lastblock.cargo test -p victory-shader --lib: 225 passed, 0 failed, 3 ignored.Result, same profile with and without #799:
5dc3b25986622949and6f225b641c5b0708are still refused (0x80070057).So on this card, running those programs in the loose form costs about as much as cool_fox's wave32 port (3 fps), and does not fix the staircase. I have taken #799 back out locally. My guess is that the card is the limit here (6 GB, near its budget), unlike on your 5070 Ti, but I have not measured each hash on its own.
Tested by the person playing; the runs were driven and this written with Claude Code (Claude Opus 5.5).
Imported from fxceless/victory-fork. Originally posted by Dathinel on 2026-11-27T00:05:49Z.
A data point for the question in this issue, from a smaller card on the same tree (cool_fox
f4b48adlineage): RTX 3050 Laptop 4 GB (32-lane), Ryzen 7 7435HS, 24 GB RAM, Series S, game 1.0.2.1.Your seven hashes did not run in the scene I measured (a boat scene in free play), so this is a different list, but the same kind of answer. Measured with a batch GPU timing that collects timestamps behind the existing batch fence instead of sending lists one at a time (so the frame is not serialised; about 6,050 commands a frame, none lost):
indirect_light_probes:CS_Primary_GatherCopy, one commandindirect_light_probesbvh_skinning:*(41 programs;RigidVelocity,TreeAnimVelocity,PedSecMotionVelocitythe heavy ones)scattering_transmittance_systemsr_tracingSo about two thirds of the card's time went to work that only serves ray tracing, which does not run on this card:
bvh_skinningprepares geometry for the structure builder (off on 32-lane), and the probes gather by rays with nothing to hit.Leaving out the 41
bvh_skinningprograms and the twoCS_Primary_GatherCopyvariants (#ce33eeaaf36bce05,#cfd83392ec9ae408) withVICTORY_SKIP_PIPELINES: 67 ms of card time by the same profile, and 6.5 to 6.7 fps against 4.1 to 4.9 with the profiler off. In the captures of that daylight scene the picture did not change. One run per row, one scene; interiors and night not checked with these skips, and if the probes feed light anywhere it would be there.On your second question (wave64 as two 32-lane waves, or something else): on this card the cost was not in lowered programs in general. One probe gather held 39 % of the frame's card time on its own.
The hash list, the full table and what else was tried on 4 GB (texture residency, the interior fog veil) are in https://github.com/Dathinel/victory-4gb/issues/4 and its README. If you can run the same two skips on the 4050 6 GB, the numbers would be worth having side by side.
No game files, logs of the title or images attached. Measured on the machine above; the runs were driven and this written with AI assistance (Claude Code; the profiler is Codex's work).
Imported from fxceless/victory-fork. Originally posted by Robotniq on 2026-11-27T10:15:45Z.
A data point from an 8 GB desktop card, on another tree: RTX 3070 Ti 8 GB (32-lane, ~7.2 GB budget, driver 32.0.16.2140), i7-13700F, 32 GB RAM, Windows 11 26200, game 1.0.2.1,
--console series-s. Tree: Belobug/VIctory-Belobug-AMDa-publier4eb6cfd, diagnostics build, itsscripts\play.ps1settings (not-Safe) plusVICTORY_PORT_CONSTANTS/DESCRIPTORS/CBV/GUARD/JOURNAL=1, structure builder off. Same save, prologue's first area, warm pipeline library. Frame rates are medians of the frame lines within a band of draws a frame, one run of five to seven minutes per row, so differences of a few percent mean nothing.Dathinel's 43 hashes (41
bvh_skinningprograms and the twoCS_Primary_GatherCopy), withVICTORY_SKIP_PIPELINES. All 43 are in this package's shader archive under those names.Card about 79% busy before and 71% after by the card's clock line. The person playing saw no difference in the picture (day, prison yard and its rooms; nights not looked at).
VICTORY_UPSCALER=6on top of that: 8.1 to 9.5 fps at 3,500-5,000 draws, 6.5 to 7.7 at 5,000-7,000. In the timing runs one dispatch of 10.1 ms a frame (pipeline8e614708143ef917, a container of 18,040 bytes thattranslate --listdoes not find in the shader archive, the executable or the title's DLLs) is there with the title's FidelityFX and gone with upscaler 6, so I take it for the FidelityFX pass.VICTORY_RENDER_SCALE=0.5with it helped only below 3,500 draws and showed more black patches on characters.VICTORY_OUTPUT=1280x720on Series S ends in the division by zero at+0x28f03e8, as others found.Card time by command (
VICTORY_GPU_TIMING=1 VICTORY_D3D12_DRED=1, "all kinds together"):What is left at the top, a frame:
smh_sim_1:CS_SolvePerVertConstraint3.4 ms in 10 dispatches,CS_ScreenProbes_TraceRays_RayBinning_BVH_Mixed_ShaderBinning_WithFar3.3,CS_Primary_RegisterAllocationRequests2.6,InstanceCulling:CS_Tree_BatchCull1.8,CS_ScreenProbes_EvaluateRayRequests_RayBinning1.1,CS_GenerateShadowMasks_Checkerboard_NoHair1.0,CS_TAA2_Resolve0.9,CS_ComputeDerivedLightClusters0.9, then a long tail (about 1,280 kinds).On the question of the 32-lane forms: of the 16 costliest programs left,
translatewithVICTORY_WAVE_WHY=1 VICTORY_HOST_WAVE=32prints wave64 retries for three only (CS_Primary_RegisterAllocationRequests: "without skips";CS_Tree_BatchCull: "local waves (idiom), without early-outs";tiled_lighting:CS_ClusterLightsWorldSpace), about 5 ms of the 44 together. The other 13 translate in their plain form. So on this card and this tree the card's time is mostly the title's lighting and simulation passes as such, not the wave-width forms.Three of the seven hashes of the first post are refused here too (
02384a60fda6f2d0,369cbe906ea72764,2da4beb386509b77: "host pipeline refused", E_INVALIDARG); the other four did not come up in these runs.For scale, the CPU side on the same card: Belobug #443 and #451 (
shadow::exactout of its lock, then its buffers pooled) took list calls from 37 to 14 and then 4.9 µs a call. In frame rate over all world lines: #443 alone 4.5 to about 7 fps (before the skips and upscaler 6), and #451 in place of #443'sexact9.5 to 13.7 fps (with the skips and upscaler 6 in both). The numbers are in those two pull requests.AI-assisted (Claude Code): the runs, the reading of the logs and this text.