Linux/RADV findings: measured settings, Wine gotchas, open texture-corruption lead #29
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?
Imported from Slaktarn700/SlaktarnVI. Originally posted by Fedalv on 2026-11-30T18:49:02Z.
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.
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 (Slaktarn6990246, cool_fox ddb4443, VIctory-NVIDIA d7c2d8a7).If you've seen the same thing, or fixed it, we'd like to hear about it.
Imported from Slaktarn700/SlaktarnVI. Originally posted by Slaktarn700 on 2026-12-01T02:18:16Z.
Thank you, two of your findings are in
bd906bd: the realtime limit of 0 (it is said in the log and the README), and faces: a pass run once was dropped on cold caches.