D3D12.X: preserve native vtables and wrap fences for vkd3d-proton under Wine (#175) #867
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!867
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-867"
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?
@gustavsi on GitHub · 2026-11-24 07:03 UTC · original
gustavsi:wine/vkd3d-vtables→main· +590 −50 · 9 files · 1 commits · openPreserve native COM vtables around
d3d12core.dllcalls and wrapID3D12Fence1in a thin proxy under Wine so XCL runs on unmodified assertion-freevkd3d-proton(novkd3d-protonvtable-check patch required). Part of #175 and #1701.vkd3d-protonvalidatesiface->lpVtblon adopted D3D12 objects passed back intod3d12core.dll(ID3D12CommandAllocator,ID3D12GraphicsCommandList,ID3D12Heap,ID3D12Resource,ID3D12PipelineState, andID3D12Fence, including on its async queue thread). With XCL's in-place vtable adoption, unmodified assertion-freevkd3d-proton(GE-Protonor-Db_ndebug=truebuilds) rejects adopted allocators/lists withE_INVALIDARGand fails fence calls. Native Windows behavior is unchanged (all new paths are gated behindutil::under_wine()).Note: assert-enabled
vkd3d-protonbuilds (such as stock Proton Experimental) also validateiface->lpVtblinside an adopted object's own methods (for exampled3d12_heap_GetDesc), so either an assertion-free build (GE-Proton/-Db_ndebug=true) or complementary in-place vtable patching for the assert-only classes (#2477, stacked on this PR) is needed there.What is in it
crates/xcl/src/hle/d3d12x/real.rs:UnadoptGuard(UNADOPTEDper-object active count with atomic vtable stores and 8-byte pointer alignment check) to temporarily restore native vtables on adopted command allocators (includingalloc_poolbackings andreset_pc_allocator), command lists, heaps (CreatePlacedResource/CreatePlacedResource1), RTV resources, and PSOs around calls intod3d12core.dllwithout restoring early under concurrent guards.AddRefbefore exposing the native vtable on the first active guard, and release it via XCL's hookedReleaseslot after restoring the extended vtable (outsideUNADOPTED) on the last guard drop: even if another thread concurrently loads the native vtable and callsRelease, refcount stays>= 1during the guard window and the final1 -> 0transition always executes XCL's hooked cleanup (pso_release,heap_release,res_release,cl_release,alloc_release).register_native/is_known_native) soorig_fnreads*ext.add(slot)directly if another thread enters a hook while anUnadoptGuardtemporarily restored the native vtable on a shared object (fixes the0xc0000005orig_fn(this, 2)race reported by @GreemSC).FenceProxy(wrap_fence_proxy,unwrap_fence,fence_proxy_release,fence_proxy_signal,fence_proxy_qi) so title PC fences keep their nativelpVtblwhile preserving console slot#12(completed_value_address), unwrapping inCommandQueue::Signal/Wait, and freeing on finalRelease.create_raw_fenceso XCL's own internal queue tracking (late_release,alloc_pool,list_x,cpu_writes,present,vram,sparse,drain_gpu) creates raw un-proxiedID3D12Fenceobjects and never passes aFenceProxyto un-adopted internal queues likesparse::queue().wine_vtable_tests:unadopt_guard_restores_native_vtable_and_reapplies_extended_on_drop,concurrent_release_during_unadopt_guard_still_runs_hooked_cleanup(verifies a concurrent thread calling nativeReleaseduring an active guard cannot finalize the object and the guard exit runs hookedpso_releasecleanup), andfence_proxy_forwards_signal_unwraps_and_frees_on_final_release.crates/xcl/src/hle/d3d12x/alloc_pool.rs,cpu_writes.rs,late_release.rs,list_x.rs,present.rs,sparse.rs,vram.rs:real::create_raw_fencefor XCL's internal fences and guardalloc_pool::reset_list/KickoffX/#2118deferred-dispatchReset/ mid-list split calls withUnadoptGuard.crates/xcl/src/gpu/recomp/runner.rs:submit_listusingreal::UnadoptGuardso tests running afterreal::init()adopts the process-wide singletonID3D12Devicedo not submit an adopted command list to the runner's pre-existing un-adoptedID3D12CommandQueue.Tested
GE-Proton11-14-x86_64,vkd3d-proton(-Db_ndebug=true, unmodified vtable checks), DXC 1.9.2609.5, cross-compiledx86_64-pc-windows-msvc(clang-cl+lld-link).main08db8020ate57cb659and verified under Proton (XCL_DXC_DIRset for GPU tests):hle::d3d12x::real:: --test-threads=1: 62 passed, 0 failed, 0 ignored (including all threewine_vtable_tests, with the new concurrent-Release-during-UnadoptGuardregression)hle::d3d12x::list_x:: --test-threads=1: 40 passed, 0 failed, 0 ignoredhle::d3d12x::alloc_pool:: --test-threads=4(× 3): 4 passed, 0 failed, 0 ignored each--exact gpu::recomp::tests::gpu_sparse_vram_descriptors_buffers_and_xmem gpu::recomp::tests::gpu_valu_float_and_int --test-threads=1: 2 passed, 0 failed, 0 ignored, 0 skippedpwsh ./scripts/smoke.ps1(withGE-Proton11-14wrapper):main(e0d93c84) exits0x3(2crashes,0frames); this PR (e57cb659) runs the full 60 s cleanly (exit: 0x0,18frames shown /PresentX 19,0crashes,0device removals).Regression run
Produced under Wine (
GE-Proton11-14, AMD Radeon RX 9060 XT,XCL_NETWORK=0 XCL_PSO_PRELOAD=0 XCL_RUN_SECONDS=60 XCL_ACTIVITY=1,VKD3D_CONFIG=""). The PR run used unmodifiedpwsh ./scripts/smoke.ps1via a thin Wine wrapper;main(e0d93c84) crashed before writingreport.json, so its block was extracted from the samexcl.log(peak commit: 0 MBis what Wine reports inxcl.log).main(e0d93c84):This PR (
e57cb659):Not tested
util::under_wine()).vkd3d-protonbuilds (needs-Db_ndebug=true/GE-Protonor #2477).AI use
UnadoptGuardCOM reference pin and concurrent-Releaseregression test for @bmjask's P1 review, rebasing ontomain(08db8020), running the Proton test/smoke verification, and drafting this update.mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175@SlopTart on GitHub · 2026-11-24 08:09 UTC · original
Linux / AMD RDNA3 lane report, head
593b2e2merged onto main1ec4c98(lane merge shas: 877d905182, 8718e45b96, 867ad333d2- see my note that all three of the #175-cluster PRs show the identical signature, whichever lands).This PR hard-crashes the test harness on my Wine/RDNA3 lane. Not a test failure: the lib test binary dies with exit status 5, no panic message, no failure list. Everything after it (e2e, gpu_compute_e2e, pls_quota, predication_e2e targets) then fails to run, which is why the lane totals look collapsed (36 passed / 2 suites).
Crash point, pinned with sequential runs (
--test-threads=1): it dies at or immediately aftergpu::recomp::tests::gpu_sparse_vram_descriptors_buffers_and_xmem, the sparse-VRAM test. That test passes clean on plain main1ec4c98on this exact rig (3 separate lanes this batch,... ok), and passed on this rig before. So the crash is attributable to this PR's change to the sparse/VRAM path, not the environment.Reproduced 3/3: full-suite lane run, isolated lib rerun, and a
--test-threads=1run.Counts only, no game data.
Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross
x86_64-pc-windows-gnu,XCL_NETWORK=0, release profile. My Linux rows: #42 / #718.AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175@sander110419 on GitHub · 2026-11-24 08:43 UTC · original
Test report for 593b2e2 (this PR's head, on its own base), Linux:
xcl.exestarted with thatwinedirectly; release build forx86_64-pc-windows-gnu, rustc 1.99.1VKD3D_CONFIGset, 150 s run: steady 28–30 fps presents (1,800 frames at 94 s), no crash; the run ended at my timeout.For comparison, same machine:
mainat09940bb: the title asserts 1.4 s in onE_INVALIDARGfromCreateCommandList(vkd3d-proton:d3d12_command_list_Reset: Invalid command allocator).main+ only restoring the native vtable of allocators and submitted lists (no fence wrap): it reaches the menus, then the title's watchdog ends it ~30 s later (the shared-fence case from #175), unlessVKD3D_CONFIG=ignore_shared_fence. So the fence part of this PR is what makes the difference here.Not tested: Windows, AMD,
cargo teston this commit.Merging this into
09940bbconflicts inlist_x.rs/real.rswithalloc_pool(#897, #907). My resolution (the guards on thealloc_poolallocator that is passed instead of the title's) crashed 12 s in with an access violation in vkd3d-proton's queue thread. That may well be my resolution and not this PR; a rebase by you would settle it.AI use: Hermes agent with Claude Opus 5.5 (
claude-opus-5-5) ran the builds and the game, and wrote this report; I checked it.mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175@TobiasFornell on GitHub · 2026-11-24 12:26 UTC · original
Test report for
593b2e2(stack head2f81d51, on its own base) with Proton Experimental's own vkd3d-proton, which nobody seems to have covered yet.Tested: AMD Radeon RX 9070 XT (RDNA4, 16 GiB), Mesa RADV 26.3.1, CachyOS (kernel 7.3), Proton Experimental
11.0-20261112(its Wine and its vkd3d-proton 3.2.0, unmodified), DXC 1.9.2609,x86_64-pc-windows-msvccross-build, retail title 1.0.2.1,XCL_NETWORK=0.Assertion failed: iface->lpVtbl == &d3d12_heap_vtbl(vkd3d_private.h:1077), right after the firstID3D12Heap1is adopted. Valve's build keeps the assertions, and the adopted heap reachesCreatePlacedResourcewith the extended vtable – this PR's guards cover lists, allocators and fences, not heaps. The start-up check from #257 reports it correctly.scripts/linux/build-vkd3d-proton.sh(-Db_ndebug=true, dxil-spirv53aac418): boots, reaches the first screen, steady 30 fps for 8 min, no crash, no device removal.So on Proton Experimental an
ndebugbuild is still required even with this PR (GE-Proton evidently ships one, given @sander110419's run on GE-Proton11-11). A guard for heaps – and any other adopted object passed back as a parameter – would make stock Proton Experimental work.Testing and write-up assisted by Claude Code (Claude Opus 5.5); runs on my own hardware, checked by me. No game data attached.
@TobiasFornell on GitHub · 2026-11-24 14:12 UTC · original
Follow-up to my report above, in case someone wants to make stock Proton Experimental's vkd3d-proton (assertions on) work by extending this PR's
UnadoptGuardapproach. I tried it locally and it is not enough; notes so nobody repeats it:Assertion failed: iface->lpVtbl == &d3d12_heap_vtblright after the firstID3D12Heap1is adopted.vkd3d_private.h): the vtable-identity asserts sit in theimpl_from_*helpers that the objects' own methods use (heap.c: QueryInterface/AddRef/Release/GetDesc/… all callimpl_from_ID3D12Heap1(iface)), not only where an object is passed as a parameter. So every PC method reached through the extended vtable trips it.vkd3d_private.hlines ~710–4068 in 3.2.0).So for stock Proton the realistic options seem to be proxy objects instead of in-place vtable replacement, or an assertion-free vkd3d-proton build (as
scripts/linuxdoes; GE-Proton evidently ships one). Not a criticism of this PR – it fixes what it targets; just the boundary for stock Proton.Testing and write-up assisted by Claude Code (Claude Opus 5.5); runs on my own hardware, checked by me.
@gustavsi on GitHub · 2026-11-24 15:14 UTC · original
Rebased onto
main(930e8b4) at46944c2and fixed the rebase crashes reported by @SlopTart, @freemanovec, @sander110419, and @TobiasFornell:late_release/alloc_pool/vkd3d_realloc: Out of memory/ exit-5 crashes:dev_create_fencewas returning a 16-byteFenceProxyto XCL's own internalCreateFencecalls (late_release,alloc_pool, etc.), which then signalled un-adopted internal queues likesparse::queue()with aFenceProxysovkd3d-protoncast the proxy struct asstruct d3d12_fence. Fixed by addingreal::create_raw_fencefor XCL's internal fences and placingUnadoptGuardinsidealloc_pool::reset_listclosures,reset_pc_allocator,CreatePlacedResource/1,CreateRenderTargetView, and PSO parameters.vkd3d-proton): thanks @TobiasFornell for verifying thatimpl_from_ID3D12Heap1also fires inside adopted objects' own methods; updated the PR description to state clearly that assertion-freevkd3d-proton(GE-Protonor-Db_ndebug=true) remains required for in-place adoption.--test-threads=1):real::24/0,list_x::26/0,late_release::2/0,alloc_pool::3/0,gpu_sparse_vram_descriptors_buffers_and_xmem1/0 (with DXC 1.9.2609.5, 0 skipped), plus a clean 60 s smoke run withlate_releaseandalloc_poolenabled andVKD3D_CONFIG="". Thanks @fromthemoonx for the native Windows run as well.@cmt8 on GitHub · 2026-11-24 15:47 UTC · original
For the assert-only classes on stock release builds (heap, resource, descriptor heap, query heap, root signature, pipeline state, command signature), #1395 writes XCL's PC slots into vkd3d-proton's own tables, so those objects keep their vtable pointer. It complements this PR rather than replacing it. One thing for composing the two:
UnadoptGuard::newneeds to skip tables patched in place (for those,ext[-1]is not the native table), e.g.|| in_place_original(*(obj as *const usize), 0).is_some(). Test table for this PR alone and both together on the official v3.1 DLLs is in #1395.@gustavsi on GitHub · 2026-11-24 16:45 UTC · original
Rebased onto
main(b7aa9f3) at6e94390and addressed the remaining review gap:gpu_sparse_vram_descriptors_buffers_and_xmem(@crastinator): root-caused and fixed.real::init()adopts the process-wide singletonID3D12Deviceafterrunner::gpu()already created its un-adoptedgpu.queue, so subsequentrunner::gpu()tests created adopted command lists via the adopted device and submitted them directly to the un-adoptedgpu.queue(bypassingq_execute_command_listsandUnadoptGuard). Addedrunner::submit_listusingreal::UnadoptGuard::new;--exact gpu::recomp::tests::gpu_sparse_vram_descriptors_buffers_and_xmem gpu::recomp::tests::gpu_valu_float_and_intnow passes 2/2 back-to-back on unmodified-Db_ndebug=truevkd3d-proton.UnadoptGuard::newcomposition note (in_place_original(vt(obj) as usize, 0).is_some()). Noted #1395 in the PR description and happy to add that guard once #1395 lands (or compose cleanly in whichever order merges first).GE-Proton11-14/vkd3d-proton ec20719452e916b(-Db_ndebug=true):real::29/0,list_x::26/0,late_release::2/0,alloc_pool::3/0,--exact gpu_sparse_vram_descriptors_buffers_and_xmem gpu_valu_float_and_int2/0, and a clean 60 s smoke run (exit 0x0,10frames shown /18PresentX,0crashes,0removals).@crastinator on GitHub · 2026-11-24 16:57 UTC · original
@gustavsi thanks: retested
6e94390on the RX 6700 XT. The chain is gone (the pair passes 3/3), and on the unpatched-Db_ndebugbuild it's now 760 passed / 12 failed againstmain's 717 / 53, with nothing new failing. Details in my review above (edited).mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175@DavidM1911 on GitHub · 2026-11-25 10:02 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
@SzczepanGrela on GitHub · 2026-11-25 11:02 UTC · original
Linux/RADV + Wine GPU test report on PR
#867heada4c5a82(a4c5a8228688d6642a21aaee80eaed5653905164, local merge6742e4cafbb7eea934512446b8bd603092cb9002ontoorigin/main568e7db7729c8fa6c8f0f4b32d798faaf11462bb; note thatmainlater moved toc55ba167295333c81b7024a307e654ec818c475fand PR#867currently showsCONFLICTINGagainst livemain).Setup
7.3.0-5-cachyos)AMD Radeon RX 9070 (RADV GFX1201, native wave64)(device0x7550, Vulkan1.4.354, Mesa RADV26.2.5-arch3.1)GE-Proton11-12(wine-11.0 (Staging)),vkd3d-proton v3.1, DXVKdxgi.dll, DXC1.9.2602.17(21d28f72)rustc 1.97.1,cargo test --target x86_64-pc-windows-gnu --release --workspace --no-run(44.07s, exit0, zero compiler warnings),XCL_REQUIRE_GPU=wave64 XCL_NETWORK=0Results
Single-threaded unit runs and isolated module suites (
cargo test --target x86_64-pc-windows-gnu --release -p xcl --lib ...):hle::d3d12x::real::wine_vtable_tests: 2 passed, 0 failed, 0 ignored (0.06s, exit0; both new testsunadopt_guard_restores_native_vtable_and_reapplies_extended_on_dropandfence_proxy_forwards_signal_unwraps_and_frees_on_final_releasepassed).hle::d3d12x -- --test-threads=1: 178 passed, 1 failed, 2 ignored (6.61s, exit101; failinghle::d3d12x::device_x::tests::gpu_depth_buffer_created_for_unordered_access_is_placedatcrates/xcl/src/hle/d3d12x/device_x.rs:1126:13:UNORDERED_ACCESS without the UAV flag), vs baseline568e7dbabnormal exit (exit5insideexecute_indirect_reads_the_arguments_written_before_itafter 3 passed and 2 failed).hle::d3d12x::real -- --test-threads=1: 48 passed, 0 failed, 0 ignored (1.04s, exit0), vs baseline568e7db45 passed, 1 failed, 0 ignored (1.12s, exit101;dma_list_release_cleans_up_list_statefailed atcrates/xcl/src/hle/d3d12x/real.rs:6752:120withHRESULT(0x80070057)).hle::d3d12x::list_x: 29 passed, 0 failed, 0 ignored (0.13s, exit0), vs baseline568e7dbabnormal exit (exit5after 22 passed tests).hle::d3d12x::alloc_pool: 3 passed, 0 failed, 0 ignored (0.15s, exit0), vs baseline568e7db2 passed, 1 failed, 0 ignored (0.14s, exit101;a_recording_outlives_the_reset_of_the_titles_allocatorfailed withHRESULT(0x80070057)atcrates/xcl/src/hle/d3d12x/alloc_pool.rs:386:122).hle::d3d12x::bind: 6 passed, 0 failed, 0 ignored (0.16s, exit0), vs baseline568e7db4 passed, 2 failed, 0 ignored (0.15s, exit101;create_list_reset_and_clear_state_track_initial_pso_on_d3d12andexecute_indirect_reads_the_arguments_written_before_itfailed withHRESULT(0x80070057)).hle::d3d12x::title_textures -- --test-threads=1: 14 passed, 0 failed, 0 ignored (5.44s, exit0), vs baseline568e7db11 passed, 3 failed, 0 ignored (1.21s, exit101).hle::d3d12x::device_x: 7 passed, 1 failed, 0 ignored (0.07s, exit101;gpu_depth_buffer_created_for_unordered_access_is_placed), matching baseline568e7db7 passed, 1 failed, 0 ignored (0.07s, exit101).hle::d3d12xremaining single-module runs:late_release2 passed, 0 failed, 0 ignored (0.19s, vs baseline 2/0/0),cpu_writes2 passed, 0 failed, 0 ignored (0.14s, vs baseline 2/0/0),title_list1 passed, 0 failed, 0 ignored (0.06s, vs baseline 1/0/0),fence_x1 passed, 0 failed, 0 ignored (0.09s, vs baseline 1/0/0),pso_async6 passed, 0 failed, 0 ignored (0.61s, vs baseline 6/0/0),sparse15 passed, 0 failed, 1 ignored (0.25s,early_commit_timingignored, vs baseline 15/0/1),vram11 passed, 0 failed, 1 ignored (2.26s,churn_update_tile_mappings_timingignored).gpu::recomp::tests::gpu_sparse_vram_descriptors_buffers_and_xmem -- --exact: 1 passed, 0 failed, 0 ignored (0.38s, exit0), vs baseline568e7db0 passed, 1 failed, 0 ignored (0.27s, exit101;HRESULT(0x80070057)atcrates/xcl/src/gpu/recomp/tests.rs:4116:124).gpu::recomp::tests::gpu_ -- --test-threads=1(no skips): 102 passed, 1 failed, 1 ignored (4.58s, exit101; failinggpu_nonfused_mad_and_mac_prevent_fma_contractionatcrates/xcl/src/gpu/recomp/tests.rs:7747:5), vs baseline568e7db83 passed, 20 failed, 1 ignored (4.08s, exit101; 19HRESULT(0x80070057)failures starting atgpu_sparse_vram_descriptors_buffers_and_xmem).Parallel
hle::d3d12xruns:hle::d3d12x -- --test-threads=4: abnormal exit (exit status: 5) in 3 of 3 runs (2 without--nocapture, 1 with--nocapture), exiting right afterxcl: D3D12.X: ID3D12GraphicsCommandList10(86 PC methods, 0 internal slots under the guard, +64 stubs), vs baseline568e7db156 passed, 21 failed, 2 ignored (1.63s, exit101).hle::d3d12x::title_textures(default parallel): 12 passed, 2 failed, 0 ignored (3.52s, exit101;placed_title_textures_share_vram_and_preserve_pixelspanicked atcrates/xcl/src/hle/d3d12x/title_textures.rs:1948:21:assertion left == right failed: cubemap extra_pages must be reused at same va,left: 2555904, right: 17170432, andtransitions_apply_when_their_list_is_submittedpanicked atcrates/xcl/src/hle/d3d12x/title_textures.rs:1488:39withPoisonError), vs baseline568e7db11 passed, 3 failed, 0 ignored (0.98s, exit101).Integration binaries (
cargo test --target x86_64-pc-windows-gnu --release --test <name>):d3d12_resource_and_sync -- --test-threads=1 --nocapture: 3 passed, 0 failed, 0 ignored (0.51s, exit0), vs baseline568e7db--test-threads=12 passed, 1 failed, 0 ignored (0.26s, exit101;fence_and_command_queue_sync_timing_and_allocator_reset_match_host_and_consolefailed withHRESULT(0x80070057)atcrates/xcl/tests/d3d12_resource_and_sync.rs:481:118).d3d12_resource_and_sync(default parallel, 3 runs): Run 1 and Run 3 aborted (exit status: 1,double free or corruption (out)) afterresource_map_unmap_write_and_gpu_va_match_host_and_console_contractsanddescriptor_heap_console_start_handles_match_host_and_console_heappassed; Run 2 passed 3 passed, 0 failed, 0 ignored (4.69s, exit0), vs baseline568e7db2 passed, 1 failed, 0 ignored (0.25s, exit101).sparse_reinit: 1 passed, 0 failed, 0 ignored (0.56s, exit0), vs baseline568e7db0 passed, 1 failed, 0 ignored (0.27s, exit101;HRESULT(0x80070057)atcrates/xcl/tests/sparse_reinit.rs:38:9).gpu_compute_e2e: 3 passed, 1 failed, 0 ignored (1.41s, exit101;console_wave64_compute_through_the_pso_hook_dispatch_and_read_backpassed;heap_window_out_of_memory_falls_back_to_the_switch_formpanicked atcrates/xcl/src/gpu/recomp/runner.rs:628:9:no heap windows, but XCL_REQUIRE_GPU=wave64), vs baseline568e7db2 passed, 2 failed, 0 ignored (1.03s, exit101, whereconsole_wave64_compute_through_the_pso_hook_dispatch_and_read_backalso failed with0x80070057).predication_e2e: 0 passed, 1 failed, 0 ignored (0.52s, exit101;set_predication_buffer_state_and_kickoffpanicked atcrates/xcl/tests/predication_e2e.rs:360:9:assertion left == right failed: EQUAL_ZERO(0) must skip dst[0],left: 2863267840, right: 286331153), vs baseline568e7db0 passed, 1 failed, 0 ignored (0.25s, exit101; panicked earlier atcrates/xcl/tests/predication_e2e.rs:308:14:CreateCommandList: Error { code: HRESULT(0x80070057), message: "Invalid parameter." }).gpu_pso_e2e: 7 passed, 0 failed, 0 ignored (0.26s, exit0), matching baseline568e7db7 passed, 0 failed, 0 ignored (0.26s, exit0).texture_states: 1 passed, 0 failed, 0 ignored (0.00s, exit0), matching baseline568e7db1 passed, 0 failed, 0 ignored (0.00s, exit0).console_dlls_e2e: 13 passed, 0 failed, 0 ignored (0.00s, exit0), matching baseline568e7db13 passed, 0 failed, 0 ignored (0.00s, exit0).Not tested
scripts/smoke.ps1(no retail title files locally).XCL_HEAP_WINDOWS=1(left unset;heap_window_out_of_memory_falls_back_to_the_switch_formfailed withno heap windows, but XCL_REQUIRE_GPU=wave64as on baseline568e7db).gpu::dxil,XCL_DIRECT_DXIL/XCL_SPLIT_WAVE64sweeps, and--lib/--testtargets outside those listed above.AI use
@SzczepanGrela on GitHub · 2026-11-25 12:01 UTC · original
Follow-up root cause analysis for the two parallel crashes reported above on PR
#867(a4c5a82):hle::d3d12x -- --test-threads=4(exit status: 5): missingUnadoptGuardincrates/xcl/src/hle/d3d12x/alloc_pool.rsWINEDEBUG=-all,+seh,+loaddll+llvm-symbolizercatches0xC0000005reading0x2a80atd3d12core.dll+0x476990(d3d12_command_queue_ExecuteCommandListsvtable check trap:rdxholds XCL's heap vtable instead ofd3d12core.dll+0x484fc0), called fromalloc_pool::tests::a_recording_outlives_the_reset_of_the_titles_allocatoratalloc_pool.rs:404.ID3D12Deviceadoption race already handled inrunner.rs::submit_list:alloc_pool.rs:380creates an unadoptedqueue, another parallel test adopts the singleton device beforealloc_pool.rs:388creates an adoptedlist(andalloc_pool.rs:394can create aFenceProxy), andqueue.ExecuteCommandLists(&lists)at lines404,413, and426submits the adoptedlistdirectly to the rawqueuewithoutUnadoptGuard.queue.ExecuteCommandLists(&lists)calls withUnadoptGuard::new(l)and creatingfenceviareal::create_raw_fence(&dev)fixed theexit status: 5crash 5/5 (a_recording_outlives_the_reset_of_the_titles_allocator ... ok5/5). (The remaining 7 extra failures under--test-threads=4are a separate parallel-testVirtualFreevscheck_uma_importradv/amdgpu-14CS rejection fromcoherent_buffer_sanitizes_console_flags_and_state, unrelated to this PR.)d3d12_resource_and_syncparallel (double free or corruption (out)): upstreamvkd3d-protonUAF, not a PR#867regressionresource_map+fence_and_command_queue(0/3on the other two pairs), and still reproduces withXCL_LATE_RELEASE=0.gdb+WINEDEBUG=-all,+vulkanshow the exact sameVkImagehandle (wb_texfromcrates/xcl/tests/d3d12_resource_and_sync.rs:271-277) destroyed twice viavkDestroyImage: first on theresource_mapthread whenwb_texdrops, then again onvkd3d_memory_transfer_queue_run_threadaftervkWaitSemaphores.vkd3d-proton(libs/vkd3d/resource.c:2776->libs/vkd3d/memory.c:625-641, tested at8293130eband still present on upstreammasterec20719452),vkd3d_memory_transfer_queue_write_subresourcequeues a rawtransfer.resourcepointer without callingd3d12_resource_increfuntilvkd3d_memory_transfer_queue_flush_locked(memory.c:475). Whenresource_mapdropswb_texbeforefence_and_command_queuecallsExecuteCommandLists, the flush dereferences the freedd3d12_resource, bumps its freedinternal_refcount, and queues a secondd3d12_resource_destroy/vkDestroyImage.main568e7dbonly becausefence_and_command_queuefailed earlier atCreateCommandList(0x80070057) before reachingExecuteCommandLists, and did not trigger under--test-threads=1becauseresource_mapruns last alphabetically.Not tested
scripts/smoke.ps1.hle::d3d12xunit tests with rawqueue.ExecuteCommandLists(bind.rs,title_textures.rs,vram.rs) can hit the same singleton adoption race under different thread interleavings.AI use
@gustavsi on GitHub · 2026-11-25 15:20 UTC · original
Thanks @SzczepanGrela for pinning the exact parallel
alloc_poolcrash and @DavidM1911 for the Windows verification!Rebased onto
main(06c9f55) at7a4954c:queue.ExecuteCommandListscalls inalloc_pool::tests::a_recording_outlives_the_reset_of_the_titles_allocator(and the newlist_x::tests::reset_while_the_last_submit_runstest) withUnadoptGuard::new, and switched their test fences plusvram::Pages::retire_fenceandsparse::Statefences toreal::create_raw_fence.GE-Proton11-14:alloc_pool:: --test-threads=4passes 3/3 (4/0 each),list_x::34/0,real::58/0,gpu_sparse_vram_descriptors_buffers_and_xmem+gpu_valu_float_and_int2/0, plus a fresh 60 s smoke run (exit: 0x0,20frames,0crashes,0removals).@omrih4 on GitHub · 2026-11-25 17:20 UTC · original
can confirm proton-cachyos on main crashes, successfully starts up with this pr rebased on top of it
@pickles976 on GitHub · 2026-11-25 18:16 UTC · original
#1395 is now closed unmerged (the author explicitly permitted reuse), so this PR is again the active upstream path for Wine/vkd3d object compatibility. One current consequence: exact #877 head
aec41e2+ this head7a4954cstill aborts at its first sparse heap on stock assertion-enabled vkd3d-proton 3.2:Verified on RTX 4060 Laptop / NVIDIA 590.48.1; #877 sparse tests pass 16/0/1, but the retail title exits 3 after 4.13 s. The in-place native-vtable implementation from closed #1395 gets this same machine past that heap when stacked with this PR. Since #1395 will not land independently, folding or succeeding its permitted implementation is now necessary for this PR's heap/resource half to work with release assertions enabled.
Full exact-head report: #877
@gustavsi on GitHub · 2026-11-25 19:43 UTC · original
Thanks @omrih4 for confirming startup on proton-cachyos and @pickles976 for testing against stock assertion-enabled vkd3d-proton 3.2!
Rebased onto
main(2898511) atc79e3b3:vram::RetireQueue) and #2345 (sparse::State::note_queue) toreal::create_raw_fence, and guarded theKickoffXsplit-segmentpriorflush withUnadoptGuard::new.UnadoptGuard::newguard.pwsh ./scripts/smoke.ps1run (exit: 0x0,20frames,0crashes,0removals).@gustavsi on GitHub · 2026-11-25 20:32 UTC · original
Rebased onto
main(e0d93c84) atf98da36d:UnadoptGuard/orig_fnrace reported by @GreemSC on #871 (0xc0000005reading0x10inpso_release->orig_fn(this, 2)):UnadoptGuardis now refcounted per object pointer (UNADOPTEDwith atomic vtable stores so overlapping guards on shared objects don't restore early), and unadopted native vtables are registered lock-free (register_native/is_known_native) soorig_fnreads*ext.add(slot)directly without touchingnative[-1]. Extendedwine_vtable_teststo cover overlapping guards andorig_fnwhile guarded with a zero-prefixed native table.UnadoptGuard::newaround the two new deferred-dispatchPC_RESETsites and raw test submit from #2118.real::61/0,list_x::40/0,alloc_pool:: --test-threads=44/0 × 3) and a fresh 60 spwsh ./scripts/smoke.ps1run (exit: 0x0,21frames,0crashes,0removals).@Mantarochen23 on GitHub · 2026-11-25 21:20 UTC · original
As a Linux-only user, I would highly appreciate this to be merged. Building and testing on Linux seems to be very doable with this.
@gustavsi on GitHub · 2026-11-26 00:52 UTC · original
Thanks @bmjask for the review! Addressed the
UnadoptGuardconcurrent-ReleaseP1 and rebased ontomain(08db8020) ate57cb659:UnadoptGuard: on the first active guard for an object,UnadoptGuard::newcalls nativeAddRefbefore exposingorig(raising refcount>= 2), and on the last guard drop restoresext(Ordering::Release), releasesUNADOPTED, and then calls XCL's hookedReleaseslot (*ext.add(2)). Even if another thread concurrently loads the native vtable during the guard window and invokesRelease, refcount stays>= 1so the object cannot finalize early, and the guard exit runs XCL's hooked1 -> 0cleanup (pso_release,heap_release,res_release,cl_release,alloc_release). (Note: with #2477 stacked on this PR, the 7 shared assert-checked classes are patched in place and bypassUnadoptGuardaltogether.)UnadoptGuard::newnow checks(obj as usize) & 7 == 0before its atomic vtable load so synthetic unaligned pointers cannot panic in debug builds.wine_vtable_tests::concurrent_release_during_unadopt_guard_still_runs_hooked_cleanupspawning a concurrent thread that observesorig_vtand invokes nativeReleaseduring an active guard, verifyingrc == 1while guarded and hookedpso_releasecleanup on1 -> 0when the guard drops.GE-Proton11-14, RX 9060 XT):real::62/0,list_x::40/0,alloc_pool:: --test-threads=44/0 (× 3),gpu_sparse_vram_descriptors_buffers_and_xmem+gpu_valu_float_and_int2/0, plus a fresh 60 spwsh ./scripts/smoke.ps1run (exit: 0x0,18frames shown,0crashes,0removals).AI use: Antigravity (Gemini 4 Neon) implemented the
UnadoptGuardreference pin and regression test, ran the Proton tests and smoke run, and drafted this comment.@Alm0stSurely on GitHub · 2026-11-26 00:43 UTC · original · edited 2026-11-26 01:11 UTC
Tested on an RTX 5080, NVIDIA 620.73.04, Proton Experimental (vkd3d-proton
cae8353ed7959c4). Local builds fromnvidia-devatc044dc6d48d2b46a8ae77852df275c534681f3df, with the heap change from #1395 and the Wine fence adapter from this PR (a4c5a8228688d6642a21aaee80eaed5653905164).I could reproduce the allocator identity check outside the game. With a fresh DIRECT allocator, node mask 1 and no initial PSO, the native allocator vtable gave
S_OKfor both PC graphics-list IIDs (base and v6). The title's console v6 IID gaveE_NOINTERFACE, which lets XCL retry with the PC IID. Copying the same nine entries to a different address gaveE_INVALIDARGfor all three IIDs. On a closed native list,Resetalso gaveE_INVALIDARGwith the copied table, thenS_OKon the same list after restoring the native table.In the retail run, the heap + fence baseline stopped at its first
CreateCommandListX. Exposing the native allocator during that call let all eight sampled direct/compute list creations returnS_OK. With default heap placement, the title then reached the newer layout's slot 139 (Reset) and stopped withE_INVALIDARG.In a follow-up build, the allocator selected by the pool was also exposed natively around the driver's list Reset. On the same cold, default-placement recipe, the native slot 10 returned
S_OKand the title's slot 139 returnedS_OKon the primary list. XCL then loggedExecuteCommandListsXwith one list, followed by an access violation in the stock D3D12 runtime before the first present. I have not isolated the cause of that subsequent fault.A further selective port of this PR's submission change passed the native list tables to the stock driver for each chunk after XCL expanded the console lists. All 16 instrumented chunks returned from the CPU call in each of two cold runs, including chunks with two lists. The title reached
PresentXand created a 3840×2160 swap chain. The video showed a blank white window before shutdown. A local VRAM guard stopped the runs at 3313 and 3529 MiB free. The second run added onlyno_upload_hvv. No in-world frames were verified. Seven focused CPU tests passed, including a mixed-list batch with a duplicate. This is a diagnostic port; return from the submission call does not establish GPU completion.The paired runs used
xcl run <retail executable>, empty caches,VKD3D_CONFIG=ignore_shared_fence,single_queueandXCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1 XCL_UMA_SHADOW=1 XCL_LOOK_SKIP=1.Tested the rebased PR head separately. I built
e57cb659b8f99801089846cbf680dc9964e6800cwithout local changes and ranscripts/smoke.ps1 -Seconds 60on the RTX 5080 with GE-Proton11-14, cold caches,XCL_PSO_PRELOAD=0,XCL_NETWORK=0and noVKD3D_CONFIGflags. Proton ran directly in an offline sandbox. The title exited before its first present. vkd3d loggedFailed to create Vulkan device, vr -3. Adding onlysingle_queuegavevr -1at the same step. Proton Experimental withsingle_queuealso gavevr -1. All three XCL runtime reports recorded zero presents. The smoke script's subsequentGet-CimInstancefallback failed under Wine, so there is no official manifest for these runs. A separate D3D12 readback control passed on the same GPU under Proton Experimental. The author used an AMD GPU and did not identify the retail title. These runs stop before they can evaluate the rebased submission change.Follow-up on the clean rebased head under Proton Experimental. Two direct
xcl runlaunches with the same executable, synthetic save, empty caches andsingle_queuediverged. With 10,835 MiB of free VRAM at startup, both the launcher preflight and the title host failed to create a D3D12 device. With 14,308 MiB free, both initialized the RTX 5080. The second run then exited at the stock driver's heap identity assertion (iface->lpVtbl == &d3d12_heap_vtbl), with zero presents and a black window. Available VRAM was observed, not controlled. This places the second run at the heap-compatibility issue covered by #1395.Not tested on AMD or native Windows. The local change covers selected call sites on this base. Concurrent title access to the allocator's extra slot while exposing the native vtable remains unverified. No gameplay FPS measured.
OpenAI Codex (GPT-6.2 Astra) assisted with the probes, runs and this report.
@fromthemoonx on GitHub · 2026-11-24 08:22 UTC · original · edited 2026-11-26 01:14 UTC
Rerun on the new head
e57cb65(theUnadoptGuardreference pin, rebased ontomain08db802): still passes on native Windows / NVIDIA. Merged ontomainb49be18(clean):cargo test --workspace --no-fail-fast -- --test-threads=41438 passed, 0 failed, 47 ignored, 25SKIPPEDlines.wine_vtable_tests(3 tests) 40 of 40;hle::d3d12x::real::(63 tests) at--test-threads=830 of 30. The e2e debug-layer messages are the same asmainb49be18's (3× error id 93, 1× error id 1046, 1× warning id 820, 8× id 0 at exit). #871 and #877 are not rebased onto this head yet. Same RTX 3060 (driver 610.88), Rust 1.100.0, debug. Not tested: Wine / vkd3d-proton. The reports below are for older heads.Rerun on the new head
a4c5a82: still passes on native Windows / NVIDIA.cargo test --workspace --no-fail-fast -- --test-threads=4, now with no--skip: 977 passed, 0 failed, 45 ignored. Merged onto main80f4819(no conflicts; auto-mergedcpu_writes.rs,list_x.rs,real.rs): 995 passed, 0 failed, 45 ignored. The e2e debug-layer messages on the merged tree are the same as main80f4819's (3× error id 93, 1× error id 1046, 1× warning id 820, plus the exit-time live-object report). Same RTX 3060 (driver 610.88), DXC 1.9.2602.17, debug. Not tested: Wine / vkd3d-proton (none here). The report below is for593b2e2.Native Windows / NVIDIA run, since Not tested lists both.
Tested
593b2e21fc0d4659861587ca426a0e30c57c590c, clean worktree, not merged ontomainstable-x86_64-pc-windows-msvc; DXC 1.9.2602.17 (Windows SDK 10.0.26100.0); debugcargo build --workspace, thencargo test --workspace -- --test-threads=4 --skip a_freed_block_is_decommitted_before_its_address_is_reused: 714 passed, 0 failed, 41 ignored, 1 filtered out (lib 673 / 0 / 21). The skip is #913: on this 12 GB card, that test fills video memory and makes unrelated tests fail withE_OUTOFMEMORY.wine_vtable_tests::fence_proxy_forwards_signal_unwraps_and_frees_on_final_release,wine_vtable_tests::unadopt_guard_restores_native_vtable_and_reapplies_extended_on_dropgpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardwareXCL_SAMPLE_*not setNot tested
smoke.ps1run here), and anything under Wine: this only shows the native Windows path is unchanged in the test suite.AI use
@gustavsi on GitHub · 2026-11-26 02:16 UTC · original
Thanks @Alm0stSurely for the detailed RTX 5080 / Proton Experimental verification! The
iface->lpVtbl == &d3d12_heap_vtblassertion you hit on stock Proton Experimental is indeed the heap/resource/PSO in-place vtable patching carried forward from #1395 in #2477 (stacked on this PR, now updated at94a05e53).AI use: Antigravity (Gemini 4 Neon) drafted this comment.
@DavidM1911 on GitHub · 2026-11-26 03:00 UTC · original
Re-verification on RTX 3060 Ti (Windows 11), new head merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved.Thanks!
— Devin
@crastinator on GitHub · 2026-11-24 15:44 UTC · original · reviewed
Tested on RDNA2 (RADV) against three vkd3d-proton builds. It works with an unpatched vkd3d-proton built with
-Db_ndebug=true, and two gaps are left. Proton's own vkd3d-proton still aborts at two other vtable assertions. And on the unpatched build, one sparse test leaves later GPU tests reading zeros.Tested (head
46944c2, which already containsmain930e8b4)dxgi, DXC 1.9.2609.5,XCL_REQUIRE_GPU=wave64,mesh(0 SKIPPED). Cross-built forx86_64-pc-windows-msvc, Rust 1.99.1, debug.cargo test -p xcl --lib -- --test-threads=1plus every integration test (--test-threads=1), compared per test withmain930e8b4on the same build:mainiface->lpVtbl == &d3d12_heap_vtbl(vkd3d_private.h:1077). The e2e title hits the same assertion, so that test fails.gpu_compute_e2eaborts at&d3d12_root_signature_vtbl(:2111), andpredication_e2eandsparse_reinitabort too-Db_ndebug=true, dxil-spirv53aac418-Db_ndebug=true, same dxil-spirvvkd3d-protonthat Proton (Experimental, and I expect other Proton builds) ships still tripsd3d12_heap_vtblandd3d12_root_signature_vtblon XCL's adopted heaps and root signatures.-Db_ndebugbuild, 14 of the 22 remaining failures are a chain: everygpu::recomptest aftergpu_sparse_vram_descriptors_buffers_and_xmemin list order reads zeros back. For example,gpu_valu_float_and_intgetslane 0 v_add_f32 left: 0.0, andgpu_unified_memory_arenagetss_load from process memory left: (0, 0). The--exactpairgpu_sparse_vram_descriptors_buffers_and_xmem gpu_valu_float_and_intreproduces it 2/2, andgpu_valu_float_and_intalone passes 2/2. With #257's patch the same pair passes. It looks like something the sparse test does goes through a vkd3d-proton path that is still not covered without the patch. The other 8 are the Wine-lane failuresmainhas with the patch too (#530 ×2, #676, #890 ×2, e2e,pls_quota#810,predication_e2e#1272).Not tested
XCL_SAMPLE_*was set, so the tests that read them (about 66) pass without running.AI use
Update: retested at
6e94390(rebased onmainb7aa9f3, same RX 6700 XT / RADV 26.3.1 / Proton Experimental Wine;--test-threads=1, compared per test withmainb7aa9f3on the same build)mainb7aa9f36e94390-Db_ndebug=true, dxil-spirv53aac418d3d12_heap_vtbl,d3d12_root_signature_vtbl)--exact gpu_sparse_vram_descriptors_buffers_and_xmem gpu_valu_float_and_intpasses 3/3, and all 14gpu::recomptests after it pass in the full run.mainhas with #257's patch, plus the #718 trio (title_textures×2,vram::d32s8). That trio fails in about 2/5 runs here onmaintoo. So with this PR, the unpatched-Db_ndebugbuild reaches parity with the patched one in the test suite.UnadoptGuardcondition is in). A retail title.@bmjask on GitHub · 2026-11-25 21:00 UTC · original · reviewed
P1 concurrency hole: UnadoptGuard temporarily publishes a native vtable on a shared adopted object. A new concurrent COM call starting during that window dispatches directly to d3d12core and bypasses XCL hooks; e.g. cl_set_pipeline_state unadopts a PSO while concurrent Release can bypass pso_release async/DRED/lifetime bookkeeping. orig_fn only protects a hook already entered before the swap, not calls loading native table afterward. Add synchronization/proxying or prove a no-concurrent-use invariant, with a guard-vs-new-hook-call regression. Current head also lacks visible Windows CI.
@futurepro62 on GitHub · 2026-11-26 08:47 UTC · original
NVIDIA and AMD full-suite run, to go with the reports above by Alm0stSurely, fromthemoonx, since none of them covers AMD. Tested exact head
e57cb659(on its base08db802).Tested
cargo build --workspace, thenXCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpu --skip gpu::recomp::lower_dxil::tests::mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu --skip gpu::dxil::fuzz_tests: 1420 passed, 0 failed, 45 ignored. SKIPPED (no wave64):a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu,a_per_lane_2d_or_3d_group_runs_on_the_gpu,coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu,cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu,dispatch_chain_native_wave64_builds_whole,gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware,the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu.unadopt_guard_restores_native_vtable_and_reapplies_extended_on_drop,concurrent_release_during_unadopt_guard_still_runs_hooked_cleanup,fence_proxy_forwards_signal_unwraps_and_frees_on_final_release.XCL_ADAPTER=radeon),cargo test --workspace -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1: 1431 passed, 0 failed, 47 ignored. SKIPPED:f16_programs_on_the_gpu(f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))),f16_programs_on_the_gpu(f16 arithmetic, wave64, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))),f16_programs_on_the_gpu(f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))),f16_programs_on_the_gpu(f16 packed, wave64, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))),f32_programs_on_the_gpu(f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))),f32_programs_on_the_gpu(f32 conversions, wave64, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))),heap_window_out_of_memory_falls_back_to_the_switch_form(no heap windows).--skipleaves out tests that fail on mainb49be183too, not because of this PR. On NVIDIA:heap_window_out_of_memory_falls_back_to_the_switch_form(#1651), the fourgpu::recomp::lower_dxil::tests::*_programs_on_the_gputests,const_and_null_mask_operands_agree_with_hlsl_on_the_gpuandmask_ff0_and_flbit_agree_with_hlsl_on_the_gpu(follow-up on #1651) fail becauserunner::skip_testturns their skips into failures underXCL_REQUIRE_GPU=mesh, andgpu::dxil::fuzz_testsseeds 70, 545, 1019 and 1507 failCreateComputePipelineStatewithE_OUTOFMEMORYon this card (drivers 616.64 and 621.40). On AMD:fuzz_validate_and_gpu_1fails on seed 540 (res[833]0x7 vs CPU 0x6). The AMD run does not setXCL_REQUIRE_GPU.Not tested
AI use
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.