Linux notes: pipelines remade every start on vkd3d-proton's descriptor heaps; one process for warm-ups #4134
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!4134
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4134"
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?
@kc01-8 on GitHub · 2026-11-30 16:33 UTC · original
kc01-8:kc/linux-notes-pipelines→main· +45 −2 · 1 files · 12 commits · openCI: the
checkjob is red onmainitself (84bd61e2c) with four clippy errors:loop_capsnever read (victory-shader/src/emit/lower.rs),copystat::mbandShadow::rangednever used, and a manual.is_multiple_of()inhost.rs. This PR adds no clippy error and no failing test: I checked by running the workflow's steps on this PR merged intomainand onmainitself. Under Wine, two tests fail now and then onmainas well (xmem::a_title_thread_goes_on_using_the_rest_of_a_view,crash::concurrent_crash_records_stay_together).What: two additions to
docs/linux-proton.md, under "Compiled pipelines between runs". Docs only; no code changes.1. With vkd3d-proton's descriptor heaps. vkd3d-proton master uses
VK_EXT_descriptor_heapwhere the driver has it, and NVIDIA 620 does. On that path the NVIDIA cache stopped helping, measured on this tree at41adb5516:The likely reason: a root signature's static samplers are embedded in each pipeline, so priming them in one order at device creation (
pipeline/samplers.rs) no longer fixes their places. Making a compute pipeline per listed sampler first didn't help either. WithVKD3D_CONFIG=no_descriptor_heap:The note adds that this is the same setting the doc already gives for the Xid 31, and records one Xid 109 in nine runs with it.
2. One process at a time. NVIDIA's cache keeps one main pair of files per program. A process that finds them in use writes side files under the next names: after a few
victory warmruns with six processes there were seven such pairs, 3.4 GB. vkd3d-proton's cache likewise has one write archive, which is where the doc'sFailed to open stream archive write file exclusivelycame from. On NVIDIA that archive holds shader module identifiers, flushed from a background thread once pipeline creation goes idle, so a process that exits right after its last pipeline can lose the last entries. The note recommendsvictory preload --jobs 1(orVICTORY_PRELOAD_JOBS=1) orvictory warm --jobs 1. The "Also seen" bullet that said how much of a preload is kept under Proton "has not been measured" now points to this section.All measured on an RTX 3080 Ti, driver 620.73.04, Proton Experimental 11.0, vkd3d-proton
b70885a5.Context: from getting the title running on an RTX 30 card under Linux/Proton, https://github.com/kc01-8/VIctoryNVIDIALINUX (branch
kc/trustno1, built on this tree). With this setting, play there renders at 19.5 fps with DLSS performance, and FSR 3 frame generation shows 35.8–37.4 frames a second.🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.