Repository navigation
Conversation
The newer factory's CreateQueue (slot 10) takes a 0x20-byte desc whose u64 @0x18 is the queue's DSTORAGE_QUEUE_OPTIONS; a new retail game sets bit 0, AutoSubmitDisabled. XCL ignored it, and a half-full queue still submitted by itself. The title writes a request's destination page list after EnqueueRequest and before its own Submit, so a request that the half-full submit sent to the worker could run before its list was written, with the pages of the slot's previous request. Such a queue now runs its requests only at Submit, and an enqueue into it at capacity waits until Submit, a cancel or Close takes entries, as the console's queue stalls one. Queues made without the option, or through the first CreateQueue, submit when half full as before. Other option bits are logged once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reuse status completion and Acquire ordering before inspecting buffers in the two AutoSubmitDisabled regression fixtures. Keep source/destination buffers alive through queue cleanup, including assertion failures. Stacked on xcl-dev#1599. Its queue implementation and original tests remain attributed to their original author. Assisted-by: Codex (GPT-6)
|
Tested: current PR head merged onto current Disclosure: this branch carries the cherry-picked #1599 queue commit underneath; the run covers the branch as-is.
Not tested: retail titles (no title data on this lane, counts only). AI use: Hermes agent (local Qwen-class) ran both machines and drafted this; I checked it before posting. |
|
Native Windows run: builds and passes. Both queue tests passed 40 of 40, and each one fails on a deliberately broken queue (without hanging). This covers the native build and the two tests listed under Not tested. Tested:
Deliberate breaks in
One thing to know about the first test: with capacity 6, the two requests fill the queue to 2. It reaches half full (3) only when the test's own Not tested: a release build, a title, AMD / Intel. AI use: Claude Code (Claude Opus 5.5) ran the tests and the scratch breaks, and wrote this report. |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
Stacked on #1599; only the top commit (
7a2d6d0) belongs here. The first commit is #1599's queue implementation, cherry-picked onto0829441with Grein's authorship preserved. This can also be folded into #1599 instead of merged separately.The two queue-option tests poll ordinary destination bytes while the worker writes them.
read_volatiledoes not synchronize those accesses. Wait for the existing status entry with an Acquire load, then check every destination byte after queue cleanup. Delay assertions until cleanup so a failed expectation cannot release buffers while a worker still uses them.What is in it
crates/xcl/src/hle/dstorage.rs, test module only in7a2d6d0: status completion, mutable destination pointers, and cleanup before assertions in the two existing regressions. The half-full fixture uses capacity 6 so its two copies and trailing status reach half capacity together.Tested
git diff --check main..HEAD: passes.scripts/pr_check.pyrejects the missing main/head smoke blocks in the current stacked diff, as expected; no waiver is claimed.7a2d6d0on RTX 3060 12 GB / driver 610.88, Ryzen 7 5700X, Windows 11 Pro 26300, Rust 1.100.0 MSVC, debug. They reportcargo test --workspace --no-fail-fast -- --test-threads=4: 1274 passed, 0 failed, 46 ignored, 25 SKIPPED lines; both queue tests 40/40 and deliberate broken-queue controls failed. These are their results, not independently rerun here. Their original polling controls also passed, so this is no observed Windows-race claim.Regression run
Not tested
AI use