Linux/Proton: runs with a DXC fallback for the runtime HLSL compiles; 6a2d9f9 stable on RTX 5070 Ti; speed switches under Wine #6
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork#6
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@deadkid14 on GitHub · 2026-11-24 19:27 UTC · original
Thanks for the fork. It is the first build that shows a lit world on my machine. Below is a report from running it on Linux under Proton, which needed one change on your side. There are also some results that may help with the device loss in your newest commits.
Setup: RTX 5070 Ti, NVIDIA 620.73.04 (open kernel modules), CachyOS kernel 7.3, GE-Proton11-14's
winerun directly, with its vkd3d-proton 3.2 and DXVKdxgi.VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains, Series X files,--features diagnostics,VICTORY_NO_WATCHDOG=1(upstream #454 merged on top),VICTORY_SHADER_LOOP_LIMIT=32.1. Under Wine, the runtime HLSL compiles fail, and card buffers silently switch off
Wine's
d3dcompiler_47(vkd3d-shader) rejectsRWByteAddressBuffermethods (E5005: Method 'InterlockedMax' is not defined on type 'RWByteAddressBuffer'), so every runtimeD3DCompilein the fork fails under Wine:indirect.rsmake_for(the clamp): every indirect execution is dropped, and the world is mostly empty.host.rsmake_card_work(the card compare): logsno host copies in the card's memory: the compare could not be made, so card buffers are off on Linux without any other sign.host.rscompile()(your own shaders, e.g. the depth-plane twins) andinplace.rsshade().Falling back to DXC fixes all of them. I copied upstream #178's helpers (
dxc_library,dxc_compile,sign_dxc_bytecode) intoindirect.rs, gave them an entry point and target parameter (with*_5_1mapped to*_6_0), and routedcompile(), the card compare and the in-place probe throughcompile()with that fallback.dxcompiler.dllanddxil.dll(DXC 1.9.2609) come fromVICTORY_DXC. Windows, whereD3DCompilesucceeds, is unchanged. @ItsYusei99 found the same independently in upstream #1528, with the same approach. A fallback like this in the fork would make it work on Linux as it is.2. Stability:
6a2d9f9did not lose the device hereYour README says the commits after
578d459lose the device. On this machine,578d459+6a2d9f9(plus the patch above and #454) ran four world sessions of about 8 minutes each with no device removal, no Xid in the kernel log and no exception. If the device loss on your side is NVIDIA-on-Windows specific, or came withd279e69/004bf69(which I have not tried), this may help narrow it down.3. Speed switches on NVIDIA under Wine
Each run measured 60 s after 6 min in the world, through the same scripted input. They are not the same view, because each run ends up at a different point of the prologue, so treat the fps as approximate:
VICTORY_CARD_BUFFERS=0VICTORY_RELAY=2VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024Under Wine,
RELAY=2costs more CPU time than it saves. The late-wait combination is the steadiest, but frames stay around 500 ms.4. Visual issues seen
mainwith the same Proton setup.VICTORY_RELAY=2: the buildings around the yard disappear for a while, leaving sky and floating window frames. With the late-wait combination it is milder: the roof of the yard's covered area was missing, so its ceiling lights hung in the sky. The default configuration did not show this.No images attached (asset policy).
AI-assisted: Claude Code ran the builds and tests on my machine, read the logs and wrote this comment; posted at my request.
@pablogonz12 on GitHub · 2026-11-24 19:44 UTC · original
Same finding on AMD under Linux, for the record.
Setup: RX 9070 XT (RDNA4), Mesa 26.3.1 RADV, Ryzen 9 9900X, 30 GB, GE-Proton11-14
winerun directly, vkd3d-proton master, fork at578d459,--features diagnostics,VICTORY_NO_WATCHDOG=1, Series X files.d3dcompiler_47: sameE5005: Method 'InterlockedMax' is not defined on type 'RWByteAddressBuffer', thenno argument clamp: indirect execution dropped,no pipeline to draw a depth plane from its twinandno host copies in the card's memory(0x80004005). Black screen in the world, 750-1,100 draws/frame, 4.7-5.7 fps (most of the frame simply not drawn). Render-target dumps showed depth/normals/sky with content and the R11G11B10F scene-colour chain all zero.d3dcompiler_47.dllnext to the exe (WINEDLLOVERRIDES=d3dcompiler_47=n,b; a stop-gap, not something to ship): the three errors are gone, 4,900-6,400 draws/frame, and the opening scenes render lit and textured on screen; menus, pad and sound work. World fps in this run: median 1.1, up to 3.1 (first run after the change, textures still streaming in); pause menu 23 fps. No device removal so far (run still going, about 8 min in).So the DXC fallback you describe looks like the right fix for Linux in general, AMD included. Not tested yet: the DXC fallback itself on AMD (building it now), and whether the AMD skips from #3 are needed under RADV (the 41
CS_RaytracingResolveones crashamdxc64.dll, which RADV doesn't use).@deadkid14 on GitHub · 2026-11-24 19:49 UTC · original
Follow-up:
e9765a7(with004bf69and7b0f736) on the same Linux/Proton setup (RTX 5070 Ti, 620.73.04), on top ofd279e69and the DXC fallback above: one run in the default configuration, measured after 6 min in the world. 1.99 fps (1.9–2.0), about 3,200 draws/frame, no Xid, no device removal, no exception. The card compare builds through the fallback. So the wave-wide default-off doesn't cost anything here compared with6a2d9f9(1.95 fps). In an earlier interactive session ond279e69, the player could walk with a controller and interact with cellmates.AI-assisted: Claude Code ran the builds and tests on my machine, read the logs and wrote this comment; posted at my request.
@fxceless on GitHub · 2026-11-24 19:53 UTC · original
Thanks, useful on both counts. The device loss is fixed in
e9765a7(details in #5); it was specific to one wave64 form on 32-lane NVIDIA cards with the default loop limit, which fits your clean runs withVICTORY_SHADER_LOOP_LIMIT=32. A DXC fallback for the runtime HLSL compiles makes sense for Wine; a pull request with it is welcome, and otherwise it goes on the list here.@leonardo-silva-pinheiro on GitHub · 2026-11-24 20:21 UTC · original
Two pull requests now implement the DXC fallback suggested here, opened three minutes apart and both on
7b0f736: #20 (ErRusso) and #21 (oeirughrepuiohg). Both add a newcrates/victory-gpu/src/dxc.rs, so whichever is merged first will make the other conflict. A short comparison to help pick one:indirect.rs),host.rscompile(), card compare,inplace.rsshade()host.rscompile(), card compare (inplace.rsnot touched)[RootSignature]without an error (depth-plane twins)carries_root_signature: recompile with DXC when the container has noRTS0)VICTORY_DXC/dxil.dll;host::compilenow takes&str(test inresource.rsupdated)compile_pcstrbeside the&strformCreatePipelineLibrary); not run in the gamed279e69, not the rebased commitSo #20 now covers more (all four call sites, plus the missing-root-signature case), and #21 is the one with an in-game run. An in-game run of #20 under Proton would settle it. @deadkid14 and @pablogonz12 already have the Linux setup for that.
AI-assisted: Claude Code compared the two diffs and drafted this comment; posted at my request.
@rostaddotcc on GitHub · 2026-11-24 20:49 UTC · original · edited 2026-11-24 20:58 UTC
Correction, same evening. The paragraph below says the run reaches the world. It does not: I saved the presented frames afterwards, and frames 512–2048 of a ten-minute run are the splash and the loading key art. Ten minutes gets boot, menus, splash and loading — not the cutscene. The 2 800–5 000 draws per frame are the loading screen streaming, not the world, so every number below describes the loading phase. The black frame I saw in window screenshots was most likely the window between two 5-second frames; the saved frames have content.
That makes the streaming rate the finding, and it is worse than the frame numbers suggest: on Windows the same title version loads the world in about half a minute, and ten minutes is not enough here.
Another AMD/Linux data point, and one finding that is not about the compiler.
Setup: RX 7900 XT (RDNA 3, native 64-lane waves), Mesa 26.3.1 RADV, Vulkan 1.4, CachyOS 7.3.5, KDE Plasma 6 on Wayland; Proton Experimental
wine(experimental-11.0-20261112) run directly, its vkd3d-proton and DXVKdxgi; Series X files; title 1.0.2.1; release build from1684989.HDR on the output breaks the run in a way that looks like a title crash. With HDR enabled on the display the window lands on, presentation blocks for about 400 ms per frame: 2.5 fps in the menus, then the 30 s watchdog ends the run with
int3at a frame-64 boundary. With HDR off the same build runs the menus at 15–30 fps and reaches the world. I lost a day to this — the merge, the shader cache, the prefix, ntsync, the CPU governor and window focus were all ruled out first. It is not fork-specific.Wine's builtin
d3d12has to be overridden off —WINEDLLOVERRIDES="d3d12=n;d3d12core=n;dxgi=n". With the stub in the chain, device creation returnsE_INVALIDARGand every frame submits 0 draws. Sounds close to what @pablogonz12 saw before adding Microsoft'sd3dcompiler_47.dll.The
E5005failures do not reproduce on1684989with this Proton'sd3dcompiler_47. Zerono argument clampmessages in a ten-minute run, and the card compare built (10 copies of 492 MB, 23–53 MB per frame sent up). So the DXC fallback in #20 / #21 is never taken here. Either the shader changed since578d459, or the compiler version matters — worth separating before a fallback is merged as "the Linux fix".On AMD/Linux the frame is not GPU bound, it is host-copy bound. World frames (more than 800 draws) average 5–8 s, of which 134–163 ms is GPU time. Copies into title memory run at 60–100 MB/s and texture uploads at 13–41 MB/s, against roughly 1 GB/s in #10's Windows numbers. Whatever makes Linux slower there is worth more than any GPU-side work on this machine.
The presented frame is black at 2 800–4 800 draws per frame, matching @pablogonz12's zero scene-colour chain; I have not dumped render targets yet. Everything above is in
docs/linux-proton.mdin #41, including what is still unseparated (whether the upload rate is RADV, vkd3d-proton or the page-fault path).No images, no game data; numbers only.
@rostaddotcc on GitHub · 2026-11-24 21:01 UTC · original
One more measurement that changes what this looks like, and a correction to my comment above.
It is not vkd3d-proton or RADV. I wrote a 128 MiB probe that does only what the layer does per frame — write through an upload mapping, copy on the card, read back through a readback mapping — and ran it in the same prefix, same device, same Proton:
Two runs, same numbers. The frame shows ~60–100 MB/s for copies and 7–41 MB/s for textures, so the runtime underneath is two orders of magnitude faster than what a frame costs. The 2–4 s per frame of "copies" and "textures" is the layer's own per-frame work — the ranges it sends up, the pieces it hashes and compares on the card, and the waits for those — not the memory path. That rules out RADV and vkd3d-proton as the explanation, and it is where I would start on #10 for Linux.
Correction to my earlier comment: those runs do not reach the world. I saved the presented frames afterwards; frames 512–2048 of a ten-minute run are the splash and the loading key art, so ten minutes gets boot, menus, splash and loading, and the 2 800–5 000 draws/frame are the loading screen streaming. The world's own cost is still unmeasured here. On Windows the same title version loads the world in about half a minute; here ten minutes is not enough, which is the same copy path seen from the other end.
Still out of scope for this machine: the
E5005failures in #6 do not reproduce on1684989with Proton Experimental'sd3dcompiler_47, so the DXC fallbacks are never taken.Numbers only, no game data. Details in
docs/linux-proton.md(#41).@peeepy on GitHub · 2026-11-24 21:16 UTC · original · edited 2026-11-24 21:21 UTC
Hopefully this is commented in the right place, apologies if not. Here's my report:
RTX 3090 on Linux/Proton: the fork + Microsoft
d3dcompiler_47runs 11–14 min into the prologue; the stop is the poolint3at+0x63966f, with or without the four culling programs skipped; 5 wave64 compute programs refused on 32-lane NVIDIASetup
VKD3D_FILTER_DEVICE_NAME="RTX 3090"because the CPU's Radeon 610M iGPU is also present.experimental-11.0-20261112with its ownwine, run directly; vkd3d-proton 3.2.0 (2576c0b4adfae4a); DXVKdxgiv3.1.1-209b99f876b…), Series X profile, release buildTree: fork
4e17478(origin/main) plus:d469fe9(HLEWSAConnectByList/GetAddrInfoExA),45aceea(one returning block),e5a8c2f(null-blob empty pipeline library),4782660(test skip under Wine),b7cc788(docs,proton-run.sh),45e24f9(debug pixel shader andVICTORY_PS_FALLBACK).45e24f9needed one conflict resolved inpipeline/host.rs(library::labelmoved intomake()), and itsdebug_psHostShaderneeded the fork's newroot_uavsandroot_indexed_viewsfields, both empty.VICTORY_NO_WATCHDOG), applied cleanly.4828716, which conflicts with the fork's rewritten clamp. Instead, Microsoft'sd3dcompiler_47.dllis installed in the prefix (winetricks d3dcompiler_47). With it,indirect::tests::argument_clamp_buildsand the card-compare test pass under Proton. This is the stop-gap from this thread, until #20/#21 land.VICTORY_PIPELINE_WORKERSoverrides the pipeline worker count. The default is(cores/2).clamp(2, 8), which is 8 here; I ran 16.victory-gpupasses 110/110 (1 ignored) andvictory-shaderpasses 211/211 (2 ignored).Run 1 (cold caches, 8 workers, no watchdog hook)
+0x2215c35(the watchdog self-kill, #630).Run 2 (warm caches, 16 workers,
VICTORY_NO_WATCHDOG=1): 11 min 20 s, ended by0x80000003at+0x63966fPaused: Yes, SRLfbk_stry000_FBK_STRY000_INTRO/Prestream,INSTANCE_LIST 44292/45000,BUILDING 19887/22500,OBJECT 16478/27500, TileHeap 4101 of 6236 MB, Game Physical 2.18 of 2.31 GB. This is the same pool-allocator stop as upstream #698 (BitWuehler's RTX 5080 Linux report has the same site). The four instance-culling hashes from #698 (17af15c4015cb4b6,55679a0547649d0b,fdd56d97a806bcca,89d08e561897d4e5) all translated and ran in this run.Run 3 (tree updated to fork
4e17478+ #994's45e24f9, diag build,VICTORY_SKIP_PIPELINES= the four culling hashes): 13 min 43 s, same stop at+0x63966f17af15c4015cb4b6" / "fdd56d97a806bcca" in the drop lines), and the debug pixel shader fallback was used ("pixel shaders that do not translate are replaced by the debug one").Paused: Yes, SRLPrestream,INSTANCE_LIST 44140/45000,BUILDING 19285/22500,OBJECT 14168/27500,GRASS_INSTANCE_LIST 3836/9000, TileHeap 5249 of 6236 MB. The run lasted longer but stopped at an earlier title frame (1514 against 1685).7f05ddab771799a9(lane mask elsewhere, fixed by #11),a53a7977fe762268andbe14e72d86362031(wave reductions) now translate. The other 8 are unchanged (table below), and so are the 5 wave64 refusals.Refused host pipelines (5, all compute):
02384a60fda6f2d0,2cc4c197ee29e291,2da4beb386509b77,369cbe906ea72764,6b82bc7d22016cb5. Each isE_INVALIDARG, and vkd3d-proton logs the reason right before it:So under vkd3d-proton these show up as
0x80070057, where Windows NVIDIA reports have0x8007000E. These are the programs the fork's 32-lane retries still leave atWaveSize(64).Untranslated shaders: 8 unique in run 3 (current tree
4e17478), down from 11 in run 2 (7b0f736)Still failing in run 3:
2fd01fca169930016b6db9f1a526daeb38bf0814e721a1b35dc3b25986622949v_cvt_f32_f646f225b641c5b0708v_cvt_f32_f64f133e35efed2a48aa929109552ce1e84v_permlanex16_b32ceb5eb68cd99cb07Failed in run 2, translate in run 3:
7f05ddab771799a9a53a7977fe762268be14e72d86362031With the PS fallback (
45e24f9) on in run 3, depth-tested geometry draws whose pixel shader is one of the three pixel rows above use the debug pixel shader instead of being dropped (other draws with them still drop).Other notes for Linux users
d3dcompiler_47and the fork's runtime HLSL: the clamp test fails without Microsoft's DLL and passes with it.capped at 1000000 … count=1245184, as on Windows NVIDIA.emit/lower.rs14 hunks,emit/mod.rs,wave64_tests.rs), since both rework the same 32-lane path. I didn't resolve it.28de:11ff, and the DualSense appeared only as hidraw. So the title saw a connected pad that never sent input, and the keyboard stand-in was off too. Launching the launcher script as a non-Steam game (no compatibility tool) fixed it.@rostaddotcc on GitHub · 2026-11-24 21:27 UTC · original
Correction — my earlier comments in this thread were wrong, and the underlying answer is the opposite of what I said.
I claimed Proton Experimental's builtin
d3dcompiler_47compiles the clamp and the card compare, and that the difference between working and failing setups is "which compiler a build ships" rather than plain Wine vs Proton. That was wrong in both places. The measurement behind it was invalid: this prefix has winetricks' natived3dcompiler_47.dllinsystem32(4.3 MB), and my probe run never forced the builtin, so it was Microsoft'sfxcanswering in every case. Thevictory-gputest run that "passed" was worse than that — it passed vacuously:With only
d3dcompiler_47=bset, thed3d12stub was still Wine's, no device could be created,host()wasNone, and the test returned green without compiling anything. 110 tests in 0.72 s is what that looks like.The matrix, measured on this machine (CachyOS, RX 7900 XT, Proton Experimental
experimental-11.0-20261112, vkd3d-proton 3.2.0), with vkd3d-proton actually servingd3d12so the device exists:d3dcompiler_47argument_clamp_buildsclamp-0.hlslcompiled from source=b)fxc(=n)d3d12left to Wine's stubhost()isNoneSo @peeepy is right and I was wrong: the fork's runtime HLSL needs Microsoft's
d3dcompiler_47as a native override on Proton, because the builtin compiler is Wine's vendored vkd3d-shader and it has noRWByteAddressBuffer.Interlocked*()orLoad*()methods and drops[RootSignature]. That is also why the E5005 report in this thread is real, and why #20/#21 are not "inert on Proton" as I wrote earlier.What the research on versions adds, since that was the original question in this thread: there is no release to pin. Wine has used vkd3d-shader for HLSL since Wine 7.5, and no vkd3d release through 2.2 implements those methods (
uav_methods[]in vkd3d 2.2 holds onlyGetDimensionsandStore/2/3/4; the miss produces exactlyVKD3D_SHADER_ERROR_HLSL_NOT_DEFINED→ "not defined on type").RWByteAddressBuffer.Interlocked*()landed upstream on 2026-11-04 (032f5310) and is in no tag yet;Load*since 1.14, theInterlocked*intrinsics since 1.15.[RootSignature]is not implemented anywhere in vkd3d —RTS0exists only as a standalone serializer. Wine 11.22 vendors vkd3d 2.1, whosehlsl.ymatches 2.1 byte-for-byte.Practical statement for the README, which is the only durable form of this: the run needs Microsoft's
d3dcompiler_47(10.0.17134.12 verified,RTS0present) installed as a native override; Wine builtin 11.22 and Proton Experimental both fail; and a Proton version number cannot be compared with a Wine one (experimental-11.0-20261112runs wine-11.0 underneath).Two corrections follow in the PRs I touched: #41's
docs/linux-proton.mdsaid the compiler question was settled the other way, and my note in #64 about the test recipe needs "with vkd3d-proton serving d3d12" added, because that is the difference between a real pass and a vacuous one.@rostaddotcc on GitHub · 2026-11-24 21:06 UTC · original · edited 2026-11-24 21:27 UTC
⚠️ Superseded — the measurements in this comment are invalid. The prefix has a native Microsoft
d3dcompiler_47.dlland none of my runs forced the builtin, so it was fxc answering, not Proton's compiler. Full correction with the measured matrix: #6Answering the pinning question from @ErRusso with what this machine can settle, and one correction.
Method. A D3DCompile-only program (no device, no layer) compiling the fork's own source strings taken from
1684989: the clamp (indirect.rsSOURCE,cs_5_1, 3 841 bytes), the card compare (host.rsCARD_COMPARE,cs_5_1, 1 657 bytes), the in-place probe (inplace.rs,cs_5_1), and aps_5_1twin carrying[RootSignature(...)]in its source. Same entry, same target, same flags (0, 0) as the call sites. For each result I also checked the container for anRTS0chunk.Builds on this machine: Proton Experimental
experimental-11.0-20261112(vkd3d-proton 3.2.0), GE-Proton11-12, GE-Proton11-14, all with their ownfiles/bin/wine.ps_5_1)Byte-identical containers across the three, so they are the same compiler build for these shapes.
Correction to the README and to #6: GE-Proton11-12 and 11-14 are listed as refusing this source. On this machine they do not — all four shapes compile with the root signature retained, same as Proton Experimental. So the discriminator is not the Proton/Wine version number but which
d3dcompiler_47a build ships: these three bundle a compiler that accepts it, and your plain WineHQ 11.22 does not. I could not test WineHQ 11.22 here (not installed), so I cannot say where in Wine's own history the UAV methods and theRTS0retention arrived — only that the Proton family is on the side that has them.For the record, the fingerprints I could pin are build identities rather than source revisions:
libvkd3d-shader-1.dllis 2 131 943 bytes /f0c09b5aaain Experimental, 2 129 510 /300dfda077in 11-12, 2 131 943 /9ee4679cfain 11-14 — same size in two builds but different hashes, so they are not the same binary.What this means for #20: nothing changes about the PR, but the claim "Wine 11.22 and GE-Proton 11-12/11-14 refuse it" is half wrong, and the case for the fallback rests on plain Wine, not on Proton.
The probe is 60 lines against
d3dcompiler_47; I can put it in the repo undertests/or attach it if you want the check rerun on any build.@rostaddotcc on GitHub · 2026-11-24 21:24 UTC · original · edited 2026-11-24 21:27 UTC
⚠️ Superseded — the measurements in this comment are invalid. The prefix has a native Microsoft
d3dcompiler_47.dlland none of my runs forced the builtin, so it was fxc answering, not Proton's compiler. Full correction with the measured matrix: #6@peeepy — your numbers and mine line up closely (RX 7900 XT/RDNA3, CachyOS 7.3.5, same Proton build, fork
4e17478): world frames 0.1–0.5 fps, 700–6 300 draws, GPU 1–4 % of the frame,copies1.6–3.5 s andtextures1.1–2.7 s per frame, screen mostly black with lit patches. Two differences worth chasing, both about the compiler.The clamp and the card compare do not need Microsoft's
d3dcompiler_47here. I built thevictory-gputest binary for the Windows target and ran it under this prefix with the builtin forced:indirect::tests::argument_clamp_builds— okindirect::tests::warp_card_compare_stores_the_hash_it_made_when_told— okSame result without the override, and the same two tests also compile from source in a
D3DCompile-only probe against Proton's builtin, with the root signature kept (RTS0) — as do GE-Proton11-12 and GE-Proton11-14. So onproton_experimental_11.0-20261112with vkd3d-proton 3.2.0 the builtin compiler accepts these sources.That makes your winetricks stop-gap look environmental rather than necessary. If you still have that prefix, could you re-run the two tests with
WINEDLLOVERRIDES="d3dcompiler_47=b"and the Microsoft DLL present (builtin wins), and say whetherargument_clamp_buildspasses? If it fails there and passes here on the same Proton build, the difference is in the prefix, not in the compiler, and #20/#21 would be fixing a bug that only plain WineHQ builds have.I am not going to guess at your
+0x63966fstop from here — it is the same site as the upstream Linux report in #698, and nothing in the compiler question above explains it by itself.@EdouardSence on GitHub · 2026-11-24 21:38 UTC · original
Another RX 9070 XT / RADV data point, on the current tip, with two things not reported here yet: a winetricks-specific crash, and a GPU page fault that only the release build hits.
Setup: RX 9070 XT (RDNA4), Mesa 26.2.6 RADV, CachyOS (kernel 7.3.5), system Wine 11.22 (not Proton), prefix set up with
winetricks vkd3d dxvk d3dcompiler_47. Fork at4e17478, built on Linux withcargo xwin(x86_64-pc-windows-msvc), release and--profile diag --features diagnostics. Series X files, title 1.0.2.1.1. vkd3d-proton 3.1 (what
winetricks vkd3dinstalls) crashes RADV at the first mesh pipeline. Menus run at 30 fps; when the world starts loading,vkCreateGraphicsPipelinesfaults inside the driver (Exception 0xc0000005 in Unix call) on meshd4111a6e6ea49d91+ pixelc0a7fe77b1862e10. Dumping withVKD3D_SHADER_DUMP_PATH: the mesh SPIR-V is valid, the pixel SPIR-V failsspirv-val(block … exits the loop headed by …, but not via a structured exit), so 3.1's dxil-spirv mis-structures that DXIL. dxil-spirv master (7c04863) turns the same dumped DXIL into valid SPIR-V, and vkd3d-proton master (which pins that commit) gets past it. After it, all 1,759 dumped modules passspirv-val --scalar-block-layout. Those already on vkd3d-proton master won't see this; plain winetricks users will.2. Wine's builtin
dxgicrashes at the first present (wined3d.dll+0x165f50fromdxgi.dll, read of an unmapped address) when only vkd3d-proton'sd3d12is installed.winetricks dxvk(DXVK'sdxgi) fixes it, the same thing as thedxgi=noverride mentioned above.3. Wine's builtin
d3dcompiler_47: sameE5005 InterlockedMaxfailure as above; Microsoft's DLL (winetricks d3dcompiler_47) fixes it here too.4. Release build: GPU page fault at address 0 when entering the world; the diag build doesn't hit it. With everything above in place:
VICTORY_CAPTURE)The release run that failed:
a wait for a memory value was not met at a presentanda queue still held a submission at a present, thenradv: GPUVM fault detected at address 0x00000000,GCVM_L2_PROTECTION_FAULT_STATUS: 0x701431,CLIENT_ID: SQC (data),PERMISSION_FAULTS: 3. The kernel logs the gfxhub page fault and resets the ring; VIctory reportsdevice removed 0x887A0005. SQC data means a scalar load from address 0 by a shader. I checked whether the diag-only code differs at present: it adds a 16-pixel readback probe, and turning that off (a local switch) still gives a picture, so the probe is not what avoids the fault. I haven't found a diag-only block that changes shader code or addresses, so my guess is a timing race that the diag build's extra host work hides. Only 2 release runs, so I can't say whether it's deterministic yet.5. Where the frame goes (diag, world, warm caches): 0.4–0.8 fps, 1,100–4,200 draws/frame, 40–180 ms on the GPU. Most of the 0.6–2.4 s of host preparation per frame is texture refreshes: 190–1,980 ms, of which "waiting for title memory to hold still (the runtime remapping it)" is usually the largest part (160–1,590 ms), with 7–460 ms "asking the write watch and the guards". That matches @rostaddotcc's finding that it's not vkd3d-proton or RADV throughput.
Not tested: vkd3d-proton releases between 3.1 and master, Proton instead of system Wine, Mesa 26.3.x, the DXC fallback PRs (#20 / #21).
No game data: hashes, counts and messages from VIctory's, vkd3d-proton's and the kernel's logs only.
AI-assisted (Claude Code): builds, runs and log analysis done by the model on my machine, with my own copy of the title.
@BitWuehler on GitHub · 2026-11-24 21:43 UTC · original
Tested
fxceless/victory-fork(4e17478) on another CachyOS + NVIDIA RTX 5080 Linux/Proton machine and opened PR #127 with a Wine-native fix for the runtime HLSL issue discussed here (without requiring externaldxcompiler.dll/dxil.dll).Setup
620.73.04GE-Proton11-14(vkd3d-proton, DXVKdxgi)WINEDLLOVERRIDES="d3d12=n;d3d12core=n;dxgi=n",VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains,VICTORY_NO_WATCHDOG=1(upstream#454),VICTORY_RELAY=2,VICTORY_LATE_WAIT=3,VICTORY_WIDE_BACK=1,VICTORY_CARD_BUFFERS_MIN_MB=1,VICTORY_CARD_BUFFERS_MB=1024,VICTORY_CARD_REHASH_RUNS=1, release profile, Series X files.1. Native
d3dcompiler_47(vkd3d-shader) fix without DXC fallback (PR #127)CARD_COMPARE(host.rs), the indirect-argument clamp (indirect.rs), and testWORKER_CSfromByteAddressBuffer/RWByteAddressBufferto 32-bit word-indexedStructuredBuffer<uint>/RWStructuredBuffer<uint>, removing[allow_uav_condition], and serializing root signatures in Rust (D3D12SerializeRootSignature) acrossCARD_COMPARE,PlanePass(PLANE_STEPS/PLANE_FLOATS),indirect.rs, andresource.rsmakes Wine's built-ind3dcompiler_47compile all internal HLSL natively with zero external DLLs.victory-gpuunderGE-Proton11-14: 110 passed, 1 ignored, 1 failed (the 1 failure is the knownpipeline::library::tests::a_rejected_blob_gives_an_empty_libraryunimplemented stub in vkd3d-proton noted in #20;indirect::tests::system_d3dcompile_builds_internal_hlsl,warp_card_compare_stores_the_hash_it_made_when_told, andresource::tests::a_depth_planes_twin_is_drawn_into_the_planeall pass).2. World run on
4e17478(VICTORY_RELAY=2+CARD_COMPARE/indirectfix, 464 s / 3,815 frames)0x887A0006), 0 kernel Xids/OOMs, 0no argument clamp, 0no host copies in the card's memory(note: the depth-planePlanePassfix in PR #127 was added right after this run after observing twono pipeline to draw a depth plane from its twin (0x80004005)warnings).draws >= 100,n = 50): 1.30 fps median (2.0 fps peak at 506.7 ms/frame with 3,115 draws; up to 7,644 draws/frame),prep 391.15 msmed (copies 102.35 ms / 132.40 MB,textures 166.55 ms / 34.80 MB),gpu 121.55 msmed,copying back 185.50 msmed (61.70 MB),234hash /80compare passes/frame.RELAY=2observation above:the relayspent101.5–103.1 mswaiting for piece fetches and135.8–141.5 mslanding per frame (26.0 flights,128 lists in the airsettling2.0x/framefor~67–70 ms), keepingcopying backelevated vs plainLATE_WAIT=3.(Written and verified with AI assistance; numbers taken directly from the session log and test output.)
@pablogonz12 on GitHub · 2026-11-24 21:50 UTC · original
@rostaddotcc Two data points from our side (RX 9070 XT, RADV, Wine; not fxceless main, our fork line):
HDR: same conclusion here. Every run we do passes HDR off, and the Linux run recipe we use is
WINEDLLOVERRIDES="d3d12=n;d3d12core=n;dxgi=n"with HDR off. We never separated the presentation stall from a title crash, so your 400 ms per frame is a better measurement than anything we have.Copies: our notes have ~2.0 GB/s for steady copies out of title memory (155 MB in 75 ms) once page-run reads are taken, and 100-200 MB/s (about 2 ms per
VirtualQuery) only on the sparse fallback that walks the pages when they are gone. So 60-100 MB/s looks like the sparse path dominating, not a RADV limit — worth checking whether the page-fault/watch path is being taken at all in your runs before attributing it to the driver.On the in-game run of #20: I can't promise one from here. It needs the branch built and a run slot; if we get it, the numbers will be posted on #20 itself.
@deadkid14 on GitHub · 2026-11-25 01:10 UTC · original
Status on this Linux setup after
a803c87(texture re-check), merged with the DXC fallback above. One run, stable (no Xid), ~2 fps after shader translation; the story reaches "Go with the prison guard".The characters' skin still draws as flat, skin-coloured rectangular blocks. Lit skin now shows a smooth tone, but untextured. In this run only three programs fail to translate, and the character one is:
6b6db9f1a526daeb:GFX10 code at 0x49dc: a descriptor read only as data is not supported(dropped about 2 draws/frame from when the player character appears)5ad3a82b1c3cc63a, which #1528 listed as skipped for a driver crash, builds host pipelines here without trouble. Upstream has two open PRs for the same class of refusal, #1597 (descriptor words joined with data, stacked on #1402) and #1847 (image dword 0 as a heap-slot proxy). #1847's own commit conflicts with the fork'semit/lower.rs, so I haven't tried it.AI-assisted: Claude Code ran the builds and tests on my machine, read the logs and wrote this comment; posted at my request.
@deadkid14 on GitHub · 2026-11-25 06:46 UTC · original
Follow-up on the character blocks, after
c96b4f2on the same Linux setup.I applied undeadhuman37's two commits from trexies/victory-fork
VIwork(c62ce6f"a descriptor only read as data of eight dwords is a measured image" and5b18c7e"take a measured image only for programs refused otherwise"). They conflict with the fork'sdescriptor_data, so I adapted them by hand: thelet Some((at, first)) = use_at elsebecame anif let … elsethat returns(first, src, props, image, uav, used)from both branches. The fallback runs only on the second pass, behindwith_measured_descriptors.victory-shadertests: 213 pass, 1 fails (stub_pipeline_is_created, the known Wine digest difference).Result in the world:
pixel 6b6db9f1a526daebnow translates, and its pipeline is made (host mesh pipeline shaders=[mesh 4f23fd8d99482703, pixel 6b6db9f1a526daeb]). No "read only as data" refusal is left in the run.The only work still dropped in the world in this run is five compute programs, 1 dispatch/frame each:
f133e35efed2a48a, not translated: "a lane mask exchanged where not every lane runs is not supported"02384a60fda6f2d0,2cc4c197ee29e291,2da4beb386509b77,369cbe906ea72764: host pipeline refused,Invalid parameter(on this NVIDIA card, likely a wave size of 64 against the host's 32)The blocks sit on a regular grid of equal rectangles, which suggests a per-tile compute pass. If one of these five is the skin or hair resolve, it would explain them.
AI-assisted: Claude Code ran the builds and tests on my machine, read the logs and wrote this comment; posted at my request.
@deadkid14 on GitHub · 2026-11-25 08:09 UTC · original
Linux follow-up on
a26859f(GE-Proton11-14, RTX 5070 Ti, with our two Linux patches on top: the DXC fallback from #20 and the watchdog switch from upstream #454).a26859fwith default switches: stable, no device loss, about 2 fps at 5,000 to 7,000 draws a frame. The skin pixel shader6b6db9f1a526daebnow translates with yourunused_descriptor_kindchange, so we dropped our local port of undeadhuman37's patch. The skin-coloured blocks on characters are unchanged.Still dropped, once a frame each:
f133e35efed2a48a: does not translate ("a lane mask exchanged where not every lane runs is not supported")02384a60fda6f2d0,2cc4c197ee29e291,2da4beb386509b77,369cbe906ea72764: host pipeline refused,Invalid parameter. (0x80070057)Same build with
VICTORY_WAVE_WIDE=1(shader loop limit 32, as our launcher sets it): no Xid over a 15-minute run, and the same frame rate (1.95 fps average once settled).2cc4c197ee29e291and369cbe906ea72764now build.02384a60fda6f2d0and2da4beb386509b77are still refused with the same error. The blocks look the same, so if they come from a dropped program, it isf133e35efed2a48a,02384a60fda6f2d0or2da4beb386509b77.AI-assisted: Claude Code ran the builds and tests on my machine, read the logs and wrote this comment; posted at my request.
@ErRusso on GitHub · 2026-11-25 11:15 UTC · original
Thanks — the corrected matrix settles the pinning question: there is no vkd3d release to pin. The discriminator is the built-in vkd3d-shader, not the Wine/Proton version number, so the practical statement is the one you wrote: a native
d3dcompiler_47(or the DXC fallback) is required, and a Proton version cannot be compared with a Wine version.#20's README already names Wine 11.22 and Proton Experimental's builtin as the rejecting compilers and documents the fallback; I have rebased #20 onto current
mainand fixed the test-onlycompilecallers. Nothing in the README needs to change for the corrected account.On the probe: not in the tree for now. It needs Wine plus a native Microsoft DLL, so it cannot run in CI, and with #20 the compiler version no longer changes the result. Attaching it to this issue is fine if someone wants it rerun on a specific build.
@ThomasHFWright on GitHub · 2026-11-25 11:17 UTC · original
RTX 5090 / CachyOS reproduction of the
a26859frecipe: both the default and WAVE_WIDE=1 attempts hit Xid 13 / Graphics SM Warp Exception / MMU Fault at world entry. No visible world geometry confirmed; the second attempt reached the prologue title card.Setup: Ryzen 9800X3D, RTX 5090, ~30 GiB RAM, CachyOS 7.3.6, NVIDIA 620.73.04; GE-Proton11-14 Wine directly, its bundled vkd3d-proton and DXVK dxgi. Diagnostics build of
a26859fplus #20's three production-code commits and upstream Marvisak/VIctory#454's two commits. DXC 1.9.2609 fallback, VICTORY_SHADER_LOOP_LIMIT=32, VICTORY_NO_WATCHDOG=1, VK_NV_raw_access_chains disabled. Other rendering switches default. Separate prefix and initially empty caches, offline runs, own read-only title input.An initial account-picker failure was traced to an incompletely initialized Wine prefix (no saved registry, missing MMDeviceEnumerator registration). After wineboot -u and waiting for wineserver to exit, the intro/audio/loading worked. That setup failure is excluded from the two comparisons below.
Build and native asset-policy checks passed. Shader/GPU/loader unit suites through the same Wine/vkd3d stack: 383 passed, 4 failed, 6 ignored. Failures: stub_pipeline_is_created (digest acceptance), a_mesh_pipeline_loads_from_the_library, depth_bounds_pipeline_loads_and_filters_draws, a_rejected_blob_gives_an_empty_library. Five test call sites needed the string-argument adaptation for #20; production code unchanged. Integration fixture executables were built but not run.
This does not invalidate the 5070 Ti result; it records a different outcome on the 5090. No game assets, captures, shader binaries or raw logs attached.
AI-assisted: Codex built and ran these checks locally and prepared this aggregate report under the user's instruction to post test results.
@mehmetarslanca on GitHub · 2026-11-25 13:13 UTC · original
Linux/NVIDIA integration report — RTX 3060, 16 GB RAM
Thanks for the work on Wine/Proton support. I finally obtained visible in-world rendering on a relatively small Linux machine after several earlier black-screen runs.
Environment: CachyOS, Ryzen 5 5500 (6C/12T), RTX 3060 12 GB, 16 GB physical RAM, Proton / VKD3D-Proton 3.2, direct XWayland.
Local integration provenance:
d318b079f857f28be053482d97ac92a7339bc9f6(not published). Based onvongikkingen/victory-gikkingen@c0487ce, withfxceless/victory-fork@a253706integrated. Preserved #257 and #259; integrated/reconciled #20, #777, #783, #786 and selected changes from #770 (#510, #644, #715, #764, #765, #795, #812). The existing staging pool was retained rather than duplicating #781. The integration agent reported #747 functionality already present. This is a local integration of community contributions, not a claim of original fixes.Observed results:
One unresolved Linux-specific observation: despite the runtime DXC fallback being integrated, the integration report records zero card-side buffer copies in this run. This may be worth investigating separately; I have not established why the path was inactive.
Performance is still poor (median logged frame time 3,786 ms, peak reported 1.2 FPS), so this is a rendering milestone, not playable-speed acceptance. Severe paging is documented in #109 and CPU/copy timing in #612.
AI-assisted integration, testing and reporting. The observations are from my machine; I rechecked the local logs and kernel OOM record. No game assets or screenshots attached.
@ErRusso on GitHub · 2026-11-25 13:29 UTC · original
Linux/Proton + RTX 4060 8 GB: the Lucia opening scene runs; the picture is still black
The screenshot is the game window at 370 s into a 420 s run: the title bar reads
Americas | VIctory 1 fps 737.2 ms/frame 2200 draws/frame, and the subtitles readLu, you staring at that window again?/Mmm-hmm.— the opening Lucia scene. The frame is black apart from the subtitles: draws are submitted (2,200–5,012 a frame) but the scene still produces no visible geometry or lighting.What ran
feat/linux-nvidia-8gb-integrationon my fork, rebased onto0b0074e; consolidated PR: https://github.com/ErRusso/victory-gta6/pull/1experimental-11.0-20261112+ vkd3d-proton,WINEDLLOVERRIDES=d3d12=n;d3d12core=n;dxgi=n--console series-s), 1 GiB card buffers, 82% texture room,VICTORY_TEXTURE_DROP_MIPS=1, 250 ms bake cap, physical pages file-backed, DXC/validator from the installed Social Club DLLsnvidia_icd.json, VKD3D/DXVK device filters, PRIME offload)Run
E_INVALIDARGd3dcompiler_47accepted everything. With Wine's builtin forced (WINEDLLOVERRIDES=d3dcompiler_47=b) andVICTORY_DXCset,dxc::tests::a_shader_the_system_compiler_refuses_is_compiled_by_dxcandindirect::tests::argument_clamp_buildspassReproduce
scripts/test-linux-nvidia.shin the branch defaults to 420 s and, in a diagnostics build, presses Enter at 45/60/75/100/130 s to start the story. The same script sets the 8 GB/Series S switches and the NVIDIA-only Vulkan selection.@slauko on GitHub · 2026-11-25 14:00 UTC · original
Linux/Proton on an RTX 3080 Ti (Proton Experimental, vkd3d-proton master): what it took, in the order it failed — and where it stops. Numbers and log lines only, no game data.
Setup: Arch, RTX 3080 Ti 12 GB, driver 595.112.07, 31 GB RAM, 16 threads. Proton Experimental
experimental-11.0-20261112(Wine 11.0), itsfiles/bin/winerun directly on a prefix made byproton run cmd /c ver; vkd3d-protonmaster@ec20719(the "Artifacts (Package)" workflow) put into the prefix; DXVKdxgi. Line: this fork's main9376fd6with uiliannn/VItoriaBr's commits on top (2b3c339e) and the picks listed at the end. Built with cargo-xwin forx86_64-pc-windows-msvc, release.The failures, each with the line that names it
no host D3D12 device … (0x80070057): Wine's own D3D12. The prefix holds vkd3d-proton and DXVK as files; they are chosen per launch withWINEDLLOVERRIDES=d3d12=n;d3d12core=n;dxgi=n. (proton runoutside Steam starts everything throughsteam.exeand exits 0.)WAYLAND_DISPLAYset and no X display, Wine takes its Wayland driver, which is the user's real desktop. And a tool run (victory warm) with no display at all gets no Vulkan surface extension:DxvkInstance::createInstance: Failed to create Vulkan instance,Failed to create DXGI factory, no device.warmthen files its entries under a key made without the device's facts (wave size, view limit), and a run never finds them. Tools need the display too.BTN_GAMEPADon an HID interface,/dev/input/js0). The runtime offers its keyboard stand-in only while XInput has no pad at all. The log tells them apart:input device device=0 connected=trueis the phantom pad,device=4the stand-in.SDL_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT=0000/0000keeps every pad from Wine's side, and the stand-in is back.ec20719crashes the driver at the first world compute pipelines (#210). Proton Experimental of 2026-11-12 bundles2576c0b4a, 39 commits behind.E5005: Method 'InterlockedMax' is not defined on type 'RWByteAddressBuffer', thenno argument clamp: indirect execution droppedandno host copies in the card's memory(as in the report above): #20's DXC fallback,VICTORY_DXCwith Microsoft's DXC v1.9.2609.no host pipeline library: pipelines are not kept: the empty library is asked for with a dangling pointer (VIctory#1722, #885). Nowhost pipeline library loaded … mapped=trueandsaved … made=1547.0xc0000005attitle+0x2215c35, a write to 0; exit 5; 45 s). The same binary with the library's folder moved away: 30 fps on the title screen.VICTORY_EARLY_PIPELINES=0(#845) has pipelines requested on first use, which loads them from the library all the same. What blocks the thread is not known.The intro then runs at 1.3–2.5 fps. For Proton Experimental: its Wine is
ValveSoftware/wine, branchexperimental_11.0, at5b557605b4e5(the tip of 2026-11-11, the last commit before the build):autogen.sh,configure --enable-win64,make server/wineserver. The server is started for the prefix, becauseWINESERVERis ignored (UwUCammie's note in #184). wineserver then sits at 2.8 % of a core.9.
VKD3D_SHADER_CACHE_PATHis a folder. Given the path of a file, vkd3d-proton logsFailed to map read-only cacheand compiles every pipeline again on every run: 88 made in the six minutes of one run here, 833 waited for.Where it stops
Every run, at 6:00–6:07 of game time in the intro (
FBK_STRY000_INTRO, statePrestream):0x80000003attitle+0x5149aec,INSTANCE_LIST 45000/45000— the stop of VIctory#698 and #378. Skipping the four programs of the lead in VIctory#698 did not prevent it here (the data is in a comment there).Switches
VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024 VICTORY_TEXTURE_NO_WAIT=1 VICTORY_PAGE_WRITES=1 VICTORY_SHADER_LOOP_LIMIT=32 VICTORY_EARLY_PIPELINES=0, andVKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains.Picks that matter under Wine, on this line
#20, VIctory#1722 with #259, #845, #823 (xmem maps runs of pages as one view), #256, #91; 16 MiB stacks on the pipeline workers and as the image's reserve (VIctory#1528).
@ArturoWolff on GitHub · 2026-11-25 14:05 UTC · original
On our desktop RTX 4060 (8 GiB VRAM), 16 GB system RAM, GE-Proton11-14 / vkd3d-proton, both builds showed the intro movie, but neither showed recognizable 3D world geometry to the operator. This is not an in-world FPS measurement. We compared a victory-fork #20 merge build (
0e507b4) and a local ztrx diagnostics build based on90b529f, not the current tips. Series X profile;VICTORY_TEXTURE_GUARD=0andVICTORY_TEXTURE_NO_WAIT=1set inside the sandbox.Intro playback: In one saved replay per build we counted changes in a sampled screen crop over matched six-second windows. In the first window: victory-fork 173 changes (longest hold 183 ms), ztrx 175 (151 ms). In the next window: 180 changes each. Both produced nonzero samples on the isolated game-audio stream. These are movie-picture changes, not GPU frame times, and do not establish a faster build or uninterrupted audio.
Separate story-load attempts, ztrx only. Same executable (SHA-256
111f84661b2f9bb8213bfb357f59356f81aa514161308e088234b1a0111538e4). Our launcher sent SIGTERM when Linux hostMemAvailablecrossed its floor:Shader translation and host pipeline creation were still logged near both stops. Neither stop was a kernel OOM kill. More time and more swap did not yield visible gameplay here. That identifies the stop condition, not the cause of the black picture; we don't recommend lowering the guard on this evidence.
Earlier victory-fork intro tests and launcher details: guard-off stopped visible backward jumps on the fork; adding no-wait improved early pacing there. Binding only the real Xbox evdev node let physical A advance profile selection; correcting the nested display size and removing a forced Pulse latency addressed separate launcher issues. These are not engine fixes or a one-switch-at-a-time reproduction on ztrx.
Related upstream checks from this machine (separate tests, not explanations for the black world): rejected pipeline-library blob fallback confirmed; Wine event subscription unavailable, so watcher silence cannot prove driver stability; ten synthetic shader-classification cases; potential redundant 4 MiB shadow lookup in a CPU fixture, not measured gameplay savings.
Same-machine report on ztrx #24. AI-assisted summary of existing runs; no game assets attached.
@slauko on GitHub · 2026-11-25 14:54 UTC · original
Gameplay under Wine, on the line and the switches of the checklist above (
uiliannn/VItoriaBr 2b3c339ewith the picks listed there, RTX 3080 Ti, Proton Experimental, vkd3d-protonmaster@ec20719):title+0x5149aec,INSTANCE_LIST 45000/45000) is passed withVICTORY_STEP_OVER=5149aec: the loader's vectored handler continues a breakpoint at a named offset of the title's image. Details in Marvisak/VIctory#698.For the sync with fxceless
0b0074e: under Wine the new driver watch cannot subscribe —no subscription to the system's event log: the graphics driver's errors are not seen as they happen, here withos error 203— so its messages are not to be expected there.@ArturoWolff on GitHub · 2026-11-25 17:00 UTC · original
Follow-up on the desktop RTX 4060 (8 GB VRAM, 16 GB system RAM) under Proton: both builds reached the account picker and received the same input sequence. On victory-fork
0b0074e, the furthest thing we captured was loading art. On ztrx90b529f, we captured prologue dialogue, opening credits, and a small visible section of the 3D backdrop. We did not verify player movement or camera control on either build.Our launcher stopped both runs when available host RAM fell below 512 MiB; neither recorded a host OOM kill. These are the furthest frames we observed, not proof that victory-fork can’t progress or that a particular ztrx change explains the difference. AI-assisted summary of local test logs and captures.
@slauko on GitHub · 2026-11-25 17:08 UTC · original
And what comes after the first save: under Wine here, the runs after
world07do not reach the trap at+0x5149aecany more.world07wrote a save under seven minutes in (right behind the trap); every run since starts from it — no intro, a black load of five and a half minutes with the prompt on screen, the cell at 8:10, and 24 minutes without the trap (the step counter at 0, in four runs).So
VICTORY_STEP_OVERis needed by the first start only, and runs that come from a save are not to be compared with runs from a fresh profile. More in Marvisak/VIctory#698.For the merge with fxceless
0b0074e/ uiliannn1d84afd8: with the save moved aside the merged build plays the intro and reaches the trap as the build before it did (draws 252 to 4,055 a frame, the artwork's flashes; the trap stepped over at 366 s).@deadkid14 on GitHub · 2026-11-25 18:47 UTC · original
Linux tip from
d510ee4: setVICTORY_PIPELINE_WAIT_MS=24. Under Wine, the default 500 ms budget was the main thing holding the frame rate down here.Setup: RTX 5070 Ti, driver 620.73.04, Ryzen 7 9800X3D, GE-Proton11-14,
d510ee4plus our two Linux patches (DXC fallback from #20, watchdog switch from upstream #454).What the frame log showed with the default wait: almost every long frame said
pipelines: 0 made, 0 loaded, 500.1 ms waited, with the card idle for about 95 % of the frame. A few pipelines stay "being made" for the whole run (dropped ~5/frame without a host pipeline: being made). Each long frame waits the full budget for them, and the draws are dropped anyway.Same scene (the first rooms), same build:
INDIRECT_WINDOW,INDIRECT_GATHER,CARD_REHASH_RUNS,JOIN_PARTS,BACK_OWN_VIEW= 1VICTORY_PIPELINE_WAIT_MS=24No Xid and no device loss in any of the three runs, including with draw windows on. The shader cache does carry over between runs. The slow first minutes are host pipeline creation, not translation.
Also on Linux: the intro video no longer flickers on
d510ee4. It did on every earlier fork build here.AI-assisted: Claude Code ran the builds and tests on my machine, read the logs and wrote this comment; posted at my request.
@OctoAlgo on GitHub · 2026-11-25 20:39 UTC · original
@ThomasHFWright thanks for confirming the code-table fix (#1006) on your 5090. Our setup is almost the same as yours (RTX 5090 + RTX 5070 Ti, CachyOS, NVIDIA 620.73.04, Proton 11 / GE-Proton 11-14, fork main + Linux bits), so here is what made the biggest difference for us since then, in case some of it is new to you or other Linux users here. All measured on the 5090, diagnostics builds unless noted; your mileage may vary.
VICTORY_PIPELINE_WAIT_MS=0: about 2× frame rate (1.87 → 3.54 fps in the first room, same picture). Four compute pipelines never finished on our machine, so every frame waited the full 500 ms budget for them. (Those four are fixed by #938, where vkd3d's conversion looped forever on loops with several back edges, but WAIT 0 still helps against slow first builds.)VICTORY_SHADER_LOOP_LIMIT=32cuts the strand-simulation compute loops off. #683 addsVICTORY_SHADER_LOOP_LIMIT_CS; with=128the ponytail is calm. Release builds have no limit. The same limit also kept the sun's cascade-shadow computes from finishing.02384a60fda6f2d0,2cc4c197ee29e291,2da4beb386509b77,369cbe906ea72764) get made; hair crown without blocky squares. Merging them onto #995 needed conflict resolution in 12 files.VICTORY_VIEW_GUARD=0,VICTORY_COMMIT_FLOOR_MB=6144) made the cell's left wall and the window's wire mesh disappear for us, so leave those two out.VICTORY_AMBIENT=0.3,VICTORY_AMBIENT_TINT=1,0.7,0.5,VICTORY_AMBIENT_SHADE=1.5,0.8,0.1,0.45came closest to reference footage of the cell (warm, left wall visible); 0.6 washed it out.And thanks for your guarded-copy measurement in LinVictory: the Proton cost of
NtWriteVirtualMemoryis exactly what we're looking at next.(Investigated with an AI coding assistant; all numbers are from runs on our PC.)
@gmankab on GitHub · 2026-11-26 11:10 UTC · original · edited 2026-11-26 11:31 UTC
I reproduced a setup-time title breakpoint on Fedora 45 under Wine with an RX 6800 and a Xeon E5-2670 v3. The same idle harness hit it after 23 seconds on our published integration and 24 seconds on unmodified Fxceless main.
On stock main it also reproduced with Relay disabled, frame captures disabled, intro skipping disabled, and the existing prologue checkpoint in both console profiles. A DRI-hidden run hit the same breakpoint after 23 seconds. That run found llvmpipe and failed to create a D3D12 host device, so it executed no host draws or dispatches.
The Windows exception context and the instruction at the stop show a stream writer on the title's main thread requesting 1,728 bytes with 80 remaining. The source of that payload is still unknown. The test matrix records the individual runs.
Follow-up with a PulseAudio control. A read-only probe on current main measured a 98,304-byte stream at position 98,224. Its tail already contained 41 consecutive byte-identical copies of the rejected 1,728-byte write. Series S and Series X reproduced in 24 and 26 seconds. The earlier harness denied the PulseAudio socket. With that socket available, Wine opened a playback stream and two DRI-hidden Series S runs reached their 60 and 70 second caps without this breakpoint. The 60-second run changed only the socket permission from the failing Series S configuration.
Tested-on: RX 6800, Fedora Linux 45, Wine and RADV
Assisted-by: gpt-6.2 sol xhigh