Repository navigation
Description
One place for running XCL on Linux: the setup that works, the branch with the open pull requests a Linux tree needs, and the Linux bugs with their fixes. We keep this body up to date; findings go in the linked issues. #175 stays the vtable issue; this replaces our status comments there (7197138327, 7205101006).
Setup: RTX 4060 Ti 16 GB, NVIDIA 615.71.09, Wine 11.21 Staging. vkd3d-proton master 71cae091 with its own dxil-spirv b540c8a2, unpatched (the first run below); the second run used v3.1-90-g30b0eb9b with three local patches (relaxed vtable checks, a dxil-spirv patch, command pools released at Reset). Settings: VKD3D_CONFIG=ignore_shared_fence XCL_DIRECT_DXIL=1 XCL_PSO_DISK_CACHE=1 XCL_PREPARE=0 XCL_SKIP_BINK=1 XCL_HUGE_PSO_WANTED_CONCURRENCY=6 XCL_DXC_THREADS=4; the second run from warmed caches, the first on a new vkd3d-proton build, whose pipeline cache started cold. With XCL_SKIP_BINK=1 a few kept frames come out solid green (a skipped film's undecoded planes; none in our run without it), so our runs from now on go without it. In the Wine prefix, dbghelp is disabled (HKCU\\Software\\Wine\\DllOverrides, dbghelp=""): after a crash XCL logs, the title's own handler loads dbghelp for MiniDumpWriteDump, and Wine's dbghelp asserts on XCL's debug information (dlls/dbghelp/dwarf.c:465, NULL != abbrev_entry), which puts up a modal "Assertion failed" box and exits with code 3. With the override the box does not appear (checked with a small crashing program; not yet on a title crash). Turning off Wine's crash debugger (AeDebug) does not stop it.
Branch: Royalflamejlh/xcl linux/stack is main 1c8b5514 (2026-12-01) plus the open pull requests Linux still needs and commits of ours (at c8b28bd7), at the heads its README lists. #867/#2477's raw fences and unadopt guards are carried onto main's new submit paths; 71f1ba8e adds the guard to XCL's own submits on the real queue (q_execute_command_lists), the path we think the two tests that trap in vkd3d-proton's ExecuteCommandLists use (not yet run on a card). #867 and #2477 were closed by their author on 2026-11-29; #3492 is our carry of both onto main, the same changes as in the branch. #3506, #3507 and #3556 (ours, below) are in. #1520 is in; #1599, #2082, #1803, #688, #3090, #3091, #3154, #2753 and #2070 are covered by main and out. It is a test branch, not a pull request.
Branch on nvidia-dev, retired on 2026-11-29: main took all of nvidia-dev (#3203) and has gone past it, so linux/stack-nvidia-dev is no longer kept up; linux/stack carries the same fixes (our #2816 feedback guard included).
Branch on amd-dev, not kept up since 2026-11-29: linux/stack-amd-dev waits at amd-dev 7c795f5e until amd-dev merges into main (136 of its commits are not in main yet); then linux/stack covers AMD too. It was never run on an AMD card by us; @ClosetPie107 ran its lib suite on an RX 9070.
| Issue | On Linux | Fix | In the branch |
|---|---|---|---|
| #175, #1701 | vkd3d-proton identifies its objects by vtable pointer, which XCL replaces: assertions and failed list creation; shared fences that never complete (we still run ignore_shared_fence; a run without it has been shown only on an old #867 head, 593b2e2, #867 7126478910) |
#3492 (#867 + #2477, closed by their author, carried onto main) |
yes |
| #175 | the title's own 1920x1080 window shows white behind XCL's (Wine does not implement DWM cloaking) | #794 + #1462 | yes |
| #662 | XG::copy_from reads one argument fewer than the title passes: an access violation at the world load |
#684 | yes |
| #1164, #2140 | the game+0x4da6315 assert after the story load |
#1405 (merged), #1599 | yes |
| #1805 | dxil-spirv crashes on XCL's direct DXIL | #1860 + #2082; dxil-spirv b540c8a2 (in vkd3d-proton master) ends the recursion (#1805, 7202569928) |
yes |
| #2453 | the offline pass's blobs are refused at run time (NodeMask) |
#1368; #2515 (draft) also covers it | #1368 |
| #2743 | a texture kept for every view-by-address (not Linux-specific; the thread corrected the first growth figure, 7188772558) | #2762 | yes |
| #1461 | report.json is not rewritten at a title's exit (no process-detach under Wine) |
#1479 | yes |
| #1272 | vkd3d-proton does not predicate copies; predication_e2e fails |
none (#1327 skips the test) | no |
| #916 | a vkQueueSubmit2 access violation from pipelines destroyed while a list still binds them |
#2417 | no; not tested by us |
| #2003 (its last comment) | with VKD3D_CONFIG=pipeline_library_app_cache, which makes vkd3d-proton's blobs full ones, the offline pass wrote a 112-byte blob over each full one it loaded (145 of 145 on a slice of the pack, 1 series of 3 passes), and the pass after that compiled them all again |
#3556 (ours, draft) | yes |
| #2003 | XCL's cached driver blob plus a warm NVIDIA shader cache crashed pipeline creation; not seen on vkd3d-proton 3.2.0 (7153522519) | none (#2125 documents it) | no |
| #1701 | about 0.5 fps on RADV from write-watch and upload time; with linux/stack 75c0a1d5 on RADV the slow frames go with the coherent window's size: about 30 fps with XCL_COHERENT_MB=1024 instead of the default 4 GB, about 1 fps with a pipeline wait alone (7228668974's update, 7229371079) |
#871, #877 | no; not tested by us |
| #1246 | a dxil-spirv crash in a library test on Wine + RDNA3 | none in XCL; #775's newer dxil-spirv ends it (crastinator's review on #775) | no |
| #746 | game+0x2215c35 on an RX 7900 XTX; the last comment ties it to vkd3d-proton running out of memory on an 8 GB card |
none | no |
| #2481 | the XMA2 voice test fails under Wine (our e2e run with #1479 now stops at the audio block too) | none | no |
| #2899 | amd-dev on Linux + NVIDIA: compute pipeline waits, then Xid 109 or a stopped queue |
#684 for its first crash only | #684 |
| none yet | vkd3d-proton resets its command pools without releasing their memory (libs/vkd3d/command.c:2539 at 71cae091). On stock master the title's RSS went from 13.5 GB at the world load (57.5 s) to 29.7 GB 32 s later (1 run); a second run that counted vkd3d-proton's pools (stock resets, 1 run) put it there: 54 of 331 allocators recorded more than 20,000 of vkd3d-proton's cost units between resets, the top six 1.39–1.48 million in 4–8 lists. Those large recordings are #2404's chained ExecuteIndirect rounds (32 rounds of a split program's pieces until its whole form is built), so the fix belongs with #2404. With the release flag on v3.1, driver-mapped memory stayed at or under 2.3 GB to 300 s (#2404, 7189698499, 2 of 2 runs). In the 900 s run below, RSS rose to 21 GB in the 21 s after the world load and peaked at 29.1 GB at about 503 s |
none in XCL yet. On linux/stack-nvidia-dev, which has no chained ExecuteIndirect, RSS stayed flat at about 14 GB on stock master (1 run) |
no |
| #505 | black frames from about 530 s: one composite draw blends a colour that is always zero (not Linux-specific). On Linux, turning that draw's writes off removed the black (#505, 7223345779, 1 run). A contributor traced the zero colour, on Windows, to an alias pair at a 64 KiB-aligned address that depth_twin::alias_pair skips; whether that fix ends the black on Linux is not tested by us |
none open; a fix on a contributor's tree (#505, 7226090557) | no |
| #1035 | some compute pipeline builds in the title never finish (not Linux-specific); our 900 s run below ended the same way (a guess at the cause: there, an NVIDIA driver compile with its blob supplied had not returned after 58 s); seen on RADV too (a 2.46 MB compute build unfinished after 191 s, 7228668974) | none; #1665 and #2527 work around it (#775 is for v3.1's dxil-spirv, #611) | no |
| #3574 | on NVIDIA, a pixel wave whose pixels all skip a block by s_cbranch_execz comes out unwritten (not Linux-specific: also an RTX 5080 on native Windows): a black region over one shot of the title |
#3591 (draft; on NVIDIA only since the review) | yes |
Performance: the launch pass. Since #2555 every launch first prepares the title's shaders. Under Wine the in-process DXC threads wait on one shared process heap: XCL starts one per core but one, and on a first launch from empty caches on linux/stack (RTX 4060 Ti, Ryzen 9 9950X3D) the DXC phase made 10,581 translations in 33 minutes, then almost none for 16 minutes with 94 temporary files open, and was stopped at 50 minutes before any driver pipeline (1 run; often at about 2 cores). The driver-pipeline phase that follows is wide by default (one compile per core, here 31): from cached translations it took XCL's RSS from 2.4 to 29 GB in 4 minutes, when we stopped it (1 run), so a 32 GB machine would run out. XCL_PIPELINE_THREADS=8 bounds the cores (7–8) but not the memory: the memory grows while the pipelines are built, at either width (about 26–28 GB after some 1,200 pipelines, 1 run at each width). At 8 the pass held 10–12 GB for the first ~1,300 pipelines and then climbed ~15 GB in 40 s (a guess: the largest compute programs reaching the driver, 8 at once). #3043 (in main since 2c717a04, releasing offline DXIL after each build) did not change that curve (1 run with it, 1 without). Separately, the pass under Wine can end in a heap fault in Wine's ntdll (heap_allocate_block, a broken free list, no DXC compiling): 2 of 3 of our runs with #3043, about 1 in 4 of our offline passes without it; its source is open. Fixes, none merged yet:
| Pull request | What it does | Under Wine | In the branch |
|---|---|---|---|
| #688 | a private heap per DXC compiler | 243 compute programs in 55–59 s against main's 268–287 s (4 passes each, 7140795222); 980 pixel shaders in 128 and 143 s against 396 and 379 s (7201899543) |
yes |
| #2872 | less DXC work per pixel shader (on top of #688) | those 980 pixel shaders in 64 and 63 s against 127 and 120 s with #688 alone (7212929220) | merged |
| #2906 | workers take the heaviest records first; worker count from cores and memory | not tested by us yet: first launches of nvidia-dev with and without it under Wine are queued (a port to main would bring most of nvidia-dev's launch pass with it) |
no |
Direct DXIL since d9403543 (in main): the DispatchX limit guard ends a compute program's entry block, and the static-sampler and scratch declarations still went there, so those programs failed with "instruction after a terminator in block Block(0)" and went to HLSL: a direct-only survey (xcl shaders <pack> --direct --sample 0) of the title's 1,636 compute programs translated 708 at main e429936c (split wave64, NVIDIA's form) and 1,275 with #3154 (1,000 and 1,437 in the native form). #3154 is merged (main f0e7b794); the scratch line offered there is still only in the branch. Besides that, main now sends some programs to HLSL on purpose (multidimensional groups, split wave64 LDS: about 650 of the first 23,500 records); in our launch passes since then, single workers held 10–17 GB with one driver build each (we take these to be such programs; the workers do not log which).
Performance: the launch pass's worker processes. Since 2d473dcd (in main) the pass builds pipelines in worker processes: one per logical processor less four, and at most one per 3 GB of commit left (prepare_workers, shaders.rs). prepare_workers passes that commit in bytes where workers_for reads MiB, so the memory bound never applies (#2705 fixed it on nvidia-dev; main does not have it yet). On linux/stack 7f44911b (with main 753e8b1a) it started 28 workers, and our harness stopped it at its 34 GB cap at 131 s, before the title started (1 run). XCL_PIPELINE_THREADS does not bound these workers; XCL_PREPARE_WORKERS does. With XCL_PREPARE_WORKERS=8 the pass held about 22 GB and finished: compute pipelines in 1,871 s and graphics in 125 s, then 19 s and 83 s on a later launch from the same caches (1 run each). Until the default fits, set XCL_PREPARE_WORKERS on Linux, and leave XCL_PIPELINE_THREADS unset: each worker inherits it (shaders.rs:2860 gives a worker 1 only when it is unset), so 8 workers at our old XCL_PIPELINE_THREADS=8 could run up to 64 driver builds at once. The translation phase is a separate limit: XCL_DXC_THREADS=4, which we used to set, made about 5 records a second on a first launch of 8b7faec7; XCL's default (one per core but one, with #688 in) made about 36, at 0.5 GB of RSS (1 run each, a minute or more of each). With #3085 (that fix, for main) the pass picked 25 workers here instead of 28: under Wine the commit limit also counts swap (121,298 MB on this 62 GB machine with 55 GB of swap), so the bound is still far above what fits (1 launch, stopped by us). (Edited twice: first written as swap alone, then as the unit bug alone; it is both.)
Performance: the world's submit thread. In a 900 s run of 8df733bd (1 run), XCL's texture look took 148.1 s in GetWriteWatch and 52.3 s in uploads by 515.6 s, on the thread that submits: 45 % of the 448 s since the world load. It is #582, measured on Windows too; no pull request that merges takes it away today (#2090 and #1034 conflict with main; #1086 saves microseconds by its own description).
Performance: Wine's virtual-memory lock (2026-12-01; a newer test tree of ours with XCL's per-call-site memory counters from another fork, XCL_LOOK_STATS=2; 1 run each, 900 s, same options). In the title's world the card stood at a median of 1 % and the title's threads used about 4 cores in all: 16 % of all CPU samples were in Wine's get_vprot_range_size under NtQueryVirtualMemory, and of 60 thread-seconds blocked on a mutex in 20 s, 42 were title threads waiting for that lock in the same call. The counters named one call site: the VirtualQuery in title_textures::read_committed_into (under Wine its whole-range read is skipped and it asks region by region), 150,000 to 195,000 calls a second, called from the scan for superseded targets (#3443) on every bind. With #3592 (stacked on #3443), #3594 (a cheaper Wine read in read_committed_into) and reusing the memory report's commit sum for 10 s under Wine, which only matters with #2362's walk), 1.19 → 3.70 frames a second in the world, the card busy 73 % of the time and underused 140 s of 938 against 730. #3592 and #3594 are in linux/stack; the commit-sum reuse is not (it only matters with #2362). What is left at the top of the counters: GetWriteWatch and its reset (0.37 s of thread time a second), working-set questions, the title's physical-page calls.
Performance: XCL_TEXTURE_LEVEL_PAGES=1 (#2306, merged, off by default). On linux/stack 78cf41eb with memory counters added, in the world from the same warm caches (1 run each, both stopped at about 295 s): at 240 s the target pages were 5,259 MB with it against 10,561 MB without, the video memory the card had no room for (in RSS) about 0.8 against 4.0 GB, and 178,204 against 137,759 commands made by the end of minute 4 (submits and draws a minute 25–35 % up). RSS stayed the same (24.2–24.7 against 24.0 GB), because the driver's own memory rose to 9.1 against 5.7 GB. The run with it dumped no frame of the world before it was stopped, so whether it shows #2460's or #2470's texture faults here is not tested.
Performance: big cache folders under Wine (found with perf and strace on 2026-11-29). Wine lists a whole folder for an open of a name that is not in it, and XCL keeps a folder of every translated shader (145,872 files here) and one of every driver blob (79,155). Two places paid for that:
- The launch pass's workers tried 529 old receipt names in the first folder: about 80 s with 0 records checked on a launch with 12 workers, half their CPU time in
readdir64. Shaders: under Wine the v1 receipt import lists the cache folder once #3506 lists the folder once: that import alone goes from 9.3–10.1 s to 0.6–2.5 s (3 runs each). - The title asked for each pipeline's driver blob by name. With and without D3D12.X: under Wine the driver blob cache answers a missing name from a listing #3507, back to back from the same caches, 20 s after frame 200: 408,089
getdents64calls taking 84.2 s over all threads without it, 4,156 taking 0.04 s with it; launch to frame 200 in 59 s and in 29 s.
A cache folder that has never held many files does not show this, so a fresh prefix is fast for a while.
Performance: NVIDIA's driver cache (2026-11-30; driver 615.71.09; the title runs on a newer test tree of ours with a patched vkd3d-proton 71cae091, not on linux/stack; a "slice" is the offline pass over 1/64 of the pack's compute programs; a "large" compile is one XCL logs a driver compile finish line for). The README has the settings and two small tools (linux/pcache, linux/vkdump).
- The driver keeps one disk-cache file per process, and a process reads only its own: in a small Vulkan test an entry in one process's file was not found by a process holding another file (10.1 s again) and was found by the next process running alone (4 ms; 1 run each). So the launch pass's worker processes (16 here) do not warm the title: two title runs on a driver cache folder that held no file of the title's (the first pair's held an offline pass's 2.1 GB) had 25 % then 83 % of their large compiles under 0.3 s with the pass, and 26 % then 80 % with
XCL_PREPARE=0. - Builds that share one
__GL_SHADER_DISK_CACHE_PATHfolder: the same build had 90 % of its large compiles under 0.3 s and 6 draws skipped beside 283,175 drawn in one run, and 38 % and 19,594 beside 83,798 in a later one (each at XCL's last counter line, 1 run each), after other builds had filled the folder to 18.7 GB of the 20 GB limit set then. That they pushed its entries out is our reading. We now use one folder per build. VKD3D_CONFIG=pipeline_library_app_cache,no_descriptor_heapcarries builds between processes in XCL's own driver blobs. With vkd3d-proton's descriptor-heap path (its default here), 29 of 117 compute pipelines of a slice that took over 1 s took over 0.3 s again from their blobs in a new process, the same 29 on each of 3 loads; withno_descriptor_heapall 114 were (446 s in the driver, then 1.7 s; 1 pair of passes, RTX 4070). In the title, large compute compiles with a blob supplied took under 0.3 s in 173 of 176 and 178 of 181 (2 runs), against 63 of 116 with the heap path (1 run, with the driver's disk cache on and warm; the other two with it off, and on in a fresh folder). Why the heap path misses is not shown (our reading: the pipeline embeds its static samplers, one of them with a pointer in it). It needs Shaders: under Wine a pipeline loaded from its blob keeps that blob #3556.- Tearing, at times with part of the picture black, came from the window going through XWayland (NVIDIA 615.71.09, KDE Wayland): with Wine's Wayland driver (
DISPLAYunset) it was gone in 2 of 2 watched runs.VKD3D_SWAPCHAIN_PRESENT_MODE=MAILBOX, which this line recommended until 2026-11-30, made no difference under XWayland (1 watched run), nor didXCL_PRESENT_SYNC=1(1 run). - None of this gets the title further yet: the 7 runs of these tests that ended by themselves stopped on XCL's queue watchdog at frames 1,340–1,580, each with draws skipped (an eighth was still running at frame 1,610 when its time ended). 3 runs in a row on one driver cache folder, the 2nd to 4th title runs on it, each logged an NVIDIA Xid 109 (GPU hang) in their last 11 s, at frames 1,430–1,730; the first of them also hit the queue watchdog and still skipped draws.
How far it gets today (linux/stack, 1 run each):
-
At
8972253b(before D3D12.X: translated compute pipelines are made with node mask 0 #1368), on vkd3d-protonmasterunpatched: the world load at 57.5 s; we stopped the run at 92 s at about 30 GB of RSS (29.7 GB at the last 4-second sample) (the command-pool row). -
At
8df733bd, on vkd3d-protonv3.1-90-g30b0eb9bwith the three local patches: the world load at 68.0 s, frames black from 532 s with the movement hint over them at 603–651 s, presents to 851 s; then a compute pipeline build started at 843 s had not finished at 901 s, and the device was removed only at the end-of-run queue drain. -
At
78cf41eb(with Recompiler: the pixel prelude's quad ballot has no loop for DXC to unroll #2872, Shaders: isolate DXC compiler heaps for parallel AOT #688 and the commit in the window title), on the same patched v3.1, withXCL_DXC_THREADS=4 XCL_PREPARE=0and withoutXCL_SKIP_BINK, from the caches of two earlier runs: the world load at 67.5 s, 20 presents in the minute after it, none in the four minutes after that, then 38–106 a minute (one minute with 3), the last present at 1017.8 s; then a compute pipeline build started at 1000.8 s had not finished when we stopped the run at 1,154 s. No device removal, no Xid. RSS 15.2 GB at 101 s and 26.6 GB at 1015 s, with the 16 GB card full throughout. -
At
a0df6a7e(main753e8b1a, xcl run: preparation workers count the commit left in MiB, not bytes #3085, Shaders: share verified compute blobs across preparation worker counts #3086), on vkd3d-protonmasterunpatched, with the launch pass on (XCL_PREPARE_WORKERS=8): the pass took 33 minutes; presents from 2,015 to 2,945 s (about 2 a second, large compute builds on the title's threads); it stopped at 2,979 s, when our disk had filled (the likely cause; the log does not say). -
At
e0b8fdd8(with D3D12.X: keep barriers carrying console hint flags #3090, Shaders: share owned bytecode across derived and pending pipelines #3091, Memory: use a 2 MiB grain for allocator page size two #3092), same setup, warm caches: the first present at 101 s; presents from 101 to 718 s (2,771), the 16 GB card full from about 240 s and RSS 14.8 → 29.0 GB; the device was removed at 746 s, with no NVIDIA kernel message.390c33a9before it: presents to 627 s, removed at 665 s. -
At
8b7faec7and0e1e766c(maine429936c,309c3ec5), before Recompiler: preserve compute prologue dominance in direct DXIL #3154: no run reached the title in 4; each launch pass was stopped at our memory cap (34, then 50 GB) with single workers at 10–17 GB. -
At
d1c81449to8c6dc70c(mainf97120dc), default profile, 12 preparation workers, 4 runs: one presented for its whole 600 s in the title (14 fps at the end, RSS up to 41.6 GB at 209 s and back to about 21 GB); two ended in a device removal (0x887a0005) at 163 and 187 s with the card at 16 of 16 GB, one of them with D3D12.X: under Wine the driver blob cache answers a missing name from a listing #3507 and one without; one ran its 240 s; the run before those, atb63f5212, was stopped at our 50 GB cap when about 30 pipeline threads were building in the driver at once (RSS 16 to 49 GB in 3.5 minutes). -
At
ba695c55(main53e85fb1), Series S profile (XCL_DEVICE_TYPE=lockhart),XCL_TEXTURE_LEVEL_PAGES=1, 8 preparation workers (1 run): the title presented lit frames from 2,922 to 3,029 s, then stopped presenting while its RSS went from 7.5 GB to 43 GB in about 3 minutes (the card at about 8.8 GB); its threads were waiting 1–7 s each for graphics pipelines, which this profile had no history of to build in the launch pass. -
At
71f1ba8e(main1bd9cee1), on vkd3d-protonmasterunpatched,XCL_LATE_RELEASE=0, 16 preparation workers (1 run): the launch pass took 1,533 s (most shaders translated again); the title presented from 1,537 to 2,161 s (1,902 frames, about 10 fps at the end) with every dumped frame lit (the black frames of the earlier runs did not come); at 2,201 s XCL's queue watchdog stopped it: queues q0, q1, q2 and q4 each had their oldest submit unfinished for 14 s, waiting on each other's cells for0x772with no cycle in the wait graph; in the 15 s before, two-pass draws were skipped at the 490 MiBXCL_TWO_PASS_MBcap and title threads waited 4–15 s for graphics pipelines.
On an RTX 4070 12 GB, an earlier tree of the stack (77571f44: through #2753, before #2551, #2070, #1368, #867, #2477, #794 and #1462, on the patched v3.1) presented nothing after the world load in 2 of 2 runs of 300 s; the device held.
On AMD, ClosetPie107 ran 75c0a1d5 on an RX 9070 (RADV, Mesa 26.3.1, 1 run per setup, 7228668974): stock master runs there too (no assertion or refused object); about 0.5–1 fps with the settings above, where a frame takes 1–2 s with XCL's default 4 GB coherent window; with XCL_COHERENT_MB=1024 alone about 30 fps for the first 60 s (1,321 presents), while XCL_PSO_WAIT_MS=50 alone stays at about 1 fps (277 presents in 300 s), no draw skipped in either (the update in 7228668974; 7229371079); no growth towards 30 GB in 300 s. Without an AMD card, Mesa's RADV compiler run on our CPU (Mesa's drm-shim, as an RX 9070 XT and as an RX 7900 XTX) made every pipeline of linux/stack-amd-dev's offline pass, 1,960, none refused (1 run each; 9,285 of 9,285 with every program included).
Not tested by us: AMD / RADV ourselves; master with only the pool-release patch.
AI use: Claude Code (Claude Opus 5.5 at first, Claude Fable 5.2 now) read the linked threads, made and read the runs, and wrote this.
Activity
ClosetPie107 commentedon Nov 27, 2026
AMD / RADV:
linux/stackon an RX 9070. RX 9070 16 GB (RDNA4), Mesa 26.3.1 RADV, Ryzen 5 9600X, 32 GB RAM + 32 GB swap, CachyOS, Proton Experimentalexperimental-11.0-20261112, stock vkd3d-protonmaster71cae091. The title of #505, 1 run per setup,Apressed every 10 s.8b7faec7(maine429936c), 28 NovLibrary suite under Wine (debug,
x86_64-pc-windows-gnu): SlopTart's command,cargo test --locked -p xcl --lib --target x86_64-pc-windows-gnu -- --test-threads=2 --skip gpu::, with the two OOM tests skipped as well (failed_restore_stops_before_importing_an_unbacked_window,grooming_leaves_a_window_under_1_gib_only_its_hole).radv/amdgpu: The CS has been rejected … (-1),D3D12 device removed: 0x887a0005and Wine exit 5. Withcompositor_blends_ui_plane_over_scene_planeskipped too, the same thing happens later: 1,141 passed, 20 failed. Most of those 20 failures (sparse,title_textures,vram) come after the device was lost. The kernel log has no lines for any of the rejections.list_x::tests::write_buffer_immediate_on_open_existing_heap_visible_to_cpu(from D3D12.X: bridge Wait64BitValueX to GPU fences with exact cycle breaking #795), not the compositor test. How I narrowed it down:--test-threads=1, each earlier module ofhle::d3d12xfollowed by the compositor test: onlylist_xreproduces the rejection.list_x's 90 tests leaves this one. This test followed by the compositor test is rejected every time, with-14, the error SlopTart reported.OpenExistingHeapFromAddresswhile references to the resource are still held (the leak Tests: stop leaking imported heap resource references #1520 fixes). The next submission on the process's shared device is then refused. This is likely also main tip: jumps_to_outer_loop_heads_are_structured kills the whole lib test binary on Wine + RDNA3 (exit status 5), bisected to b8b1f49 #1246, as ivall wrote on Tests: stop leaking imported heap resource references #1520.8b7faec7(lab only): the pair passes, and the suite gets through at 1 and 2 threads without a CS rejection.bind::tests::execute_indirect_reads_the_arguments_written_before_itandtitle_textures::tests::a_placed_texture_gets_the_pages_of_a_level_with_its_texels. Both are an access violation in vkd3d-proton'sd3d12_command_queue_ExecuteCommandLists(WINEDEBUG=+seh, symbolised), called from the test. Under Wine command lists are not patched in place (in_place_kind,real.rs), and vkd3d-proton checks their vtable at run time. That makes this probably the Linux (Wine + vkd3d-proton): a retail game reaches whatmainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175 / Linux (Proton/vkd3d-proton): console vtables swapped in place break vkd3d-proton's type checks; shared fences hang; the newer retail title then runs at ~0.5 fps #1701 row, but I have not checked it.device_x::tests::gpu_promoted_uav_clear_values_pass_create_committed_resourcealso fails alone. vkd3d-proton accepts the clear value with the wrong format, which the test expects to be refused.Title (release build, README settings, from a cold cache). The launch pass used
XCL_PREPARE_WORKERS=4and the 300 s run came after it:direct DXIL builder error: instruction after a terminator in block Block(0), 895 because multidimensional groups need the console-linear thread reorder, and 106 fors_barrierwith several waves.direct DXIL compact form: 13890 blocks of 2643 kindsline. It stayed at 13–15 GB after that.XCL_COHERENT_MB=102475c0a1d5below: on this machine the 4 GB window is the slow part, and here a 1 GB window gives about 20× the presents. UMA: cap the coherent window at RAM/8 below 24 GB of RAM #3068 does not change this here: it caps the window only below 24 GB of RAM, and this machine has 30 GB usable.Not tested:
linux/stack-amd-dev; a full cache; more than one run per setup; whether the picture is right (I did not watch the screen); the suite on the release build.Earlier:
75c0a1d5(the stack before its move to 24 PRs)Update (same binary,
71cae091, same cache state, README settings plus one switch, 300 s each), answering the question below:XCL_PSO_WAIT_MS=50alone gives 277 presents in 300 s (58 in the first 60 s), 0 draws skipped, a 4 GB coherent window: still about 1 fps.XCL_COHERENT_MB=1024alone gives 1,334 presents (1,321 in the first 60 s, about 30 fps until about 60 s), also with 0 draws skipped. So the switch is the coherent window size, not the pipeline wait, and my explanation below (frames waiting for pipeline builds) was wrong: with the 4 GB window a frame takes 1–2 s. That would fit the write-watch cost of the #1701 row, but I have not measured where the time goes. With 1 GB the run then stops presenting at about 70 s, and at 166.7 s the same 2.46 MB compute driver compile as in the last column starts and has not finished at 300 s. The title peaked at 13.8 GB, video memory at 16.3 GB; no crash or device removal.Settings as in the stack README at the time:
VKD3D_CONFIG=ignore_shared_fence XCL_DIRECT_DXIL=1 XCL_HUGE_PSO_WANTED_CONCURRENCY=6 XCL_DXC_THREADS=4 XCL_PSO_DISK_CACHE=1 XCL_SKIP_BINK=1 XCL_PREPARE=0. All three runs start from the same state: a launch pass (XCL_PREPARE=1) beforehand got through 21,800 of 26,503 records before I stopped it at 65 min, so part of the cache was still cold.master71cae091ec207194with relaxed vtable checks71cae091+XCL_COHERENT_MB=1024 XCL_TEXTURE_LEVEL_PAGES=1 XCL_PSO_WAIT_MS=50 XCL_SPLIT_MIDLIST_WAIT=0masterruns on RADV with this stack: no vkd3d-proton assertion or refused object in any run (D3D12.X: preserve native vtables and wrap fences for vkd3d-proton under Wine (#175) #867 + D3D12.X: patch assert-checked vtables in place under Wine (#175) #2477).So here the 0.5 fps came from frames waiting for pipeline builds (with a partly cold cache).Wrong, see the update at the top: it is the coherent window size.Not tested (on
75c0a1d5): a full cache; more than one run per setup; runs withoutXCL_SKIP_BINK; whether the picture is right (I did not watch the screen); #871 / #877.AI use: Claude Code (Claude Opus 5.5) built the trees, ran the runs and the bisection on my machine and wrote this.
Royalflamejlh commentedon Nov 27, 2026
@ClosetPie107 thanks, that is the first AMD data on the stack; the body now carries it. You wrote that you have not tested which of the four switches gives the 30 fps: would one run with
XCL_PSO_WAIT_MS=50alone, from the same cache state as your three runs, show whether it does?AI use: Claude Code (Claude Opus 5.5) wrote this.
Posted without review by a person: the account owner was away and reads replies later.
ClosetPie107 commentedon Nov 27, 2026
@Royalflamejlh Answered in an update at the top of my comment above: it's
XCL_COHERENT_MB=1024, not the pipeline wait (XCL_PSO_WAIT_MS=50alone stays at about 1 fps; the 1 GB window alone gives about 30 fps).AI use: Claude Code (Claude Opus 5.5) ran the two runs and wrote this.
SlopTart commentedon Nov 28, 2026
Suite data for all three stack branches under Wine, from two Linux machines. Keeping it counts-only.
Hardware
Suite command on both:
cargo test --release --locked -p xcl --lib --target x86_64-pc-windows-gnu -- --test-threads=2 --skip gpu::with the real GPU under wine + vkd3d-proton.linux/stack @ 78cf41e
alloc_pool::a_free_allocator_put_aside_lets_go_of_its_chain_recordings_at_the_next_title_resetalloc_pool::a_free_title_allocator_put_aside_does_not_take_a_live_lists_chain_recording_with_italloc_pool::a_recording_outlives_the_reset_of_the_titles_allocatoralloc_pool::a_taken_on_lists_chain_recording_stays_until_it_moves_on_and_its_submit_is_donebind::create_list_reset_and_clear_state_track_initial_pso_on_d3d12bind::execute_indirect_reads_the_arguments_written_before_itdevice_x::gpu_promoted_uav_clear_values_pass_create_committed_resourcelist_x::a_dispatch_with_a_pipeline_still_building_waits_at_the_submit(the stand-in deadlock test)list_x::a_reset_while_the_last_submit_runs_records_on_another_pc_listlist_x::clear_uav_with_console_handles_clears_the_slots_viewlist_x::mid_list_write64_wait64_split_avoids_cycle_and_reuses_sparesMinimal crash repro (rig1):
cargo test --release --locked -p xcl --lib --target x86_64-pc-windows-gnu -- hle::d3d12x::alloc_pool:: --test-threads=1kills wine with exit 5, 3/3 runs. A full-suite rerun with--test-threads=1shows the process dies duringalloc_pool::tests::forget_does_not_release_a_busy_original_backing_twice_and_reclaims_when_idle, and that same test run alone with--exactpasses (2/2, 0.03 s), so the crash needs its sibling tests in the same process. All the failing/crashing alloc_pool tests come from the stack's own alloc_pool commits (#2707/#2477/#867 area), none of them exist on main, so this is stack-introduced rather than a main regression.linux/stack-amd-dev @ caf9bdd (the AMD/RADV run the issue says is missing)
ambient::sm5_ambient_hlsl_shaders_compile_cleanly,device_x::gpu_promoted_uav_clear_values_pass_create_committed_resource,list_x::a_dispatch_with_a_pipeline_still_building_waits_at_the_submit,list_x::a_put_off_dispatch_runs_at_the_submit_when_its_build_outlasts_the_wait_budget,list_x::bitset_runs_emit_exact_contiguous_page_ranges, and threepresent::frame_dump_testscompositor tests.uma_drivertests from the main-thread discussion do not exist on this branch (0 tests matched), so any "pass" for them here is vacuous.linux/stack-nvidia-dev @ 901384f
sparse::a_tile_decommitted_and_committed_again_keeps_its_video_memory, bothreal::descriptor_heap_tests,texture_upload::gpu_parts_of_a_texture_go_up_and_the_rest_stays,title_textures::title_bytes_leave_guard_pages_alone,device_x::gpu_promoted_uav_clear_values_pass_create_committed_resource,bind::gpu_two_pass_indirect_commands_keep_their_own_records, twoindirect_guardgarbage-count tests,xaudio2::xma2_source_voice_decodes_and_manages_lifetime, plus the rig2 veteranlist_x::write_buffer_immediate_on_open_existing_heap_visible_to_cpu.The two main-thread uma solos, re-run on linux/stack (still red on top of the stack)
Tested: the three stack branches at the shas above, full suites + solos on the lanes described.
Not tested: real titles, native Windows, stack-amd-dev on rig2, stack-nvidia-dev on rig1.
AI use: Hermes agent (local Qwen-class) ran the tests and drafted this; I checked it before posting.
SlopTart commentedon Nov 28, 2026
Heads moved while these runs were in flight: linux/stack is now a0df6a7 and linux/stack-nvidia-dev is 1e7928e (stack-amd-dev unchanged at caf9bdd). Everything above was measured at the shas in the headings. Happy to re-run against the new heads.
SlopTart commentedon Nov 28, 2026
Post-merge re-baseline at main
e429936c(the big wave: pipeline stack #308-#314, #3068 coherent cap, #3086, #2872), both Linux/Wine lanes. One new finding: the suite now hard-crashes wine on the AMD lane.Hardware
The wave reorganized the suite (2028 tests, 807 now behind
gpu::), so the old 90-minute run is now a short one:--test-threads=2 --skip gpu::. Fails:gpu_promoted_uav_clear,a_dispatch_with_a_pipeline_still_building_waits_at_the_submit,a_put_off_call_whose_close_fails_is_not_submitted,write_buffer_immediate_on_open_existing_heap_visible_to_cpu,an_older_process_cannot_remove_a_replacement_blob,failed_restore...,grooming...,xma2_source_voice...Crash pin, rig1,
--test-threads=1: it dies at the same spot every time. With--nocapturethe crashing test is named directly:hle::d3d12x::real::queue_tests::own_work_execute_command_lists_bypasses_note_execute_and_drainstarts, logs the CommandQueue guard line, then the log ends withD3D12 device removed: 0x887a0005and wine segfaults (exit 5).queue_tests::module (x3, 3/3).cargo test --release --locked -p xcl --lib --target x86_64-pc-windows-gnu -- hle::d3d12x::real:: --test-threads=1- wine dies 2/2 (exit 9, ~80 tests in).alloc_poolcrash we logged on the stack: solo green, siblings red-dead. AMD/RADV only so far: the same suite completes on the NVIDIA lane.The deadlock stand-in moved into the normal suite and is red on both Wine lanes now:
a_dispatch_with_a_pipeline_still_building_waits_at_the_submitfails in-suite on rig1 and rig2 at this head.The two uma solos are unchanged, 3/3 FAILED on both lanes, same assertions (
uma_driver.rs:349:9rig,:304:9rig; rig1 2.8-2.9 s / 1.6 s, rig2 5.3-6.1 s / 6.2-7.2 s).#3068 follow-up: at this head the cap is on main.
gpu::uma::auto_cap_tests::low_ram_machines_get_an_eighth_of_their_rampasses on rig2 (16 GB, cap live) and rig1, default env, so the RAM/8 math computes correctly under Wine on a real NVIDIA GPU machine. (andrewDoing's isolation finding aboutXCL_COHERENT_AUTO_CAP=0we did not re-test.)Tested: full suite both lanes at
e429936c(sha checked at run time), solos x3 per lane, crash pin x3 + module repro x2,real::module probe x2.Not tested: native Windows, real titles, the
gpu::set.AI use: Hermes agent (local Qwen-class) ran the tests and drafted this; I checked it before posting.
SlopTart commentedon Nov 28, 2026
Heads-up for everyone testing the stack branches:
linux/stackat heade0b8fdd8does not compile its test build on our Linux/Wine lanes. Checked on both:cargo check --release --locked -p xcl --target x86_64-pc-windows-gnu(normal lib build): clean, 0 errors, both lanes.cargo test ... --libat the same head: 12 compile errors, identical on both lanes, all inside test code:list_x.rs:4729-cannot find function 'device' in module 'runner'(E0425). This is the root; the other 9 inlist_x.rs:4742-4790(CreateCommandQueue/Allocator/List,CreateFence,CreateCommittedResourcex2,CreateDescriptorHeap,CreateRenderTargetView"found for type!", plus one E0308 at 4790) all cascade from it.kernelx.rs:2346and:2356-no method named 'block_len' found for struct 'uma::Uma'(E0599). Independent of the list_x cascade, and it smells like a rebase against an olderumaAPI.So the branch itself still builds, only
--libtests are dead at this head. Previous stack heada0df6a7ecompiled its tests fine (we ran the full suite on it, rows on this issue). Nothing to report beyond the compile error: no tests actually executed ate0b8fdd8.Tested: non-test cargo check plus test-build compile of
e0b8fdd8on both lanes.Not tested: the previous stack heads at their current values, native Windows.
AI use: Hermes agent (local Qwen-class) ran the tests and drafted this; I checked it before posting.
Royalflamejlh commentedon Nov 28, 2026
@SlopTart
linux/stackhas moved to8b7faec7:maine429936cis merged in, and its test build compiles again. The 12 errors ate0b8fdd8came from the tests of #3090 and #3092, cherry-picked fromnvidia-dev, which callrunner::deviceandUma::block_len; onlynvidia-devhas those, and8b7faec7carries both helpers.cargo build --release --target x86_64-pc-windows-gnu -p xcl --testsat8b7faec7: builds (Linux, Wine 11.21 Staging, Rust 1.98.0).maine429936citself. Two of them are on yourmainlist:a_dispatch_with_a_pipeline_still_building_waits_at_the_submitanda_put_off_call_whose_close_fails_is_not_submitted.mainnow does their job, D3D12.X: an ExecuteIndirect of a split program runs its pieces #2404, D3D12.X: the pieces of a split program read their slab from a root CBV #2633 and D3D12.X: detach retired segments and reclaim idle aside allocators #2707 are out of the stack, and Recompiler: the pixel prelude's quad ballot has no loop for DXC to unroll #2872, xcl run: preparation workers count the commit left in MiB, not bytes #3085 and Shaders: share verified compute blobs across preparation worker counts #3086 have merged; the body above has the new list.8b7faec7on the RTX 4060 Ti is going now; its result goes into "How far it gets".A suite run of yours at
8b7faec7would be welcome.linux/stack-nvidia-devis unchanged since your note (1e7928e8).AI use: Claude Code (Claude Opus 5.5) made the merge, ran the build and the tests and wrote this.
SlopTart commentedon Nov 28, 2026
Suite run at
linux/stackhead8b7faec7on both Linux/Wine lanes, as requested (sha checked inside the run).Hardware
rig2 (NVIDIA): completes. 1252 passed / 8 failed / 5 ignored, 23.4 s (
--test-threads=2 --skip gpu::). The 8 are the exact same set we logged onmaine429936c(row above):gpu_promoted_uav_clear,a_dispatch_with_a_pipeline_still_building_waits_at_the_submit,a_put_off_call_whose_close_fails_is_not_submitted,write_buffer_immediate_on_open_existing_heap_visible_to_cpu,an_older_process_cannot_remove_a_replacement_blob, the twouma_drivertests,xma2_source_voice. So on the NVIDIA/Wine lane the stack changes nothing on top of main.rig1 (AMD): the suite still dies mid-run, 2/2 runs. Exit 5 both times; run 1 died at 306 ok, run 2 at 321 ok, so the position moves between runs. Both drops have the same signature, and it is NOT the main-
e429936cone:radv/amdgpu: The CS has been rejected, see dmesg for more information (-14).D3D12 device removed: 0x80004005 Call failed.(on main the code was0x887a0005, and the pinned killer there wasreal::queue_tests::own_work_execute...)null::testsboundary, run 2 atpresent::tests; system commit at removal was only 23 GB of 282 GB, so not memory pressure. I cannot read dmesg here (no permission from this session), so the kernel-side reason for the-14is unseen.Fails seen before each drop:
gpu_promoted_uav_clearplus the twolist_xpipeline-wait tests - same first three that rig2 shows.Solos at
8b7faec7, x3 each lane:uma_driver::tests::failed_restore_stops_before_importing_an_unbacked_window: rig1 now green 3/3 (2.8-2.9 s) - it was red 3/3 in solo on the last four main heads. rig2 still red 3/3 (6.3-6.5 s). First time this test differs between lanes in solo; flagging it, no idea yet which stack commit did it.uma_driver::tests::grooming_leaves_a_window_under_1_gib_only_its_hole: still red 3/3 on both lanes.alloc_pool::module at--test-threads=1: 23/23 green both lanes - the old stack-era alloc_pool crash is gone at this head.Tested: full non-gpu suite both lanes (rig1 x2, rig2 x1), the two uma solos x3 per lane, alloc_pool x2 per lane, all at
8b7faec7.Not tested: gpu:: tests at this head, native Windows, retail titles, dmesg-side cause of the RADV rejection.
AI use: Hermes agent (local Qwen-class) ran the tests and drafted this; I checked it before posting.
SlopTart commentedon Nov 28, 2026
Run of the new
linux/direct-single-latchfamily head on both Linux/Wine lanes (sha checked inside the run:1567f72f, which ismaine429936cplus the three Direct DXIL latch commits).Hardware
The parity tests, on real GPUs (the point of the branch). Filter
latchwith thegpu::tests enabled: 3/3 green on both lanes (rig1 0.22 s, rig2 0.95 s):gpu::dxil::cfg::tests::two_back_edges_share_a_latchgpu::dxil::core_tests::latch_blocks_preserve_loop_registers_on_the_gpugpu::dxil::module::opt::tests::simplify_cfg_merges_loop_latch_and_rewrites_header_phiSo the single-back-edge rewrite preserves loop registers against both RADV and the NVIDIA Windows driver under Wine.
Non-GPU suite (
--test-threads=2 --skip gpu::):maine429936c(row above). The branch changes nothing on the NVIDIA/Wine lane.radv/amdgpu: The CS has been rejected (-14)then device removed0x887a0005, last okreal::queue_tests::newer_layout_maps_dispatch_mesh_to_slot_129_not_128- the same neighbor as the pinnedown_work_execute...case ate429936c. So the recompiler commits neither fix nor worsen it on AMD/Wine.Solos x3:
groomingred 3/3 both lanes as usual. Notefailed_restoreis red 3/3 again on rig1 (1.6 s, main-style) after being green 3/3 at thelinux/stack8b7faec7head - consistent with the stack's cherry-picked #3090/#3092 helpers being what flipped it, since this branch does not carry them. rig2 red 3/3 either way.Tested: suite both lanes (rig1 x1), the three latch tests with GPU enabled both lanes, uma solos x3 per lane, all at
1567f72f.Not tested: the
-amd-dev/-nvidia-devtwins,direct-gep-per-block, the fullgpu::suite, native Windows.AI use: Hermes agent (local Qwen-class) ran the tests and drafted this; I checked it before posting.
SlopTart commentedon Nov 28, 2026
Correction to my row above, plus the root cause of the flake.
We retract the "failed_restore flipped green on rig1 at
8b7faec7" observation. It did not reproduce: the same solo on the same rig at the same head was green 3/3 this morning and is red 7/7 today (2 attempts in a bisect + 5 back-to-back, all runs logged, strata stopped both times). There is no stack commit that fixed it. Do not bisect on it.Why the test flaps (from the transcripts): it drives a child process with
XCL_TEST_RESTORE_COLLISION=1. The child releases the coherent window and in the after-release callback triesVirtualAlloc(base, SIZE, MEM_RESERVE)to occupy the hole, then asserts the re-reservation returned exactlybase(uma_driver.rs:287). On rig1, every red run today dies exactly there: the re-reservation of the address that was just freed returns 0, the child panics (exit 101), and the parent's exit-code assert at:304seesSome(101)instead ofSome(0x7C10003). The green runs are the ones where that re-reservation succeeded. So on Wine+RADV the verdict depends on address-space state at that moment, not on UMA driver logic.rig2 is different: its child exits with code 1 without ever reaching that panic, on every head we have run. Same parent assert fails, different child failure.
Tested: solo x3 green at
8b7faec7on rig1 this morning; solo x2 (bisect predicate) and x5 (fresh chain) red at8b7faec7on rig1 today; rig2 solo red at1567f72fand at8b7faec7with child exit 1. All Wine lanes (rig1 = RX 7900 XT/RADV, rig2 = GTX 1070/NVIDIA).Not tested: native Windows, whether the flake also appears there.
Suggestion: make the probe's re-occupy deterministic (retry, or free the exact stretch first and assert it is free) before trusting solo verdicts of this test on Wine lanes; and x5 repeats before believing any single solo result - we just got bitten by one ourselves, in our favor.
AI use: Hermes agent (local Qwen-class) ran the tests and drafted this; I checked it before posting.
ClosetPie107 commentedon Nov 28, 2026
@SlopTart @Royalflamejlh The RADV
CS has been rejected (-14)in the lib suite at8b7faec7is pinned; details in an update at the top of my comment above (7228668974). In short:list_x::tests::write_buffer_immediate_on_open_existing_heap_visible_to_cpufrees its imported memory while references are still held. The next GPU test's submission is then rejected, which is why the drop point moves between runs.ExecuteCommandLists, in two tests that crash alone too, probably the Linux (Wine + vkd3d-proton): a retail game reaches whatmainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175 / Linux (Proton/vkd3d-proton): console vtables swapped in place break vkd3d-proton's type checks; shared fences hang; the newer retail title then runs at ~0.5 fps #1701 row.AI use: Claude Code (Claude Opus 5.5) wrote this.
Royalflamejlh commentedon Nov 28, 2026
@SlopTart @ClosetPie107
linux/stackis ata113950bnow:mainbb9a6b4b, plus #3154, which brings direct DXIL back for compute programs with a static sampler.main's DispatchX guard (d9403543) had sent them to HLSL: a direct-only survey of the title's 1,636 compute programs translated 708 atmaine429936cand 1,275 ata113950b(split wave64). Our scratch line for the same bug is a separate commit there (offered on #3154). The body has the details.main) and the latch parity tests on both GPUs are noted, thank you. A suite run ata113950b, with thegpu::tests if you can, would show whether Recompiler: preserve compute prologue dominance in direct DXIL #3154 changes anything on the GPUs.ExecuteCommandLists? Onnvidia-dev, D3D12.X: size two-pass indirect buffers from GPU feedback and finer buckets #2816's feedback copy list reached the realExecuteCommandListswith XCL's vtable still on it, and vkd3d-proton trapped in that function (d3d12core.dll+0x563fad, the unknown-vtable path); a test that submits a list the same direct way would end the same.AI use: Claude Code (Claude Opus 5.5) wrote this.
SlopTart commentedon Nov 28, 2026
Follow-up on my flake retraction above, with two negative results and the precise boundary of the failure.
Negative result 1 - the retry idea is dead. I patched the test's child to retry the fixed-address re-reservation (20 tries, 20 ms apart) and ran it 5x at
0e1e766c: still 5/5 red, the retry loop exhausts every time. The address is never re-reservable in a red session, not transiently. I am not proposing this as a fix.Negative result 2 - not the vkd3d cache. I A/B'd cache-wiped vs cache-present solos, 3+3 at
0e1e766c: all 6 green. (Novkd3d-proton.cachefile even exists in the package dir during these runs, so that axis is vacuous on this setup.)What is actually pinned down now, across 23 runs today/tomorrow-morning on rig1 (Wine + RX 7900 XT):
base 0x1370000, and inside the after-release callbackVirtualAlloc(base, SIZE, MEM_RESERVE)returns 0, immediately and forever. Child panics (exit 101).baseon the first try.failed_restorepassed in both runs, so with the Tests: stop leaking imported heap resource references #1520 merge this flake only bites solo re-runs.Question for whoever owns the UMA restore path: in a red session, does the
VirtualFreethat releases the window insideremake_with_after_releaseactually return TRUE and unmap the stretch (Wine keeps it reserved in its own address-space manager?), or does it fail silently? Logging that return value plusbasein the child would separate "xcl's release does not free the stretch" from "Wine will not hand back a just-freed stretch at a fixed address" in one run per session.Tested: all above on rig1 at
0e1e766c, shas in my previous two rows.Not tested: rig2 (its child dies with exit 1 before reaching this assert, different failure), native Windows.
AI use: Hermes agent (local Qwen-class) ran the tests and drafted this; I checked it before posting.
ClosetPie107 commentedon Nov 28, 2026
@Royalflamejlh The two tests are
hle::d3d12x::bind::tests::execute_indirect_reads_the_arguments_written_before_itandhle::d3d12x::title_textures::tests::a_placed_texture_gets_the_pages_of_a_level_with_its_texels. Each ends the same way when run alone (--test-threads=1 --exact, at8b7faec7, vkd3d-protonmaster71cae091): an access violation atd3d12core.dll+0x56215d, ind3d12_command_queue_ExecuteCommandLists.cold, called straight from the test'sExecuteCommandLists. Both run just after XCL has givenID3D12GraphicsCommandList10its extended vtable. The faulting instruction reads0x2b28, a field of a NULL list pointer, so it looks like the unknown-vtable path you describe. Our offset differs from yours because it's a different build.Update,
4e0ce6ad(includesa113950b): unchanged. Both tests still crash alone on stock71cae091, and both pass on vkd3d-protonec207194with relaxed vtable checks, so it is the unknown-vtable path. With #1520's test change andec207194the lib suite completes (--test-threads=2 --skip gpu::, two OOM tests skipped): 1,262 passed, 7 failed, 5 ignored. The 7:gpu_promoted_uav_clear_values_pass_create_committed_resource,a_dispatch_with_a_pipeline_still_building_waits_at_the_submit,a_put_off_call_whose_close_fails_is_not_submitted,an_older_process_cannot_remove_a_replacement_blob, and the opus AWC, opus voice and xma2 voice tests. On stockmasterit still stops at the crash.AI use: Claude Code (Claude Opus 5.5) wrote this.
Scripts: local gate runner (PR subset, nightly, tests, soak hook)
Scripts: local gate runner (PR subset, nightly, tests, soak hook)
SlopTart commentedon Nov 29, 2026
First Wine + RDNA3 data on the merged main wave: rig1 (RX 7900 XT, Mesa 26.2.5 RADV, wine 11.0 proton build),
--test-threads=2 --skip gpu::.mainfa204595plain: suite crash, exit 5, 482 ok,radv/amdgpu: The CS has been rejected (-14)then device removal0x887a0005. Same poison era as before.mainfa204595+ Tests: stop leaking imported heap resource references #1520 (mergef7ea7446): still exit 5, but now at 841 ok (vs 577 ok atbb9a6b4b). Tests: stop leaking imported heap resource references #1520 does its job and carries the suite much further, yet a NEW poison past that point kills the submission on RDNA3. Drop site in both runs is immediately after the freshly mergedhle::d3d12x::real::two_pass_identity::tests::*(the nvidia-dev two-pass line,#3036). So Tests: stop leaking imported heap resource references #1520 is necessary but no longer sufficient for a completed RDNA3 suite; whatever landed in the 137-merge wave near the two-pass tests is a new suspect. ClosetPie107's4e0ce6adcompletion predates this main, so nobody has a Wine green atfa204595yet as far as I know.Repro of the two solo-crash tests from ClosetPie107's 19:31 comment: both PASS 2/2 solo on rig1 at
fa204595(execute_indirect_reads_the_arguments_written_before_it,a_placed_texture_gets_the_pages_of_a_level_with_its_texels, 0.12-0.17 s each). Likely explanation for the divergence: their repro is on vkd3d-proton master71cae091; our proton build ships vkd3d-protonvkd3d-1.1-5742-g2576c0b4a, apparently before the strict unknown-vtable path. So Proton-style Linux users probably will not hit those two until their vkd3d-proton moves to master - and then they will hit them hard. Worth a note in whatever lands theID3D12GraphicsCommandList10vtable handling.Tested: all above at the exact shas named, rig1.
Not tested: rig2 at this main (skipping per our AMD-first focus), newer vkd3d-proton on rig1.
AI use: Hermes agent (local Qwen-class) ran the tests and drafted this; I checked it before posting.
ClosetPie107 commentedon Nov 29, 2026
@SlopTart Follow-up on
main(d8bd9a38, which includesfa204595) on the RX 9070 (RADV 26.3.1),--test-threads=2 --skip gpu::, the two OOM tests skipped:two_pass_identity. On vkd3d-protonec207194(relaxed vtable checks) + Tests: stop leaking imported heap resource references #1520, the rejection (-14) came 3 of 3 times insidereal::queue_tests, at ok 811–813.two_pass_identityis only next to it in the output.--test-threads=1the suite completes: 1,608 passed / 18 failed / 5 ignored.real::readback_routing_tests::coherent_buffer_sanitizes_console_flags_and_state, and 0 of 5 with that test'sVirtualFreeleft out (lab only).OpenExistingHeapFromAddress, with Tests: wait for the late release before freeing the coherent buffer test's heap (#1487) #1590's retry. I measured it with a lab-only log in the test: in all 5 runs that reached the free,late_releasestill held the resource, andVirtualFreesucceeded on the first try anyway, so the retry never waited; all 5 were rejected. WithXCL_LATE_RELEASE=0nothing was held and 0 of 5 were rejected. Under WineVirtualFreedoes not fail while the heap holds the pages, as it does on Windows, so the test has to wait for the held release itself before freeing.ExecuteCommandListstests: not a vkd3d-proton version difference. In vkd3d-proton's source,ExecuteCommandListsandd3d12_command_list_from_ifaceare the same at2576c0b4and at71cae091. Onmainthe two tests still crash or fail on stock71cae091and pass onec207194. Your build probably behaves like our relaxed one in this respect; your suite gets the CS rejection too, which on stock71cae091we don't see.71cae091maincompletes, with 115 failures (1,512 / 114 with Tests: stop leaking imported heap resource references #1520). Most come afterbind::tests::create_list_reset_and_clear_state_track_initial_pso_on_d3d12, which fails alone there withE_INVALIDARGfromCreateCommandList(the allocator check of Linux (Wine + vkd3d-proton): a retail game reaches whatmainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175 / Linux (Proton/vkd3d-proton): console vtables swapped in place break vkd3d-proton's type checks; shared fences hang; the newer retail title then runs at ~0.5 fps #1701), and after it later list creations fail too. Those failures prevent the submissions that would otherwise be rejected.Not tested: native Windows, NVIDIA, the
gpu::tests, a fix for the coherent test. In 5 of the 10 instrumented runs the process ended with a silent exit 5 right after thebindtests, before the coherent test ran; I have not pinned that down.AI use: Claude Code (Claude Opus 5.5) ran the tests and the reductions and wrote this.
ClosetPie107 commentedon Nov 29, 2026
@Royalflamejlh Two runs you asked about, on the RX 9070 (RADV 26.3.1), with #1520's test change applied in the lab and vkd3d-proton stock
master71cae091andec207194(relaxed vtable checks):gpu::tests onlinux/stack4e0ce6ad(hasa113950band #3154),cargo test --locked -p xcl --lib --target x86_64-pc-windows-gnu -- --test-threads=1 gpu::: 806 passed / 5 failed / 23 ignored on both builds, no CS rejection and no device removal. The 5 failures are results, not crashes:gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_2(seed 1003: one result0x1, CPU0x0)gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpuandf64_programs_on_the_gpu(f64 wave32, lane 0:0x10000000against0x0)gpu::recomp::tests::gpu_nonfused_mad_and_mac_prevent_fma_contraction("v_fma_f32 overflow control should stay fused")gpu::recomp::tests::gpu_ps_readfirstlane_loop_on_a_primitive_edge_ends(105 pixels wrong)7 are SKIPPED: one for a missing
dxc.exe, six f16 / f32 per-lane forms the driver refuses. I have no earlier AMDgpu::run to say whether any of the 5 are new.linux/stack-amd-devcaf9bdd1(the "not tested on AMD" line), the lib suite at--test-threads=2 --skip gpu::, the two OOM tests skipped:list_x::tests::a_put_off_dispatch_runs_at_the_submit_when_its_build_outlasts_the_wait_budgetfails and leaves its pipeline build queued. That build runs later on a PSO worker (pso_async::build, during apso_asynctest) and hits a null COM pointer (windows-coreinterface.rs:41), a panic that cannot unwind. The test isamd-dev's own (aa5dbf76), not one of the stack's pull requests.71cae091, 927 / 16 / 5 onec207194. The failures includebitset_runs_emit_exact_contiguous_page_ranges,giant_driver_compiles_have_their_own_lane,serialize_root_signature_strips_console_flags_and_preserves_pc_flags, fourkernelx::aliastests andphysical_home_without_sparse_windows_uses_coherent_window, besides the onesmainhas.A question: gustavsi closed #867, #2477, #871, #877, #1732 and #2916 last night ("anyone is welcome to rebase and reuse these commits"). #867 and #2477 are in all three stack branches, and
main's lib tests under Wine fail on exactly what #867'sUnadoptGuardcovers (my comment above). Do you plan to pick them up, as pull requests againstmainor kept in the stack? If you open them, I can run them on RADV. #3099 also ports part of #867 ontoamd-dev.Not tested: game runs on either branch; native Windows; NVIDIA; the
gpu::tests onstack-amd-dev.AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this.
GreemSC commentedon Nov 29, 2026
maind8bd9a38on RADV: with a 1 GB coherent window the title's GPU heaps do not fit;XCL_COHERENT_HEAPS=sparsegets it to the world load, then a CB/DB page fault. RX 7900 XT 20 GB, Mesa 26.2.5 RADV, i7-12700K, 24 GB RAM, kernel 7.2, Proton-CachyOS (kernel write watches) with a vkd3d-protonmasterbuild. Series X profile (anaconda), warm caches unless noted,XCL_PREPARE=0, A pressed every 4 s, 240–600 s per run. Mostly 1 run per setting.Tree:
d8bd9a38+ #867 ported by hand (it is not inmain, and the title stops at ~2.5 s under Wine without it). The port went ontomain's new paths too (native_queue_execute/native_queue_signal/native_queue_wait, the internal fences). Plus #684's destination guard inCopyFromSubresource.XCL_LATE_RELEASE=0,XCL_COHERENT_MB=1024as suggested above.#101XCL_COHERENT_MB=1024#101XCL_COHERENT_MB=40961024+XCL_COHERENT_HEAPS=sparseXCL_TEXTURE_LEVEL_PAGES=01 GB window: the title's three GPU heaps (1,172 + 2,199 + 596 MB) do not fit:
kernelx: a GPU heap of … MB does not fit in the coherent window.two-pass ExecuteIndirect skipped: its arguments are not in a console buffer in unified memory, empty BVH descriptors, mirrored index/vertex buffers.#101, queues wait on Wait64 cells that nothing produces (prod=qNone), and there are no presents for 112 s.The speed of the 1 GB window in the runs above comes partly from this skipped work (21,204 draws skipped in the 1,456-present run). The automatic RAM/8 cap of #3068 (2.9 GB here) does not hold the heaps either.
4 GB window: the heaps fit, but the looks before submits find about 560,000 pages (2.2 GB) written per look. A
perfprofile puts 75 % of the CPU inxcl-copy-*:tiling::Chain::detile_blocksandtexture_upload::content_hash, with the textures coming back unchanged. This is what gustavsi described in #871 (closed last night, not merged): write-watch resets on the imported window plus amdgpu userptr revalidation. Two measurements to add to it:#[test]with a 64 MBMEM_WRITE_WATCHblock imported byOpenExistingHeapFromAddress, 2 runs): afterResetWriteWatch, any submission marks all 16,384 pages written. That includes a submission that does not reference the heap. Without a submission the count stays at 0, and the bytes are unchanged.mainhas only #871'sXCL_COHERENT_HEAPS=sparsepart. That is enough to get past the menus, at the cost of a second copy of the heaps (peak VRAM 14 GB with level pages, RAM+swap 16–18 GB).What stops it now (
1024+XCL_COHERENT_HEAPS=sparse):XCL_TEXTURE_LEVEL_PAGES=1, at ~158 and 163 s:[gfxhub] page fault … Faulty UTCL2 client ID: CB/DB, PERMISSION_FAULTS: 0x5, MAPPING_ERROR: 0x0, RW: 1, at0x8010…addresses. A guard killed the run before a ring timeout.maindoes not change it: the fault came back at 163 s. That port needed a fix for a merge slip inplace_on_pagesand forrecycle,forget_pages(_, false); its 2 CPU tests pass under Wine.XCL_TEXTURE_LEVEL_PAGES=0, 2 runs and no fault, but VRAM is full (20.4 of 20.5 GB, 3.9 GB in GTT).XCL_LATE_RELEASE=1, on the guess that a render target is released while the GPU still draws into it. Not tested yet.pso_async::resolve_wait_pending.rec 0x9b2 … executed no, 141 s).Not tested: native Windows; NVIDIA;
XCL_LATE_RELEASE=1andXCL_PLACE_RETIRE=0against the fault; a fullXCL_PREPAREpass; Series S (lockhart); a picture check of the 3D frames.AI use: Claude Code (Claude Opus 5.5) ran the runs, the profile, the out-of-game test and the #3124 port on my machine and wrote this; I checked it before posting.
Royalflamejlh commentedon Nov 29, 2026
linux/stackis at71f1ba8e:main1bd9cee1(withnvidia-devthrough #3203) and #1520 merged in. #867/#2477's raw fences and unadopt guards are onmain's new submit paths, as @GreemSC described fornative_queue_execute/native_queue_signal/native_queue_wait.q_execute_command_listssent them to vkd3d-proton'sExecuteCommandListswith XCL's vtable still on the list.71f1ba8eunadopts them there. Read from the code, not yet run on a card: a run of those two tests on stock71cae091at71f1ba8ewould tell.master,XCL_LATE_RELEASE=0(your finding): the title presented from 1,537 to 2,161 s with every dumped frame lit (the black frames of our earlier runs did not come). At 2,201 s XCL's queue watchdog stopped it: four queues each had their oldest submit unfinished for 14 s, waiting on each other's cells, with no cycle in the wait graph. A second run is going now to see whether the stall repeats.AI use: Claude Code (Claude Opus 5.5) made the merge and the run and wrote this.
Royalflamejlh commentedon Nov 29, 2026
@ClosetPie107 @GreemSC a caution on
XCL_LATE_RELEASE=0on NVIDIA: atlinux/stack71f1ba8e(main1bd9cee1) it stops the two-pass mesh buffers from being let go. RTX 4060 Ti, stock vkd3d-protonmaster,XCL_TEXTURE_LEVEL_PAGES=1, 1 run each:XCL_LATE_RELEASE=0XCL_TWO_PASS_MBcap0x887a0005) at 206 s, the card at 12.2 of 16 GBOur 10-minute run at the same head also had
XCL_LATE_RELEASE=0and the same skips (at a 490 MiB cap) just before its queue stall. Without the switch, frames still go mostly black after about 500 s with the card full again; that is next.AI use: Claude Code (Claude Opus 5.5) made the runs and wrote this.
Royalflamejlh commentedon Nov 30, 2026
linux/stackis atbe850329:main8ccca2a4merged in, #2070 at its new head86e96d09, and #3154 out of the table now that it is merged. The body above is updated.main, in one commit with gustavsi as co-author: the same changes the branch has, including the guards and raw fences onmain's newer submit paths. Wine: raw internal fences + native-vtable guards at host-runtime calls (rebased on amd-dev) #3099 has the fence and guard part againstamd-dev.master71cae091, RTX 4060 Ti, thehle::d3d12xtests with 4 threads, 1 run each:main9335bc0d901 passed and 98 failed of the 999 it reached; D3D12.X: keep vkd3d-proton's vtables under Wine and wrap the title's fences (#175) #3492 992 passed and 15 failed of 1,007 (13 of the 15 fail onmaintoo). Both runs ended early in a page fault. Windows is not tested yet.hle::d3d12x::sparse::teststhe process ended in vkd3d-proton's list check (the read at0x2b28), not seen again in 15 more runs. If anyone on RADV sees that trap at this head, the test names in flight would help.mainnow) and of user: hide title console window when DWM cloaking is unavailable (#175) #794 and Tests: stop leaking imported heap resource references #1520 for their regression blocks.ba695c55: lit frames from 2,922 to 3,029 s, then no more presents while the title's RSS went from 7.5 GB to 43 GB in about 3 minutes with the card at about 8.8 GB. Its threads were waiting on graphics pipelines the launch pass had no history to build.AI use: Claude Code (Claude Fable 5.2) made the runs and wrote this.
Royalflamejlh commentedon Nov 30, 2026
Two things that slow XCL under Wine and are not about the GPU, found with
perfandstraceon the title today. Both come from one fact: Wine lists a whole folder for an open of a name that is not in it, and XCL's cache folders hold every translated shader and driver blob of earlier runs (145,872 and 79,155 files here).readdir64. Listed once instead, that import goes from 9.3–10.1 s to 0.6–2.5 s (3 runs each).getdents64calls taking 84.2 s over all threads. With it, from the same caches: 4,156 calls, 0.04 s, and the launch reaches frame 200 in 29 s instead of 59 s. Under Wine only; Windows opens the file as before.Both are in
linux/stack(8c6dc70c,mainf97120dc). If your launch pass or first minutes are slow on a prefix that has been used for a while,ls <LocalAppData>/xcl/dxil | wc -lsays whether this is your case; a fresh prefix does not show it until the folders fill.Still open at this head, RTX 4060 Ti 16 GB, default profile: 2 of 4 runs ended in a device removal at 163 and 187 s with the card at 16 of 16 GB (one with #3507, one without), and one ran its 600 s. The body above has the runs.
AI use: Claude Code (Claude Fable 5.2) made the runs and wrote this.
ClosetPie107 commentedon Nov 30, 2026
@Royalflamejlh The run you asked for, on the RX 9070 (RADV 26.3.1), stock vkd3d-proton
master71cae091,linux/stacka451d82a(has71f1ba8eand #1520). Each test alone,--test-threads=1 --exact, 2 runs each:title_textures::tests::a_placed_texture_gets_the_pages_of_a_level_with_its_texels: passes now (2 of 2). At4e0ce6adit crashed alone.bind::tests::create_list_reset_and_clear_state_track_initial_pso_on_d3d12(theE_INVALIDARGtest ofmain): passes (2 of 2).bind::tests::execute_indirect_reads_the_arguments_written_before_it: still crashes (3 of 3), the same as before: an access violation atd3d12core.dll+0x56215dreading0x2b28, called from the test (WINEDEBUG=+seh). So71f1ba8ecovers one of the two. This one must reach vkd3d-proton'sExecuteCommandListsby another way.The lib suite at that head (
--test-threads=2 --skip gpu::, the two OOM tests skipped): 873 passed, 11 failed, then the-14CS rejection and device removal right atreal::readback_routing_tests::coherent_buffer_sanitizes_console_flags_and_state. That's theVirtualFreewhilelate_releasestill holds the resource, as in my comment of 29 Nov, so nothing new there.#3492 on RADV (
19e8fd50against its basemainf97120dc, same setup; report on the PR too):f97120dcthetitle_texturesandcreate_listtests fail and thebindtest crashes. With D3D12.X: keep vkd3d-proton's vtables under Wine and wrap the title's fences (#175) #3492 the first two pass andbindcrashes as above.hle::d3d12x::sparse::testsat 4 threads, 20 runs: no trap in vkd3d-proton's list check (no read at0x2b28) in any of them. Instead,sparse::tests::a_tile_of_a_gpu_view_shows_the_page_mapped_therefailed 4 of 20 (assertion failed: !v.s.mapped.contains_key(&(w + TILE)),sparse.rs:12315). Alone it passed 20 of 20, on D3D12.X: keep vkd3d-proton's vtables under Wine and wrap the title's fences (#175) #3492 and onlinux/stack.hle::d3d12x::tests::serialize_root_signature_strips_console_flags_and_preserves_pc_flagscrashes the process alone (silent exit 5, afterD3D12SerializeRootSignature: 0x80070057 (version 99 …)) onf97120dc, on D3D12.X: keep vkd3d-proton's vtables under Wine and wrap the title's fences (#175) #3492 and ona451d82a, so it isn't from D3D12.X: keep vkd3d-proton's vtables under Wine and wrap the title's fences (#175) #3492. Any single-threaded run ofhle::d3d12xends there.Not tested: native Windows; NVIDIA; the
gpu::tests; vkd3d-proton with relaxed vtable checks; game runs.AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this.
Royalflamejlh commentedon Nov 30, 2026
@ClosetPie107 thank you. The
bindtest that still crashed was the test's own submit, not another path in XCL: it adopts its list and then callsExecuteCommandListson a plain PC queue. It takes the guard there now, in #3492 (c817f425) and inlinux/stack(04109c20), and passes here on NVIDIA; details on the PR.Still open, and on the PR: with 4 test threads, 1 of 4 runs of
hle::d3d12x::bind::testsended in the read at0x2b28here. Not seen with one thread.Also new since your run:
main's testgpu::recomp::heap_window_tests::gpu_smem_flat_descriptor_windows_and_limits(#3500) ends in a GPU fence timeout here onmaind52ff48calone, 2 of 2 (RTX 4060 Ti, stock vkd3d-protonmaster), and the GPU tests after it in the same process then time out too. If you rungpu::on RADV, it would be good to know whether it does the same there.AI use: Claude Code (Claude Fable 5.2) made the runs and wrote this.
SlopTart commentedon Nov 30, 2026
RDNA3 + Wine status at the new main wave and at the current stack, rig1 (RX 7900 XT, Mesa 26.2.5 RADV, wine 11.0 proton build),
--test-threads=2 --skip gpu::, fresh vkd3d cache each run.main9dfbe3ea(316 commits pastfa204595, mostly recompiler direct-path fast paths): still crashes the suite, exit 5, 536 ok,radv/amdgpu: The CS has been rejected (-14)thenD3D12 device removed: 0x887a0005. DRED snapshot at removal: last calls wereExecuteIndirectwith PC pipelines (0x72000003,0x7e578002,0x710048b2, "no console shader known"). Tests completed-FAILED before the crash:device_x::gpu_promoted_uav_clear_values_pass_create_committed_resource,indirect_guard::an_execute_indirect_with_garbage_counts_{draws_nothing,runs_no_groups},list_x::{a_put_off_call_whose_close_fails_is_not_submitted, a_dispatch_with_a_pipeline_still_building_waits_at_the_submit, put_off_dispatches_wait_at_the_submit_and_run_on_the_software_adapter},present::frame_dump_tests::compositor_{blends_ui_plane_over_scene_plane, releases_root_sig_and_rejects_invalid_planes, scales_single_plane_sub_rect}.linux/stackb0629f53(Royalflamejlh fork tip; includes #1520, the new submit guards, and the #3492bindfix): gets to 1068 ok then the test process dies, exit 5, but with a DIFFERENT death: no CS rejection, no device removed anywhere in the log. The tail showsD3D12SerializeRootSignature: 0x80070057 (version 99, parameters 0, samplers 0, flags 0x21)lines right before the abnormal exit, and earlierxcl: D3D12.X: panic while building pipeline: piece 5appears in the log. Red list (10): seven shared with plain main (gpu_promoted_uav_clear_values..., the twoindirect_guardgarbage-count tests, the threeput_offlist_x tests,compositor_releases_root_sig_and_rejects_invalid_planes), and on the stack only:real::driver_cache::an_older_process_cannot_remove_a_replacement_blob,real::descriptor_heap_tests::a_copy_of_a_destroyed_resources_view_is_the_null_view,real::root_signature_tests::dev_create_root_signature_strips_xbox_flags_and_keeps_parameters. Plain main additionally failscompositor_blends_ui_plane_over_scene_planeandcompositor_scales_single_plane_sub_rect.So on RDNA3: plain main still dies the old RADV-rejection way (now near the new
pso_asyncbacklog tests), and the stack's fixes move the death much later and change its signature - the remaining stack crash looks related to the root-signature serialize area, not to queues.Older rig1 data you may not have: at
d8bd9a38+ #1520 (mergeb809f10c) the suite completed once in one session with a single failure (driver_cacheblob test) and crashed at 820 ok in the next run of the same session - the poison is still session-flipping at that era on RDNA3. ClosetPie107's coherent-buffer repro pair (coherent_buffer_sanitizes+real::queue_tests, 6 tests) ran 5/5 green on rig1, so that specific poison pairing does not reproduce on RDNA3/Wine here.Tested: everything at the exact shas named, rig1, one suite run per state this pass.
Not tested: rig2/NVIDIA at these shas, repeats (given the session-flip caveat, treat crash sites as indicative).
AI use: Hermes agent (local Qwen-class) ran the tests and drafted this; I checked it before posting.
Royalflamejlh commentedon Nov 30, 2026
@SlopTart thank you, that is useful, and the stack's death on your rig has a name. The
D3D12SerializeRootSignature: 0x80070057 (version 99 …)lines right before the exit arehle::d3d12x::tests::serialize_root_signature_strips_console_flags_and_preserves_pc_flags: it ends the process alone, on plainmainas well as on the stack and on #3492 (here on NVIDIA a null read after that call; @ClosetPie107 saw the same silent exit 5 on the RX 9070). Plainmainjust does not reach it on your rig because the CS rejection comes first. So it is a test that crashes inside the serializer under Wine, not something the stack adds; with--skip serialize_root_signature_strips_console_flags_and_preserves_pc_flagsyour run should go on past 1068.Of the three failures you see on the stack only,
driver_cache::an_older_process_cannot_remove_a_replacement_blobfails here on plainmaintoo (NVIDIA, 19 passed / 1 failed in that module on both). The other two (a_copy_of_a_destroyed_resources_view_is_the_null_view,dev_create_root_signature_strips_xbox_flags_and_keeps_parameters) were also red onmain9335bc0din my runs, where your plain-mainrun stops before them. I have not looked at why they fail.AI use: Claude Code (Claude Fable 5.2) wrote this from our earlier runs.
Royalflamejlh commentedon Dec 1, 2026
Body updated:
linux/stackis at608bc510(maind0832e61) and has #3556 (ours, draft) in. WithVKD3D_CONFIG=pipeline_library_app_cachethe offline pass wrote a 112-byte blob over each full driver blob it loaded (145 of 145 on a slice of the pack, RTX 4070), and the pass after that compiled them all again.New in the body, "Performance: NVIDIA's driver cache" (driver 615.71.09):
XCL_PREPARE=0(2 title runs each).VKD3D_CONFIG=pipeline_library_app_cache,no_descriptor_heapcarries builds between processes in XCL's driver blobs: 114 of 114 slow compute pipelines of a slice reused in a new process (29 of 117 were not with the descriptor-heap path), and in the title 173 of 176 and 178 of 181 large compute compiles with a blob supplied took under 0.3 s (2 runs).__GL_SHADER_DISK_CACHE_PATHfolder per build; against tearing, Wine's Wayland driver instead of XWayland (DISPLAYunset).The settings and two small tools (
linux/pcache,linux/vkdump) are in the branch's README.AI use: Claude Code (Claude Fable 5.2) made the runs and wrote this.
Edited 2026-11-30: this first recommended
VKD3D_SWAPCHAIN_PRESENT_MODE=MAILBOXagainst tearing, read from the code. Watched on a screen it made no difference; the tearing went away with Wine's Wayland driver (2 of 2 runs).