RTX 4050 Laptop 6 GB, Series S: seven computes cost ~125 ms of GPU a frame once a 32-lane port runs them #1278
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/fxceless--victory-fork#1278
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?
@Curry-976 on GitHub · 2026-11-26 09:42 UTC · original
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).
@HLVM04 on GitHub · 2026-11-26 09:56 UTC · original
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.@Curry-976 on GitHub · 2026-11-26 10:19 UTC · original
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).
@Dathinel on GitHub · 2026-11-27 00:05 UTC · original
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).