Fedora 45 Linux with wine (input) #131
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/Belobug--VIctory-Belobug-AMD#131
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?
@LGhostWhat on GitHub · 2026-11-25 15:26 UTC · original
Boots and gets to loading screen with Jason and Lucía with music, but later gives attached error.
For compilation I used Wine (Windows to Linux translation layer) so Rust can get to windows-sys.
Been trying to work around it with Gemini but no luck yet. Still, amazingly impressive work.
@orkeilius on GitHub · 2026-11-25 15:30 UTC · original
see #42 but similar issue
@sil-kong on GitHub · 2026-11-25 15:30 UTC · original
That dialog is
winevulkanasserting that the call into the Linux driver forvkCreateComputePipelinescame back with a failure status, which in practice means the driver failed (or crashed) while compiling one of the title's compute pipelines. Under Wine that happens on the Linux side, so the runtime's own guard against a driver compiler crashing (it leaves such a pipeline out and goes on) never gets to see it; the assertion ends the run instead.What runs here on Linux (Arch, RX 7900 XT, Mesa RADV), past the loading screen into the world:
d3d12/d3d12coreand DXVK'sdxgi:WINEDLLOVERRIDES="d3d12,d3d12core,dxgi=n"VICTORY_COPY_MEMORY=1(the intro stays black under Wine without it, see #19/#53)VICTORY_SPARSE=0(sparse copies made the card reset here once the world loaded, see #69)VKD3D_SHADER_CACHE_PATHset to a fixed folder, so pipelines are not compiled again on every runCould you say which GPU and driver (Mesa version, RADV or other), which Wine and which d3d12 (Wine's own vkd3d or vkd3d-proton) you used? If it is Wine's built-in d3d12, switching to vkd3d-proton is the first thing I would try. If it still stops, the hash of the pipeline being made just before the dialog (the last
first bind pipeline/shader translatedlines of the log) would tell which program the driver fails on.@LGhostWhat on GitHub · 2026-11-25 15:46 UTC · original
My GPU is an AMD RX 6700 XT with driver version 26.2.7, Vulkan 1.4.354 and Wine Staging 11.00 with its own vkd3d. I tried to make it work with Proton but couldn't honestly.
Also thank you for your answer I'll try that when I get the chance.
@sil-kong on GitHub · 2026-11-25 16:18 UTC · original
Thanks, that explains it: Wine Staging's own d3d12 is upstream vkd3d, which lacks much of what the runtime asks of D3D12; vkd3d-proton is what it is tested against. Same Mesa here (26.2.7), so the driver itself is fine for getting into the world.
If Proton itself is the problem, you don't need Steam or umu: only a GE-Proton build's Wine and the DLLs it ships. Roughly:
That is what https://github.com/bordersky/victory-linux's
linux/run.shdoes (prefix, DLLs, cache folders, switches), with alinux/build.shthat cross-buildsvictory.exefrom Linux with MinGW, so no Wine is needed for the build either. #42 is another take on the same idea.One more data point for anyone on RADV: with
VICTORY_RAYS=1, creating the BVH builder's compute pipelines crashes Mesa 26.2.7 itself (a segfault inlibvulkan_radeon.sowhile compiling valid SPIR-V), which shows up as this samevkCreateComputePipelinesassertion. WithoutVICTORY_RAYSthose programs are not built, so it should not be what you hit.@KernelSmoker on GitHub · 2026-11-25 17:10 UTC · original
Test environment: Bazzite Linux 45, NVIDIA GeForce RTX 3090 (24 GiB), driver 620.73.04; repository commit
01aadd193d.I ran
cargo test --workspaceon Linux. It does not compile:victory-gpureferences Windows-onlycrate::host/host GPU functions in tests while the module is gated behind#[cfg(windows)]. I then triedcargo test --workspace --target x86_64-pc-windows-msvc --locked; the MSVC linkerlink.exeis unavailable. The GNU target also cannot build becausex86_64-w64-mingw32-dlltoolis unavailable.I have a local game data dump, but this fork currently has no native Linux runtime, so I could not perform a valid gameplay/GPU test on this system. No game files are included here.
@LGhostWhat on GitHub · 2026-11-25 19:21 UTC · original
Yes I had the same issue so I recommend building on Windows if you have dualboot, or you could do what I did; install Rust for Windows on your wine prefix and then use
wine cargo test --workspaceon your terminal. It should work.@KernelSmoker on GitHub · 2026-11-25 19:50 UTC · original
Follow-up from the same Bazzite Linux 45 + NVIDIA RTX 3090 (driver 620.73.04) setup:
We got cross-building and running working cleanly on Linux without a Windows dual-boot by building
x86_64-pc-windows-gnuin a MinGW container (cargo build --target x86_64-pc-windows-gnu) and running under GE-Proton10-34 / GE-Proton11-12 withWINEDLLOVERRIDES="d3d12,d3d12core,dxgi=n",VICTORY_COPY_MEMORY=1,VICTORY_SPARSE=0, andVKD3D_SHADER_CACHE_PATH(matching @sil-kong's notes above).Additional Linux + NVIDIA RTX 3090 data point on
vkCreateComputePipelines/vkCreateGraphicsPipelines:vkd3d-protonactive (both GE-Proton10-34 vkd3d-proton 3.0.0 and GE-Proton11-12'sd3d12.dll/d3d12core.dll+ DXVKdxgi.dllinsystem32), the title boots past the loading screen and reaches presentation frames ~4300–14800 before hitting Wine'swinevulkan/loader_thunks.cassertion (!status && "vkCreateComputePipelines"/"vkCreateGraphicsPipelines").VICTORY_RAYS, PR #138d03b06bdiag build), the last shader translated right before exit was compute shader hash4e296b1885c37b29(size=8532,user_data=1,samplers=1,frame=4326).SIGABRT/ exit code 3) rather than raising a Windows SEHACCESS_VIOLATION,pipeline/library.rs'scompiler_crashedvectored exception handler never runs and cannot record the pipeline incrashed.txt(andVICTORY_SKIP_PIPELINEScurrently only skips draws/dispatches indraw.rs, not PSO creation inpipeline/make.rs).@anoyarou on GitHub · 2026-11-25 23:11 UTC · original
Another working Linux setup for this fork, on Fedora with Valve's Proton Experimental (not GE-Proton) and an RX 9070 XT (RADV). It reaches gameplay and saves. Only what isn't above yet:
VKD3D_CONFIG=ignore_shared_fence,descriptor_heap. Withoutdescriptor_heap, vkd3d-proton caps the view heap at 1,000,000 descriptors (the log sayshost view heap capped; the runtime asks for more). Here that gaveSQC (data)GPU page faults and a ring reset as soon as the world loaded, 2 runs of 2. With it there was no heap warning and no fault in ~25 runs since. It needs ReBAR.d3dcompiler_47.dllbesidevictory.exe, withd3dcompiler_47=n(#183). Wine's own refuses the runtime's indirect-argument clamp (E5005, thenno argument clamp: indirect execution dropped), and most of the world isn't drawn.cargo xwin build --profile diag --target x86_64-pc-windows-msvc -p victory(cargo-xwin, no Windows, no MinGW).cargo xwin test ... --no-runbuilds the test binaries, which run under the same Proton'swine. Under Wine, 10 GPU and shader-compiler tests ofvictory-gpufail; they fail the same way without any change.VICTORY_COPY_MEMORY=1/VICTORY_SPARSE=0do above, and #124 keeps the pipeline library between runs.What got past the walls after that:
+0x50eb826). The copy-back race of Marvisak/VIctory#721 is the likely cause. With the run-only write-back of Marvisak/VIctory#1024 it has not come back in 23 runs. Details are on #1024.+0x63966f(INSTANCE_LISTfull, Marvisak/VIctory#698). Marvisak/VIctory#2644 (VICTORY_STEP_OVER=63966f,5149aec, diagnostics builds) steps over it. The title then reaches gameplay and writes a save. Later starts load the save, skip the intro, and haven't reached that breakpoint since.experimental_11.0source, loading is much faster here and such a scene loads completely. wineserver then uses ~6% of a core while loading, against 61-72% stock.What to expect then: about 2 fps standing still in the first playable area (450-570 ms a frame), with the GPU busy only ~55 ms of it. Around 10-11 GB for the game, so on 32 GB some swap gets used.
AI-assisted (Claude Code)