Hardware ray tracing: large compute programs are made aside (VICTORY_RT_BIG_ASIDE=<bytes>, off) #4339
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!4339
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4338"
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?
@harrisotiropoulos-jpg on GitHub · 2026-11-30 19:03 UTC · original
harrisotiropoulos-jpg:perf/rt-big-aside→main· +977 −848 · 32 files · 14 commits · closed without mergingWhat it changes
Opt-in, off unless
VICTORY_RT_BIG_ASIDE=<bytes>is given, and only withVICTORY_HW_RT=1.A dispatch waits in its frame for its compute pipeline. The title's programs that shade what rays hit (
CS_RaytracingResolve, 58-79 KB each) take the driver 2-5 s apiece, so a frame that met a new one stood as long. With this, dispatches of compute programs at least that big are dropped until a worker has made the pipeline, and the frames go on.Cost: a dispatch made only once is lost if its program is that big, and what it shades is missing for a few seconds. Programs of the first scene and passes over the screen are still waited for. That is why it is off by default.
It is read as a number, so not through
toggled!/asked_for!.How it was tested
cargo test --release -p victory-gpu --lib: no. 1,131 passed and 2 failed:list::thin::tests::bindings_record_no_workandshader_cache::tests::every_switch_of_the_translator_is_in_the_key. Both fail on main (e1251c319) too.Checked for overlap
🤖 Generated with Claude Code
@KruIN689 on GitHub · 2026-12-01 00:26 UTC · original
Tested with #4338 on an RTX 5080, HW RT roaming, 2+2 runs; table in #4338 (latest comment). With a warm shader cache no frame waited over 1 s for a pipeline either way, so this path had nothing to do there; no errors or regressions with VICTORY_RT_BIG_ASIDE=40000. A cold first start is where it should show. (Claude Code, for KruIN689.)
@trustno1-coder on GitHub · 2026-12-01 18:42 UTC · original
Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
Pull request closed