gpu: copy out-of-reach descriptor tables into aside ring #80
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/lobomfz--VIctory-xmem!80
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-80"
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?
@Not4Eric on GitHub · 2026-12-01 17:00 UTC · original
Not4Eric:fix/unplaced-descriptor-heap-aside→main· +12 −0 · 1 files · 1 commits · closed without mergingProblem
On Series S (or any profile using the console
amd_fidelityfx_upscaler_xbox.dll), FSR4 calls unplacedCreateDescriptorHeap, which allocates fromPortHeapabove0x20_0000_0000(since commit88c9c29).In
crates/victory-gpu/src/draw.rs,table.checked_sub(space).filter(|&at| at < REACH)fails for those addresses and hitscontinuewithout binding the table:Every FSR4 upscaler dispatch then reads/writes nothing, leaving the 3D scene black while 2D HUD/UI renders normally.
Fix
When a descriptor table is outside the 3.5 GiB direct
REACH, check that it lies in-bounds of a boundHeapand fall back toself.beside(list, table, n, &[])to copy it into the GPU-reachablerecords::asidering (matching the existingcpu_askfallback directly above).Testing
cargo build --locked --release -p victory(0 warnings).CONSOLE=series-s,1920x1080): theoutside the card's first reachwarning is gone and 3D gameplay renders.@Not4Eric on GitHub · 2026-12-01 17:32 UTC · original · edited 2026-12-01 19:57 UTC
resolves #62
@AlexandrosMelissas on GitHub · 2026-12-01 18:58 UTC · original
About #79, Tested this PR on RX 9070 XT (Bazzite host, Arch distrobox, Wine 11.22), fresh image cache:
still crashes with int3 at victory-image-b99f876b74d4a77f.dll+0x4dcbc9d ~frame 1100,
black screen until then.
@Not4Eric on GitHub · 2026-12-01 19:57 UTC · original
Sorry, I just now realized that the person replying saying that they have a similar issue and your issue are not the same. I'll remove the issue mention
@Not4Eric on GitHub · 2026-12-01 22:12 UTC · original
Cherry-picked into main as
b3cc597via #83, closingPull request closed