Console API conformance: runtime, GPU, DirectStorage, XG, XMem and audio calls the title makes #1510
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!1510
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1510"
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?
@capibawa on GitHub · 2026-11-28 21:03 UTC · original
fix/gdk-conformance→main· +13108 −1086 · 56 files · 70 commits · merged 2026-11-29 08:16 UTCWhat
70 commits that answer the console calls the title makes, but which still failed, crashed or returned placeholders. Each commit is one fix and explains itself in its message.
What players notice
XAppCaptureTakeScreenshotnow saves the next presented frame as a PNG under the title's data folder (screenshots/photo-<secs>-<n>.png) and fills in its result.mainstill refuses screenshots as if capture were unavailable.VICTORY_FSR_PATHon Series X, or a Series S scene other than 720p/1080p without DLSS.VICTORY_SKIP_BINK): a skipped movie is paused, so its soundtrack no longer plays on. A title copying a skipped movie's frame no longer gets undecoded garbage. A movie whose layout isn't the known one is left alone instead of being written to.XGameSaveFilesgets a folder of its own beside the container saves.victory play ….All changes
QueryApiImplrefuses a null out pointer. Struct layout tests cover what titles share with us.SuspendX,ResumeXandGetClockCalibration.ID3D12Device9andID3D12Device10answer as the device.VICTORY_DESERIALIZE_COMPUTE=1): loaded by default, they left the scene grey (see Tests).GetTexelCoordinateandGetSwizzlePatternInfo.XMEM_2MB_ALIGN, the longer working-set statistics, the title's figures inGlobalMemoryStatusEx, and the heap, hysteresis, option and write-watch exports.ApuHeapGetState, and the convolution ramp.GetProcAddressandGetModuleHandleEx.Rebased onto main
mainhad independently fixed some of the same things, so those overlaps were merged feature by feature rather than hunk by hunk. Each affected commit says what it kept from each side.main's stays.main.main's QueryInterface, padded tables, off-the-frame worker placement and fence-signal thread are kept. The signal thread also fixes this branch signalling fences under the scheduler's lock.main's. It forces held work after 250 ms instead of 2 s, wakes the behind line when that is on, and keeps theVICTORY_FENCE_WAIT_MSlimit.main's blocking save calls and store catalog, licence and add-on calls are kept. This branch adds only the callsmainlacks.main's shadow lift and movie flag are combined with this branch's per-plane placement. The lift is the composer's last root constant.This also covers the queue and device table parts of #1409: the 38-slot queue tables,
SuspendX/ResumeX, andID3D12Device9/10.Tests
cargo test --workspace: every suite passes exceptxtask'srepository_passes_policy. That fails onmaintoo:crates/victory-shader/src/emit/lower.rsis over the 640 KiB limit, and this branch does not touch it.cargo clippy --workspace --all-targets(with and without--all-features): no warnings from this branch's code.mainstill has 12 warning sites, which-D warningsin CI will report.main(which shows the scene) found the commit that loads the console's cached compute pipelines. Many of the title's own compute passes came in as console code the translator does not take.main.XPackageGetUserLocale, XPackageEnumerateChunkAvailability, XPackageInstallChunks, XPackageGetMountPathSize, XPackageGetWriteStats, XPackageUninstallUWPInstance, XPackageEnumerateFeatures and XPackageGetPackageKind were E_NOTIMPL placeholders. - GetUserLocale: the host user's locale name ("en-US"), sized as the runtime's other string getters (E_NOT_SUFFICIENT_BUFFER when short). The console matches it against the package's languages, which are not known here. - GetPackageKind: Game for our package, the no-package error otherwise. - InstallChunks: a monitor of the finished installation, as the async form gives. - EnumerateChunkAvailability / EnumerateFeatures: S_OK with nothing listed (the chunk layout and features are not known here). - GetWriteStats: nothing written, a budget nothing reaches, a non-zero interval. - GetMountPathSize: E_INVALIDARG (no mount handle is ever given); UninstallUWPInstance: none installed. Co-Authored-By: Claude Opus 5.5 <[email protected]>XTaskQueueTerminate did not follow XTaskQueue.h (2610) in three ways. It drained every callback on the queue's ports, so terminating a composite queue canceled the pending work of other queues sharing those ports ("does NOT automatically terminate other queues sharing the same ports"); a thread-pool queue's waiting callbacks, kept in the pool's own list, were not canceled at all. It called the termination callback at once, while callbacks of the queue could still be running on other threads ("invoked after all work and completion callbacks have been canceled or completed"). And it ignored `wait`: the callback always ran inline ("asynchronously" without it). A task now notes its queue (weakly: a queued task does not keep a closed queue alive), and each queue counts its callbacks from submission until they have run or been canceled. Termination takes back only its own from its ports, the pool and its delayed callbacks, cancels them, then calls the termination callback once none is outstanding: on the caller's thread with `wait`, which returns after it, or on a thread of ours without. A per-queue gate covers checking for termination, counting and enqueueing, so nothing is queued after termination has looked; no callback runs under it. Where the header is silent, behaviour is kept: canceled callbacks still run on the caller's thread, and a callback that terminates its own queue and waits is not left waiting for itself. Four tests: the three header rules (each failed before) and the self-termination case. Co-Authored-By: Claude Opus 5.5 <[email protected]>