Repository navigation
docs: what a Linux/Proton run needs, and where its frame goes on RADV - #41
rostaddotcc wants to merge 1 commit into
Conversation
3f2f758 to
dc15357
Compare
2fcfff1 to
e855410
Compare
Measured on an RX 7900 XT (RDNA 3) with Mesa 26.3.1 RADV under Proton Experimental: Wine's d3d12 stubs must be kept out (otherwise 0 draws) and HDR must be off on the output (otherwise present blocks at ~400 ms/frame and the watchdog ends the run). World frames average 5-8 s: 134-163 ms on the GPU, the rest host-side copies (60-100 MB/s) and texture uploads (13-41 MB/s). The presented frame is black at 2 800-4 800 draws/frame, with and without PR fxceless#20's DXC fallback.
e855410 to
2e84c8d
Compare
|
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 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 So the frame that reaches the swap chain is missing every indirect draw before it is ever presented — the same Wine The copy numbers here match yours:
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 |
|
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, 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:
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.) |
… count Measured on this box: winetricks installs a fixed June-2010 d3dcompiler_47 that predates D3D12 - it compiles [RootSignature(...)] sources silently without embedding the root signature, so CreateRootSignature E_FAILs; its 5_1 refusal is X3506. A Win10-era native copy from the user's own Windows install is the requirement, and with it the victory-gpu suite is 109/111 under Proton - the one failure is vkd3d's OpenPipelineLibrary expectation (fxceless#64), not ours. Also records the native-d3d12 override, HDR throttling that trips the watchdog (fxceless#41), the texture-lane wait and its lever (fxceless#178), and the full-run result measured upstream. Co-Authored-By: Qwen 3.8 Flash Next <noreply@qwen.ai> 🤖 Generated with [OpenCode](https://opencode.ai) (Qwen3.8 Flash)
ErRusso
left a comment
There was a problem hiding this comment.
Reviewed at 2e84c8d against 2119b0e.
The measurements and the Wine d3d12/HDR notes are useful and honest, and the doc correctly separates loading-phase frames from world-sized draw counts.
Requesting changes for two issues:
- The
d3dcompiler_47section is now outdated. It says Microsoft'sd3dcompiler_47is needed and that without it the clamp/card compare are lost. #20 now provides the DXC fallback for exactly those shaders; on Proton Experimental experimental-11.0-20261112 I measured the builtin compiler refusing the clamp/card/probe and DXC supplying them. Update the section to present DXC (VICTORY_DXC+dxil.dll) as the supported path, with Microsoft's DLL as an alternative only. - This PR adds
docs/linux-proton.md, and #228 adds a file with the same path. One of the two needs a different filename or they need to be merged; otherwise whichever lands second conflicts.
Non-blocking: the status line says ten minutes does not reach the cutscene; my run reached the prologue after input, so "unattended ten minutes" would be more precise.
The fork's status line still said the Proton path was untested beyond smoke tests, and section 4 still listed a full run as unproven. Both are now stale: fxceless#41 records a full run on AMD/RADV (menus, intro, loading and world streaming at 1 777–5 292 draws a frame), and the one prerequisite the report names is native d3d12/dxgi, which `run.sh` sets. Record the other facts that cost runs to find: - A fresh prefix is possible now; explain the `pfx` layout, the `pfx` `dosdevices` probe, and that GE-Proton 10+ maps Z: to `/`, so `--z` is a no-op and a host path is `Z:\mnt\games` rather than `Z:\games`. - A title that sits at 30 fps and 13 draws a frame for ever is the start screen waiting for a pad, not a loader: give the `VICTORY_KEYS` diagnostics recipe and note the release build has no scripted keys. - `--d3dcompiler FILE` and the native `d3dcompiler_47` requirement, including the `E5005` and `X3506` split between Wine's builtin and the 2010 redistributable. - The `inspect` blob name in the example is build-specific. - `--texture-wait` opts out of the default no-wait lane. Co-Authored-By: DeepSeek v4.1 Flash <noreply@deepseek.com> 🤖 Generated with [OpenCode](https://opencode.ai) (DeepSeek V4.1 Flash)
|
Measured on the rig this document is written from, on Two 330 s runs a side,
World frames (1,500 draws and up): median 4,347 ms against 2,221 ms. The lane the switch acts on says why: 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:
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. |
Adds
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.