Stuttering problem #2907
Labels
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida#2907
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?
@ayushkaushish24-del on GitHub · 2026-12-01 17:16 UTC · original
What happens
My game is stuttering even when the fps are above 20 with frame generation on and dlss is not even working it is showing only default game upscaling even after saving the settings
Commit
December 1,2026
System
Win 11, Rtx 4060, i513400f, Ram-32 gb ddr4
Where
check
Command and steps
It happens every time and to launch the game I used launcher.bat
Output
@Alanls-mx on GitHub · 2026-12-01 21:18 UTC · original
Additional first-mission datapoint on Windows, RTX 4060 8 GB / 16 GB RAM, Series S profile: visual FPS samples were 11–33 in the prison scene and 8.5–26 in the transition/gameplay area, with roughly 38–62 ms per frame. The game log recorded 32 pipeline waits at the 8 ms budget; several driver PSO creations took seconds. Host-memory pressure was reported at 2,811 MiB physical free on frame 8, and later system sampling reached about 400 MiB free. This run did not complete the full assault.
Plan: replay the same prison/transition/assault route after warming the newly observed PSOs, record FPS/frame time plus free RAM/VRAM, and separate pipeline waits from scene render/streaming cost.
@fiestorra on GitHub · 2026-12-01 23:23 UTC · original
Two different things in one report, and both have an answer.
1. "DLSS is not even working" on a 4060 - most likely the files are not there. DLSS needs NVIDIA's own DLLs, which this repository does not carry:
d3d12\Get-NVIDIA-DLSS.cmdonce (about 70 MB, from NVIDIA's GitHub) and then the layer can start DLSS.Launcher.batdoes not fetch them. And when they are missing, the fallback is silent by design (play-nvidia.ps1only prints "DLSS only where it can be ... falls back to the stretch") - which is why it looks like DLSS "not working" instead of "DLSS not installed".2. The stutter at 20+ FPS on an 8 GB card is a class this repository knows, and
findings.mdhas it measured: when the title's textures do not fit, the card spends frames inMakeResident(35 ms a frame in one run, the frame 64.6 ms against 33.3 without). That looks exactly like "stuttering even though the FPS is above 20": the median is fine and every so often a frame takes twice as long.How to tell whether it is that, in one run, on
play-nvidia.ps1:-Adapter 4060is worth passing even without an integrated chip: it makes the log name the card the layer took, and if the name is not the NVIDIA one, that was the problem.%LOCALAPPDATA%\Leonida\logs\play-*.log, look forMakeResidentand for a device-removed line. Those two are the 8 GB class; a long tail without them points somewhere else.What can be tried today, while the guard below is not merged:
LEONIDA_TEXTURE_ROOM_PERCENT(50 to 97, 90 by default): the share of the card's budget that host copies of the title's textures may take. Lowering it to 75 or 70 is the smallest step - pass it with-More @{ LEONIDA_TEXTURE_ROOM_PERCENT='75' }.-SeriesSrather than Series X: half the render height, half the texture pressure, and it is what the 8 GiB reports are measured on.#2929 is the pull request that proposes to stop this at the source (a guard that refuses a new 64 MiB texture block when the card is at 95 % of its budget, plus a bigger stack for the pipeline workers that NVIDIA's compiler overflows on 8 GiB cards). It is not merged - I verified it and it needs work (its second fix is not in the code) - but that is the direction.
AI-assisted: yes - DeepSeek v4.1 (flash).
Written with an AI assistant.