New GPU/CPU Pipeline, 30+ FPS, Ultrawide 32:9 Support, Ray Tracing + Ray Reconstruction, Untie Physics from FPS, NVIDIA Reflex, and more #18
No reviewers
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/trustno1-coder--VIctory-NVIDIA!18
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-18"
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?
@Kemerd on GitHub · 2026-11-27 06:41 UTC · original
Kemerd:rt-native-builder-calls→main· +20516 −607 · 77 files · 85 commits · openWhat this is
Higher frame rates for the Series X profile on NVIDIA, plus the ray-tracing seam, 32:9, HDR10, Reflex and DLSS Ray Reconstruction groundwork. Everything new is behind a
VICTORY_*switch that is off by default. The launcher's-Fastpreset turns on the ones that have been through the game.Results (RTX 5090, Series X profile, 2560x1440, DLSS quality, open world, ray tracing off)
-FastWith ray tracing off the card now waits on us for close to nothing. What remains is the submitting thread, at 31-41 ms a frame preparing. The parallel-submit work below starts on it.
Ray tracing works but tanks the frame rate. With
VICTORY_RT_NATIVE=1the world plays with the title's own rays, through the translated console builder, at 5-8 fps; that builder takes 42-105 ms of GPU a frame. It stays off by default. The fix is a renderer of our own for it (hardware structures and inline ray queries on the RTX cores), plus DLSS Ray Reconstruction drawing from the title's G-buffer. Both come in a follow-up PR (see "Next").Pipelines from pieces (
VICTORY_PIPELINE_PIECES=1, in-Fastfor graphics)VICTORY_PIPELINE_PIECES_REFUSE_UNTRANSLATED=1). The stages are translated when the title creates the pipeline; the shader cache makes that a lookup after the first run. If one does not translate, the call is refused there and the title falls back to the pipeline it would otherwise make.VICTORY_PIPELINE_PIECES_ONLY=graphics|compute). Some compute programs from pieces still translate to a wrong layout, and the world goes grey.-Fasttherefore uses graphics only until that is fixed.COMPUTE_PIECES), and a select by a mask held as a number takes the console's lane numbers. This removes 61 cross-lane assertion failures; ordinary compute output is byte-identical over 2,734 containers.Submitting thread in parallel (in
-Fast)These come from a split of the submitting thread (58.9 ms a frame) and a design judged against the code:
VICTORY_REFRESH_SET(+_CHECK): one refresh step per list, holding the set of copies, instead of about 52,000 single steps a frame walked eight times.VICTORY_TITLE_WRITE_RANGE(+_CHECK): a title write clears only the refreshes it overlaps. In the runs, 184 were kept a frame with 0 violations.VICTORY_UNDER_PARTS: merging under writes reads only the 4 KiB parts written since, not whole 64 KiB pages.VICTORY_SEND_THREAD=1:ExecuteCommandLists, the signal and the bookkeeping run in order on a thread of their own. In the runs: 16 sends a frame, 0 out of order, and the submitting thread waited about 0 ms.Loading faster (launcher default)
VICTORY_PIPELINE_SAMPLER_TABLE=1. Pipelines with static samplers were made again by the driver in every run, because a stored one can come back with another pipeline's samplers.Display
VICTORY_DISPLAY_WIDE=5120x1440). The title's display mode is patched wider, so its camera, culling and motion vectors are made for the wide picture. The interface stays 16:9 in the middle (VICTORY_UI_LETTERBOX). The composite is found by its pair of programs, or by its shape drawn into an output-sized target, so the band holds with pipelines from pieces too. At 32:9 the title's larger screen-sized memory left about 152 MiB in the address window list uploads must live in; our memory-by-address directory and a memory arena, which no shader reaches, took 80 MiB of it, an upload allocation came back null and the title's ray-tracing rehydrate exited. WithVICTORY_DISPLAY_WIDEset those two now go above that window first, and a failed upload allocation logs a warning. 32:9 with HDR10 and-Fastnow plays in the world.VICTORY_HDR=1,VICTORY_HDR_WHITE, F1 menu). The presented plane is converted to HDR10 (ST 2084, BT.2020) at the display's peak.DLSS Ray Reconstruction (
VICTORY_DLSS_RR=1)VICTORY_RR_TARGETS=1names the passes that write what DLSS reads. The runs found the G-buffer resolve, whose targets RR needs as guides.Ray tracing (
VICTORY_RT_NATIVE=1, off by default: it works, and costs too much)victory-hle/src/modules/bvh_builder.rsinterposes the seven functions the title imports from its builder library (construct, destroy, batched build, batched rehydrate, copy, prebuild info, Morton width), in the same way the FidelityFX imports are interposed. Today each call is counted, timed and forwarded; this is the seam where calls can be replaced one by one.VICTORY_RT_TRACE=1logs the first calls of each kind in full.VICTORY_RT_NATIVE=1also asks for the builder (asVICTORY_BVH_BUILDER=1does), so the ray-tracing passes are no longer left out.docs/broadside-format.md.pipeline/make.rsahead).Measured (RTX 5090, Series X profile, 2560x1440, DLSS quality)
NVIDIA Reflex (
VICTORY_REFLEX=onorboost, F1 menu)SimulationStart/ the input sample now happen at the reading that opens a simulation, and the next origin wait takes that frame's index. Frames with no reading to take (cutscenes, loading, menus that read rarely) sleep at the origin wait as before; an open simulation is let go only after four frame intervals.docs/dlss.mdhas the switch, the log lines and the limits.VICTORY_DLSS=1orVICTORY_FRAMEGEN=1). The rework is reviewed and unit-tested against the Streamline 2.14.16 headers and has not been run in the game yet.Streaming (all switches off by default, compiled only unless said)
Measured first: in streaming frames the title's thread stood at its present for most of the frame, waiting for our submitting thread, which in turn waited for lists still being translated; the card was idle most of that time. Twelve changes came out of that, each behind its own switch and checked by a second reader before it was written:
VICTORY_PIPELINE_WAIT_ONCE: a wait for a host pipeline that cannot end inside the frame's budget is not begun.VICTORY_PIPELINE_WAIT_BACKLOG=n: no waiting for host pipelines at all while more thannare queued (the wait could not be met anyway).VICTORY_PIPELINE_SLOW_WORKERS=n: extra threads make the pipelines known to be slow while nothing is requested.VICTORY_TEXTURE_LOOK_ONCE: a guarded texture nothing wrote is read whole at most once a frame; a line counts the second looks either way.VICTORY_TEXTURE_READ_AHEAD: a list's texture uploads are read by threads of ours once the pass lets go of them, ahead of the submission.VICTORY_STAGING_NO_ZERO: a staging piece the detiling writes whole is not zero-filled first.VICTORY_SEND_COPIED_FIND: a title buffer copy finds the copies it touches by where they start, not by a walk.VICTORY_MEMORY_FRESH: a new arena and the directory start with every page taken, so their zeros are not uploaded.VICTORY_MEMORY_ARENAS_AHEAD: the next 64 MiB arena is made ahead on a thread of its own instead of under the module's mutex.VICTORY_MEMORY_QUIET: a dispatch whose pages its list already named returns without the mutex (checkcounts what such calls would have done).VICTORY_MEMORY_LAND_SENT,VICTORY_MEMORY_ASK_RUNS: landing stores reach the same submission's sends; a builder's root view on a held page is not asked about again, with the time split.VICTORY_FILES_BUFFERED: the title's read-only package opens that bypass the system cache may read through it.VICTORY_DSTORAGE_STATS: one summary line for DirectStorage (requests, megabytes, workers, the longest wait).VICTORY_MEMORY_FAULT_PAGES=n: the run's budget of pages taken from faults can be raised (it was 2,048, spent within minutes with ray tracing on); a page found empty inside a structure the builder's calls named is placed whole outside the budgets.Submit thread and memory by address (off by default, compiled and unit-tested)
From the ray-tracing run's split of the submitting thread (62.8 ms a frame: 11.3 asking the write watch, 30.5 in the lists' steps, 6.0 card copies, the rest planning, waiting and sending):
VICTORY_MEMORY_DIRTY: arena pages are written only by this module, so it notes them and a submission brings up only the written runs, instead of asking the kernel about every arena (about 23 of them, 0.3 ms each, every frame).VICTORY_MEMORY_LEAN: pages already placed are not asked about again, and new ones are asked about before the mutex is taken, with a per-frame cache of refusals.VICTORY_MEMORY_BUFFER_FAULTS: a page found empty that lies whole in a title buffer gets a place outside the budgets. A new line says, in nine kinds, whymaprefused each page.VICTORY_REFRESH_PROBE_US=us: a small flush of refreshes is done on the submitting thread for that long before the rest is handed to the kept threads (each hand-over costs a wake and a wait).VICTORY_DECLARE_ACROSS_LISTS: a range shaders write is declared once per submission, not once per list.VICTORY_LIBRARY_STATIC_SAMPLERS=1keeps the old behaviour. Samplers as a table instead (VICTORY_PIPELINE_SAMPLER_TABLE=1) make those pipelines storable again; the launcher now sets it (above).On screen
SHADERS: nwhile host pipelines are still being made, so a slow area is visibly the pipeline queue.Display
VICTORY_DISPLAY_WIDE=WxH(not run yet). With the 1440p output patch, the display mode is patched to a wider size (5120x1440 for 32:9) instead of 2560x1440, so that the title's own camera, culling and motion vectors are made for the wide picture. Height stays 1440; the width is a multiple of 8 from 2560 to 7680. The patched image goes to a cache folder of its own. Tests run against the retail image whenVICTORY_DISPLAY_PROFILE_TEST_IMAGEnames it.VICTORY_ASPECTandVICTORY_UI_LETTERBOX(earlier local work, included as it was): the first widens standalone projection matrices in the copy on its way to the card; the second fits the interface plane in the two-plane composer. Limits, from reading the code: the first changes no resolution and does not reach matrices the title derives on the CPU; the second only acts on the Series S two-plane path. The display-mode patch above is meant to replace the first.Not behind a switch
VICTORY_FRAME_INTERVAL_MSwas set; the launcher setsVICTORY_FRAME_INTERVAL_US, so the title kept its 30 Hz step floor while frames came faster. Both variables now count. The log line confirms 3 of 3 sites patched in the runs here; that the speed is right at high frame rates was not checked by eye.lib.rs:mod ambientandmod aspecteach get their owncfg(windows).scripts/get-nvidia-sdks.ps1: fetches only the files that are missing (a running game holds the loaded ones), and-RayReconstructionalso fetches the two DLSS Ray Reconstruction files. Nothing uses them yet.Diagnostics
VICTORY_PIPELINE_DUMP=<folder>writes what the two unimplemented pipeline creation methods (device slots 0x1c8 and 0x218) were given, for the first calls of each, so that they can be written. The folder must be outside the repository.VICTORY_RT_NATIVE.Documents
AGENTS.md: rules for people and coding agents changing this code (where the bytes are, one move per byte, nothing long on the title's threads, switches, measuring).docs/broadside-format.md: the structures' formats with where each fact lives in the tree, the builder's interface, and what the runs showed.Background: how the title traces rays
Short form of
docs/broadside-format.md, for reading the ray-tracing part above.VICTORY_RT_NATIVE=1those seven calls pass through the layer, where they can be measured now and replaced one by one later.Next (follow-up PR)
memory.rs,sizes_wait).Checks
cargo check -p victory-gpu -p victory-hle -p victory-loader -p victory --locked;cargo test -p victory-shader --lib(311 passed);victory-gpu(sets,shadow,send_thread,lean,watch,pipeline,pieces,streamline,draw,compose),victory-hlebvh_builder,victorynative_1440pandvictory-loaderframe_rate.-Fast: menus readable, the world drawn, no device loss. The frame rates above come from the log's periodic lines in the open world, counting lines with more than 3,000 draws a frame.VICTORY_RT_NATIVE=1play in the world without errors, at 5-8 fps.Nothing derived from the game is in the change (
docs/asset-policy.md).Ray tracing through the title's builder calls (VICTORY_RT_NATIVE), wide display mode, frame rate fixto Higher FPS, Ultrawide 32:9 Support, Ray Tracing + Ray Reconstruction, Untie Physics from FPS, NVIDIA Reflex, and more@Kemerd on GitHub · 2026-11-27 06:57 UTC · original
Planning on getting DLSS 5 NG working too, soon..
@Kemerd on GitHub · 2026-11-27 08:33 UTC · original
Almost got this in a workable state, should be ready to be reviewed soon, getting some promising performance gains
Higher FPS, Ultrawide 32:9 Support, Ray Tracing + Ray Reconstruction, Untie Physics from FPS, NVIDIA Reflex, and moreto New GPU/CPU Pipeline, 30+ FPS, Ultrawide 32:9 Support, Ray Tracing + Ray Reconstruction, Untie Physics from FPS, NVIDIA Reflex, and more@Kemerd on GitHub · 2026-11-27 09:27 UTC · original
Best run at 29.4 FPS, still fixing a few more things
@VivaLaVent on GitHub · 2026-11-27 09:52 UTC · original
Holy
@Kemerd on GitHub · 2026-11-27 09:54 UTC · original · edited 2026-11-27 09:55 UTC
Yeah let's just say I like CPU/GPU thought experiments.
PR is ready to be merged in.
Will be working on the other stuff, but you can get 30 FPS at 1440P at least now (with no frame gen on). Frame gen of course will let you get more.
Still fixing a crash with 32:9 and HDR but that should be in soon. Will be separate PR.
@Kemerd on GitHub · 2026-11-27 09:54 UTC · original
And one sec, fixing the merge conflicts
@Kemerd on GitHub · 2026-11-27 09:55 UTC · original
Should be ready to rock now, probably will finish up the other stuff tonight or tomorrow.. the ultimate goal being getting native DLSS 5 with Neural Rendering working
@Kemerd on GitHub · 2026-11-27 10:14 UTC · original
32:9 working now
@toothpaste011 on GitHub · 2026-11-27 10:26 UTC · original · edited 2026-11-27 11:03 UTC
Been testing
-Fastup to3c33c717on a 5070 Ti (16 GB, Series X 1440p, DLSS Quality, diag build, RT off). Runs clean with zero errors (~14-18 fps at 7.5k-10.5k draws),VICTORY_PIPELINE_SAMPLER_TABLE=1loaded 2,895 pipelines from the library on run 2, and graphics-onlyPIECES+REFUSE_UNTRANSLATED=1fixed the dropped draws from earlier.Ran into three bugs while testing that might be worth fixing before merge:
VICTORY_SEND_THREAD=1rubberbanding (old frames flashing back in)With
-Faston, frames kept snapping back to an older frame and then jumping forward again. SettingVICTORY_SEND_THREAD=0stopped it immediately.Host::present(crates/victory-gpu/src/host.rs:10521) hands the back-buffercopylist tovictory-sendviaself.execute_own(copy), then callsp.swap_chain.Present(0, DXGI_PRESENT(0))at line 10566 without callingsend_thread::wait_idle()first.Present()can beatcopyontoself.queueand flip a stale back buffer. Drainingvictory-sendright afterexecute_own(copy)fixes the ordering (tested across multiple runs, 0 out-of-order sends and rubberbanding is gone):VICTORY_TITLE_WRITE_RANGE_CHECK=1false positives (updated)Ran
-FastwithVICTORY_TITLE_WRITE_RANGE_CHECK=1andVICTORY_REFRESH_SET_CHECK=1for ~3 minutes:VICTORY_REFRESH_SET_CHECK=1: 0 mismatchesVICTORY_TITLE_WRITE_RANGE_CHECK=1: 16,384+ violations (~5-21/frame, e.g.a refresh of copy 1 over 0x2a660000..0x35460000 was kept by a title write and the write then noted pages of it).VICTORY_TITLE_WRITE_RANGE=1itself wasn't dropping pages, it was a false positive inBatch::kept_checked(). Logged 26 gameplay hits (64+ violations): 24/26 hadPUBLISHEDcleared on an unrelated copy by another thread (title CPU fault, DirectStorage, xmem remap, orvictory-relay) betweentitle_written()andkept_checked(), and 2/26 had a journal write from a concurrentvictory-relaylanded_besidecall under a different asking number. Recording only the 64 KiB pages opened (watch::open) or noted (watch::wrote) on the submitting thread (plus computingwatch::written_ranges(dst, len)afterself.flush(by)so aliases mapped during the flush are included) broughtVICTORY_TITLE_WRITE_RANGE_CHECK=1down to 0 violations over an 85s gameplay run (35k-44k refreshes/frame kept standing, 0 errors).xtask policyfailure inknown.rs:628cargo run -p xtask -- policyfails on a literal raw NUL byte incrates/victory-gpu/src/pipeline/known.rs:628(binary content (NUL bytes)) instead of\0:Note: these commits were cherry-picked onto my local branch (DualSense HID + a few small descriptor/remap fixes), so it's not a pure stock checkout.
Also makes sense keeping RT off by default for now. On earlier
VICTORY_GPU_TIMING=1+VICTORY_D3D12_DRED=1runs the trace pass (f22a76fcb967ee59) sat around ~53 ms/frame steady on a 5070 Ti, though-Fastdid get rid of the 1.5-2.2 s builder spikes we were seeing before. Let me know if you want logs or aVICTORY_RR_TARGETS=1dump from a 5070 Ti.@TricksterG on GitHub · 2026-11-27 12:11 UTC · original
Crash with DLSS on RTX 5090:
D3D12 XDXR Error: Failed to allocate upload bufferas soon as NVIDIA NGX is in the processHi Kemerd, thanks for the work on PR #18 and VIctory-NVIDIA-RT. I can't get DLSS to run on my PC, and I narrowed it down quite far. Issues are disabled on your fork, so I'm posting here.
System
Get-NVIDIA-DLSS.cmd, NVIDIA-signed)Symptom
~50 s after loading, at the very first in-world frame, about 20 ms after the title's first
ffxDispatch:Same crash on
48ad785,18a8dc2), PR #18 (5762170), VIctory-NVIDIA-RT (c36a7d6,-Fast, also withVICTORY_DISPLAY_WIDE=2560x1440to enable the upload reservation from3c33c71), VIctory-DLSS-GDeflate (1197dd6)-NoFrameGenReady)What does NOT crash
VICTORY_FSR_PATH=1 -SeriesS -Dlss off(title's FidelityFX renderer path, no Streamline): stableBisect inside the DLSS path (local test switch in
streamline::upscale)Taken::Nobeforelist::external(nothing recorded, title's own FidelityFX runs): still crashesffxDispatchfirst, then DLSS: still crashesOther notes
allocate_upload: no roomwarning in the RT build's log, so the layer's upload memory is fine; the failing buffer seems to be the title's own.VICTORY_STREAMLINE_LOG) shows no errors;sl.dlssreports "has no registered hooks".Conclusion
The crash appears whenever NVIDIA NGX is initialised in the process (via Streamline or via OptiScaler), regardless of whether DLSS ever evaluates. Maybe NGX initialisation on the device or its allocations take something the title's XDXR allocator expects later? Could this depend on Windows build 26300 / driver 621.40? Which Windows build and driver did you test on?
Happy to run test builds or send full logs.
@k0ma2k15 on GitHub · 2026-11-27 12:18 UTC · original
Tested PR #18 on Windows 11, Ryzen 7 8845HS (8C/16T), NVIDIA GeForce RTX 4070 SUPER (USB4 eGPU), Series X 1440p DLSS Quality,
releasebuild with-Fast(two consecutive runs):VICTORY_SEND_THREAD=1: ~16.1–16.3 jobs/frame, ~4.6–6.7 ms offloaded,0sent out of order.VICTORY_REFRESH_SET=1:0mismatches (VICTORY_REFRESH_SET_CHECK=1).VICTORY_TITLE_WRITE_RANGE=1:0.0violations.-Fast:1,058–1,503host pipelines remainedbeing made(574–1,360draws/frame dropped without a host pipeline whileVICTORY_PIPELINE_WAIT_ONCE=1/VICTORY_PIPELINE_WAIT_BACKLOG=64were active). Fullscreendraw 3x1x1(topology 17,2560x1440, formats24and26) pipelines from pieces had both stages translated yet still loggeda pipeline from pieces has no host pipeline, its draw is dropped.made=759,loaded=1,516): sky and character silhouettes appeared, but heavy orange/white haze persisted with627–684pipelines stillbeing madeand373–1,486draws/frame dropped.host pipeline library saved bytes=0(early=3159 made=406..410 loaded=1516 bypass=328..332).VICTORY_PIPELINE_PIECES(graphics) also logged 9not made from its piecesreasons (SPI_SHADER_COL_FORMATUNORM16_ABGR (5)&SNORM16_ABGR (6),DB_SHADER_CONTROL EXEC_ON_NOOP,SPI_PS_INPUT_CNTL FP16_INTERP_MODE, unhandled blend factor/function, extra slot+0x68, packet values at+0xac/+0xb0, input element word 0).7.2–12.2 fps(81.9–138.1 ms/frame,preparing66.9–90.9 ms) in Run 2 vs~13.5–14.1 fpsavg onmain— likelyVICTORY_PIPELINE_SLOW_WORKERS=8saturating all 8 cores alongside the submitting thread.@LucaruluDev on GitHub · 2026-11-27 12:38 UTC · original
Additional performance data — RTX 5070 / Ryzen 7 9700X / 32 GiB RAM
I'm sharing some independent performance observations from four Foxhound sessions that may be useful for the ongoing submission and GPU scheduling work.
Hardware and configuration
Code reference:
9341f4316f0265786a95a6791a428f14d5695cb1Performance overview
149,171 log lines, 490 periodic FPS samples and 2,437 submission/GPU queue samples.
Frame-time statistics refer to periodic window means, not individual frames.
Submission and GPU queue
Median values in ms/frame:
These measurements overlap and should not be added together.
Memory pressure
Other observations
presentCommon()diagnostic, already addressed in Marvisak/VIctory#1704.Methodology and limitations
These are observational sessions, not a controlled DLSS A/B benchmark.
Scene content, internal resolution, pipeline cache state and session duration differed. Startup and low-draw phases are included.
The queue clock measures this process's monitored queue, not whole-device GPU utilization.
The logs do not independently certify the executable revision for each session.
No causal relationship between individual logged errors and rendering artifacts has been established.
Supporting graphs and data
metrics.csv
@JRamos1993 on GitHub · 2026-11-27 15:19 UTC · original
Test report from an RTX 5090 (driver 621.24, Windows 11 build 26200), on a 5120x1440 (32:9) screen.
Setup.
e0703c1, release build,victory playwith the-Fastswitches ofplay-foxhound.ps1passed as--set(includingVICTORY_PIPELINE_SAMPLER_TABLE=1). DLSS Quality, frame generation not made ready,VICTORY_INDIRECT_WINDOW=0. Pipelines were made ahead withvictory warm --used(2,335). The save and scripted keys were the same in every run, with medians taken from 120 s in. All runs were in the opening scenes.d12eb1b-Fast, 16:9-Fast,--res wide(32:9)-Faston current main takes about 3 ms off the submitting thread on this machine, but the median frame rate stays the same here: the card is now the busier side.host view heap capped at 1000000; views past it read a null slot count=1245184once. Nothing looked wrong in the captures.e0703c1showed a white window for the whole run, while the log reported about 25 fps. The swap chain had gone to the process's 0x0PseudoConsoleWindow. #49 fixes that and applies cleanly on top of this branch. The 32:9 figures above are from a build with it.Tested with Claude Code (Claude Opus 5.5) on my PC.
@SwearCate on GitHub · 2026-11-27 20:30 UTC · original
I don't know how, but your fork with my computer works in 15-17 fps, but main build is working in 3 fps
Keep doing it pls
@eleboucher on GitHub · 2026-11-27 20:46 UTC · original
Translator fixes for the pipelines-from-pieces path, made on top of this PR's head (
e0703c1): Kemerd/VIctory-NVIDIA-RT#7. On an RTX 4070 Ti SUPER they take the pipelines made in the opening from about 3,600 to 11,260 of 16,384 (cell about 19 → 30 fps).@Kemerd on GitHub · 2026-11-27 21:19 UTC · original
Would be nice to see this merged in
- ffxQuery: when the title's shipping FSR4 gives no jitter phase count (it refuses sizes it has no tables for, or has no context), the title's jitter ring stays 0 long and it divides by zero (a player's crash at game+0x28f03e8). The count is now FidelityFX's own formula in that case; an answer of the DLL's own is kept. - clzero loops: stub areas are made near each loop that the ones so far cannot reach with a jmp rel32 (a title DLL far from the exe was left to the emulation; the test failed about one run in four for it). - allocate_upload (thin lists) and the upload arenas say why they answer null, which the title's structure builder ends the run on ("Failed to allocate upload buffer", seen on a 32 GB PC). - known.rs: a raw NUL in a test string written as \0 (the asset policy refused the file). - README: how the frame pipeline was rebuilt, stage by stage.@Smoodie7 on GitHub · 2026-11-27 23:21 UTC · original
Test report: this PR merged with
main(df2daaf), RTX 4070 Ti SUPER 16 GBI merged this branch with the current
main(one commit behind, no conflicts), built it from source (cargo build --release --locked -p victory, MSVC toolchain) and played three sessions withscripts\play-foxhound.ps1 -Fast -Dlss quality -FrameGen -FgType dlss(Series X profile, native 2560x1440, DLSS renders 1706x960, DLSS frame generation 2x, ray tracing off). Story save, interiors and streets.PC: RTX 4070 Ti SUPER 16 GB (driver 621.40), Ryzen 7 7700 (8C/16T), 32 GB, Windows 11 Pro 26300.
Performance: it runs well and is playable
-Fast-Fast+VICTORY_AMBIENT_ONCE=1With frame generation that is about 33-35 FPS shown (the title bar read "18 fps (frame gen 35 fps)"). Samples are taken once no pipeline is being made and with more than 1,000 draws; the two sessions were in different places, so the gap between them is the scene, not the switch.
Where the submitting thread's 51 ms go (a typical line): lists' steps 24.2 ms, of which refreshes 16.4 ms in 25 flushes of 5,887 (4,909 known to copy nothing); copies in the card's memory 8.4; planning steps on the card 7.1; asking the write watch 5.5; putting the title's bytes under flights' writes 4.7.
VICTORY_REFRESH_SPLITsays 13.7 flushes a frame go straight to the kept threads (15.2 ms in the calls) and only 4.1 small ones stay on the submitting thread withVICTORY_REFRESH_PROBE_US=300. The relay thread spends 21 ms of its 29 ms waiting for the card.Picture: interiors are visually broken without ray tracing
The same room with
VICTORY_AMBIENT_SPECULAR=0(reflection estimate off, everything else the same): almost everything turns black except the windows, and the white dots are still there. So the reflection stand-in is nearly all of the indoor light without rays, and the dots come from somewhere else (a dropped pass or particles: about 300 draws a frame are still dropped). The shader counter showed 1,283 still being made at that moment.VICTORY_AMBIENT_ONCE=1(the one-bounce estimate described inambient.rs, about 1.9x less light near pale surfaces and lamps) ran 15 minutes without problems; it is not in-Fastor the F1 menu. I don't have a screenshot of the same spot with it yet.Bugs found
victory.exestayed alive at about 14 GB and loggedstreamline: [getRefreshRate] Window handle 0x... is not a valid windowin a loop (several times a second for over a minute) until I killed it. Another session in the same build closed normally (title suspended, pipeline library saved), so it seems to depend on how the window goes away.a pipeline creation method that is not implementedwarnings.Suggestions
VICTORY_AMBIENT_ONCE=1in-Fast(or make it the default wheneverVICTORY_AMBIENT_SPECULARis on) and add it to the F1 menu, since the overexposed rooms are the main visual problem in this mode.Logs from these sessions are available if useful.
@Smoodie7 on GitHub · 2026-11-27 23:26 UTC · original
Follow-up to my report above: the
VICTORY_AMBIENT_ONCE=1session was the best of the three by far. The interiors looked right to me: lit, without the burned-white windows, glass and table tops, and without the frosty floor. Same frame rate as without it, and no crash in 15 minutes.So I'd suggest turning it on in
-Fastand listing it in the F1 menu. On my local merge of this branch that is three lines inscripts/play-foxhound.ps1($settings.VICTORY_AMBIENT_ONCE = '1'in the-Fastblock) and one menu item incrates/victory-gpu/src/host/menu.rsright after REFLECTION ESTIMATE (Item { var: "VICTORY_AMBIENT_ONCE", label: "LIGHT ESTIMATE: ONE BOUNCE", values: ON_UNSET, live: false }); the menu tests pass. Happy to open it as a PR against your branch if that helps.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.