Linux/Proton support, and two world GPU faults fixed (branch ready) #844
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#844
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?
@Slaktarn700 on GitHub · 2026-11-24 12:09 UTC · original
Pull requests are limited to collaborators, so here is the work as a branch to pull or cherry-pick: Slaktarn700:proton-fixes — 9 commits on current
main(compare). Happy to open it as a PR if I am added as a collaborator.VIctory now runs on Linux under Proton and gets as far as on Windows: boot, first-boot screens, intro video, start screen, saves, loading, and the opening of the first mission (credits over the scene; the scene is still dark, as on Windows). This PR has the fixes that took, plus two world GPU faults that are likely not Proton-specific.
Tested on CachyOS, RX 9070 XT (RADV, Mesa 26.3.1), Proton Experimental
experimental-11.0-20261112, built withcargo-xwin. Not tested on Windows; the Windows paths are meant to be unchanged except for the two fault fixes.World GPU faults (likely also on Windows)
Found with
umrwave dumps at the fault:s[8:11] = {0, 0x00400000, 0x00248000, 0}, loaded from heap slot ~1,061,522. This is probably the "world's low-address page faults" in the comment atnull_view. Before each submission, the heap blocks written since the last one (watch::writes) are now mirrored again.s[10:11] + 0x1f0e000). On the console that address is other title memory; here it's unmapped. Root SRVs are now a one-view raw-buffer table sized to the copy, so out-of-range reads return zeros. Shader bindings don't change.With both, the world runs without a device loss for as long as I tested: 8 minutes, twice. Before, it was lost after 5–90 s.
Wine / vkd3d-proton compatibility
D3DCompile(vkd3d-shader) lacksRWByteAddressBuffermethods and doesn't embed[RootSignature], so every indirect execution was dropped. The clamp now uses structured buffers and builds its root signature in code. A new GPU test checks the clamped values.s_endpgmnow branches to one sharedretblock, like DXC output.WSAConnectByListandGetAddrInfoExAare missing from Wine's ws2_32. They now fail the call instead of aborting.Linux docs
docs/linux-proton.mdandscripts/proton-run.sh(runsvictory.exeand works as cargo's test runner), plus a README pointer. One finding there: GE-Proton 11-11's vkd3d-proton crashes RADV on some translated shaders; Proton Experimental works.Checks
cargo clippy --workspace --all-targets [--all-features] --locked -- -D warningsis clean at every commit (--target x86_64-pc-windows-msvcvia cargo-xwin).cargo test --workspaceunder Proton: all pass except two that start Linux programs from inside Wine (loads_binds_and_calls_proberuns cargo,repository_passes_policyruns git). The loader test passes with its fixture built beforehand.cargo xtask policyis OK. No game data is included.🤖 Generated with Claude Code
@delacor on GitHub · 2026-11-24 12:53 UTC · original
thanks! would be awesome if someone could merge this
@MichaelSmithAI on GitHub · 2026-11-24 12:58 UTC · original
Melissa isolated the heap sweep at
6f732b6on RTX 4090 under Wine/vkd3d-proton 3.2. After a CPU copy of a complete texture descriptor from slot 1 to slot 0, the host still retained the first texture until the sweep; afterward it retained the second. Copying a valid aligned CBV into that same slot gave a different result: the sweep removed the stale texture, the guest record decoded as a CBV, and only an explicit mirror request installed its host buffer. That distinction matters for a shader that selects the slot dynamically.The test calls the sweep helper directly and inspects the resource retained by the host slot. It establishes the descriptor-preparation behavior; shader consumption of the copied CBV remains open. Your two eight-minute title runs also included the bounded root-SRV change. Source-built fixture
Separately, Bruce checked the empty-library change
e5a8c2fon the same backend. On the #89/#806 integration,a_rejected_blob_gives_an_empty_libraryhad previously failed. With that one change the fallback and the library-name test both passed. Warm cache reload and title timing were outside that check.@CaravelaLabs on GitHub · 2026-11-24 14:11 UTC · original
@Slaktarn700 the argument-clamp tests on
b7cc788pass on this Radeon 8060S. Thanks @crashbashash — this is the synthetic clamp, separate from the in-world run.Wine 11.22, its builtin
d3dcompiler_47(that DLL is Wine's, not Microsoft's), vkd3d-proton 3.1, Mesa 25.2.8 RADV, Ubuntu 24.04. No game files. The adapter from the created device was Radeon 8060S Graphics (RADV GFX1151).argument_clamp_builds,arguments_are_clamped_on_the_gpuandarguments_are_clamped_with_heaps_boundpassed. Readback, with descriptor heaps bound and without: draw[16777216, 4, 0], dispatch[65535, 2, 3], mesh[65535, 1, 1]. Those are the clamps the test expects, not the values written in first. Same sandbox on mainffe310e:argument_clamp_buildsfails becauseclamp()is none. That test returns early only when there is no device, so the device was there and the old shader did not come up.cargo test -p victory-gpu --lib -- --skip warpis 52 passed, 0 failed on that head. No new failures. The empty-library pass is the null-blob fix already checked on #347, so this note is about the clamp.AI-assisted verification, run on this machine.
@mkslzk on GitHub · 2026-11-24 14:19 UTC · original
Confirmation from the other GPU vendor: your two fault fixes hold on RADV too.
Stack: CachyOS kernel 7.3.5, RX 7900 XT (RDNA3, RADV), Mesa 26.3.1, Wine 11.22,
vkd3d-proton 3.2.0 from Proton Experimental, DXVK
dxgi.dll, Microsoft'sd3dcompiler_47for theargument clamp. Built with
cargo-xwinfrom yourproton-fixesbranch onffe310e, no localchanges.
Before your branch: the first submission after entering the world died with
GPUVM fault detected at address 0x800440172000,GCVM_L2_PROTECTION_FAULT_STATUS: 0x401030,CLIENT_ID: (TCP) 0x8,PERMISSION_FAULTS: 3,RW: 0, followed byring gfx_0.0.0 timeout,Starting gfx_0.0.0 ring reset,device wedged. That is 178 s in, right after aslow host submission ms=2053 lists=32with 50 mesh pipelines. Textures read through the texturecache, which fits your root-SRV fix: a compute shader reading past the host copy.
With your branch: no device loss in a continuous world run of over 10 minutes,
1675 to 1692 draws per frame. Not a single
GPUVM faultline. Both fixes clearly address what wehit, and the
one returning block per programchange also removed a RADV segfault we had.What is left on our side is not a fault, it is the frame budget:
That matches your note about the write watch exactly: under Wine a page takes about 1 ms to check,
and the frame checks thousands of them. Your journal fix is in the branch, so the remaining cost is
the
XMemMapPhysicalPagespath. We measured 54 MB in 7.35 s there, which is 7 MB/s: per-calloverhead, not bandwidth. #834 has a coalescing patch for it that we are testing next.
Two questions, if you have the time:
with occasional artefacts, and we would like to know whether that is a known-open drawing problem
or something specific to RADV.
docs/linux-proton.mdandscripts/proton-run.sh. If it helps, we can reportwhat differs on RADV against your recipe (the DXVK
dxgi.dlland the Microsoftd3dcompiler_47were the two things we had to add).
@Slaktarn700 on GitHub · 2026-11-24 14:36 UTC · original
Thanks, everyone. These reports helped a lot. I pushed five more commits to
proton-fixes(now at2115124, still onmainffe310e):watch::writesin the world on an RX 9070 XT. AGetWriteWatchcosts about 70 µs per 256 MB in isolation, but about 180 µs per call in the world, because of contention on Wine's virtual-memory lock with the title's write faults.VirtualQuerytakes the same lock. Under Wine, the first call in a submission now covers the whole title allocation, allocations come from a cache, and physical-page views go straight to their guards. Kernel time fell from 34 s to about 8 s over the same 4-minute run. Windows is unchanged.VICTORY_SHOW_TARGET(diagnostics): presents an intermediate render target instead of the final frame.2560x1440-f28-3(Series X) shows the world's G-buffer.victory_shader::emit::debug_pscolours surfaces by their slope, using depth derivatives. It reads nothing of the title's.VICTORY_DEBUG_PS=1, depth-tested geometry uses it. Flat layers keep their own shaders, so the menus still work.VICTORY_PS_FALLBACK=0turns that off.VICTORY_PIPELINE_WAIT_MS: sets the per-frame pipeline wait. The default stays 500. 0 never waits.The full workspace (344 tests) passes under Proton Experimental. The exceptions are the two tests that start
cargo/gitfrom inside Wine. Clippy is clean at every commit.@mkslzk, your two questions:
VICTORY_SHOW_TARGET=2560x1440-f28-3I see the first mission's street (poles, wires, bollards, roofs), and withVICTORY_DEBUG_PS=1as well you can walk it in flat colours. The final image is dark because many of the lighting and post passes don't translate. In my world runs the largest single gap isXboxBvhBuilder.dll's compute programs, "an address in an SGPR that is no root parameter": about 4,500 dropped dispatches per frame. So no BVH gets built.dxgi.dllwith system Wine. Microsoft'sd3dcompiler_47shouldn't be needed any more, because the clamp no longer usesRWByteAddressBuffermethods (thanks @CaravelaLabs for checking that on Wine's built-in compiler). If something else differs on your RADV setup, a note here or a PR againstdocs/linux-proton.mdwould be welcome.@MichaelSmithAI, agreed on the copied CBV. The sweep only clears the stale texture there. Buffer views are made only for draws (
mirror(…, for_draw)), and a slot a shader indexes directly never gets one, so it reads zeros. That's safe, but it isn't the title's data. A proper fix needs those bindless constant buffers refreshed per submission, which VIctory doesn't track yet (theshadow.rsshortcut "buffers read through directly indexed heaps keep what their first use copied"). I've left it open for now.@crashbashash, thanks for the like-for-like comparison. The
int3at+0x5149aecafter a 31 s frame: I haven't seen it, but my runs with the watchdog off ended at GPU faults earlier. I'd guess it's another casualty of the stall, but I haven't confirmed it.Two experiments that didn't work, in case they save someone time:
OpenExistingHeapFromAddresson title allocations; vkd3d-proton imports them as host memory). The import works: a 1.2 GB heap, GPU reads at about 30 GB/s, and the CPU sees GPU writes. But GPU time in the world went from about 0.3 s to 5–15 s per frame, because the passes hammer that memory over PCIe. It would only pay off for lightly-read buffers.AI-assisted (Claude Code).
@crashbashash on GitHub · 2026-11-24 13:37 UTC · original · edited 2026-11-24 15:13 UTC
Tested this branch on RDNA2, in the world, in case AMD 6000-series results help.
Setup: CachyOS (kernel 7.3.4), RX 6800 XT (RADV, Mesa 26.2.6), 31 GB RAM, GE-Proton11-14 (vkd3d-proton
cae8353ed, dxil-spirv34f0ff84), this branch atb7cc788, diagnostics build via cargo-xwin, Series X, 1.0.2.1. Wine's builtind3dcompiler_47(d3dcompiler_47=b), an empty VIctory shader cache,VICTORY_D3D12_DRED=1,VKD3D_CONFIG=breadcrumbs, watchdog not disabled.E5005/no argument clamp. The only indirect drops areprepare failedwhile a pipeline isn't readymainin shortermainruns on the same machine, but the scenes weren't identicalHow the run ended: one frame took 31.3 s (16.0 s preparing, 11.7 s of it copies). About 16 s later, several title worker threads hit an
int3at+0x5149aectogether (exit code 3). That's not the watchdog exit from #454/#714 (+0x23cf683/+0x2215c35): it's an assert in an element accessor that stops when its pool's storage pointer is null. Every thread called it on the same object with the same index. I don't know yet whether the slow frame caused it.Also seen: the
RtlReleaseSRWLockExclusive … is not owned exclusivemessages from #774 started ~2 min 18 s into the world (200 in total, two threads, one lock). Frames slowed to 5–8 s for about a minute, then recovered, and the world kept running for 8 more minutes.No game data used. AI-assisted (Claude Code).
Edited: the durations above were first timed from the start of the story load; they are now from entering the world (the load took 29–41 s). The conclusions don't change.
@crashbashash on GitHub · 2026-11-24 13:57 UTC · original · edited 2026-11-24 15:13 UTC
Follow-up with a
mainrun on the same machine and setup, to compare like for like (GE-Proton11-14, empty VIctory shader cache,mainatffe310e, Microsoftd3dcompiler_47becausemain's clamp needs it, watchdog not disabled).mainlasted ~5 min 55 s in the world, so this compares the first 6 min 24 s of each run from the start of the story load (the 5 s statistics lines VIctory logs):mainOne run each, and the cutscene wasn't driven identically, so take the numbers as indicative. But the watch journal does look like a real gain under Wine, which my earlier comment didn't see.
The two runs also ended differently:
main: no statistics line for 33 s, then the title's watchdog write at+0x23cf683(the exit from #454/#714).int3at+0x5149aecdescribed above, after ~10 min 42 s in the world.mainalso logged noRtlReleaseSRWLockExclusivemessages in its ~6 minutes, against 200 on this branch, starting ~2 min 18 s into the world. One run each, so that may just be timing.No game data used. AI-assisted (Claude Code).
Edited: the durations above were first timed from the start of the story load; they are now from entering the world (the load took 29–41 s). The conclusions don't change.
@mkslzk on GitHub · 2026-11-24 15:15 UTC · original
A measurement that narrows the copy cost further, in case it helps whoever touches the watch next.
With
VICTORY_GPU_TIMING=1in the world (diagnostics build, everything fromproton-fixesmerged):A list with zero commands takes 240 to 313 ms, and there are 11 or 12 lists per submission, so
about 3 s of a 6 s frame is spent in submission overhead that records nothing. The commands are not
the cost; whatever runs per list is.
Your journal already halves this by answering repeats within a submission (
asked_now). Theremaining shape on our side is: many lists per submission, each touching the same big buffers, each
asking the kernel page by page. If the journal could answer across lists of the same submission by
range rather than by page containment, the per-list cost should fall with it. On our side we are
about to price it directly with a measurement switch that skips the watch entirely (frames then show
stale memory, so it is a ceiling, not a fix): if the frame drops from 6 s to under 1 s, the watch is
the whole story, and if it does not, the per-list overhead lives somewhere else and we will look
again.
Numbers for the world, same build, for the record: 0.1 to 0.2 fps, 1837 to 2461 draws per frame,
dropped 518 (down from 4425 before your branch), 112 pipelines being made, no device loss.
@0xcheems on GitHub · 2026-11-24 16:20 UTC · original
Test report for
proton-fixesat993dff8on a Strix Halo iGPU (RDNA 3.5).AI use: the runs were driven and the logs summarised with Claude Code (Claude Fable 5.2) on my machine. Own copy of 1.0.2.1.
Setup: Ryzen AI MAX+ 395, Radeon 8060S (unified memory, 32 GB, 20 GB GPU limit); NixOS, kernel 7.1.5, Mesa 26.1.5 RADV; Proton Experimental
experimental-11.0-20261112throughumu-runwithruninprefix, vkd3d-proton 3.2.0. Diag build cross-built with cargo-xwin, Series X profile,VICTORY_NO_WATCHDOG=1, driven into the world withVICTORY_KEYS. Tree:993dff8+ #454 + the #783 fallback61474f6. Compared withffe310e+ #493 + #454 + #190 +61474f6(same host, same input). One 10-minute run of your tree, two of the other.What works: boots, menus, world. Ran the full 10 minutes with no device loss and no amdgpu line in the kernel log. On this GPU
mainhits the #714 page fault at about 3 minutes; #493 removes it, and so does your branch without #493. The "indirect execution dropped" warning that needed #190 is also gone with your clamp fix.Watch cost: clearly lower. Median per world frame from the copy statistics:
993dff8treeFrame time: not lower here, though. Median over the world summary lines:
993dff8treeThe last row is the difference I can't place from the log: about 240 ms a frame that is outside the three stages the summary line times. My guess, not measured, is the work now done under the submission lock before
submit(new_submissionplusresync_title_writes). One run, and run-to-run spread on this machine is at least 50 ms, so treat the frame figures as an indication.One startup burst: 310 720 warnings
title slot past the host heap index=934464..1245183 count=934464 for_draw=false, all within the first two seconds, none later. The host view heap is capped below the title's on this driver (as in #747).Memory, for anyone on unified memory: Series X peaked at 8.5 GB process RSS and 16.0 GB of GPU memory taken from system RAM, about the same as without the branch.
@ThomasHFWright on GitHub · 2026-11-24 16:35 UTC · original
Tested unmodified
proton-fixesat993dff8ef8on RTX 5090 / Linux. Build and synthetic checks pass apart from the two documented Wine harness failures, but I could not reproduce the visible debug-world result: the process stops while world compute pipelines are being created.Setup: CachyOS kernel 7.3.6-1-cachyos, NVIDIA 620.73.04, system Wine 11.22, vkd3d-proton 3.2.0 build
30b0eb9bc12dc9f, DXVK dxgi.dll, Rust 1.98.1 Windows MSVC cross-build. This is the documented system-Wine route, not a run of your tested Proton Experimental version. Local title 1.0.2.1, Series X. Runs offline, separate cache/save copy, muted app.Checks
loads_binds_and_calls_probeandpolicy::tests::repository_passes_policy(Linux cargo/git invoked from Wine).Title attempts: same executable,
VICTORY_DEBUG_PS=1,VICTORY_SHOW_TARGET=2560x1440-f28-3, DRED and vkd3d breadcrumbs. No #454, watchdog bypass, loop-cap change, or other PRs. First run had fresh caches; retries retained them.Boot UI runs around 30 fps, intro/loading artwork is visible, and the debug-PS path is activated at world loading. No visible world geometry or controllable gameplay was verified. The third attempt provides the failure line:
All three runs log 42 wave-size refusal messages (
Required WaveSize range [64, 64], but supported range is [32, 32]). The first two also emit 310,720 startup warnings for title slots past the capped host heap, matching the Strix Halo report above. For attempt 3 I suppressed that descriptor category and enabled Wine errors; it still failed. Peak process RSS was approximately 7.8 GiB / 8.8 GiB in attempts 2 / 3. No OOM-kill counter increment or NVIDIA Xid/device-removal report was found.This resembles the pipeline-creation failure class in #144, but I have not isolated the failing shader or established whether the fault is in VIctory's translation, dxil-spirv, or NVIDIA's compiler. The wave64 refusals and heap warning burst are observations, not proven causes of this exception.
AI-assisted testing with Codex on the user's hardware. No game files, shader dumps, captures, or game-derived artifacts attached.
@0xcheems on GitHub · 2026-11-24 16:38 UTC · original
Follow-up to my report above: I timed the part I guessed at, and it is where the extra time goes on this host.
AI use: run driven and log summarised with Claude Code (Claude Fable 5.2) on my machine.
Same tree and setup (
993dff8+ #454 +61474f6, Strix Halo, Series X, Proton Experimental), plus a local probe inHost::execute_titlethat timeswatch::new_submission()+descriptor::resync_title_writes()together and logs the running total every 500 submissions.That is 10 % of wall time in the world window. At this run's median world frame of 2 300 ms it is about 230 ms a frame, which matches the 243 ms the frame summary leaves outside "preparing", "on the GPU" and "copying back" (about 20 ms on the tree without the branch). The probe includes the resync's own write-watch query, so part of it also shows in the
watchescounter (658 queries, 146 ms per frame in this run).The title's view heap here is 1 245 184 slots against a host heap of 934 464, so the resync walks a large range on every title submission; a host with an uncapped heap may see a different cost. The same 310 720
title slot past the host heapwarnings appear in the first two seconds, as before.Second run of this tree, again the full 10 minutes with no device loss and no amdgpu line in the kernel log.
@ThomasHFWright on GitHub · 2026-11-24 17:27 UTC · original
Follow-up to my RTX 5090 failure report above: the immediate world-loading crash is isolated, and the narrow handle-cache fix from #852 (same root cause as #177) gets this branch into visible debug world geometry.
Exact combination: Slaktarn700
proton-fixesat993dff8ef8a613259bb40afed0086f613e53c03eplus NicolaiVdS'sae7e0be, cherry-picked locally as600ef9972b19a94bfc6a78caf56da8b9a2810c8d. The initial fixed runs used no other PRs, watchdog bypass, or loop-limit changes. A separate #454 experiment is described below. CachyOS 7.3.6-1-cachyos, Wine 11.22, RTX 5090 / NVIDIA 620.73.04, vkd3d-proton 3.2.030b0eb9bc12dc9f. This is Wine with that vkd3d build, not a Steam Proton runtime test.Isolation:
5d113aa6830760b6on the faulting thread. An independent replay of its captured root signature and emitted DXIL crashes invkCreateComputePipelineswith access violation0xc0000005, without command lists or GPU dispatches.31da073b789a9dfb) failsspirv-val --target-env vulkan1.3: an integer atomic OR has a floating-point result type.props.0but omitsprops.1, allowing an integer atomic to reuse a float-annotated UAV handle. Including both annotation words fixes the replay, including when retaining the exact original root signature. Fixed SPIR-V (e7e240987de6ac87) validates.Runtime validation:
An instrumented fixed run lasted 475.9 seconds, with world draw statistics continuing for more than six minutes before I deliberately stopped it. Local captures show a road junction, traffic lights, and road markings in debug colors. All 1,100 captured SPIR-V modules pass validation. No recurrence of the pipeline exception or device-removal report in the log. This run still has missing geometry, untranslated shaders and wave64 refusals; observed diagnostic performance was approximately 0.2–1.1 fps, not a benchmark.
The clean integration is not stable. Two completed clean runs ended at 177.0 s and 150.1 s, both Wine exit 5 with a title null-write at
+0x23cf683and callers+0x2215c35/+0x2215eca. Crucially, the kernel recorded NVIDIA Xid 13 / Graphics SM Warp Exception: MMU Fault for the title process before each stop (16:59:30 and 17:17:33 UTC); the title watchdog fired about 30 seconds later. This is a GPU execution fault after the compiler fix, not a recurrence of the isolated compilation exception. The two runs produced 912 and 906 valid SPIR-V modules respectively, with no invalid modules found. A third recovered run lacks an exit record, so I exclude it from stability conclusions.I then tested #454 on top, separate integration
436b3db, withVICTORY_NO_WATCHDOG=1. Both hooks applied. It also hit Xid 13 / MMU Fault, at 17:21:28 UTC fortitle-main, followed byvkd3d_wait_for_gpu_timeline_semaphoretimeouts (vr 2). Frame statistics stopped just before the fault. The process stayed alive, but rendering did not resume; I deliberately stopped it at 175.8 s. All 915 emitted SPIR-V modules validate. The watchdog bypass hides the later exit; it does not fix this GPU stall.The exact faulting submission/resource is not isolated yet. This is execution-time evidence to investigate alongside #71/#1216; it does not establish that either thread's proposed fix will resolve this run.
All runs were offline and app-muted with independent save copies. Initial instrumented/clean runs used fresh shader/pipeline caches; subsequent clean runs retained them. The #454 experiment used a separate copy of the clean integration cache. Runtime settings included
VICTORY_DEBUG_PS=1,VICTORY_SHOW_TARGET=2560x1440-f28-3, DRED, vkd3d breadcrumbs, and local shader dumps. Debug geometry is not confirmation of playable gameplay or controllable movement.Clean integration checks:
loads_binds_and_calls_probe(cargo from Wine: invalid handle) andpolicy::tests::repository_passes_policy(git unavailable from Wine).dxil.dllexplicitly enabled: 122 passed, 0 failed, 1 ignored, no missing-DXIL validation skips. Four console/PC compiler differential tests still early-return because those compiler tools are unavailable.-D warnings: passes.For NVIDIA testers of this exact branch revision, #852's narrow patch is a confirmed way past the compute-compilation crash. It does not resolve the remaining world-rendering and performance limitations. No duplicate PR needed for this diagnosis.
AI-assisted testing with Codex on the user's hardware. No game files, shader dumps, captures, or game-derived artifacts attached.
The separate #454 integration also completed the full 14-executable Windows suite: 345 passed, 2 unchanged Wine harness failures, 6 ignored (shader 122/0/1, GPU 53/0/1), plus all-target/all-feature Clippy and native asset policy. These synthetic checks do not establish runtime stability.
@ThomasHFWright on GitHub · 2026-11-24 18:38 UTC · original
RTX 5090 / Linux follow-up: the single runtime switch
VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chainsgets our existing diagnostic build past the repeated compute execution fault and back to visible debug world geometry. Thanks to @oeirughrepuiohg's report above for this lead.Same application binary as my #206 test:
proton-fixes993dff8+ #852ae7e0be+ #454d2c93fa+ #20605981dd, plus local bounded-fence, timestamp and descriptor probes. No shader skips, no reduced loop limit. CachyOS 7.3.6, RTX 5090 / NVIDIA 620.73.04, system Wine 11.22, vkd3d-proton 3.2.0 30b0eb9bc12dc9f; this is not Steam Proton. Binary SHA256:63e772468e1ee125f69ce5bb6f0fabfb08369badd54bf7d6dfd9b7e7513f1664.The default-extension control failed after 108.1 s with Xid109; another run with only a loop cap32 failed after 103.1 s with Xid13. Both localized to the interval beginning with compute 72f552f4553fb5f9. Descriptor records were unchanged at sampled points. The earlier shader-creation crash is already fixed by #852 and is a different failure.
With the extension disabled:
The first run changed only this environment variable. The repeat uses the identical binary and denser captures. Local captures show roads, buildings, overhead wires, vehicle wheels and later a character mesh in debug colours. These use
VICTORY_DEBUG_PS=1andVICTORY_SHOW_TARGET=2560x1440-f28-3: substantial geometry is absent, normal shading and controllable movement are not established. Many temporary descriptor tables still fail allocation. Diagnostic frame rates remain far below playable; CPU builds overlapped parts of these runs, so they are not performance comparisons.The emitted SPIR-V confirms the code path changed: the same suspect DXIL produces 23 OpRawAccessChainNV instructions by default and none with the extension disabled. All 1,082 dumped SPIR-V modules from the first completed run validate with Vulkan1.3 and scalar-block-layout enabled. Without the latter flag, 75 modules report vec3 array-stride12 alignment errors; vkd3d enables scalar block layout when the device supports it, so these are not equivalent to the earlier invalid atomic-type error.
This is a useful bounded workaround on this exact setup, not proof of a driver root cause or long-term stability. It changes lowering for all shaders; the suspect interval could still depend on earlier producers. #1024 and a larger capped dynamic-descriptor pool are separate local candidates and are NOT in these two runs.
AI-assisted with Codex. All runs offline and app-muted, game input read-only. No game files, shader dumps, memory buffers or captures attached.
@deadkid14 on GitHub · 2026-11-24 18:46 UTC · original
Data point for Linux/Proton testers: the fxceless/victory-gta6 fork (https://github.com/fxceless/victory-gta6, a single commit
578d459on top offfe310e) renders the first gameplay scene under Proton on NVIDIA. It needed two small additions.Setup: RTX 5070 Ti, driver 620.73.04, CachyOS (kernel 7.3), GE-Proton11-14's
winerun directly with its vkd3d-proton (VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains), Series X files, diag build,VICTORY_NO_WATCHDOG=1,VICTORY_SHADER_LOOP_LIMIT=32, Enter every 4 s viaVICTORY_KEYS.Added on top of the fork:
RWByteAddressBuffermethods, and Wine'sd3dcompiler_47refuses it (clamp:67:10: E5005: Method 'InterlockedMax' is not defined on type 'RWByteAddressBuffer'). Without a fallback, every indirect execution is dropped on Linux. I copied #178's DXC fallback (dxc_library,dxc_compile,sign_dxc_bytecode) into the fork'smake_for, with DXC 1.9.2609'sdxcompiler.dllanddxil.dllgiven viaVICTORY_DXC. The log then shows the refusal followed by the DXC build. #994's Wine-compatible clamp would presumably also work, but the fork'sindirect.rsdiffers too much to merge it directly.Result (one run):
So for Linux, the fork plus a Wine-compatible clamp is currently the furthest I have seen: a lit picture of the first scene, compared with the black or flat-colour world on
main+ #994. I have not tried the fork's off-by-default switches (VICTORY_LATE_WAIT,VICTORY_RELAY, …). 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.
@oeirughrepuiohg on GitHub · 2026-11-24 18:15 UTC · original · edited 2026-11-24 18:58 UTC
NVIDIA on Linux (RTX 4070 Ti, Ada) with #994: the clamp fix is what makes the 3D scene draw under Wine; to the movement prompt with #1036, #454 and the #698 pool hook. Plus a warning for anyone on NVIDIA's 620 open driver.
Setup
cae8353e(from GE-Proton11-14), DXVKdxgi.VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains.mainffe310e+ #994 (993dff8) + #1036 (8d898b1) + #454 (d2c93fa); later + theVICTORY_POOL_NO_ASSERThook from #698 (all 5776 allocator copies; 2622 pool-emptyint3sites by my own scan, which also finds the four named in #698). Series X mode,VICTORY_SHADER_LOOP_LIMIT=4096,VICTORY_NO_WATCHDOG=1,VICTORY_DEBUG_PS=1. Own 1.0.2.1 copy.1. Without #994 the 3D scene cannot draw under Wine at all. On my earlier stacks without it (#233/#320/#439/#581/#1036/#454 and the typeless-view branches), the log at world load says
argument clamp: clamp:19:27: E5005: Method 'Load' is not defined on type 'RWByteAddressBuffer'and thenno argument clamp: indirect execution dropped; every indirect draw and dispatch is dropped (up to ~3100indirect kind 10: not boundedper frame in the credits scene), so the credits backdrop and the world stay black. With #994 there is no clamp error, frames carry ~2000-3600 draws, and the world appears. That is NVIDIA confirmation for #994's first commit; it is not vendor-specific.2. The NVIDIA driver crashed in
vkCreateComputePipelinesat the world load (~frame 1180) in three runs without #1036, as in #852/#144. Adding #1036 andVKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chainstogether removed it in every later run; I changed both at once, so I can't say which one did it.3. Where runs ended:
int3at+0x5149aec/+0x63966fin the credits; the title's own crash report showsINSTANCE_LIST45000/45000,BUILDING22266/22500 (the #698 stop)int3; ended by handIn the hooked run the presented frames before the prompt show the night scene's emissive windows with bloom and a moving camera; most other frames are black or blown out to flat white/grey, as expected with the lighting passes untranslated. Behind the prompt the presented image is black (max 1/255), so I could not judge movement from it; a run with
VICTORY_SHOW_TARGETis next.4. Intermittent stall at
title+0x50eb750(#774): one of eight world loads stopped at frame 1368 with one title thread at 100 % CPU in that lookup; the table it probes had plenty of empty slots. The next run with the same build passed the point.5. Warning for NVIDIA open driver 620.70.06 / 620.73.04 users. Every world load here logs the same seven
NVRM: intermapRegisterDmaMapping: Failed to insert new mapping node for range 0x...(64 KiB ranges), plusgpu_vaspace.c:4155/1846asserts. On the stock 620.70.06 this corrupts the driver'sDevMemoryTable(NVIDIA/open-gpu-kernel-modules#1540): after four VIctory world loads in one boot it froze the whole desktop (KWin and the driver's modeset thread stuck in D state; only a reboot helped). With the six-line fix from NVIDIA/open-gpu-kernel-modules PR #1542 built into the 620.70.06 modules, the same failures occur in every run and are harmless: six world loads (42 failures) and as many process exits in one boot, no freeze. The 580 branch reportedly doesn't have the bug.6. #1433 on top (one run): untranslated-shader warnings fell from ~460 to ~110 by the world (the lane-mask and untracked-mask refusals nearly gone), and
VICTORY_SHOW_TARGET=2560x1440-f28-3showed the world's G-buffer cleanly. About 2.5 min into the world the kernel loggedNVRM: Xid 109 ... CTX SWITCH TIMEOUTfor the title, and a minute later the title stopped presenting (frame 1786; no device removal, no CPU spin) until I ended it. Correction (updated): the sameXid 109also hit two later runs without #1433, one of them withoutVICTORY_SHOW_TARGETeither, and two runs of that stack had none. So it is intermittent on this card and not caused by #1433 or byVICTORY_SHOW_TARGET; it fits the wave64 compute hangs on 32-lane cards (#71). I merged #1433 by hand against #994's single-returning-block change inemit/lower.rs(drain, then branch to the shared return block).Not tested: AMD/Intel, Windows, Series S mode, movement at the prompt (next).
AI use: Claude Code, Claude Opus 5.5 ran the builds and runs on my machine and wrote this report from the logs; no game data, screenshots or addresses beyond the title offsets already discussed in #698/#774.
@oeirughrepuiohg on GitHub · 2026-11-24 19:26 UTC · original
@deadkid14 a second NVIDIA data point for the fxceless/victory-gta6 fork under Proton: it reproduces on an RTX 4070 Ti, and the first gameplay scene renders lit here too.
Setup
cae8353e(GE-Proton11-14), DXVKdxgi,VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains.d279e69(its three commits) + #454 + a DXC fallback adapted from #178, with DXC 1.9.2609. I generalized the fallback to every runtimeD3DCompilesite in the fork, not only the clamp:indirect::make_for,host::compileand the card-compare pass inhost.rs. Diag build, Series X,VICTORY_NO_WATCHDOG=1,VICTORY_SHADER_LOOP_LIMIT=32, a USB Xbox controller.Result (one run, ~25 min):
E5005: Method 'InterlockedMax' is not defined on type 'RWByteAddressBuffer'), then built by DXC with no further error.shader does not translatewarnings in the whole run (vs. ~110–460 on mymain+ #994 stacks).Xidand noNVRM: intermapRegisterDmaMapping: Failed to insert ...in the kernel log. Every world load on my earlier stacks logged the same seven insert failures (see my comment above), and three of them hitXid 109. So the fork also avoids the trigger for the 620-driver bug here.VICTORY_KEYSEnter no longer gets past the player-select screen; press A on the pad there.Not tested: Series S mode, sessions past ~25 min, anything after the first scene. No images attached (asset policy).
AI use: Claude Code, Claude Opus 5.5 built and ran this on my machine, read the logs and wrote this comment.
@Tymon3310 on GitHub · 2026-11-24 19:48 UTC · original
RDNA2 data point for
proton-fixesat993dff8: RX 6800 XT, Mesa/RADV 26.3.1, Arch, kernel 7.3.5-zen, GE-Proton11-7-based GDK-Proton. diag build cross-compiled withx86_64-pc-windows-gnu(no xwin needed).af89350c) gives the RADV crash from #752 (radv_shader.c:547). I checked the shader (dda14bf7fb43b7c7) offline: dxil-spirv8b48f0e(v3.1) emits invalid SPIR-V (exits the loop … but not via a structured exit),7c04863(master) emits valid SPIR-V. With vkd3d-proton masterec20719DLLs next tovictory.exeit passes.mainffe310e+ those DLLs: device lost on entering the world (gfx ring timeout, UTCL2 TCP permission fault at0x800332e45000); kernel ring reset, the desktop survived.Written with Claude Code (Claude Opus 5.5); the numbers are from the runs' logs.
@rostaddotcc on GitHub · 2026-11-24 19:54 UTC · original
Independent Linux report for
993dff8on RDNA3, plus two host-level findings that are not specific to this branch.Environment. CachyOS 7.3.5-2, Mesa 26.3.1 (RADV NAVI31), RX 7900 XT (gfx1100), Ryzen 7 7700X, Proton Experimental
experimental-11.0-20261112(vkd3d-proton 3.2), built with cargo-xwin, Rust 1.98.1, title 1.0.2.1, Series X profile, my own copy. I did not test the Windows path.The two fault fixes work here. Before this branch the same host lost the device (
0x887A0005, GPUVM fault at address 0) 5-10 s into the intro video on every run. With993dff8I reached the world twice and neither run lost the device (~4.5 and ~6 minutes; both ended because I killed them).The world, measured. 2221-6232 draws/frame at 0.1-0.2 fps (5.0-14.0 s/frame). The time is almost all copies: 4.0-13.3 s and 115-350 MB per frame, against 65-192 ms of GPU work. Dropped 1229-1691 draws without a host pipeline and 1714-2006 indirect. That is worse than the 9070 XT numbers posted above; it is consistent with #400 rather than with this branch.
An intermittent stall at the account picker (possibly worth a look). Of eleven launches of the same tree, two reached the world. The other nine sat at the account picker indefinitely (up to 5 minutes), presenting a static 13 draws/frame at 30.0 fps - the captured frames 512, 1024, 2048 and 4096 are byte-identical, and there is no further shader work.
VICTORY_KEYS(Enter at 20-150 s) changes nothing. Relaunching the identical binary and environment reached the world on the second attempt, and no environment variable separates the successes from the stalls (release and diagnostics builds, with and withoutVICTORY_CAPTURE, with and without a network namespace, all appear on both sides). It reads like a race rather than a configuration, and it made every measurement above take several attempts. If it is new in this branch, the neighbourhood I would suspect is the per-submission heap resync.VICTORY_DEBUG_PS=1still shows a black window here (title bar: 0 fps, 6766 ms/frame, 5242 drawcalls), so I could not reproduce the debug geometry others report. That may be my host - I have not isolated it.HDR, which affects every tree, not just this one. With desktop HDR enabled (KDE Plasma 6 on Wayland, DP-3 at 3440x1440@180 Hz) the title's present throttles to about 400 ms/frame (~2.5 fps) and the title's own 30 s watchdog raises int3 at frame 64, on every build I tried including clean upstream and a fresh prefix.
kscreen-doctor output.DP-3.hdr.disableand the same binary is immediately 15-30 fps. Finding it took a long bisect (fresh prefix, shader and data caches, native and builtin d3dcompiler_47, CPU governor, compositor focus, occlusion all excluded). If the watchdog change lands, a warning during HDR modes is probably on the table, or just a line in docs/linux-proton.md.Happy to re-run anything on this host, including a branch that fixes the picker stall.
@BitWuehler on GitHub · 2026-11-24 21:43 UTC · original
Cross-posting a Linux/Proton + NVIDIA Blackwell verification datapoint from running
fxceless/victory-fork(4e17478) + upstream#454(VICTORY_NO_WATCHDOG=1) + Wine-native HLSL fixes (submitted as fxceless/victory-fork#127):Environment
620.73.04(CachyOS Linux)GE-Proton11-14(vkd3d-proton, DXVKdxgi),WINEDLLOVERRIDES="d3d12=n;d3d12core=n;dxgi=n",VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chainsVICTORY_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)Results (
463.9 s,3,815frames, clean exit)0x887A0006), 0 kernel Xids/OOMs, 0no argument clampdrops, 0no host copies in the card's memorydrops.draws >= 100, 50 stat intervals):1.30 fpsmedian (2.0 fpspeak in world at506.7 ms/framewith3,115draws/frame; up to7,644draws/frame, median4,589.5)prep 391.15 ms(copies 102.35 ms / 132.40 MB,textures 166.55 ms),gpu 121.55 ms,copying back 185.50 ms(61.70 MB), dropped461draws without host pipeline &4indirect (median).d3dcompiler_47(vkd3d-shader) rejectsByteAddressBuffer/RWByteAddressBuffermethods (E5005),[allow_uav_condition](E5017), and strips[RootSignature(RS)](E_FAIL 0x80004005) onCARD_COMPARE,indirect.rs, andPlanePass(no pipeline to draw a depth plane from its twin). Replacing those withStructuredBuffer<uint>/RWStructuredBuffer<uint>and serializing root signatures in Rust viaD3D12SerializeRootSignaturelets all ofvictory-gpu's internal HLSL compile cleanly with Wine's built-ind3dcompiler_47and no externaldxcompiler.dll(110/111non-ignored tests invictory-gpupass underGE-Proton11-14; only the knownID3D12Device1::CreatePipelineLibrarystub test fails).(Prepared with AI assistance; all numbers taken directly from the session log and test output.)
@SpacyRainbow on GitHub · 2026-11-25 01:49 UTC · original
NVIDIA Ampere data point under plain Wine (not Proton), on an older base:
ffe310e+ #650. I know the fork runs above are further along. I'm posting this mainly for the two hang causes, in case they help whoever carries the Linux branch forward.Setup
30b0eb9,WINEDLLOVERRIDES=d3d12,d3d12core=n.ffe310e+ #650 cherry-picked, plus one local change (below). Series X, title 1.0.2.1, my own copy.Hang 1: mesh shaders,
Xid 109Xid 109(context-switch timeout), and there's noXid 13before it. So it's a stall, not an MMU fault. The cause is out-of-range reads through unbounded root SRVs in translated mesh shaders (#778 family). On vkd3d-proton a root SRV is a raw VA, sorobustBufferAccess2/nullDescriptordon't catch it.Hang 2: pixel shader at the intro leadout,
Xid 10904b9be37, pixel1af4a50c] runs a data-bounded loop whose cost followsVICTORY_SHADER_LOOP_LIMIT. At 2^20 it takes ~4 s/draw and ends inXid 109.65536: ~0.4 s/draw, 0 Xid over two full 25 min runs. That's a workaround, not a fix. The count looks like garbage, which would fit #1322 / #1855.65536on that shader brought back an earlier stall around frame 1784-1823 (2 of 2 runs). TheVICTORY_SHADER_LOOP_LIMIT=32used above might behave differently on the fork.Result: past the leadout to the timed control hint (n=1), and stick input changes what gets drawn and which pipelines get bound. The scene is black, though, at ~1.2 fps, and almost all of that is 2 × ~0.4 s of that one pixel draw per present. The title's pool-full assert (25,000) fired in 1 of 6 long runs; other runs peaked at 18-21k.
RtlReleaseSRWLockExclusive ... is not owned exclusive!shows up in every run, passing or failing.Not tested: current
main(4118f33), Proton, the fork,VK_NV_raw_access_chainsdisabled.@Marvisak on GitHub · 2026-11-25 03:55 UTC · original · edited 2026-11-25 09:55 UTC
Automated triage for the maintainers.
Running the Windows build under Wine/Proton is tracked as a request in #340; open PR #2082 adds Proton docs. The project's stated scope is Windows hosts, so carrying Linux support is for the maintainers. Pull requests are open to everyone, so please split the
proton-fixesbranch into focused PRs against currentmain. Where each part stands:main: root views are bounded views of their host copy (d71c388,State::root_viewincrates/victory-gpu/src/draw.rs), and heap records copied as bytes are mirrored at submission (86a5ed6).main(crates/victory-gpu/src/indirect.rscompiles HLSL withRWByteAddressBufferthroughD3DCompile, and on failure logsno argument clamp: indirect execution dropped). Tracked in #170; open PR #1279 takes the same approach. The latest comment confirms this explained the blue/white pictures in the earlier Proton runs.WSAConnectByListandGetAddrInfoExAare incrates/victory-hle/src/modules/net.rsonmain.main; each would need its own PR.From the new comments: the Xid 109 hang on compute
72f552f4553fb5f9goes away withVK_NV_raw_access_chainsdisabled, which points at vkd3d-proton's code path rather than VIctory's DXIL. The NVIDIA wave64 compute hangs once indirect work runs are the NVIDIA world hang tracked in #71 (open PR #439). Other threads:+0x5149aecin #698, Wine SRW lock messages in #774, the NVIDIA compute-pipeline crash in #852.Generated by Claude Code
@desplmfao on GitHub · 2026-11-25 08:34 UTC · original
More on compute
72f552f4553fb5f9and the Xid 109 with raw access chains, from an RTX 5080 (driver 615.71, Linux, Proton with Proton Experimental's vkd3d-proton 3.2.02576c0b4), upstreammain940d32fplus a few open PRs.Finding it: on this setup most runs stopped at the start of the first mission (frames ~775–980):
NVRM: Xid 109 … CTX SWITCH TIMEOUT, the desktop stalled, and the title's watchdog fired (Unsignaled CrossQueueBarrierin its crash log). A small diagnostics watcher logged the pipelines of the submission still running on the GPU after 3 s: one list of 38 compute pipelines. Bisecting withVICTORY_SKIP_PIPELINEScame down to72f552f4553fb5f9alone. Its first bind is at frame ~950, where every hang happened, and skipping only it reached the world and stayed there.VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chainswith no skip also stayed in the world with no Xid.VICTORY_SHADER_LOOP_LIMIT=4096did not help.Its SPIR-V: I dumped VIctory's DXIL for that hash and matched it byte for byte against vkd3d-proton's dump (
VKD3D_SHADER_DUMP_PATH; it's vkd3d's52923b29bf2256af, 64×1×1).OpRawAccessChainNV, and every one carries a robustness operand: 10RobustnessPerComponentNV, 17RobustnessPerElementNV.spirv-val --target-env vulkan1.3 --scalar-block-layoutpasses. So it's not an unbounded access.& 0x0fffffff,& 0x01ffffff). It leaves when the value it looks for falls inside[a, a + b), when a count is reached, or at VIctory's loop limit (>= 1048576).Workarounds that hold here:
VICTORY_SKIP_PIPELINES=72f552f4553fb5f9, which drops this one pass, or the extension switch, which changes code generation everywhere. Separately, the world on this stack turns white from the prologue on, with and without the extension, so that doesn't come from this.@desplmfao on GitHub · 2026-11-25 09:20 UTC · original
An update to my analysis above. Under Wine/Proton, Wine's builtin
d3dcompiler_47can't compile VIctory's run-time helper shaders (E5005: Method 'Load' is not defined on type 'RWByteAddressBuffer'). The log then saysno argument clamp: indirect execution dropped, and every indirect draw and dispatch is skipped. That applied to every run I reported here, so the blue and white pictures are explained by that, not by the stack. #1528 reached the same point with a DXC fallback.With Microsoft's
d3dcompiler_47.dllnext tovictory.exe(d3dcompiler_47=n,b), the world is drawn on this RTX 5080. Faces are still black, as in #1528. Documented in #2082.The catch: now that indirect dispatches actually run, upstream
main(plus our PRs) hangs NVIDIA in the intro on several wave64 compute shaders (Xid 109, frames 756–973; skipping one only moves the hang on). With #439 the hangs are gone, but the driver's compiler then crashes or stalls on some of the big wave64 compute shaders #439 emits (b2ff2ef0d6c98dd7and five others, 59–65 KB of GCN each). I'm working on a fix on top of #439 and will report back.@desplmfao on GitHub · 2026-11-25 10:20 UTC · original
Follow-up to my last comment: the world is now drawn on this RTX 5080 under Linux and runs for 5 minutes without a GPU timeout. Changes since then:
XboxBvhBuilder.dll, which ships with the title and rehydrates streamed ray-tracing structures:Box32Rehydration28918b7150a7aad5,Box16Rehydrationcaa78b8ca62bc3d6andDecompressHeader4ddd6f9702fab2a7. Skipping them, plus72f552f4553fb5f9, which turned out to be the hair passCSGenerateHairVB, avoids the timeout. Ray-traced lighting and hair are then missing. Why they run so slowly under VIctory is the next question.Settings and the full stack: https://github.com/desplmfao/VIctory/tree/renderer
@zeeboguy on GitHub · 2026-11-26 16:09 UTC · original
RTX 5080 16 GB / Linux, desplmfao's
renderer(3908d3d): on NVIDIA every R9G9B9E5 texture the title renders or writes to is refused, so those passes never run. In Series S that includes the scene colour and the world is black. Made R11G11B10_FLOAT, the world draws, then blows out to white within ~90 frames. Findings and a partial patch, in case someone who knows the translator can take the second half.Setup: RTX 5080 16 GB, driver 615.78.08, Ryzen 9 5900X, 32 GB RAM, Arch. proton-cachyos 11.0-20261015 with a wineserver rebuilt with the view-tree patch (CachyOS/wine-cachyos#50); vkd3d-proton master
ec207194(dxil-spirv7c04863); Microsoft'sd3dcompiler_4710.0.26100.VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains VICTORY_PIPELINE_JOURNAL=1 VICTORY_LEVELS_ON_DEMAND=1, diag build.1. Memory: why Series S. Every Series X run reached the intro (credits over the 3D scene, 0.5–1.6 s a frame with the wineserver patch) and ran a 32 GB machine out of RAM within 4 minutes: the title at ~26.7 GB, and once VRAM passed ~15 GB the rest went to memory the driver pins outside the process's cgroup. Series S (
--console series-s, AMD's PC FSR 3.1.6 from the FidelityFX SDK v2.4.0signedbin) ran 10+ minutes with 2–8 GB free and VRAM ≤14 GB, at 2–4 fps.2. The black Series S world.
FidelityFX: a resource has no host texture in its state; the upscaling did not run. The 1280×720 scene colour isR9G9B9E5_SHAREDEXP(DXGI 67) with unordered access, and the host refuses it (no host texture … 0x80070057). Series X refuses 49–51 such textures a run as well (allflags: 4, one5). NVIDIA has no R9G9B9E5 render targets or UAVs, through D3D12 too, so this is not Linux-specific (cf. #741): those passes are silently missing for every NVIDIA user.3. Partial patch (opt-in
VICTORY_E5_AS_R11G11B10=1, 4 files, ~45 lines): an R9G9B9E5 texture with render target or unordered access is madeR11G11B10_FLOAT, including one whose memory another title texture writes (uses are merged afterhost_desc, so it maps again after the merge;takesaccepts an R9G9B9E5 desc on such a texture). Its views take that format infits, as do render target views and pipelines' render target formats. A log of the views the title makes of these textures shows SRV R11G11B10, UAV R11G11B10 and SRV R9G9B9E5, and no R32_UINT views. Result: 0 refusals (49 before), the upscaler runs and the intro's 3D scene appears in Series S (character, hair, bloom).4. Then it blows out. Within ~90 world frames, in Series S and Series X alike, the picture goes white (bloom, sparkly "firefly" edges).
VICTORY_CAPTURE+VICTORY_DUMP_TARGETSat world frames +1/+30/+90: 41 of the remapped textures are written by compute passes, and small R32G32B32A32_FLOAT targets that look like exposure state grow ~10× per 30 frames (52232 → 292581; 143713 → 1392874). My first guess was that R9G9B9E5 cannot hold Inf or NaN while R11G11B10 can, so an overflowing pass would feed Inf onward. A test switch on the branch (VICTORY_STORE_CLAMP=1, diagnostics: every float an image store writes made finite, NaN to 0 and above 65408 to 65408, keyed into the shader cache) does not stop the blowout. So it is something else: values in range that differ between the two formats, a render target path, or one of the R9G9B9E5 reads now returning R11G11B10's decoding of the same memory. I have not found which pass yet.Not done: finding the pass that runs away, Windows, AMD. Without the switches nothing changes.
Branch: zeeboguy/VIctory
e5-targets(two commits onrenderer3908d3d). Happy to open a PR wherever it's wanted.AI use: Claude Code (Claude Opus 5.5) wrote the patch, ran the title and drafted this; I reviewed it before posting.
@anon31-006459 on GitHub · 2026-11-26 17:09 UTC · original
Re the
intermapRegisterDmaMapping: Failed to insert new mapping nodewarning for NVIDIA open-driver users: the 595 branch logs it too. Driver 595.104.02 (open kernel module), RTX 3070 Ti 8 GB, 32 GB RAM, Proton Experimental 11.0-20261112,fxceless/victory-fork+ the #1820 recipe.gpu_vaspace.c:4637/2070asserts, thenXid 31(GPCCLIENT_GCC,FAULT_PDE) and device removal (0x887A0005). I did not see thebtreeUnlinkoops of NVIDIA/open-gpu-kernel-modules#1540, or a desktop freeze.Xid 31read fault, so the insert failures are not the only way to that fault here.AI-assisted (Claude Code, Claude Opus 5.5); numbers from runs and kernel logs on my machine.
@BitWuehler on GitHub · 2026-11-26 18:35 UTC · original
@anon31-006459 Confirming the same NVIDIA open kernel driver
NVRMVA-space failure on Linux / Proton (GE-Proton11-14 + vkd3d-proton, RTX 5080 16 GB, Series X profile):~10.0–10.3 GB(+~5.0 GBshared) undervkd3d-proton, the kernel logged repeated:NVRM: _gvaspaceMappingInsert ... NV_ERR_INVALID_ARGUMENT @ gpu_vaspace.c:1805NVRM: dmaAllocMapping_GM107: can't update VA space for mappinglifecycle's 1 s suspend timeout →TerminateProcess, which wedged NVRM completely (NVML timed out after 8 s, fan controller fell back to 100% failsafe, requiring a hard reset).~9.0 GB(by re-enablingVICTORY_LEVELS_ON_DEMAND=1and cappingVICTORY_CARD_BUFFERS_MB=512) avoided thegpu_vaspaceerrors and let subsequent runs exit cleanly.(AI-assisted log analysis and summary.)