D3D12.X: wait for tiled-texture queues in late_release #1314
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!1314
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1314"
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?
@ExoCalibra on GitHub · 2026-11-24 14:38 UTC · original
ExoCalibra:pr/late-release-vram-queue→main· +93 −6 · 2 files · 1 commits · openlate_release::drain_knownwaited on title queues, the sparse tile-mapping queue, and title-texture upload queues before running a held resource's final COMRelease, but omitted the tiled-texture tile-mapping queues owned byvram::Pages. A released placed texture could therefore reach its finalReleasewhileUpdateTileMappingswas still in flight onvram::Pages.queue.What is in it
crates/xcl/src/hle/d3d12x/vram.rs: trackvram::Pagesqueues in a separateVRAM_QUEUESmutex and exposevram::queues()solate_releasecan snapshot them without takingPAGES.crates/xcl/src/hle/d3d12x/late_release.rs: includevram::queues()indrain_known(viadrain_queues), and add GPU regression testdrain_queues_waits_for_vram_tile_mapping_queue.Tested
rustc 1.100.0 (0ef1bc386 2026-11-09), debug (scripts/test.ps1) + release (cargo build --release -p xcl)..\scripts\test.ps1(cargo test --workspace -- --test-threads=4): 736 passed, 0 failed, 41 ignored.SKIPPEDGPU tests on this adapter:gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware(no wave64).Regression run
Main (
67a3735):PR (
7aa9d68):Not tested
XCL_SAMPLE_*tests on local sample files (not set).AI use
@futurepro62 on GitHub · 2026-11-24 14:50 UTC · original
Full-suite run, since this PR has no test report yet. Tested exact head
7aa9d68(on its base67a3735).Tested
cargo build --workspace, thenXCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4: 736 passed, 0 failed, 41 ignored. SKIPPED (no wave64):gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware.drain_queues_waits_for_vram_tile_mapping_queue.XCL_ADAPTER=radeon),cargo test --workspace -- --test-threads=4: 736 passed, 0 failed, 41 ignored, no skips.Not tested
AI use
@JoaoPauluu on GitHub · 2026-11-24 15:28 UTC · original
A regression run under Wine on Linux, on a retail title.
Tested
x86_64-pc-windows-gnu.7aa9d68as it is andmain930e8b4, no uncommitted changes. This PR's merge base is67a3735; themainruns are of930e8b4, a later commit ofmain. Retail title 1.0.2.1,scripts/linux/smoke.sh(#257) for 60 s, no input. Nine runs in a row,mainfirst and last, other PRs in between.Regression run
main (first run):
this PR:
The last
mainrun: 1338 frames,exit: 0x0, no device removal, no crash. Under Wine,peak commitreads 0 MB, so these blocks do not check memory.Not tested
AI use
@DavidM1911 on GitHub · 2026-11-24 15:38 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib -- --test-threads=1: all passed, 0 failed, ~21 ignored. (Parallel runs intermittently abort with 0xc0000005 — same harness flake seen on unmodifiedmain.)Thanks!
@DavidM1911 on GitHub · 2026-11-26 04:47 UTC · original
Re-verification on RTX 3060 Ti (Windows 11): still a merge conflict with current
mainon the new head — needs another rebase before it can be tested.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.