GPU: a withheld range can suppress a disjoint valid marked write on the same page #1976
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#1976
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@yualk on GitHub · 2026-11-25 02:10 UTC · original
Reproduced at
940d32f69b22265690a0b5a15d6ded572ba33bafwith a title-free D3D12 fixture on NVIDIA (10de:2c05) and WARP (1414:008c). This is distinct from #721: no concurrent guest writes occur in the fixture.Host::executesubmission. Each list declares one four-byte GPU write. List A writes5a 5a 5a 5aat offset 64; list B writesa5 a5 a5 a5at offset 256. The fixture uses GPU buffer copies for the two payloads and the page bitmap, and adefer_missedcallback on B to select the miss/no-miss arm.00 00 00 00for both ranges. With the legacy snapshot path the same ranges retire5a 5a 5a 5afor A and zero for B. Moving B to64 KiB + 256in the marked arm also preserves A and withholds B. With no miss, the marked same-page arm publishes both payloads.shadow.rs::copy_back_marksskips the whole 64 KiB page for any withheld declaration on that shadow that overlaps it. One shared page bit cannot identify which list wrote a byte; globally requiring a successful declaration is not safe either because directly indexed writes can be undeclared. The narrow invariant to preserve is that a disjoint valid write must not be lost solely because a missed range shares its page, without releasing bytes attributable to the missed list. No title scene, lighting or FPS claim.@DesertGamer on GitHub · 2026-11-25 02:27 UTC · original
VIctory V2: community PRs, merged and tested
Open PRs sitting in the queue? V2 pulls them into one build, screens each one (binaries, build scripts, hooks, new deps) and runs tests after every batch.
Where it stands today: launches, runs the menu at 30 fps, plays the intro video, reaches the start screen and loads the world (~50 s). Entering the world is the current blocker: rendering fails with a GPU "device removed" error (tracked in issue #1).
⚠️ Entering the world on a real GPU can hang it and make Windows reset the driver. Try it at your own risk.
Not playable yet, but every batch of merged fixes moves it closer. If you have a PR that's stuck, or a GPU to test on, I'd love your help:
https://DesertGamer/VIctory-V2
Unofficial community fork of Marvisak/VIctory, GPL-3.0.
@Marvisak on GitHub · 2026-11-25 12:47 UTC · original
Automated triage for the maintainers.
Confirmed in
main(940d32f).copy_back_marksincrates/victory-gpu/src/shadow.rsskips a marked 64 KiB page entirely (continue) when any withheld range of the same copy overlaps it, so a disjoint write from another list on that page is not copied back. Theshortcut:note above the function covers the opposite case (a withheld list's writes going back), not this one.Open PRs: #1986 and #1998 (#2004 was closed).
Generated by Claude Code