docs: what a Linux/Proton run needs, and where its frame goes on RADV #41
No reviewers
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!41
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-41"
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?
@rostaddotcc on GitHub · 2026-11-24 20:48 UTC · original
rostaddotcc:docs/linux-proton→main· +131 −0 · 2 files · 1 commits · openAdds
docs/linux-proton.md, measured on one Linux machine (RX 7900 XT, RDNA 3, Mesa 26.3.1 RADV, CachyOS 7.3.5, Proton Experimental'swine/vkd3d-proton) and linked from the README's status table. Numbers only; no assets.Three things in it that cost real time to find and are not in the README:
d3d12must be overridden off (WINEDLLOVERRIDES="d3d12=n;d3d12core=n;dxgi=n"). With the builtin stub in the chain, device creation returnsE_INVALIDARGand every frame submits 0 draws.int3at a frame-64 boundary, which reads exactly like a title crash. Several sessions were spent ruling out the merge, the shader cache, the prefix, the governor and focus before this was found. Not fork-specific: it applies to any vkd3d-proton title on this compositor.The doc lists what is still unseparated (whether that upload rate is RADV, vkd3d-proton or the page-fault path) rather than guessing. Happy to fold it into an existing file or drop it if you would rather track this in an issue.
@DaviTostes on GitHub · 2026-11-24 21:38 UTC · original
One more datapoint for the doc, from an RDNA4 machine, and one correction to point 3.
Setup: RX 9060 XT (RDNA4, GFX1200), Mesa 26.3.1 RADV, Arch kernel 7.3.5, system Wine 11.22 with Proton Experimental's vkd3d-proton 3.2.0 and DXVK 3.1.1
dxgi,WINEDLLOVERRIDES="d3d12,d3d12core,dxgi=n",VICTORY_NO_WATCHDOG=1(upstream #454), Ryzen 5 5500, 16 GB.Points 1 and 2 reproduce exactly here. On point 3 (black presented frame at 2 800–4 800 draws): on this machine the frame is not black once #20 is built in. With
main(4e17478) + #20 + #454 the prologue presents a lit dusk scene at 6 100–8 400 draws/frame, with no black-frame transitions logged. Without #20 the world is black, and the log says why:So the frame that reaches the swap chain is missing every indirect draw before it is ever presented — the same Wine
d3dcompiler_47problem as #6, not a present-side one. Worth a line in the doc: on Wine, check forindirect execution droppedbefore blaming the present path, and #20 (withdxcompiler.dll/dxil.dllbeside the exe) is what clears it.The copy numbers here match yours:
copying back)The card clock says the same thing as your note: 2–6% busy, idle 2.5–7.1 s a frame, almost all of it while the submitting thread works.
Menus are 30 fps, but only with
VICTORY_TEXTURE_NO_WAIT=1: without it the texture refreshes wait for the title-memory lock while the world streams in, and the frame line reports 40–880 ms a frame "waiting for title memory to hold still" (menus drop to 5–18 fps). That is also Wine-specific and probably worth a line next to the other three.@pablogonz12 on GitHub · 2026-11-24 22:22 UTC · original
Another RDNA4 data point, with two things I'd add to the doc.
Setup: RX 9070 XT (RDNA4, GFX1201), Mesa 26.3.1 RADV, Arch, Ryzen 9 9900X, 30 GB, GE-Proton11-14 (Wine 11.0) with vkd3d-proton master,
WINEDLLOVERRIDES="d3d12,d3d12core,dxgi,d3d11,d3d10core=n,b",VICTORY_NO_WATCHDOG=1. Fork578d459, 16 min run.Reproduces: point 1 (without the overrides: no device, 0 draws). Point 3's shape too: not GPU bound. World frames spend 164-183 ms preparing on one thread against 113-121 ms of GPU time (card ~31 % busy), 2.0 fps average, up to 6,994 draws/frame. The presented frame is lit here, not black (same as the RX 9060 XT report above).
Differs: copies into title memory are much faster here than 60-100 MB/s: 155-163 MB per frame in 70-80 ms, about 2 GB/s, and 8-61 MB of texture uploads in 3.4-13.4 ms. So the slow-copy figure looks specific to that machine or its vkd3d-proton/Wine build rather than to RADV.
Worth adding:
d3dcompiler_47fails the fork's runtime helper shaders (E5005: Method 'InterlockedMax' is not defined on type 'RWByteAddressBuffer', andLoad/Load4on the same type). The indirect clamp then quietly drops every indirect draw/dispatch and card buffers stay off. Here that alone was the difference between a black frame (~5,100 indirect executions dropped per frame) and a lit one. Fixes: #20 (DXC fallback), or Microsoft'sd3dcompiler_47.dllnext to the exe. Upstream vkd3d gained theInterlocked*methods today;Load*is still missing (https://bugs.winehq.org/show_bug.cgi?id=60871)./etc/vulkan/implicit_layer.d/) crashed every run here 1-44 s in;VK_LOADER_LAYERS_DISABLE=*renderdoc*fixed it. Processes under Wine pick up the host's implicit layers.Not tested: HDR (SDR output only here), Proton Experimental's Wine, newer fork commits for the numbers above. (AI-assisted; numbers from my own runs.)
@rostaddotcc on GitHub · 2026-11-25 20:33 UTC · original
Measured on the rig this document is written from, on
79cfdd96, and it belongs in this file: the two switches the Linux users here run with —VICTORY_TEXTURE_NO_WAIT=1andVICTORY_RELAY=2— roughly halve the frame time in the world, and neither is on by default.Two 330 s runs a side,
VICTORY_FRAME_LOG=1, 100 frames a side, bucketed on draws and on texture megabytes a frame so the two sides are in comparable scenes. Median per cell:World frames (1,500 draws and up): median 4,347 ms against 2,221 ms. The lane the switch acts on says why:
texture refreshes per frame, all threadsreports 540 ms a frame "waiting for title memory to hold still" by default and 0.0 ms withVICTORY_TEXTURE_NO_WAIT=1, and the refreshes then do their work (102-180 ms) instead of queueing behind the title's remaps.The cells it does not touch are the ones where the wait was not binding: 3,000-6,000 draws above 300 MB of textures is 3,033 against 3,057 ms. So it is a per-cell gain, not a mean, and a mean over all frames averages it away.
Two caveats worth putting next to the numbers:
VICTORY_RELAY=2.For the document: the Linux section should say to run with both switches, and that 20 GB of free memory at start is a requirement rather than a comfort.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.