gpu/queue,resource,device: support 2 MiB page mappings, RegisterPagePool2, and console queue/device slots #4366
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!4366
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4365"
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?
@TheOriginalF on GitHub · 2026-11-30 19:21 UTC · original
TheOriginalF:feat/2mb-page-mappings-and-queue-slots→main· +265 −46 · 3 files · 1 commits · openWhat it changes
crates/victory-gpu/src/queue.rs:PAGE_2M(2 MiB) andFLAG_2MB_PAGESsupport acrosspage_size(),remapped_spans(), andexpand_batches().signal_x,invalidate_graphics_tlb_x,kickoff_x,set_hdr_tone_mapper_x,copy_page_mappings_single, andclear_page_mappingsand wires queue slots23, 24, 25, 27, 28, 31+ unit test.crates/victory-gpu/src/resource.rs:register_page_pool_withandregister_page_pool2enforcing 2 MiB alignment whenFLAG_2MB_PAGESis set + unit test.crates/victory-gpu/src/device.rs:resident_noopand wires device slotsf[34](MakeResident),f[35](Evict),f[44](CreatePlacedResourceX), andf[120](RegisterPagePool2X), updatingdevice_slots_are_where_the_console_puts_them.How it was tested
--console series-s --execute), no DLSS / no frame generation, default software RT path,cache-paretobaseline.log(84bd61e2, 503.0 s): 0 errors; warm GPU card-meter (title >= 10 ms, n=319) 26.90 ms avg (last 25: 20.50 ms)all-prs.log(combined branch over84bd61e2, 430.5 s): 0 errors, 0 missing-slot warnings; warm GPU card-meter (title >= 10 ms, n=358) 22.81 ms avg (last 25: 21.34 ms) — no regressionscargo testpassed for the crates it touches: yes (queue::tests -- --test-threads=1— 19 passed;device_slots_are_where_the_console_puts_them— 1 passed;register_page_pool2_enforces_2m_alignment_when_flag_1_is_set— 1 passed;cargo clippy— 0 new warnings;xtask policy --staged— ok)Checked for overlap
device.rswith my sibling PRfeat/list-fill-barrier-sampler2-hwconfig(both keep their own functions aboveFUNCTIONS)2c5cedcca0to98522230d3View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.