[memory][linux-proton] VRAM outside the card ledger grows in steps until the card is full; GPU time jumps to 100-200 ms a frame (RTX 5080, Proton) #111
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?
What you see
After 20 to 70 minutes of play the frame rate drops from about 25 to 5-10 and does not recover until the game is restarted. The play log shows no device removal.
The card ledger's
unaccounted = used - sumgrows in steps of 0.2 to 1.2 GB during play, while the ledger's own sum stays under the budget. When DXGI local used reaches about 11.3 to 11.9 GB (16 GB card), GPU time per frame goes from 10-20 ms to 100-200 ms.Example, the attached log (
1a5286a7, budget 8000): unaccounted 3.47 GB once the world loads, then 3.95, 4.02, 4.41 ... 5.39 GB over about 37 minutes. At 47 minutes a step of +0.7 GB to 6.03 GB, DXGI local 11.93 GB, and GPU time 56 then 160 ms a frame. The ledger sum stayed at or under 5.9 GB.Other runs, same pattern:
4a92569f, budget 8000: unaccounted flat at about 4.0 GB for about 31 minutes, then +1.2 GB in one step; that run stayed at about 11.4 GB without sliding.4a92569f, budget 9000 (with DARNER_PAGE_PACK=1): slid at about 19 minutes, unaccounted 4.36 GB, DXGI local 11.34 GB.e6245bf5, budget 9000: slid at about 68 minutes, unaccounted 4.6 GB, DXGI local about 11.5 GB.It does not look like shader builds: in the attached run the log has 3,657 host pipelines when the world loads and 3,722 at the end.
Question: is there a way to log what the unaccounted part is (Streamline / DLSS frame generation, vkd3d-proton internals, the swap chain), to narrow down which one grows?
GPU and driver
RTX 5080 16 GB, driver 620.73.04
CPU, RAM and Windows version
Ryzen 7 9800X3D, 64 GB, Linux: CachyOS (KDE Plasma, Wayland), GE-Proton11-16 with Wine-Wayland, ntsync on
Darner release or commit
1a5286a7(v2026.12.02.02-293); also seen on4a92569fande6245bf5Settings
Series X, 1920x1080 to 2560x1440, DLSS Balanced (preset K), DLSS frame generation 2x, 30 fps cap, HDR on, texture quality LOW, ray tracing off.
Environment:
VKD3D_CONFIG=no_upload_hvv,VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains,PROTON_ENABLE_NVAPI=1,PROTON_ENABLE_WAYLAND=1.--set:
DARNER_VRAM_BUDGET_MB=8000,DARNER_PARK_COMPACT_WASTE=1,DARNER_PRESENT_SENT=1,DARNER_SCRATCH_CARD=force,DARNER_HDR_PAPER_WHITE=200,DARNER_DS_TRIGGERS=1,DARNER_DS_LIGHTBAR=red,DARNER_MIP_BIAS=auto,DARNER_DLSS_PRESET=k,DARNER_TEARING=0. The full switch list is on the log's first line.Logs
The play log of the 47-minute run (darner-play-20261203-191448-368.log, zipped) is attached in a comment below.
Are you working on a fix?
No response
From your log: Streamline reports
setDynamicMFGParams failed with status 1every frame (68,876 times) from the first seconds on. That comes from inside NVIDIA's frame generation and points at frame generation not running properly under Proton. Frame generation's own resources are also not counted in our ledger, so they are a good candidate for the unaccounted growth.Could you run once with frame generation off (F1 FRAME GENERATION off, same route and length) and post the log? If unaccounted memory stays flat, it's frame generation; if it still grows, the next suspect is vkd3d-proton.
In main (
3e6c82fb), a message Streamline repeats is now logged once and then every 1000th time with a count, so logs like this stay small.