Interval stutter / jitter / duplicated frames bug - workarounds

Jobima

New Member
I apologize it dosent get rid of the issues it just makes them harder to notice but they are definitely there but to a lesser extent. I did some more testing and recorded some videos and it is sadly still visible.
true, but I think you dont need set global vsync in the nvidia control panel to 3d application, only set it for OBS in nvidia control panel program settings not in global settings
also I noted setting "low latency mode" to on in global settings help a lot, maybe also setting "background application max frame rate" to 60
 
Last edited:

Bar_be_que

New Member
Im having the issues as well, glad someone is working on it. Ive noticed it more with the later updates of obs. But ive also notice with the website vertical sync test and nvidia drivers 572 down to 551 with my 4070 ti super makes the vertical sync test be out of sync. If i go back to my 3070 ti with driver 546 ish in that area its smooth as silk. So i am thinking its a combo of hardware. 40 series and 50 series but i don’t have a 50 series to test. I can make a video tonight of the 3070 ti vertical sync test and the 4070 ti super and you’ll see the difference. Rather its windows, graphice cards or hardware its a mess. But i don’t think its obs because like i said with the 3070 ti have a smooth feed and not making it stutter then going to the 4070 ti and it does. I think thats why its so hard to find a answer.
 

javiobs

New Member
Hi,

I don't have OBS, and I have the SAME problem. So, I'm not sure if it's a problem of OBS itself.

I have stuttering at EXACT INTERVALS. Every 1-2 seconds there is a stutter. More noticeable when you "turn the camera".

I play all games with vsync enabled on a 60Hz monitor.

Not all games, but many games: Cyberpunk 2077 (GOG), GTA V Enhanced (Rockstar Games Launcher), Portal With RTX (Steam)...

What's very curious/strange is that the stuttering disappears (temporarily) in these cases:

- when I ALT+TAB to alternate between apps, and then come back to the game,
- or when I press the WINDOWS button twice (to pop up the Windows menu, and then close it to come back to the game)

BUT the stuttering comes back again:

- when I pause the game and then quit from pause...
- after a cinematic
- after a few seconds or minutes

But for example, Assassins Creed Shadows (Ubisoft Connect) runs SMOOTHLY. ZERO stuttering.

So, I think it's something related to vsync, or the focus on the windows.

Maybe a combination of: Windows 11 + drivers for RTX series 4000, 5000... + DX11 or DX12... + or even maybe something related to "libraries" for games (Microsoft Visual C++ redistributable...).

My PC specs:

- Windows 11 Pro (24H2)
- i7-13700K
- 64GB RAM DDR5 4800Mhz (in dual channel)
- RTX 4080
- hard drive: NVME 7000MB/s

Windows and all drivers updated (graphic card, BIOS...)

Here some examples:


 

Bar_be_que

New Member
Okay guys i found the fix for my setup.

My pc specs are

amd 7900x
4070 ti super
windows 10
obs studio 31.0.2
monitor is a dell 2524h 240 hz
gysnc and free sync are off. Yes i get some screen tearing

I changed in the nvdia control panel left hand side. " adjust image settings with preview" i then choose use " use the advanced 3d image settings"

Next under manage 3d settings I leave everything to driver default except "power managment mode" I changed it to "Prefer maximum performance". This will make your gpu run full clock all the time! I then rebooted computer and ther vertical sync test was smooth as silk. Here is website i have been talking about. You want to see all grey. If any blue or red flashes there is something going on.

I now No longer have issues with the preview in obs studio picking up those stutters and throwing it out of sync. I no don't have any stutters now at all in any of my videos or streams.


Conclusion to this. I recently upgraded from a 3070 ti to my now 4070 ti super. The only think i can think of the cause is that when our graphics card are in optimal mode setting in the nvida control panel settings that the idle 210mhz on the 4070ti is lower then what it was on the 3070 ti causing out of sync issues for my hi refreshrate of 240hz. People may not notice this on lower refreshrate monitors like 180hz, 165hz 144hz as it's not a hard on the gpu to match this frame rate. I am not talking about game fps just the system overall refreshrate so don't get confused. It can be tough on a card to hit that refreshrate for graphics cards. I hope this help some people causing all the stutters.

If you were to do the math now that was talked about and set fracitonal fps so forth your encoding it should be perfect a perfect copy! I just do common fps 60 though cause 240 goes into 60 so I don't have any issues. Thanks all hope this helps!
 

javiobs

New Member
Hi, I also found a solution to my problem.

It was the monitor.

My current monitor runs at 59.95Hz, and I can't select 60Hz (on Windows 11).

So, when I run games with VSync ON, sooner or later, they go out of sync, which produces stuttering.

I tested with another monitor that supports 60Hz (also 100Hz), and now the games are perfectly synchronized :) (with both, 60Hz and 100Hz).
 

Bar_be_que

New Member
Okay guys i found the fix for my setup.

My pc specs are

amd 7900x
4070 ti super
windows 10
obs studio 31.0.2
monitor is a dell 2524h 240 hz
gysnc and free sync are off. Yes i get some screen tearing

I changed in the nvdia control panel left hand side. " adjust image settings with preview" i then choose use " use the advanced 3d image settings"

Next under manage 3d settings I leave everything to driver default except "power managment mode" I changed it to "Prefer maximum performance". This will make your gpu run full clock all the time! I then rebooted computer and ther vertical sync test was smooth as silk. Here is website i have been talking about. You want to see all grey. If any blue or red flashes there is something going on.

I now No longer have issues with the preview in obs studio picking up those stutters and throwing it out of sync. I no don't have any stutters now at all in any of my videos or streams.


Conclusion to this. I recently upgraded from a 3070 ti to my now 4070 ti super. The only think i can think of the cause is that when our graphics card are in optimal mode setting in the nvida control panel settings that the idle 210mhz on the 4070ti is lower then what it was on the 3070 ti causing out of sync issues for my hi refreshrate of 240hz. People may not notice this on lower refreshrate monitors like 180hz, 165hz 144hz as it's not a hard on the gpu to match this frame rate. I am not talking about game fps just the system overall refreshrate so don't get confused. It can be tough on a card to hit that refreshrate for graphics cards. I hope this help some people causing all the stutters.

If you were to do the math now that was talked about and set fracitonal fps so forth your encoding it should be perfect a perfect copy! I just do common fps 60 though cause 240 goes into 60 so I don't have any issues. Thanks all hope this helps!

Hi, I also found a solution to my problem.

It was the monitor.

My current monitor runs at 59.95Hz, and I can't select 60Hz (on Windows 11).

So, when I run games with VSync ON, sooner or later, they go out of sync, which produces stuttering.

I tested with another monitor that supports 60Hz (also 100Hz), and now the games are perfectly synchronized :) (with both, 60Hz and 100Hz).
My understanding is 60hz is really 59.99. If you do the monitor test though my monitor is set to 240hz and in nvidia control panel my monitor is also set to 240hz when i do that vertical sync test its really showing 239.9996hz. So that is why i still went with 60hz common in obs studio.
 

flapk1337

New Member
Fractional fps recording was the only one that worked for OBS for me. Looking at your screenshot, I think the way you're doing that might not work. OBS only accepts a max 6 digit numerator, so you'll have to find and multiply your refresh rate with a number that results in a numerator value that's below 1,000,000 for the numerator.

You can use this Python code below to quickly calculate the numerator and denominator combo that gives you the smallest decimal value. Just enter the refresh rate you found using displayhz.com into the "refresh_rate" variable and run it. You can run this code online by pasting it into the W3Schools Python compiler.

Python:
min_decimal_value = float('inf')
number_with_min_decimal = None
refresh_rate = 60.000083 # Change this to your refresh rate

for num in range(1000, 20000):
    result = num * refresh_rate
    if result >= 1000000:  # Skip numbers where the result exceeds 1,000,000
        continue

    decimal_part = result - int(result)  # Get the decimal part

    if decimal_part < min_decimal_value:
        min_decimal_value = decimal_part
        number_with_min_decimal = num

print(f"Numerator: {int(number_with_min_decimal * refresh_rate)}")
print(f"Denominator: {number_with_min_decimal}")
print(f"Refresh rate * Denominator: {refresh_rate*number_with_min_decimal}")

you are a savior dude! i was on placebo the whole time it seems.
 

ennimann

New Member
Hello,
I found a solution here that works for me and is replicable.
First, here are my specifications:
- Single PC
- Windows 11 Pro 24H2
- AMD B550 Motherboard
- AMD 5800x CPU
- 32GB DDR4 3600 RAM
- AMD RX 9070 GPU
- 4K TV with HDMI
- Elgato HD60+
- 4K HDMI dummy monitor (60Hz)

The TV is connected to a DP port using a DisplayPort HDMI adapter and therefore does NOT support FreeSync or anything similar.
The Elgato capture card is plugged into the HDMI output, and the dummy monitor is connected to the Elgato OUT port.
This combination forms an extended display in Windows.
I run my simulation in full screen on this (2540x1440).
OBS and other control tools run on the 4K TV, which is the main display.

The graphics accelerators are enabled in Windows.
1746089125566.png

In the graphics driver, I limit everything to 60 Hz.

1746089222637.png


In OBS, I use the AV codec for recordings and streaming.
Enabling the buffer was important when setting up the Elgato capture card.


1746089464522.png


The preview and stream are now virtually stutter-free, as they should be.

Here is the last stream from our event:


I hope this has helped others who are having the same problem on their single-stream PC.

Regards
ennimann
 

ugie

New Member
i think we need report it to microsoft to fix it, it happen too in amd relive and i see other people said happen to shadowplay too
anyone with capable explanation skill please help report to microsoft

for now i think just use mirilis action for fix, very smooth recording for me with action! , maybe they use different close source technique for game capture, i try its window capture same just like obs choppy
 
Top