You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Contribution handoff for D3D12, shaders, DirectStorage, and Lanes
#276
@brcly, here is the code and test evidence from my TuxBox work so maintainers can review the changes and try them on more hardware.
Code available for review
D3D12 and gameplay. This branch has 17 commits covering deferred mesh, compute, and stream pipeline creation, compile queue limits, runtime DXC reuse, queue and present tracing, texture digest tracking, reusable upload and readback buffers, and byte-offset UAVs. It also contains shader fixes for cube gradients and pixel interpolants after clip distances, mesh pixel sampler recovery, and a DirectStorage patch. The branch predates some upstream work, including mesh sampler changes in d3d12: give a mesh pipeline's pixel stage the literal samplers its root leaves out #266. Pinned gameplay branch · Compare with main
DirectStorage and XMem. The standalone patch reads destination page tokens at execution. A manually submitted queue can fill them between EnqueueRequest and Submit. Capturing them early can return 0x800701e7. The patch also adds opt-in clipped zlib prefix handling, storage tracing, and guest regressions for late population, unresolved tokens, and corrupt streams. Standalone patch
Shader translation. Two follow-up commits decode FP16 interpolation attributes separately from VGPR reads and resolve mesh sampler heap loads with branch-aware reaching definitions. There is also a standalone reference patch for reduction-derived scalar guards. FP16 interpolation · Mesh sampler heap · Scalar guards
On the earlier 3f2a717 baseline, two cold runs on an RTX 4080 SUPER with driver 570.211.01 and Proton Experimental 11.0 each submitted five large compute shaders. All five pipelines ran in each run and matched all 320 GPU readback values against the CPU reference. This exercises the four-slot compile gate with precompiled DXIL. Tested baseline
The gameplay branch adds mesh-pso and mesh-pso-lazy controls to tools/check_d3d12_regressions.py. The storage guest has --page-strict and --page-prefix cases in runtime/xcrdapi/guest.cpp. Full GPU validation on the exact gameplay head is pending. Local experiments with GPU-only texture writes and additional shader cases are still in progress.
If you test ProjectScarlett or The Matrix Awakens, compare the same scene on the pinned branch and on main with the same GPU, driver, and Proton version. Report both commits, the furthest point each run reaches, and the first error or device loss. For GPU checks, attach the summary from python tuxbox.py check. TuxBox GPU check instructions
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
@brcly, here is the code and test evidence from my TuxBox work so maintainers can review the changes and try them on more hardware.
Code available for review
EnqueueRequestandSubmit. Capturing them early can return0x800701e7. The patch also adds opt-in clipped zlib prefix handling, storage tracing, and guest regressions for late population, unresolved tokens, and corrupt streams. Standalone patchWork already upstream
ExecuteIndirectarguments in lanes: replay a GPU fence handoff in both directions #179, d3d12: honor memory waits after compute dispatches #183, lanes: check direct queue label waits around CopyBufferRegion #187, and lanes: verify ExecuteIndirect with GPU-written dispatch arguments #190.04a560c. The follow-up work on fallback copies and XMem backing is tracked in d3d12:buffer-remapregression control fails on RADV, with host memory imports refused #191, d3d12: mirror section-backed imports through anonymous shadow heaps on RADV #200, d3d12: import XMem physical pages through their backing #218, d3d12: import non-contiguous XMem backings through a reserved buffer #253, and xmem: back physical pages with private memory and export backing holds #258. Host profile commitReproduction and test status
3f2a717baseline, two cold runs on an RTX 4080 SUPER with driver 570.211.01 and Proton Experimental 11.0 each submitted five large compute shaders. All five pipelines ran in each run and matched all 320 GPU readback values against the CPU reference. This exercises the four-slot compile gate with precompiled DXIL. Tested baselinemesh-psoandmesh-pso-lazycontrols totools/check_d3d12_regressions.py. The storage guest has--page-strictand--page-prefixcases inruntime/xcrdapi/guest.cpp. Full GPU validation on the exact gameplay head is pending. Local experiments with GPU-only texture writes and additional shader cases are still in progress.mainwith the same GPU, driver, and Proton version. Report both commits, the furthest point each run reaches, and the first error or device loss. For GPU checks, attach the summary frompython tuxbox.py check. TuxBox GPU check instructionsAll reactions