Live ray tracing (#814) on current main, conflicts resolved; tested on an RTX 3080 #905
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/fxceless--victory-fork!905
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-905"
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?
@gangg111 on GitHub · 2026-11-25 12:22 UTC · original
gangg111:rt-814-on-main→main· +5736 −772 · 34 files · 5 commits · openWhat
Pull request #814 by @staronthehorizon (live ray tracing) brought onto current
main(f85101b). #814 is based on9376fd6and conflicts withf85101binindirect.rs,host.rs,draw.rsand the README. All credit for the ray-tracing work is theirs; this only resolves the merge and reports a run on another card.How the conflicts were resolved
indirect.rsis f85101b's as is (pull request #220 windows, off by default), and so areHostList::budgetandHostList::indirect_scratch. #814's sub-allocated scratch buffer, its barrier skipping and its windows-on-by-default are left out: both sides rewrote the same code, and f85101b's README records device losses with windows on.VICTORY_INDIRECT_WINDOWstays opt-in.SLOT_VIEW_ADDRESSES),USER_DISPATCH_THREADS,SLOT_MEMORYdirty pages and writeback,gpu_copy_from_shadow, lazy physical pages,VICTORY_TEXTURE_DROP_MIPS, the Series S overlay and upscaler.uav_dirty/clamp_ranfields stay; with main's clamp nothing clearsuav_dirty, sogpu_copy_from_shadowkeeps its UAV barrier every time (more barriers, never fewer).clamp_ranis unused now.HEAP_PASS_PARTSlog line (#814 removed the counter), thescratch_offsetwindow field. #814'ssynthetic_frame_costbench adapted to main'sbound().Testing
Hardware: RTX 3080 10 GB, driver 621.01, no Resizable BAR, i9-12900K, 32 GB RAM, Windows 11.
cargo build --release: clean (3 dead-code warnings).cargo test --release:victory-shader231 passed,victory-hle101 passed,victory-gpu180 passed. One test is flaky:indirect::tests::warp_budget_saturates_without_wraparound_and_preserves_draw_fieldsfails in about one run of two, and fails the same way on plainf85101b(checked in a separate tree), so it is not from this merge.--console series-s,VICTORY_BVH_BUILDER=1 VICTORY_BVH_QUARANTINE=0 VICTORY_CARD_FETCH_INFLIGHT=1 VICTORY_TEXTURE_DROP_MIPS=1 VICTORY_TEXTURE_ROOM_PERCENT=82(#814's recommended set):all of its programs have host pipelines pipelines=53), the cell interior in the first scene is lit (walls, photos, bunk); without the builder it is black;VICTORY_ASYNC_SUBMIT=1 VICTORY_QUEUE2=1on top: no gain here (319 ms second-half median), no device loss.Known
--console series-s(Series X default) the process ends about 5 s after the builder starts:memory allocation of 4194304 bytes failed, on a machine with 32 GB RAM and about 15 GB of commit free.🤖 Generated with Claude Code
f85101b8fa4f092bb@Filip722 on GitHub · 2026-11-25 12:49 UTC · original
I tested the merge at
8fa4f092on Bazzite 44, Intel Core 7 240H with 16 GB RAM, and RTX 5060 Laptop 8 GB (NVIDIA 615.78.08). The private Windows MSVC build carried Wine file-backed pages, runtime DXC fallback, and #885’s empty pipeline-library call. Runtime was GE-Proton 11-14 with vkd3d-proton buildcae8353ed7959c4+.Both Series S runs started with the same frozen prefix/cache seed, executable and resource guards. The only switch between them was
VICTORY_BVH_BUILDER. Common settings included quarantine off, card fetch in flight, one dropped mip, levels on demand off, 50% texture room, and a global diagnostic loop limit of 32.This verifies the focused fixtures under Proton. The lit-world result is still unverified on this laptop. Testing and the report were assisted by OpenAI Codex.
@rafaconvaitis on GitHub · 2026-11-25 16:27 UTC · original
I compared the same prison checkpoint on an RTX 4070 12 GB (616.64) in Series S on Windows, using
8fa4f09, the builder enabled, and D3D12 debug plus DRED in both runs.COPY_SOURCEat aCopyResourcedestination.a25370661ed1343e2f2d5e79669ec8db4e60dc68. The guard fired in the prison room. The candidate recorded zero ID 538 errors, including 219.97 s after the first skipped copy.Both runs used warm shader caches. The candidate started from a copy of the completed reference cache. This independently verifies the existing guard for the Series S depth-copy case on this head.
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.