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!257
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/257/head"
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?
@simnJS on GitHub · 2026-11-23 21:59 UTC · original
linux-kit→main· +580 −2 · 10 files · 3 commits · closed without mergingRunning XCL on Linux under Wine + vkd3d-proton: a setup a contributor can follow, built from the findings in #175 and from runs on Linux, and a start-up message for the vkd3d-proton assertion players hit (#241). Part of #154.
What is in it
docs/linux.md: cross-build forx86_64-pc-windows-gnu, DXC, which Wine (one with kernel write watches – Proton's – or vkd3d-proton silently gives the GPU its own copy of unified memory), vkd3d-proton v3.1 rebuilt with-Db_ndebug=trueplus a 6-line patch to the twofrom_ifacelookups,VKD3D_CONFIG=ignore_shared_fence, DXVK'sdxgi/d3d11/d3d10core, prefix, running, known state.scripts/linux/:vkd3d-proton-xcl.patch,build-vkd3d-proton.sh,setup-prefix.sh,run.sh(XCL_NETWORK=0by default).crates/xcl/src/preflight.rs: under Wine only, an error when the loadedd3d12core.dllholds vkd3d-proton'siface->lpVtbl == &d3d12_heap_vtblassertion (#241), a warning whendxgi.dllis not DXVK's (presenting crashes in wined3d, #175).tests/testgamedll/Cargo.toml:test = false,doctest = false– its test harness importskernelx.dlland cannot start on the GNU target; the crate has no tests.scripts/linux/build-opus.sh+ an "Opus" section indocs/linux.md(second commit): builds libopus 1.5.2 as theopus.dllthat #294 loads where Windows has no Opus decoder (Wine), checked against its SHA-256.scripts/linux/smoke.sh+ a "Regression runs" section indocs/linux.md(third commit):smoke.ps1's regression run andxcl-smokeblock under Wine, for contributors without Windows.README.md: one line pointing todocs/linux.md;THIRD_PARTY.md: the patch (LGPL-2.1, patch only, vkd3d-proton is not distributed).The vkd3d-proton build is a workaround: the fix is proxies for the host's objects (#175), and the doc says so.
Tested
x86_64-pc-windows-gnu.cargo build --workspace --all-targets --locked --target x86_64-pc-windows-gnu;bash -nandshellcheckon the scripts.scripts/linux/run.sh: starts and runs at ~30 fps, picture black as reported in #175; no start-up message with the patched vkd3d-proton, the error with Proton's stock vkd3d-proton.Regression run
Made with
scripts/linux/smoke.sh(this PR:smoke.ps1's run and block under Wine), 50 s, on Ubuntu 26.04 / RTX 4080 SUPER, Proton Experimental 11.0's Wine, vkd3d-proton v3.1 + patch, DXVK 3.1.1. In both runs the account prompt was answered by hand with A and the title went to its "Brightness Level" screen; both ended by themselves (exit: 0x0). Under Wine XCL's end takes ~15 s afterXCL_RUN_SECONDS(its watchdog: suspending every thread also stops vkd3d-proton's), so the earlier 60 s blocks with a 10 s grace saidkilled.peak commitreads 0 under Wine.mainat4017f8f:This PR's head
463e2e1:Not tested
scripts/smoke.ps1were not run (no Windows machine); the regression blocks above come fromsmoke.shunder Wine. The preflight change only runs under Wine (util::under_wine); testgamedll has no tests.AI use
@ozimchuk on GitHub · 2026-11-23 22:12 UTC · original
Thanks for writing this up. Two points from runs here (Ubuntu 24.04 in a container, kernel 7.0, RTX 5060 Ti):
"prebuilt Wine Staging builds do not have it" is too broad. WineHQ's own
wine-staging11.21 packages for Ubuntu 24.04 (wine-staging-amd64 11.21~noble-1) pass the guide's own check (grep -a "Using kernel write watches"onlib/wine/x86_64-unix/ntdll.so→ 1), and they work: XCL's test title gives 47[PASS]withuserfaultfdallowed, 40 with Docker's default seccomp blocking it. The builds without it are the ones compiled against kernel headers older than 6.7, e.g. Kron4ek's (made in an Ubuntu 18.04 chroot). Something like "WineHQ's staging packages for current Ubuntu have it; portable builds made against older kernel headers (Kron4ek's) do not" would be accurate.An audio endpoint is needed. On a machine or container with no sound device at all (Wine's ALSA finds no card), the retail game's audio engine deadlocks about 30 s in: its device setup fails, a device lock is left taken, the engine's frames stop, and a trace buffer fills until the game's own check stops the process. A silent ALSA default device is enough, e.g.
~/.asoundrc:With it the game runs on at 30 fps (black, as reported). A desktop with sound never hits this; containers and headless setups do.
AI-assisted (Claude Code, Claude Opus 5.5).
mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175@JGonzalezRodriguez on GitHub · 2026-11-23 22:25 UTC · original
Reviewed and live-tested commit
c6ab20eon Linux.Tested
7.2.9-2-cachyos,vm.unprivileged_userfaultfd=0), NVIDIA GeForce RTX 4090 (610.57.4) + AMD Radeon(TM) Graphics (radv 26.2.4), Proton Experimental (11.0-20261112, DXVK3.1.1), relaxedvkd3d-protonbuilt from upstreammaster(30b0eb9), cross-built forx86_64-pc-windows-msvc(rustc 1.98.1,clang-cl+lld-link+xwinSDK10.0.26100).cargo build --release --workspace --target x86_64-pc-windows-msvcandcargo test --no-run --workspace --target x86_64-pc-windows-msvc: 0 errors, 0 warnings (tests/testgamedll/Cargo.tomlcauses no regressions).preflight::6/6 passed;e2e::launcher_uses_configured_exe_in_an_ambiguous_folder1/1 passed;xcl_testtitletest harness exited 0.xcl.exe runstartup check matrix (synthetic PE +xcl_testtitle):vkd3d-proton+ DXVK: reportsERRORforiface->lpVtbl == &d3d12_heap_vtbl(#241), no DXVK warning;xcl_testtitleaborts atvkd3d_private.h:1077as predicted.vkd3d-proton(30b0eb9) + DXVK viasetup-prefix.sh+run.sh: no Wine errors/warnings in console orreport.json; all D3D12.X / UMA / PresentX / sparse VRAM / RT / DirectStorage / MFPlat checks inxcl_testtitlepass.d3d12,d3d12core,dxgi,d3d11,d3d10core=b: reportsno D3D12 device+WARNING: dxgi.dll is Wine's, not DXVK's.vkd3d-proton+ Wine builtindxgi=b: GPU probe succeeds, reports only thedxgi.dllWARNING.vkd3d-proton+ Wine builtindxgi=b: reports both thevkd3d-protonERRORand thedxgi.dllWARNING.bash -n scripts/linux/*.shpasses.scripts/linux/vkd3d-proton-xcl.patchmatchesv3.1at exact line numbers and also applies cleanly (git apply --checkandpatch --dry-run --fuzz=0) to upstreammaster(30b0eb9, hunk 2 offset +280).Findings
scripts/linux/setup-prefix.sh:38-43— plaincpfollows symlinks insystem32/and can overwrite files outside<prefix>setup-prefix.shdocuments updating an existing prefix (<prefix> the prefix to create or update/Only <prefix> is written to.), but GNUcpwrites through existing symlinks. Tested live with a symlinkedsystem32/d3d12.dllpointing outside<prefix>:setup-prefix.shoverwrote the external target file in place. If pointed at an existing Steam/Proton, Lutris, or winetricks prefix with symlinked DLLs, it would silently overwrite Proton's sharedd3d12*.dll/dxgi.dllwith the assertions-off build.cp --remove-destination(orrm -fthe destination DLLs beforecp).scripts/linux/run.sh:22,36— relative<prefix>path fails immediatelysetup-prefix.sh:27canonicalizesprefix=$(cd "$2" && pwd)andrun.sh:34canonicalizesgame=$(cd "$game" && pwd), butrun.sh:36exportsWINEPREFIX=$prefixwithout canonicalizing it. Tested live with./pfx-relaxed:prefix=$(cd "$prefix" && pwd)after the[ -d "$prefix/drive_c" ]check.crates/xcl/src/preflight.rs:190-217, 257-328— scanning writable.data/.bssviafrom_raw_parts(data-race UB) + missing unit testsimage_contains()scans all committed readable regions includingPAGE_READWRITE/PAGE_EXECUTE_READWRITEviastd::slice::from_raw_parts. Becauseprobe_gpu()has just initializedvkd3d-proton/dxgi(which leave background worker threads such asvkd3d-disk$,vkd3d_fence,vkd3d_queuealive), constructing&[u8]over writable.data/.bsspages risks a Rust data race (UB).d3d12core.dllanddxgi.dll: all target string matches live in.rdata(PAGE_READONLY; 0 matches in.data/.bss). Restricting the scan to non-writable pages (PAGE_READONLY | PAGE_EXECUTE_READorPAGE_READONLYonly — or reading the DLL file viaGetModuleFileNameW) avoids the UB and skips unnecessary.data/.bssscanning. (Guardingif needle.is_empty()also avoids awindows(0)panic if reused.)preflight::testsonly addswine: Nonetofound(); please add unit tests coveringwine: Some(WineLibs { ... })(vkd3d_asserts_vtables: Some(true|false) | None,dxgi_is_dxvk: Some(false|true) | None).Minor script & doc notes
scripts/linux/run.sh:38:WINEDLLOVERRIDES=...unconditionally overwrites caller-supplied overrides instead of appending (${WINEDLLOVERRIDES:+$WINEDLLOVERRIDES;}). Also line 42 redirectswinepath -wstderr to/dev/null, hiding failures underset -e.scripts/linux/build-vkd3d-proton.sh:32-34: if$src/.gitalready exists, re-running with a differentVKD3D_PROTON_REF(or after an interrupted clone) skips checkout and submodule init.docs/linux.md:50: concurring with@ozimchukabove — distro Wine builds compiled against Linux 6.7+ headers (e.g. CachyOS/Arch systemwine-11.19here) also contain"Using kernel write watches".docs/linux.md:64:vkd3d_private.hhas 10assert(iface->lpVtbl == ...)checks; the 11th is inlibs/vkd3d/meta_commands.c:632.docs/linux.md:84-85: DXVK does spoof NVIDIA's DXGI vendor/device ID by default (0x1002/0x73df), andDXVK_CONFIG='dxgi.hideNvidiaGpu = False'disables that, butrun.shdoesn't set it, and XCL's own wave32 paths come fromD3D12_FEATURE_D3D12_OPTIONS1rather than DXGIVendorId. Also worth a brief note thatv3.1predatesHansKristian-Work/dxil-spirv#372(NVIDIA 64-bit atomic GPU hang noted in #175).THIRD_PARTY.md:19:vkd3d-protonisLGPL-2.1+(COPYING/libs/vkd3d/command.c), matching the FFmpeg entry.Not tested
scripts/smoke.ps1, Windows CI)x86_64-pc-windows-gnubuild and runningbuild-vkd3d-proton.shend-to-end (mingw-w64/shellchecknot installed here)AI use
Reviewed and written with Antigravity (Gemini frontier model); every file/line cited and every live check was directly verified on this host.
@simnJS on GitHub · 2026-11-23 22:28 UTC · original
Thanks, both points are in, squashed into the PR's commit (15d659e, rebased on main):
wine-stagingpackages for current Ubuntu have the kernel write watches (11.21 on 24.04, as you measured), and that Ubuntu's ownwinepackage (10.0 here) and builds made against kernel headers older than 6.7 (Kron4ek's) do not. Thegrepcheck stays as the way to tell.pcm.!default { type null }in~/.asoundrc) is enough, and a desktop with sound does not need it.@ersinhf on GitHub · 2026-11-23 23:27 UTC · original
Windows run of head
463e2e18356fbb4f09834aa4da5d8c88f4c1bb61(the "Windows: the test suite" item under Not tested), clean tree.Tested
stable-x86_64-pc-windows-msvc, debug; DXC 1.9.2602.17 (SDK 10.0.26100.0); XGameRuntime 10.0.26100.9656; noXCL_SAMPLE_*set.\scripts\test.ps1: 652 passed, 0 failed, 40 ignored, the same asmain4017f8fon this machine;SKIPPED2 (no wave64):gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware. The e2e test (which goes throughxcl runand so throughpreflight::run) passes.image_containshas no test in the PR, so I ran a temporary one inpreflight.rson Windows (local only, removed after):image_contains("kernel32.dll", b"KERNEL32.dll")→Some(true); a needle in no image →Some(false)for kernel32 and ntdll (the whole image is walked without a fault); afterprobe_gpu("auto")the reald3d12core.dll→Some(false)for the vkd3d assertion text anddxgi.dll→Some(false)forDXVK; a module that is not loaded →None;under_wine()is false andwine_libs()isNone. 0.41 s.Not tested
scripts/smoke.ps1on Windows (no retail title here); the Linux scriptsAI use
@simnJS on GitHub · 2026-11-23 23:32 UTC · original
@ersinhf thank you – that covers the Windows side I could not run: the whole suite on
463e2e1and the start-up check doing nothing on a reald3d12core.dll/dxgi.dll. ThePR checksfailure is the regression blocks: under Wine the title takes ~15 s to end afterXCL_RUN_SECONDS(XCL's end watchdog), longer than the grace I gavesmoke.sh, so the blocks saidkilled. I'm redoing both runs so they end by themselves and will update the description.@samarslan on GitHub · 2026-11-24 01:24 UTC · original
Retested GTA VI 1.0.2.1 on CachyOS with Proton Experimental and an RTX 5070 (driver
620.73.04). Both runs used the samexcl.exebuilt from upstreammainat7ebf1b8, fresh Proton prefixes,XCL_NETWORK=0, and no time limit. I verified which D3D12 DLLs Proton loaded in each run.3at 1.15 seconds. Zero frames presented.26fdda6The patched run ended with
0xc0000005atgame_scarlett_master.exe+0x23cf683(write to address0x0). XCL also logged at least 2,048 refused DirectStorage BCPack requests during loading. Their connection to the crash is unclear. Gameplay remains unverified.AI use — OpenAI Codex (GPT-6) ran the local comparison, checked the logs and frame captures, and drafted this comment.
mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175@JoaoPauluu on GitHub · 2026-11-24 02:47 UTC · original
Test report: #257 on CachyOS, RTX 3060, following
docs/linux.mdfrom scratchI followed
docs/linux.mdstep by step on a fresh CachyOS (Arch) setup, at the PR's head26fdda6. The kit works: the patched vkd3d-proton removes theE_INVALIDARGcascade, the start-up check fires exactly as documented, and GTA VI runs at a steady 30 fps without a crash. The picture is still black, as the docs say. Below are a few things I hit that the docs or scripts could cover.Setup
x86_64-pc-windows-gnu), mingw-w64-gcc 16.2.0 (thread model posix), meson 1.12.1, glslang 1.4.363, mingw-w64-tools 14.0.0experimental-11.0-20261112(files/bin/wine, wine-11.0, "Using kernel write watches" present)4522cc1a) +vkd3d-proton-xcl.patch, built withscripts/linux/build-vkd3d-proton.sh; DXVK from Proton Experimental (v3.1.1-209-g1039f6820) viasetup-prefix.shdxc_2026_09_29.zip), libopus 1.5.2 frombuild-opus.sh(checksum OK)DXVK_CONFIG="dxgi.hideNvidiaGpu = False"in every run belowTests at
26fdda6(debug build;cargo test --workspace --target x86_64-pc-windows-gnu --no-fail-fast -- --test-threads=4, Proton Experimental's Wine as the cargo runner)SKIPPED. Most of the 39 are a cascade:gpu::recomp::tests::gpu_more_atomics_sub_dword_scratch_valuhangs (kernel dispatch: GPU fence still pending after 10000 ms, twice out of two runs when run alone). In the parallel run it takes the device down with it (VK_ERROR_DEVICE_LOST, 53 log lines), and the GPU tests that run after it fail.--test-threads=1 --skip gpu_more_atomics_sub_dword_scratch_valu): 624 passed, 1 failed, 21 ignored, no device loss. The one failure ishle::xaudio2::tests::xma2_source_voice_decodes_and_manages_lifetime(left: 0, right: 12291). It fails twice out of two runs under Proton Experimental's Wine 11.0 and passes on the same binary under Arch'swine11.21, so it comes from that Wine.console_dlls_e2e13/13,gpu_compute_e2e2/2,gpu_pso_e2e7/7,rpf_e2e2/2,xg_oracle6 (12 ignored),console_shaders3 (4 ignored),disasm_e2e,texture_states. The 3 that fail:e2etest_title_runs_and_game_folder_is_untouched:user32 … W: not cloakedandXMA2 GetState: ctx=0x0, queued=1(the same XMA2 issue)pls_quotadisk_free_space_ex_reports_pls_quota:left: (0, 2),right: (0, 3)predication_e2eset_predication_buffer_state_and_kickoff: gets pastCreateCommandListwith the patch, thenEQUAL_ZERO(0) must skip dst[0](2863267840vs286331153)0bb64c5,main9ce2070):CreateCommandListreturnsE_INVALIDARG(0x80070057) in 30 lib tests and inpredication_e2e. So the patch is what makes those pass.Start-up check (
run.sh, GTA VI,XCL_RUN_SECONDS=8)2576c0b4a) copied into the prefix:ERROR: this vkd3d-proton stops on the objects XCL hands to D3D12 … #241, followed by the realAssertion failed: iface->lpVtbl == &d3d12_heap_vtbl(vkd3d_private.h:1077). Works as documented.GTA VI 1.0.2.1 (my own dump;
scripts/linux/smoke.sh <proton> <prefix> <game> 60, release build,XCL_NETWORK=0)PR head (the second of two runs; the first showed 866 frames):
The PR merged locally into
main9ce2070(local merge commit, not pushed):0 skipped). Sparse 7431 MB, coherent 83/512 MB.XCL_FRAME_DUMP=30,report.jsonhaslast_frame_dump= frame 890 / 950, 3840×2160,non_dark_samples: 0of 518 400. I only have the last sample of each run, so I didn't check earlier frames.Things the docs or scripts could cover
peak commit: 0 MBunder Wine. XCL logsmemory: 0 MB committed by the processfor the whole run under Proton's Wine, even with608a79b(PagefileUsage fallback) in the branch.pr_check.pyonly compares peak commit when both values are non-zero (if pc and mc), so withsmoke.shblocks the 125 % check is skipped silently.main:THIRD_PARTY.md(main added the libopus row; the PR adds the vkd3d-proton row in the same place). Keeping both rows resolves it.CARGO_TARGET_X86_64_PC_WINDOWS_GNU_RUNNER="…/Proton - Experimental/files/bin/wine"fails (could not execute process … No such file or directory), because cargo splits the runner on spaces. A symlink with no spaces in its path works. It may be worth a line under "Build", since the docs say the test binaries run under Wine "the same way".hideNvidiaGpu: the docs mentionDXVK_CONFIG='dxgi.hideNvidiaGpu = False', butrun.sh/smoke.shdon't set it. Without it, DXVK reports the RTX 3060 as AMD (vendor ID: 0x1002).rustup mingw-w64-gcc meson ninja glslang mingw-w64-tools(the last one haswidl). Arch's mingw-w64-gcc is already posix-threaded, and there is no-posixbinary.Not tested
cargo-xwinwine-staging, or Ubuntu as in the docsAI use: Claude Code (Claude Opus 5.5) set up the environment, ran every command above on the machine above and wrote this report. The counts and blocks are pasted from those runs, not retyped. I reviewed the report before posting.
mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175@SlopTart on GitHub · 2026-11-24 04:49 UTC · original
Scripts validated on Arch (discrete RDNA3,
x86_64-pc-windows-gnucross-build):build-vkd3d-proton.sh,setup-prefix.sh,smoke.sh, plus the full suite (row in #42 at3db536e+ pr257 merge). Three Arch/gnu-specific notes:widlpackage and mingw-w64'swidlconfigure refuses Linux hosts (Unsupported target: x86_64-pc-linux-gnu) and the*case callsas_fn_error. One-line patch of the generatedconfigure(make the*)case a no-op) +./configure && makebuilds a working Linux widl (it's Wine IDL 11.22);build-vkd3d-proton.shthen finds it asx86_64-w64-mingw32-widlvia a symlink. Maybe worth a line in docs/linux.md Prerequisites.CARGO_TARGET_X86_64_PC_WINDOWS_GNU_RUNNER(and.cargo/config.tomlstring form) splits on spaces, and Proton lives in…/Proton - Experimental/…→could not execute process … (never executed). A space-free symlink (ln -s ~/.steam/…/"Proton - Experimental" ~/.local/share/xcl-tools/proton) fixes it; docs/linux.md's "point the runner at<proton-dir>/files/bin/wine" fails for the default Steam path. The--config 'target.x86_64-pc-windows-gnu.runner=["…"]'array form works too.0x4at its XMA2 voice step (xcl.exe run <game>without args); the e2e lane's--hellorun completes with 2 in-title failures on the same prefix (window cloak, XMA2 GetState). If smoke.sh/testtitle is a supported combination, the XMA2 abort under Wine is worth a note; if not, say so in the header so people don't paste a red block.Not tested:
build-opus.sh, other Wine builds, retail titles.Counts only, no game data.
AI use: same as #42 row (Hermes agent, local Qwen-class, supervised).
@ArturoWolff on GitHub · 2026-11-24 05:47 UTC · original
Tested — Linux desktop presentation
XCL
64b3f35599bb7102f55d640e1a791e7d6dd3b175(cleanmain), cross-built withcargo build --release --workspace --locked --target x86_64-pc-windows-gnullvmand LLVM MinGW. I used the vkd3d-proton 3.1 patch from this PR at26fdda6de64a5e947aa6d07b5a6e97330834c085, built with-Db_ndebug=true, in a dedicated Proton Experimental prefix with its DXVK (v3.1.1-209-g1039f682058fa71). GPU: RTX 4060; NVIDIA driver620.73.04; DXC1.9.2609.5. This tests the PR's graphics setup, not a build of its full head.xcl.exe run "<unpacked-game-dir>"with the newer retail title (package1.0.2.1), external networking disabled, and frame dumps enabled. Withgamescope --backend wayland -w 1280 -h 720 -W 1280 -H 720, the desktop window was white even though XCL's frame dumps showed the Account Picker.BadValueonMIT-SHM/X_ShmPutImage. Sharing IPC with the display server fixed that error in this setup. Network isolation and the read-only game mount were unchanged.Player1 (A)at 30 fps, confirmed by capturing the actual window rather than just the backbuffer. Relevant log excerpts:30.0 fps over the last 300;Game exited with code 0x0 (0).Not tested: Gameplay, audible game output, full test suite, or whether the white window reproduces with other drivers or compositors. This is a workaround on one setup, not a diagnosis of the Gamescope issue.
AI use: Hermes Agent (
gpt-6.2-sol) configured and ran the local tests and drafted this report from the observed results.mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175@Filip722 on GitHub · 2026-11-24 11:55 UTC · original · edited 2026-11-24 12:01 UTC
I checked the
command.ccompatibility patch against the vkd3d-proton 3.2.0 source2576c0b4used by Proton Experimental. Both hunks applied directly. I built it with MinGW release,-Db_ndebug=trueand dxil-spirv1dc543f.On Bazzite 44, RTX 5060 Laptop GPU (NVIDIA 615.78.08) and Proton Experimental
11.0-20261112, XCL47efa2eplus the local texture and presentation stack (#640/#782/#793/#820) reached the account picker and loading artwork withVKD3D_CONFIG=ignore_shared_fence,no_descriptor_heap,log_memory_allocations. The run recorded 1,737 sampled presents and 49,471 DirectStorage executions with zero storage failures. It ended at the same 64 MiB device-localvkAllocateMemoryaccess violation observed with the v3.1 compatibility build. This verifies the startup compatibility route on the newer vkd3d snapshot. The default descriptor heap mode was outside this run.OpenAI Codex with GPT-6.2-Sol high assisted with the build, test and report.
I also tested the default 3.2 descriptor path. The log confirmed
VK_EXT_descriptor_heapwas enabled. It reached loading again and sampled 1,574 presents and 41,536 DirectStorage executions with zero storage failures before the same allocation access violation.mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175@itsd-effex on GitHub · 2026-11-24 04:32 UTC · original · edited 2026-11-24 12:54 UTC
The workspace test suite runs under Proton's Wine on Linux too, with five failures, all differences in Wine, vkd3d-proton or the driver. That gives Linux testers real counts for Tested, which CONTRIBUTING.md currently says aren't possible on Linux.
How (the same as README's
scripts/test.ps1,cargo build --workspace+cargo test --workspace, but cross-built with cargo-xwin as indocs/linux.mdand run under the kit's Wine):cargo xwin test --no-run --release --workspace --target x86_64-pc-windows-msvc --message-format=jsonlists the 16 test executables (executableof thecompiler-artifactmessages withprofile.test).dxcompiler.dll/dxil.dllnext to each.WINEPREFIX=<prefix> WINEDLLOVERRIDES="d3d12,d3d12core,dxgi,d3d11,d3d10core=n,b" VKD3D_CONFIG=ignore_shared_fence <proton>/files/bin/wine <test>.exe --test-threads=4.Result: RTX 3080 Ti, NVIDIA 620.73.04, Proton Experimental, the kit's vkd3d-proton 3.1, release. Tree:
mainf4ce27c+ #684 + #273 + #533 + #267, merged locally. The suite takes about a minute.<test> --exact). One GPU test hangs and removes the device the later GPU tests share, and they fail withdevice removed, plus twoPoisonErrorfollow-ons.gpu::recomp::(with the hanging test skipped) and--skip gpu::recomp::: 182 passed / 0 failed / 18 ignored, and 493 / 1 / 3. With the other 15 binaries that gives 713 passed, 5 failed, 41 ignored, the same 41 ignored as on Windows. The 5:gpu::recomp::tests::gpu_more_atomics_sub_dword_scratch_valukernel dispatch: GPU fence still pending after 10000 ms: a GPU hangpredication_e2e::set_predication_buffer_state_and_kickoffEQUAL_ZERO(0) must skip dst[0]: the dispatch wasn't skippedhle::xaudio2::tests::xma2_source_voice_decodes_and_manages_lifetimee2e::test_title_runs_and_game_folder_is_untouchednot cloaked(no DWM cloak) andXMA2 GetStatecheckspls_quota::disk_free_space_ex_reports_pls_quota(0, 2)vs(0, 3)fromGetDiskFreeSpaceExOne order-dependent crash to know about: with only the hanging test skipped and the lib binary still in one process, it ends with exit code 3, without a result line, in
hle::d3d12x::sparse::tests::a_freed_block_is_decommitted_before_its_address_is_reused(from #348).WINEDEBUG=+sehshows an access violation inside NVIDIA's Vulkan driver (libnvidia-glcore.so.620.73.04 + 0xa93d87, a read at0x43, reached throughwinevulkan). It reproduces withgpu::recomp:: sparse::tests::a_freed_block_is_decommitted_before_its_address_is_reused --test-threads=1(hang skipped), every time. The test passes alone, and it passes aftergpu::uma::only. The full one-pass run doesn't hit it, because the earlier hang has already removed the device. I haven't looked into whether it's the test's decommit or vkd3d-proton / the driver.So a Linux test report can give real counts with these five named, rather than "not tested". If that's worth writing down,
docs/linux.mdhere seems the place: README's Tests section is Windows-only, and #741, #485 and #453 are reworking the README.Not tested: other GPUs and drivers (the hang and the driver fault may be NVIDIA-only). Wine-staging or GE builds. The same tree on Windows, for comparison.
AI use: Claude Code (Claude Opus 5.5) wrote the runner script, ran the suite, isolated the failures (including the
+sehtrace) and drafted this comment. The runs are mine, on the hardware above.Update (edited): vkd3d-proton
masterfixes the hang.vkd3d-proton-xcl.patchapplies cleanly to vkd3d-protonmaster30b0eb9b(23 Nov: 90 commits after v3.1; its dxil-spirv is 92 commits newer). Built withscripts/linux/build-vkd3d-proton.shunchanged, from a clone ofmasterin the work dir.gpu_more_atomics_sub_dword_scratch_valupasses: no hang, so the one-pass run no longer cascades. The four left are predication, XMA2, the test title's two checks andpls_quota.gpu::recomp::is unchanged (the samelibnvidia-glcore.so.620.73.04 + 0xa93d87), so it doesn't depend on the vkd3d-proton version.master: other GPUs and drivers. The retail title (next). Whether anything else in those 90 commits needs the patch to change.Update 2 (edited, 24 Nov 12:55 UTC): build vkd3d-proton
masterec207194or later. It has the dxil-spirv fix from #611.masterec207194(24 Nov) moves dxil-spirv to7c04863. That includes dxil-spirv #371 (53aac418), the structurizer fix that closed #611. v3.1 (8b48f0e0) andmaster30b0eb9b(34f0ff8) don't have it. This kit's patch applies toec207194unchanged. Built withVKD3D_PROTON_REF=master scripts/linux/build-vkd3d-proton.sh <dir>, no other change.main47efa2ewith it: 737 passed, 4 failed, 41 ignored, the same four as above (row in #42).XCL_PSO_WAIT_MSunset). 16 compute pipelines of 300 KB or more of DXIL were built in the run: 22 s on average, the slowest (1065 KB) in 44 s. Six earlier runs on30b0eb9bbuilt 1–13 of that size per run, 17–127 s on average, the slowest in 181 s. The XCL trees and caches differ between those runs, so this isn't a controlled comparison. @ddm-j's offline numbers on #611 are.VKD3D_PROTON_REFdefaulting tov3.1now leaves Linux users on the slow structurizer. Upstream has no tag after v3.1 yet. @Filip722's 3.2.0 build (Proton's source) used dxil-spirv1dc543f, which also has #371. A pinnedmastercommit as the default might be worth it, if the maintainers are OK with not pinning a release.masterneeds the patch to change.mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175@BotchedRPR on GitHub · 2026-11-24 19:11 UTC · original
thats pretty sad. why was this deleted?
mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175Pull request closed