Linux on AMD: got in-game on a 9070 XT, here's what each crash was #752
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#752
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?
@AwkGrep256 on GitHub · 2026-11-24 09:31 UTC · original
got into gameplay on linux today (hud, minimap, footsteps). world is still mostly black, same as on windows. took a few crashes to get there so writing down what fixed each one, might save someone some time.
setup: rx 9070 xt, cachyos, kernel 7.3.5, mesa 26.3.1, wine 11.22, diagnostics build cross-compiled with xwin, series x, 1.0.2.1
1. you need vkd3d-proton 3.2
the 3.1.0 that ships with proton-cachyos crashes the moment the world starts loading:
it's the old dxil-spirv structurizer (#144). on nvidia the driver crashes on it, on amd mesa can't parse the spirv, spirv_to_nir returns null and radv dereferences it (radv_shader.c:547). i grabbed d3d12.dll and d3d12core.dll from GE-Proton11-14 and that crash went away.
2. #190 #454 #493 #579 +
VICTORY_NO_WATCHDOG=1without these i get the gpuvm fault from #714 about 50s into the world. with them it stayed in-game for about 14 minutes, then hit a different fault (address 0x0, device removed).
other stuff
WINEDLLOVERRIDES="d3d12,d3d12core,dxgi=n", dxgi.dll from dxvkVICTORY_KEYS=20:Enter,24:Enter,...gets through the menus if you don't have a pad set uphappy to test prs on this setup if anyone wants amd/linux results.
@cdomergue on GitHub · 2026-11-24 10:01 UTC · original
I heard footsteps after the intro on native Windows D3D12 with an RTX 4070 SUPER, 32 GB of RAM and the Series S profile (game 1.0.2.1). The screen stayed black at that point. I couldn't see the character or the world.
I combined #190, #454, #493 and #579 on
58fed37. My first run had audio, but all 21 captured frames were black. After adding the PresentX compositor from #211 and enabling its Windows shader compiler dependency, I could see the Rockstar logo, loading artwork and French subtitles. I used the same save for both runs.The second run lasted 7 min 18 s from launch before D3D12 reported
DXGI_ERROR_DEVICE_HUNG(0x887A0006). The log recorded 2,945 distinct shader hashes at first bind and 598 translation failures by unique hash, including 481 compute shaders. The last timing sample was 0.5 fps, with about 1.94 s on the GPU out of 2.20 s per frame.I've pushed the exact branch I tested (
818bd3c). To try it from PowerShell with your own game files:I left
VICTORY_SKIP_WAVE64unset and used manual input.@AwkGrep256 on GitHub · 2026-11-24 10:46 UTC · original
thanks, tried your branch on linux.
#211's compositor compiles its shaders at startup with
D3DCompile, and that fails with wine's builtin d3dcompiler (E_FAIL, no error text). after that the next host list fails to reset and the game exits, so it doesn't fall back to the old present path. installing microsoft's d3dcompiler_47 (winetricks d3dcompiler_47) gets around it. precompiled bytecode like #190 did for the clamp would avoid needing it at all.with that, series s gets past the black screen on linux too, loads the world, and ran about 3.5 min before a gpu hang (ring gfx timeout, device removed). i also merged my fsr branch (#730) on top, and the game's
ffxDispatchnow goes through amd's pc upscaler in the world.@AwkGrep256 on GitHub · 2026-11-24 11:05 UTC · original
Yes, #454 is only in its PR so far. The easiest way to test it is cdomergue's branch above. It has #190, #454, #493 and #579, plus #211, merged on top of main:
https://github.com/cdomergue/VIctory/tree/test/issue-752-series-s-menu
On Wine, #211 needs Microsoft's d3dcompiler_47 (
winetricks d3dcompiler_47). Without it, the new present code fails and the game closes right away. With it andVICTORY_NO_WATCHDOG=1, I got about 14 minutes in the world on a 9070 XT before a GPU fault. It would be good to know if the 9060 XT does the same.@MichaelSmithAI on GitHub · 2026-11-24 11:11 UTC · original
@AwkGrep256, there is a Wine-builtin comparison for the #211 setup failure you reported. On our RTX 4090, Wine’s builtin compiler produced both compositor shaders, then root-signature creation from the vertex shader blob returned
E_FAIL. A follow-up to #211 serializes that root signature explicitly and finishes compositor setup before resetting the host command list. The original single-plane path remains usable if setup fails. With that change, a two-plane test produced the same blended pixels with Wine’s builtin and Microsoft’s compiler. PresentX follow-up, head 5bb011dIf you compare it on your existing stack with Wine’s builtin compiler, the result we’re missing is whether the loading artwork appears and the next list resets successfully. That would test the presentation change in-game. The later world GPU fault is a separate question.
@DaviTostes on GitHub · 2026-11-24 10:58 UTC · original · edited 2026-11-24 11:18 UTC
Reproduced the vkd3d 3.1 → 3.2 part on a different RDNA4 card, with the full 1.0.2.1 dump:
dxgi,WINEDLLOVERRIDES="d3d12,d3d12core,dxgi=n"vkd3d-proton/x86_64-windows)Build details (per the report template): VIctory
mainffe310e, release build (cargo xwin build --release -p victory, MSVC).victory runprintsbuild unknown (b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93), package 1.0.2.1. Command:wine victory.exe run <dump>\game.exe --executewithVICTORY_KEYS=…and the overrides above.Not tested: Windows/NVIDIA, sessions longer than a few minutes, and the #454/#493/#579 stack.
The before/after above are actual game runs with that dump, not synthetic shaders.
Before (3.1): menus at 30 fps, then the first mesh pipeline:
process exits 3;
crashes.loghas nothing.After (3.2): same head, same dump, same command:
The mesh pipeline is created and the title keeps rendering (11–17 fps in the scene, 30 fps menus, intro 11–15 fps). No
vkCreateGraphicsPipelinescrash so far in the same spot. The run is still going; the next thing to look for is the #714-style page fault.One gap:
VICTORY_NO_WATCHDOGis not inmain(ffe310e), so I could not apply your #454 part of the recipe yet. If #454 + #493 are the next step for staying in-world, I can test that stack on this card and dump.@AwkGrep256 on GitHub · 2026-11-24 11:29 UTC · original
Tried
5bb011don Linux with Wine's builtin compiler (d3dcompiler_47=b, Microsoft's DLL off). RX 9070 XT, Wine 11.22, vkd3d-proton 3.2.0, Series S.No compositor error this time and the list resets fine. Loading artwork shows up and the world starts loading. I stopped it at my memory limit after about 2.5 min so I can't say anything about the later GPU fault, but the winetricks step isn't needed anymore with this.
@crashbashash on GitHub · 2026-11-24 13:13 UTC · original
Same crash on RDNA2, with the exact dxil-spirv versions, in case it helps people pick a Proton build.
Setup: CachyOS, RX 6800 XT (RADV, Mesa 26.2.6),
mainatffe310e, diagnostics build via cargo-xwin, 1.0.2.1.With GE-Proton11-6 (vkd3d-proton 3.1.0, build
c9c6bf2e), the game exits with code 3 on the first load:spirv-val:block … exits the loop headed by …, but not via a structured exit. It's a waterfall loop (fromffe310e) whoseLOOP_LIMITexit (discard + return) leaves from the latch.VKD3D_SHADER_DUMP_PATH) through the dxil-spirv CLI with--bindless --enable-shader-demote:1b949ecc9c6bf2e)8b48f0e(2026-10-26)34f0ff84(2026-11-20)cae8353ed)7c04863(2026-11-24)The structurizer commits from 2026-11-16/17 (
4a73ab4f,a781dce9) look like the fix; I didn't bisect.So any Proton whose vkd3d-proton includes dxil-spirv from 2026-11-20 or later works without swapping DLLs. GE-Proton11-14 is one: with it (plus the
d3dcompiler_47workaround from #170), the game gets past the load into the first mission's cutscene: subtitles and audio, scene dark as on Windows.I also tried #844's branch (
b7cc788) on vkd3d-proton 3.1.0. Its single-retchange gets past the pixel shader that crashedmain, but the same load then crashes invkCreateComputePipelines(Exception 0xc0000005 in Unix call, exit code 3) on a compute pipeline. So #844 alone isn't enough on older Proton builds; the newer dxil-spirv is still needed.No game data used. AI-assisted (Claude Code).
@jtrudeau1530 on GitHub · 2026-11-24 16:00 UTC · original
Additional AMD/Linux confirmation on clean
ffe310eb20(diag): RX 7900 XT, RADV 26.2.3, Wine 11.18, Series X.With vkd3d-proton 3.1.0 / 85fb5de50663096, startup UI worked but the first mesh graphics pipeline ended the process with the same vkCreateGraphicsPipelines 0xc0000005 Unix-call exception (exit 3). Changing only d3d12.dll + d3d12core.dll to installed Proton Experimental's 3.2.0 / cae8353ed7959c4 got past that failure and into the world-stage workload. Native Microsoft d3dcompiler_47 was kept in both runs; the indirect-clamp creation test passes with it, whereas Wine's built-in compiler fails on RWByteAddressBuffer.Load.
Readable startup/settings UI ran at about 30 fps. The later scene remained dark with audio, at 0.2–0.4 fps; this is not a visible-world or playability claim. One measured interval was 2233 ms/frame: 2077 ms preparing (1988 ms copies), 32 ms GPU, 94 ms copy-back. It also dropped 1511 draws without a host pipeline and 2035 indirect; 415 translation refusals over the run. User closed the window normally after this observation, so no long-run stability result.
Next comparison is the race-safe mapped-region fallback discussed in #783, against this unchanged source/backend baseline. No game-derived files attached.
@Marvisak on GitHub · 2026-11-25 03:50 UTC · original · edited 2026-11-26 00:51 UTC
Automated triage for the maintainers.
Thanks, this is a useful Linux/AMD write-up (RX 9070 XT, CachyOS, Mesa 26.3.1, Wine 11.22). The failures map to existing reports:
vkCreateGraphicsPipelines0xc0000005 with vkd3d-proton 3.1: the dxil-spirv structurizer issue discussed in #144. The comments here show that dxil-spirv from 2026-11-20 or later (vkd3d-proton 3.2, GE-Proton11-14) fixes it on RDNA2/3/4, with no change needed in VIctory. Confirmed again on a 9070 XT with GE-Proton11-12 vs 11-14.mainasd71c388(bounded root views).mainas0736f8b(multiple PresentX planes).New, for Wine testers on
main(63bcca4):crates/victory-gpu/src/indirect.rsis still compiled at run time withD3DCompile. Wine's builtind3dcompiler_47rejects it (LoadonRWByteAddressBuffer), and then indirect execution is dropped (about 3,800 draws a frame), which leaves the world black. Microsoft'sd3dcompiler_47works around it. Open PR #1279 (a clamp Wine's compiler builds) would remove the need; it needs a rebase.13f91ca+ #1997 + #454 then end 3-8 min into the world on the pool overflow tracked in #698.@AwkGrep256, for the later fault (address
0x0, device removed after about 14 minutes), please add the VIctory commit or exact PR stack and the fullhost GPU device removed ...line. A rerun on currentmainwith #454 (open) would show whether that fault is still there.Generated by Claude Code
@Anzymanz on GitHub · 2026-11-25 22:23 UTC · original
From a tester working with Claude (AI-assisted). Measured on my own machine; no game data beyond hashes, offsets and counts.
Another RX 9070 XT data point (CachyOS, kernel 7.3, Mesa 26.3.1 RADV, Series X 1.0.2.1, diag builds cross-compiled with cargo-xwin, Proton runs via
proton runinprefix), with three things that may save the next Linux tester some time:1. vkd3d-proton 3.1 → 3.2 confirmed again. GE-Proton11-12 (3.1): exit 3 in
vkCreateGraphicsPipelines1.5–3 min into the first load, every run, on Mesa 26.2.6 and 26.3.1 alike (so not a Mesa version issue). GE-Proton11-14 (3.2): gone.2. Under Wine, the world is black unless the indirect-argument clamp builds. With Wine's builtin
d3dcompiler_47on currentmain, the log shows:and about 3,800 indirect draws a frame are dropped ("not bounded (no clamp …)"), the largest drop reason by far; the world frame is a flat dark colour while the intro and credits render. With Microsoft's
d3dcompiler_47(winetricks d3dcompiler_47, plusd3dcompiler_47=ninWINEDLLOVERRIDESwhen usingruninprefix) the clamp builds, draws go from ~600 to 3,500–4,000 a frame, and the opening cutscene and credits are visible. #1279 (a clamp Wine's compiler builds) would remove the need for the native DLL; it conflicts withmainat the moment.3. The wineserver is most of the frame on stock Proton. A second cell of mine measured the view-tree wineserver patch (CachyOS/wine-cachyos#50, Wine bug 60868) built into GE-Proton11-14's own wineserver, same build and prefix, scripted input into the world:
With the patch, wineserver drops to ~0.07 of a core and the remaining CPU cost is copies (~250–310 ms) and copy-back (~210–250 ms) per world frame; the GPU takes ~100–250 ms.
Stack for 2 and 3:
main13f91ca+ #1997 (PresentX compositor) + #454 (VICTORY_NO_WATCHDOG=1). The run then ends ~3–8 min into the world on the pool overflow from #698 (INSTANCE_LIST 45000/45000, faults at+0x20337faor theint3at+0x5149aec); I'm trying #2644 next and will report there.