HLE: identify DirectStorage physical page write failures #329
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/329"
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?
Imported from fxceless/victory-fork. Originally posted by avt0m4t48 on 2026-11-24T23:34:46Z.
Refs #268.
DirectStorage's terminal physical-page write warning reports the unknown page ID, an invalid page range, or the Win32 mapping or commit error captured at the failure site. The branch includes main's new buffered-write retry behavior. If it exhausts its retries, it logs the retry count and the final attempt's specific error in the same warning. The request still reports E_INVALIDARG.
On the updated head, seven source-built checks passed using the production destination and physical-memory logic with simulated Win32 calls. With retries off, the original five checks cover direct writes, fallback, missing pages, map failure and commit failure. With two retries enabled, one check verifies a transient write recovers and logs the number of attempts. Another verifies a map error followed by commit errors reports the final commit error. The diagnostic assertion for the final attempt failed on main. Windows MSVC HLE and GPU test targets type-checked with warnings denied.
Native Windows error injection and the cutscene symptom remain unverified. AI-assisted using Codex.
Imported from fxceless/victory-fork. Originally posted by avt0m4t48 on 2026-11-25T14:11:16Z.
Merged
0b0074einto this branch at2014383. The resolution preserves the new retry counters and page-written notifications and adds the final write error to the terminal warning.The seven simulated host-error controls still pass, including a successful retry and an exhausted sequence where the final error differs from the first. Native Windows also passed all 14 DirectStorage tests and 12 physical-memory tests. The native suite exercises source-built requests and page mappings. Host mapping/commit errors were injected in the separate simulation.
Exact-head Windows run
AI-assisted using Codex.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.