DirectStorage: a memory queue that is not realtime gets its own error #1683
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!1683
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1683"
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?
@emirduran707 on GitHub · 2026-11-24 19:15 UTC · original
emirduran707:dstorage-memory-queue-priority-error→main· +8 −2 · 1 files · 1 commits · openCreateQueuealready refuses a memory queue whose priority is not realtime, but it returned the genericE_DSTORAGE_INVALID_QUEUE_PRIORITY(0x89240013). DirectStorage has a code for exactly this case.dstorageerr.hdefinesE_DSTORAGE_INVALID_MEMORY_QUEUE_PRIORITY(0x89240024): "Invalid priority is specified for the queue. Only DSTORAGE_PRIORITY_REALTIME is a valid priority for a memory queue." A priority outside -1…2 keeps 0x89240013.What is in it
crates/xcl/src/hle/dstorage.rs:E_MEMORY_QUEUE_PRIORITY, returned byfactory_create_queuefor a memory queue that is not realtime. Testa_memory_queue_inflates_zlib_and_reports_through_status_and_errorsnow expects it, and checks that priority 3 still getsE_QUEUE_PRIORITY.Tested
cargo test --workspace -- --test-threads=4onadc843d: 858 passed, 0 failed, 42 ignored; SKIPPED:heap_window_out_of_memory_falls_back_to_the_switch_form(no heap windows)left: -1994129389(0x89240013),right: -1994129372(0x89240024)Regression run
main:
this PR:
Not tested
AI use
🤖 Generated with Claude Code
@MiharaxD on GitHub · 2026-11-24 21:44 UTC · original
Test report on an NVIDIA card, head
adc843d(onmainc160d86), which covers the "NVIDIA" line.Tested
cargo build --workspace, thencargo test --workspace --no-fail-fast -- --test-threads=4(debug) onadc843d: 858 passed, 0 failed, 42 ignored (lib tests 809 / 0 / 22).gpu_geometry_wave32_prefix_count_over_a_mask(no wave64),gpu_wave32_program_in_wave64_hardware(no wave64).Regression run
scripts/smoke.ps1 -Game <game folder> -Seconds 60(release builds, start screen, no input).mainisc160d86:main:
this PR's head:
Not tested
AI use: Claude Code (Claude Opus 5.5) built the PR, ran the tests and both smoke runs, read the logs and wrote this report; I checked it before posting.
@DavidM1911 on GitHub · 2026-11-24 21:47 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~22 ignored. (Intermittent single-test flake under parallel scheduling; clean on single-threaded rerun — same flake seen on unmodifiedmain.)Thanks!
@JJAutoCompare on GitHub · 2026-11-25 03:55 UTC · original
PR #1683 compatibility verification
Tested
adc843d4491b16bd12c2020d8e37286e277e42econ STOR-WINLAB. The DirectStorage tests passed. The workspace suite reported 18 failures across GPU unit tests and the synthetic title.Environment. Windows 11 Enterprise Evaluation build 26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 16 GiB (driver 32.0.101.9175). Wave range 8–32,
DoublePrecisionFloatShaderOps=0, andd3d12SDKLayers.dllabsent. DXC/DXIL 1.9.2609.5, Rust 1.100.0 (0ef1bc386, 2026-11-09), unoptimized dev/test profiles with debug info disabled.Tested
cargo build --workspaceandcargo test --workspace --no-runsucceeded.cargo test -p xcl hle::dstorage -- --nocaptureunder the shared Arc lock recorded 17 passed, 0 failed, 0 ignored, 0 skip markers. The updated queue test exercised realtime priority 2 (S_OK), non-realtime priority 0 (E_MEMORY_QUEUE_PRIORITY,0x89240024), and out-of-range priority 3 (E_QUEUE_PRIORITY,0x89240013).cargo test --workspace --no-fail-fast -- --test-threads=4under the same lock recorded 840 passed, 18 failed, 42 ignored across 20 result summaries (exit 101). All 17 DirectStorage tests passed again.Workspace failures and skips
CreateComputePipelineStatewith0x80070057, including FP64 cases. Four more recompiler tests reported result mismatches in FMA, implicit-LOD sampling, f16 VALU, and pixel-shader wave reductions.RSSetDepthBiasXwas expected to make it green.SKIPPEDlines. Two report no wave64 and one reports no heap windows. The harness includes those test entries in its pass total. The skipped paths provide no coverage.Not tested. Retail-title smoke on main and the PR head, sample game data, other GPU vendors, and D3D12 debug-layer validation. There was no main baseline run for attributing the workspace failures.
AI use. T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against
pr1683-suite.logand published.View 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.