Linux under Wine: 23.5-25.5 fps on an RX 7900 XTX; pipeline workers' stack, thread names in the log, docs/linux-wine.md #386
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!386
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-386"
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?
@LofisMusk on GitHub · 2026-11-26 21:58 UTC · original
LofisMusk:linux-wine→main· +74 −0 · 4 files · 1 commits · openFrom a tester working with Claude (AI-assisted). Measured on my own machine; no game data in this PR.
This fork runs on Linux under Wine 11.22 with RADV on an RX 7900 XTX, at 23.5 fps in release in the prison cell (25.5 at the end of a 5-minute run, about 40 ms a frame; 17 fps in diag). On the same machine
fxceless/victory-forkdoes 7.3 fps in release, so your renderer work carries over to Linux.Before the changes below it ran at 3.4-3.5 fps here and Lucia had no face. What it took:
VICTORY_PIPELINE_WAIT_MSwas spent in every frame (500.1 ms waiting for pipelines). vkd3d-proton master71cae091(dxil-spirv from 2026-11-25, the new structurizer) fixes the recursion: 0 workers die, nothing is left being made.VICTORY_PIPELINE_WAIT_MS(2 here).In this PR:
VICTORY_LOG_THREADS=1names the thread on each log line. This is how the five pipelines were found: the lasthost pipeline shaders=[...]of each worker before itshas overflowed its stack. Off by default, so the log is unchanged.VICTORY_KEYS(diagnostics builds) also gives a scripted run with no pad a host pad in slot 0. The account screen does not take the stand-in pad's A, so an unattended run without a pad stopped there.docs/linux-wine.md: the setup and the measurements.Both profiles build with
cargo xwin(diag --features diagnosticsandrelease). Only the Linux path has been run; the changes do not alter Windows behaviour except the larger stack reservation for the pipeline workers.🤖 Generated with Claude Code
https://claude.ai/code/session_018VwqyDRnxhcvy1dojRs4Cr
@UwUCammie on GitHub · 2026-11-26 22:23 UTC · original
I tried the CI package at
71cae091on a 7900 XT, RADV 26.3.1 and Wine 11.22. The alternate-compile recovery messages disappeared. I counted zero in the first 300 seconds on this build and six in each of two earlier cold launches on GEcae8353e. The diner close-up showed a face.For my first-boot test I kept the AMD branch’s existing wait budgets and changed the D3D12 DLLs in a copied prefix. With a 720p scene, no save and five empty caches, I got 2,702 presents in 300 seconds (9.01 FPS). P99 was 1.94 s, the worst gap was 11.52 s, and 194.35 s fell in gaps over 100 ms. There were still 378 first compute-dispatch drop notices. That window includes startup and the opening montage, so it measures a different workload from your standing cell run. Settings and measurements
@UwUCammie on GitHub · 2026-11-26 22:41 UTC · original
The fresh GE control finished with the same executable, DXGI DLL and input sequence. GE
cae8353eaccepted 2,682 presents in 300 seconds (8.94 FPS), against 2,702 (9.01 FPS) on71cae091. P99 was 0.81 s on GE and 1.94 s on upstream. The longest gaps were 11.45 and 11.52 s respectively. Gaps over 100 ms occupied 192.61 and 194.35 seconds. Both runs started without a story save and with five empty graphics caches. The near-identical average and 11.5-second stalls put this one behind the wait-budget experiments for cold-start performance. The new driver still resolved all six observed fallback compiles. Full comparison@UwUCammie on GitHub · 2026-11-26 22:47 UTC · original
I repeated the cold boot with
71cae091and changed justVICTORY_PIPELINE_WAIT_MSto2. It gave 6.89 FPS over the first five minutes, with 3.08 s P99 and a 20.22 s longest gap. At 500 ms on the same executable and driver I got 9.01 FPS, 1.94 s P99 and an 11.52 s longest gap. The 2 ms run also showed an overbright shot around 100 s. The shots diverged across wall-clock checkpoints. These settings may behave differently in the already-loaded cell, but 2 ms was worse in my first-boot pair. Cold-start measurements@akimfomin on GitHub · 2026-11-26 23:30 UTC · original
Beqren's #166 at
c61b25cmerges cleanly into your #386 head14709c57663bf8fac1d4fc01c40f635872658017. The public Git check included both exact heads. Its separate compute-only wait lets a once-only dispatch wait for its own pipeline with a bound, independent of the global graphics wait. That gives a way to test the missing skin and long stalls separately after UwUCammie's 2 ms vs 500 ms result.For a first comparison, keep vkd3d-proton
71cae091and your global wait fixed. Use one cold-start pair with onlyVICTORY_COMPUTE_WAIT0/1, log dropped compute dispatches and the longest frame, and note whether the face appears. Consider the compute-wait part by itself because #166 also includes a library-init change discussed in #151. No Linux performance claim from the merge check. PortBridge · AI-assisted comparison.@UwUCammie on GitHub · 2026-11-26 23:54 UTC · original
I ran the suggested pair on the RX 7900 XT with
71cae091b06571e, the 500 ms graphics wait and the same 720p release binary containing the AMD backport of the bounded wait. Both runs started with empty graphics caches and no story save. This switch also changes which compute pipelines get priority.The enabled run logged 320 first compute-wait drop notices. The disabled run has no equivalent notice. Faces were visible in the samples from both runs, but the cuts differed and I couldn't verify the same bake at the same moment. I'd keep the bounded wait available based on the earlier reproduced missing faces. Full counts and setup
@UwUCammie on GitHub · 2026-11-27 00:41 UTC · original
I repeated the 720p pair with the same frame-health counters in both arms, vkd3d-proton
71cae091b06571eand a 500 ms graphics wait.The dispatch counts cover 270 s after each first present and exclude intentionally omitted ray-only work. Neither arm logged a terminal refusal. The off run showed a black view with subtitles at 100 s and reached the prison by 255 s. The on run showed an exterior at 100 s and was still in the montage at 285 s. The totals now include misses in both modes, though the runs reached different scenes. Full measurements
@Beqren on GitHub · 2026-11-27 04:53 UTC · original
@UwUCammie thank you for the compute-wait pairs above. They were right: I reproduced the long stalls on an RX 9070 (10.2 and 10.3 s longest gap, 8 and 9 gaps over 1 s in the first 300 s of a cold start), and it was #166's own 10 s a frame being spent over and over.
#166 is updated because of it: a frame's compute waits now end after 500 ms, each pipeline gets one wait, and the pipeline a dispatch is waiting for is made next. Here that gave a 1.1 s longest gap with the heads still having skin (wait off: 1.0 s, no skin). Numbers, and what the shorter wait gives up, are in #166. It is one machine and single runs, so if you repeat your pair on the 7900 XT I would like to know whether it holds there.
Done with an AI coding assistant (Claude Code), directed and tested by me.
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.