Question / Help workaround for slight video stutter (Nvidia)

BK-Morpheus

Active Member
Since weeks I'm searching for a way to fix the slight stuttering that occurs every now and then, when my GPU load switches between ~65-80%.
My game runs smooth, but OBS preview and the recording/stream starts to stutter a little bit from time to time (especially around 70% load).
As neither GPU nor CPU are above 90% load and the game runs smooth, I don't think this is a performance issue.
I think it's more like a problem between the actual Windows 10 + drivers and OBS in between.

Today I played with the NVIDIA Profile Inspector and tried out the driver based Frame Rate Limiter.
I thought this won't help, as I already tried a few games without vsync and 60fps limit before (fps limit through game options, or through MSI Afterburner, which I usually close for those tests). Those tests showed no improvement for the recording and introduced some tearing in my game.

With vsync disabled and fps limit via Nvidia Inspector, I got no tearing, smooth recordings and the only downside is that the gameplay itself has very slight stutter some times. But that stutter is very rare and only for 2-3 frames.
Here are the option in the Nvidia Inspector
inspectorlimitsfjvu.png
.

Only when the GPU load hits way over 90%, there is still some stutter/skipped frames, which is normal, as OBS needs some headroom to render the scene (which is done via GPU, even if you encode with x264).

Tip: If you record Destiny 2 with borderless fullscreen, the Nvidia frame limit might not work at first. Just press ALT+Enter once (for switching to fullscreen, which OBS can not record) and then ALT+Enter again to switch back to borderless fullscreen. The FPS limit will work after that.


edit:
recording example with vsync vs. nvidia fps limit: https://youtu.be/6ewS5lPtsaw
 
Last edited:

BK-Morpheus

Active Member
Update / better fix: At the end of the day, the main problem was Windows + Displayport / HDMI.
When I connect my monitor via DVI, it's running with real 60Hz. With HDMI and Displayport this is not the case.
Although Nvidia settings show "60Hz" both monitors were running at 59.5Hz. With the tool "CRU" (custom resolution utility) I edited both monitor resolutions to real 60Hz and now my games can be recorded smoothly with Vsync.
 
I did try to work on a guide which is on my signature about this subject in question awhile ago. Given I keep hearing about users mentioning rendering lags, some of which experience the GPU usage not even overloaded and still suffering rendering lags/stalls. Hell I noticed PUBG is a total pain in the ass to stream at 60fps regardless of in-game settings and even if the GPU usage is low. I'll try to replicate more of this when I get a chance but I even had rendering lags at 40% GPU usage which was at the FiveM server browser. I did have ReShade on the FiveM client but I didn't know if it can cause worse performance than without it.

Here's a log of my entire stream in GTA V with FiveM just in case anyone's curious, and as mentioned the rendering lags happened when the GPU wasn't even maxed at all.
https://gist.github.com/anonymous/997a1d4b34158542cee3ad8827181cb0
 

BK-Morpheus

Active Member
Update: The Custom Resolution hack is not really a fix. The Frame Limiter from Nvidia Inspector is still the best compromise for me right now.
I hop MS or OBS will figure a way out to fix this.
 
Top