RTX 4060 Ti 16 GB, runs 18–23: memory.c budget-lock fix (no Xid 13 since), swap lets runs reach 51 min, Xid 109 is rarer but not gone, preload works on Linux #7
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/kc01-8--LINUX-NVIDIA-VI#7
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?
@leonpersi on GitHub · 2026-12-03 19:38 UTC · original
Follow-up to my earlier RTX 4060 Ti report (runs 1–17). Same PC: RTX 4060 Ti 16 GB (PCIe 4.0 x8), NVIDIA 620.73.04 open module, Ryzen 7 7700, 30 GiB RAM + 30 GiB zram, CachyOS 7.3.6, KDE Wayland. Same code:
kc/trustno1@6131ceb, Proton Experimental 11.0-20261123b with your views-rbtree wineserver,linux-foxhoundprofile, DLSS performance (Streamline 2.10.3 / NGX 310.5.2),VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains, texture room 85/85,--mem-max 24G --watchdog.1. vkd3d-proton 020fc944 + the memory.c budget-lock fix (#3542)
Applied the one-line change (
if (vr != VK_SUCCESS || !rebar_budget || !respect_budget)before thebudget_locklock). The card is full in every long run here, so this path is hit.build.64failed at link (undefined reference to std::__1::…: objects built against llvm-mingw's libc++ mixed with GNU ld because llvm-mingw was on PATH). A fresh build folder with llvm-mingw kept out of PATH fixed it:2. Correction: Xid 109 still happens on the tree of views
Run
20261202T212820Zhit Xid 109 ~50 s in (CTX SWITCH TIMEOUT, channel 0x1c, Info 0xbc030) on the views-rbtree wineserver. That's 1 in 10 runs on that server so far, against 3 in 4 comparable stock-server runs. So it's rarer there, not gone. Please treat my earlier "none on the tree of views" accordingly.3. What ends the long runs: the cgroup cap, and the crawl before it
Memory cgroup out of memory: Killed process … (main); kc-run's meta.txt saidoom_kill 0for one of them, so that reading seems to come too early).NV_ERR_NO_MEMORY … system_mem.c4 min before the kill. So it's memory pressure, not shader compiling.4. Letting the scope swap: 51-minute run
I changed kc-run.sh's
-p MemorySwapMax=0to-p MemorySwapMax=${KC_SWAP_MAX:-0}and ran withKC_SWAP_MAX=8G(zram). Default behaviour is unchanged.20261202T220503Z): ~51 min, ended only because I closed the window. No Xid, no kill, memory peak 23,643 MiB, card 14.8/14.8 GB, ~8.5 GB "PC's shared with the card".5.
victory preloadon Linux through kc-run.shThe docs only show Windows, but this works. It's the normal launch environment, plus
--dry,VICTORY_SUBCOMMAND=preload, and the title folder as a Z: path after the title:Going through kc-run.sh keeps the same program path (
victory/bin/<vkd3d folder name>/victory.exe), which NVIDIA's cache is keyed on, and the same profile settings.6. Numbers so far on this card
Missions are CPU/translation-bound at ~12 fps. Open-world driving is card-bound again (130–170 ms of card time per frame) at ~5 fps.
Logs for any of these runs on request.