RTX 3080 Ti: renderer port 1 (VICTORY_PORT_CONSTANTS=1) halves GPU throughput on NVIDIA; 13.8 → 22 fps with it off #115
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 TaynanGT/Vice-Tay. Originally posted by SquillyBoi on 2026-11-27T01:59:24Z.
Vice-Tay build
4e3e366(diag)Hardware and graphics driver
i9-14900K (32 threads), RTX 3080 Ti 12 GB (Resizable BAR on), 32 GB RAM, Windows 11, driver 421.01
How to reproduce
Series S,
VICTORY_OUTPUT=1920x1080,scripts/play.ps1 -Machine 4070plus-More @{VICTORY_PORT_CONSTANTS='1'; VICTORY_PORT_DESCRIPTORS='1'; VICTORY_PORT_CBV='1'; VICTORY_PORT_GUARD='1'; VICTORY_PORT_JOURNAL='1'}(the renderer patches as Belobug's README recommends them). Prison dorm after loading in, camera still.
What you observed
With
VICTORY_PORT_CONSTANTS=1the card was the limit (~92–98 % busy by the frame line). Two timing runs(
VICTORY_GPU_TIMING=1,VICTORY_D3D12_DRED=1), everything else equal:Without timing: 13.8 fps / 72 ms → about 22 fps / 45 ms, card ~75 % busy, no crash.
With port 1 on, the in-place heap is in system memory, so every shader touching it reads over PCIe, and
the ~1,440 indirect executions a frame with in-place arguments are each clamped alone after a full wait
(
VICTORY_PORT_CONSTANTS_ORDER). Early on (when the CPU was the limit) port 1 measured a net win for me;once the switches below cut the CPU side it became a large loss.
Other measurements from the same machine, same scene:
VICTORY_D3D12_DRED=0instead oflight: GPU ~45 → ~35 ms a frame (matches Belobug's change torequest light DRED for diagnostic launches only).
VICTORY_UP_QUEUE=1: A/B (VICTORY_AB=20,VICTORY_UP_QUEUE), 73.5 vs 76.8 ms mean, every "on" phasefaster than the "off" phases beside it.
VICTORY_UPSCALER=6on Series S: CPU prep 38.5 → 29.7 ms, copy-back 26.4 → 22.8 ms, but the UI isdrawn at the wrong size.
VICTORY_CARD_WINDOWS_MB=1024vs 3584: same fps, ~2 GB more free RAM.PageCombiningon: crash at the first screen every launch; off: fine.Possible new issue with port 1 off: glossy window surfaces sometimes draw over the player character.
Note for anyone experimenting: executing in-place indirect arguments with no clamp hangs NVIDIA cards
(the clamp also cuts dispatch x to 65,535; the title asks for up to 115,200 groups).
Diagnostic excerpt
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T02:10:28Z.
Thanks for isolating port 1 in the dorm on the RTX 3080 Ti. The drop from 55.1 to 29.1 ms of GPU command time, especially indirect work from 31.1 to 12.2 ms, gives us a useful case for keeping
VICTORY_PORT_CONSTANTSopt-in. The current Vice-Tay launcher leaves it unset. I’m treating the DRED timing and the odd window reflections as separate observations. If the reflection overlap reproduces on currentmainwith port 1 off, a screenshot from the same camera angle and the nearby draw diagnostics would help pin it down.Imported from TaynanGT/Vice-Tay. Originally posted by SquillyBoi on 2026-11-27T06:18:54Z.
Follow-up from more testing. All three issues below show up on a plain
play.ps1 -Machine 4070 -Console series-s -Saferun (onlyVICTORY_OUTPUT=1920x1080added). I couldn't find the root cause of any of them, but here's what I ruled out so you don't have to repeat it:1. Frosted window glass drawn over the character
The blur sits in a band inside her silhouette (head, neck, shoulder edge) where she overlaps a window, a few low-res tiles wide, not her whole body. Every window, every run. Still there with:
-RayTracing, the title's FidelityFX upscaler andVICTORY_UPSCALER=6,VICTORY_PORT_DESCRIPTORS_CHECK=all+_EVERY=1,VICTORY_DEPTH_TWINSoff (that only added random squares and broke lighting), andVICTORY_WAVE_WIDE=1. Best guess: a coarse/tiled depth in the see-through pass. Shaders by name:PS_*_PBR_MATERIAL_BLURTRANSMISSION,CS_AlphaTransmissionDepthTile*.2. Eye reflections and smeared window reflections
With RT off, the title's ray-traced reflection passes (~591 a frame) are dropped and their outputs keep old contents: stale eyes, stretched/smeared room reflections in windows. With
-RayTracingthe eyes are correct (but ~10 fps).VICTORY_RT_RESOLVE=1+VICTORY_AMBIENT_REFLECT=1(AMBIENT_REFLECT_IN=CS_RaytracingResolve) didn't visibly fix it. Idea: clear (or fill with something neutral) what the skipped passes would have written.3. New: flat shards and huge wedge triangles (NVIDIA?)
In the jail, once the character first moves, every few frames there's either a cloud of flat-shaded angular shards across the room/ceiling, or a giant dark triangle over half the screen with its sides converging to one point, plus smaller orange/beige shards near characters. Clean frames in between; it never stops. Same with
VICTORY_PORT_DESCRIPTORS=0, all three upscalers (title's, FidelityFX,VICTORY_DLSS), frame gen on/off (it was there before frame gen), and RT on/off.Possible lead from every log since at least
2ba58b5:host view heap capped at 1000000; views past it read a null slot count=1245184. The heap asks 1,245,184 views against NVIDIA's 1,000,000; views past the cap read zeros, which would fit triangles collapsing toward one point. Dynamic slots stay around 71,000 of 2^18 with 0 refused.Recordings and frames are kept locally per the asset policy. Happy to record a full video, give timestamps, or run a capture /
VICTORY_WALLS_TRACE/ any switch you want me to try.Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T06:26:10Z.
Thanks for keeping the 1080p
-Safesetup fixed, @SquillyBoi. The narrow silhouette band across those settings points us to the transmission depth inputs for the glass. The RT-on eye result gives us a reference for a fallback that writes the skipped reflection outputs. Your resolve test leaves that output question open.For the jail wedges, I checked the heap warning in the code. When the host caps the heap, guest view slots past the fitted range read null. The dynamic pool’s refusal counter covers a separate range. An operations listing from a frame with a wedge would give us a draw or recipe to check against that lead.
Imported from TaynanGT/Vice-Tay. Originally posted by cafeoh on 2026-11-27T16:10:19Z.
Confirming on Series S, RTX 2080 Ti / Windows 10, ray tracing on:
VICTORY_EARLY_DEPTH=1removes the frosted-glass rectangle over Lucia at the cell window (the grainy/ghosting patch in front of the glass). The prepassPS_AlphaPrepassruns with DB_SHADER_CONTROL bit 12 (depth before shader) on the console, so forcing early depth matches the console and can only skip pixel work. No freeze in our run. Could it become the default?Imported from TaynanGT/Vice-Tay. Originally posted by cafeoh on 2026-11-27T16:13:26Z.
On the jail wedges: on our side (Series S, RTX 2080 Ti / Windows 10, Vice-Tay base + local switches),
VICTORY_RELAY=0removes them completely: free play from the café through the cell with inmates, no wedge seen; with the relay on they show in every run. Slowness is not it: other runs at 7-10 fps (RT on, or extra waits) still had them. The heap cap doesn't look like the cause either: Series X logs the same cap without wedges. This matches avatarmanz/VIctory-7900XTX#434 (the title rewrites some constant buffers after submitting the work that reads them, so early fills read old bytes) and avatarmanz#13. We're porting #434's approach (learn the late-written pages, make only those submissions wait) to keep the relay on, and will open a PR with numbers if it holds.Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T16:17:20Z.
@cafeoh The relay-off run and the Series X heap-cap control narrow down the wedges on your 2080 Ti. I’d review the targeted wait for late-written pages. For that comparison, use the same save and camera with relay on, relay on with the patch, and relay off.
The early-depth switch already follows the shader’s depth-order flag and excludes depth/stencil exports. I’d keep it opt-in until we have a matched moving-camera check on the glass and nearby alpha edges. Your cell-window result gives us a good place to start.
Imported from TaynanGT/Vice-Tay. Originally posted by cafeoh on 2026-11-27T16:24:29Z.
Update on the wedges: confirmed.
With the relay on, plus a port of avatarmanz/VIctory-7900XTX#434's idea, free play from the café through the cell shows no wedges.
How it works:
Note on card steps: Vice-Tay's
play.ps1setsVICTORY_CARD_STEPS=2. #434's learning only runs inside card steps, but in our tree the plain relay has the same window, so our port hooks the relay itself.The brute-force version is slow (~7 waits a frame, ~60-70 ms waited), so we're making it cheaper before opening a PR.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T16:37:46Z.
@cafeoh That gives us the clean control with relay on. The 60–70 ms of added waiting makes the first version useful as a correctness baseline. Please keep the same route and camera for the cheaper version, and report how often the wait fires alongside the wedge check. That will show whether the narrower wait keeps the fix.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:03:42Z.
mainhas moved to a new line of the code and everything is now named Vice-Tay:vice-tay.exe play, andVICE_TAY_*switches instead ofVICTORY_*(details in #468). Could you check whether this still happens on the currentmainand say so here, with a log if you can?Imported from TaynanGT/Vice-Tay. Originally posted by SquillyBoi on 2026-11-30T17:22:11Z.
I'll try and check on it if I have time today if he doesn't get to it. Glad to see you guys back again. Also I would check out Whiplash for the memory issues and optimization, their build has a lot to learn from. I have a copy if needed.
Imported from TaynanGT/Vice-Tay. Originally posted by SquillyBoi on 2026-11-30T23:06:44Z.
vice-tay-115-logs.zip
Retested on
206e07b4,vice-tay.exe play, same PC: i9-14900K, RTX 3080 Ti 12 GB, 32 GB RAM, Windows 11. Series X (Series S is refused on this line), prison dorm and jail, standing then walking around. Changed from stock: MOUSE AND KEYBOARD off (see the controller note below), DLSS Balanced, res 1080to1440.What I saw
Numbers from the logs (world frames only, 10 s samples)
So on the 3080 Ti the visual bugs are mostly fixed either way. RT on is GPU-bound at roughly 6 fps, RT off is back on the CPU side at about 14. RT on also takes about 7 GB more memory, which is a lot on a 32 GB machine.
Controller
An Xbox controller doesn't work out of the box, even though it works fine on other VIctory-based builds on the same PC.
play.rsdefaultsVICE_TAY_MNK=1(line 64), and with MNK on,pad()ingameinput.rshands XInput nothing (let xinput = if dualsense_only || mnk { [None; PADS] }). Every XInput pad gets dropped, CONTROLS=GAMEPAD included: only device 4 ever connects and slots 0-3 never show up. Turning MOUSE AND KEYBOARD off in F1 (orVICE_TAY_MNK=in vice-tay-settings.txt) fixes it right away. The README says a controller works from the start, so maybe let XInput keep its slot when CONTROLS is GAMEPAD, or don't default MNK on when a pad is plugged in.Series S softlock
F1 still offers CONSOLE = SERIES S even though this line refuses it. Picking it and choosing SAVE AND RESTART NOW closes the game (
settings menu: restarting command=...is the last line of that log) and nothing comes back: no new window and no new log, with a leftover process I had to end in Task Manager. Every launch after that stays dead untilVICE_TAY_MENU_CONSOLEis set back toseries-xby hand. Could the menu grey out Series S while it's refused, or have play fall back to Series X with a message instead?Logs attached (paths and user name stripped):
vice-tay-115-rt-on.log,vice-tay-115-rt-off.log,vice-tay-series-s-softlock.log.Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T23:43:19Z.
Thanks for the retest and the logs. Both things you found were real. Here's where each one stands:
Controller. You read it right. With MOUSE AND KEYBOARD on, which
playdefaults to,pad()dropped every XInput pad, CONTROLS=GAMEPAD included. PlayStation and generic HID pads kept working, which is why it looked like only some pads were broken. It's fixed in #485, now onmain. The title sees one pad by default and that pad already merges every host pad with the keys and the mouse, so the Xbox pad just plays now, alongside mouse and keyboard. You shouldn't need to turn MNK off anymore. The one exception isVICE_TAY_ONE_PAD=0, where each pad is its own device. There MNK still keeps the game, because a pad would take the keyboard's stand-in away.Series S softlock. This one was fixed a few hours before your retest, in
3896014(#482). The F1 menu doesn't have CONSOLE or SERIES S PICTURE anymore. AVICE_TAY_MENU_CONSOLE=series-sthat's already saved invice-tay-settings.txtis ignored, so it can't brick the next launch.--series-snow starts the separate Series S build instead. So if you pull currentmain, you can leave your settings file as it is.The original report. Renderer port 1 is off by default on this line (
VICE_TAY_PORT_CONSTANTSunset), which is the setting your numbers favoured.The RT on/off table is useful too: about 6 fps and GPU-bound with RT, about 14 and CPU-bound without, and roughly 7 GB more memory with RT on a 32 GB machine. I'll keep it as a data point for the 3080 Ti, but I'm not going to promise anything on that side from here.
I'll leave this open until you've had a go with a pad on current
main. If it works, feel free to close it.Imported from TaynanGT/Vice-Tay. Originally posted by SquillyBoi on 2026-11-30T23:46:52Z.
Truthfully, my concern was never my own performance. I just want to test and give accurate results to benefit the project as a whole.