Linux/RADV findings: measured settings, Wine gotchas, open texture-corruption lead #4317
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#4317
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?
@Fedalv on GitHub · 2026-11-30 18:49 UTC · original
Sharing what we measured running VIctory on Linux (Proton Experimental 11.0 + vkd3d-proton 71cae09, RADV, RX 7900 XTX 24 GB, Zen 4 8 cores), Series X profile at native 1440p. It may save you some time. Patches and our settings file are in this gist: https://gist.github.com/Fedalv/6e833ccda05fbbab7335433a27988e24
Our build: upstream 014d52d + #440 (Wine: WINE_MAP, PORT_HOME, CLAMP_SYNC) + #437 #434 #436 #438 #376 #372 #330 #423 #443 #474 #451 #446 #296 #308 #419 #377 + #454.
Linux / Wine gotchas
RLIMIT_RTTIMEhard limit of 0 inherited from Electron apps (VS Code; Brave too) → the first CPU-time timer on a thread SIGKILLs the process.systemd-run --user --scopekeeps the 0; launching as asystemd-run --userservice gets unlimited. Checkgrep 'realtime timeout' /proc/<pid>/limits. About half our scripted runs died early before this fix; none since.PROTON_VERB=runinprefix, which then needsWINEDLLOVERRIDES=dxgi=n. Proton re-copies d3d12 into system32 on every launch, so copy yours after it. vkd3d writes its shader cache to the cwd unlessVKD3D_SHADER_CACHE_PATHis set.0xfffffffff000on a compute ring, queue reset fails → full reset, which took the compositor down. Patch 0002 bounds-checks every card-step copy (it never fired, so the copies weren't the cause); nothing since we put copies on SDMA.VKD3D_CONFIG=single_queueavoids compute rings but costs 5× the frame time.Settings measured (median frame time, scripted save path, ≥240 s runs)
RADV_EXPERIMENTAL=transfer_queue(vkd3d copy queue on SDMA)VICTORY_LAND_THREADS=4(8 CPUs, no SMT)VICTORY_PORT_CBV=1VICTORY_PORT_CONSTANTS_ORDER_BATCH=1(#438)VICTORY_CARD_STEPS_LEARN=0(#434)VICTORY_CARD_STEPS=0INPLACE/PORT_ALL/WINDOW_KB/RESIDENCYVICTORY_FILL_FORWARD(#436),VICTORY_PARTIAL_WRITTEN=1,PAINTED_EVERY=4Correctness on Wine/RADV:
VICTORY_LAND_ECHO=0(faces lose their skin otherwise),VICTORY_FETCH_CHECK=1, port 2 off (distant trees flicker, #122), and patch 0003 for faces (fxceless#927 half views + #114 table view kinds + raw typed loads, taken from bordersky/victory-linux 2294b83).Where the time goes (timeline): ~44 ms serial chain per frame. Title CPU ~16, copy-back ~8, card copies ~6, submit ~4. The submit thread is saturated; the GPU itself is busy ~6 ms. Heavy scenes add 15–30 ms of card waits from 2,500–3,000 lone in-place clamps per frame.
Open: texture corruption (help welcome)
In roughly half of our runs, on every build and setting we tried, some texture slot shows wrong or stale contents: rainbow/flat-colour blocks, porcelain or glowing skin, glowing white eyes, the wrong texture on a shirt, a black bottle label. It hits the same assets each time (a face behind sunglasses, a floral shirt in a close-up), which points at a per-texture streaming/upload race.
dbba4ad7partial-written (patch 0006), cool_fox 872c383 + 43ec622 (block noise 0/3 vs 2/3 in one bench, but artifacts stayed in other runs, and the title asserted in 2/12 launches with them), PAINTED_EVERY, ending batches at image stores. Heap/room fixes from other forks don't apply here (0 slots refused, 24 GB).Translated::stores(pipeline.rs) ignores image (MIMG) stores and render-target writes, which alias buffer memory on the console. Next on our list: the bindless "textures picked by index" fixes (Slaktarn 6990246, cool_fox ddb4443, VIctory-NVIDIAd7c2d8a7).If you've seen the same thing, or fixed it, we'd like to hear about it.
@github-actions[bot] on GitHub · 2026-11-30 18:49 UTC · original
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)