Question / Help Stutter in stream/preview. No rendering/encoding lag.

fatmatrow

Member
Pretty beside myself, spent $5000 on a one-PC streaming rig, and now I get this problem which seems to be unfixable. I've tried all the fixes in this thread to no avail.

SLOBS works fine with no stutter in the preview, nor when streaming. But it doesn't support audio VSTs, which I need for my stream. Maybe that's what's screwing me up with OBS? Doubtful as the problem has been around for a while now, just finally have the rig to squash it once and for all.

Also my version of the issue is alot worse than others i've seen posting videos. Mine is drops from 60 fps to 30 fps about half of the time, and it's totally random, it will switch one way or the other every x seconds, from 1-2 seconds, to 60+ seconds, either at 60fps or 30fps

5950x
3080
32GB 3600 CL14

Sad doesn't begin to describe my feelings towards this, at least some people seem to have fixed their issues which is heartening.
Seems that most people having this problem are having it across MOST streaming software, as I discovered that most streaming software uses obs code under the hood, save for one. VSTs aren't causing the problem. A workaround for your particular situation is a standalone vst rack program that you can just pipe in to slobs. Do some googling and find one that suits your needs, I've seen plenty of free ones
 

boomyak

New Member
Thanks for the suggestion, I was hoping to not have to run my own host for VSTs, as it just adds more resources, and I have to do some creative bussing under the hood.

Anyways, onto the main event here, the preview window stuttering (translating to streamed/recorded content). I just did a recording to show how bad it is for me:

https://www.twitch.tv/videos/94264726
 

fatmatrow

Member
Thanks for the suggestion, I was hoping to not have to run my own host for VSTs, as it just adds more resources, and I have to do some creative bussing under the hood.

Anyways, onto the main event here, the preview window stuttering (translating to streamed/recorded content). I just did a recording to show how bad it is for me:

https://www.twitch.tv/videos/94264726
If you have a 5000 dollar pc a measly vst host will have an almost negligible resource impact, if at all.

As for your OBS issue, iI would need at least a log, your system specs, are you running with an uncapped framerate/no kind of sync on etc. What does your resource overhead look like when streaming
 

boomyak

New Member
I run my stream on the raggety edge, 240hz 1440p, 1080p 60 fps streaming, its hard to hold the framerate i need to not introduce tearing in my stream, trying to maintain 180 fps, so yeah, everything barely works in a 1-pc build right now.

got some VSTs working in slobs, hopefully this will workaround. I deleted OBS out of rage lol, so no logs from me today ^_^
 

fatmatrow

Member
You HAVE to leave your graphics card some overhead for OBS or you're going to run into constant problems. You should also limit your fps to a locked framerate, either 60 or 120, to avoid having stutter. If you're running with less than 20 percent resource overhead you're just gonna have problems with skipping and stuttering. Are you using NVENC or x264? What are your system specs?
 

boomyak

New Member
You HAVE to leave your graphics card some overhead for OBS or you're going to run into constant problems. You should also limit your fps to a locked framerate, either 60 or 120, to avoid having stutter. If you're running with less than 20 percent resource overhead you're just gonna have problems with skipping and stuttering. Are you using NVENC or x264? What are your system specs?


Not to sound rude, but I am aware of all of this. I have a comfortable overhead, but not any wiggleroom, as I mentioned I cap my frames at 180, which is an even divisor of 60.

Besides, the stutter in the preview window is constant weather I'm recording/streaming or not.

3080
5950x
32gb fast ram

using nvenc new, but same regardless of encoder.

Now my new problem is in SLOBS I'm getting crackles and pops in the audio if I use anything other than h.264 and performance mode, and i want to use nvenc, thats why i bought the 3080... I can't seem to catch a break :/
 

fatmatrow

Member
Not to sound rude, but I am aware of all of this. I have a comfortable overhead, but not any wiggleroom, as I mentioned I cap my frames at 180, which is an even divisor of 60.

Besides, the stutter in the preview window is constant weather I'm recording/streaming or not.

3080
5950x
32gb fast ram

using nvenc new, but same regardless of encoder.

Now my new problem is in SLOBS I'm getting crackles and pops in the audio if I use anything other than h.264 and performance mode, and i want to use nvenc, thats why i bought the 3080... I can't seem to catch a break :/
If SLOBS isn't having any stutter issues, but OBS is, it's a settings issue most likely. To tell you that, I'd need a log. The stutter issue thats been prevalent with some people lately that they'll be looking in to typically presents in most streaming software, since its all based on some OBS code save for 1 that I've found.

That being said, while they share code, SLOBS is a wholly independent fork of obs and not the focus of these forums.

If you reinstall OBS, do a 20 minute stream where the issue is present, then shutdown obs, open it back up, and submit the last full log. That way we can see what might be causing the issue. Now, It could be an nvidia control panel setting that you have set differently, it could be a windows setting, but always start at the log.

I get it, its frustrating. The stutter problem thats going to be worked on doesn't even appear in our logs, nor does obs show any outward signs of a problem aside from the stutter. I built a whole second computer just to have the exact same issue as the old one. It sucks so fucking bad. I've seen a trend of the people with the really expensive setups having the stutter issue as well.

I promise that, if you're indeed having the same issue, I will inform you asap when a solution is found
 

boomyak

New Member
Okay I reinstalled OBS, and will work on getting the log, just need to figure out how. I appreciate you taking the time to help me debug this. Although I'll say that I just did a test with SLOBS, with theoretically the exact same settings as OBS, and it worked just fine while streaming:

https://www.twitch.tv/videos/942854337

With OBS re-installed, I ran through the same part of the level, and it's stuttering in the preview window before I even start streaming *shrug*

I'll do an OBS stream now and post the log.
 

boomyak

New Member
I noticed in my log that I still has StreamFX and the transition matrix plugins, so I reinstalled OBS entirely (kept settings), fired it back up, same issue still persists. Also the sample rate mismatch is just a casualty of me trying all sorts of fixes, I forgot to reset it to 44.1, doing so did not solve the problem or have any effect.
 

fatmatrow

Member
I noticed in my log that I still has StreamFX and the transition matrix plugins, so I reinstalled OBS entirely (kept settings), fired it back up, same issue still persists. Also the sample rate mismatch is just a casualty of me trying all sorts of fixes, I forgot to reset it to 44.1, doing so did not solve the problem or have any effect.
Some things that stand out:
Update windows
Turn game mode on

You have an extremely busy scene collection(lots of stuff and transitions), and I suspect something there could be causing the issue, if you could do a 15 minute 'clean stream'. Start a new scene collection(not just a new scene), and add just a capture source, either a game capture or a capture card, as I see you use both. do the same thing as before and see if you're still having the issue.
 

Tiffo

New Member
Have anyone tried changing the OBS Renderer? By default it's the Direct 3D but you can change it via command line to OpenGL. I'm not a specialist in this area, but maybe it worth a try...
 

fatmatrow

Member
Have anyone tried changing the OBS Renderer? By default it's the Direct 3D but you can change it via command line to OpenGL. I'm not a specialist in this area, but maybe it worth a try...
that has the same issue with even worse performance
 

Tiffo

New Member
that has the same issue with even worse performance

I'm giving a try with OpenGL.
Today I'm gonna stream for the 2nd time using it and let's see how it is going to perform. For me it seem to perform better than Direct3D. My preview isn't perfect, but it's much more smooth in terms of FPS consistency.
 

Zedlog

New Member
Hello, I have the same problem with stuttering in the preview as well as in the recording and in the stream.

I use a Livegamer 4k.

Someone found a solution yet?
 

cl4pm0w

New Member
Hm...sad to read all of this just to realize that I'm encountering the same issue.
Everything was working perfectly when I last streamed in September 2020, took a longer break and wanted to stream just for fun a little here and there.

All of a sudden my Ryzen 9 3900X can't handle x264 encoding any more, even veryfast has some regular stutters (slow preset was perfectly doable in Sept 2020...)
Can upload some logfiles later when I'm done with work and I can tinker around a little bit more.

Only thing that changed was the Windows Update (2H20) at first, then I started to update my nvidia driver and OBS version to see if it changes anything.
I'm sending my video signal via NDI (OBS Plugin) with my native resolution (2560x1440) to my stream rig.
Canvas and Base Resolution there is 1920x1080 and then I rescale my Output via the encoder to 1536x864 @ 6000kbps.

This has worked like a charm before. I don't have any issues in my preview on the stream rig (game rig disabled), except when I start streaming/recording with x264.
Was also able to reproduce the problem constantly by using the same settings for recording as I stream with. (x264, CBR @ 6000kbps, keyframe 2, CPU usage slow/medium, Profile high, tune none and no additional settings).
Stutters all over the place, lowering the CPU usage preset to veryfast does help a little, but the issue is still there and noticable.

I need to verify this, but I think I don't have any issues when using NVENC..funny side note:
If I stream and save a replay of 15 seconds length with NVENC, I don't have any stutters in the video, but I do have it on stream.

Maybe something is amiss with x264 and the newest Windows Update?
 

fatmatrow

Member
Hm...sad to read all of this just to realize that I'm encountering the same issue.
Everything was working perfectly when I last streamed in September 2020, took a longer break and wanted to stream just for fun a little here and there.

All of a sudden my Ryzen 9 3900X can't handle x264 encoding any more, even veryfast has some regular stutters (slow preset was perfectly doable in Sept 2020...)
Can upload some logfiles later when I'm done with work and I can tinker around a little bit more.

Only thing that changed was the Windows Update (2H20) at first, then I started to update my nvidia driver and OBS version to see if it changes anything.
I'm sending my video signal via NDI (OBS Plugin) with my native resolution (2560x1440) to my stream rig.
Canvas and Base Resolution there is 1920x1080 and then I rescale my Output via the encoder to 1536x864 @ 6000kbps.

This has worked like a charm before. I don't have any issues in my preview on the stream rig (game rig disabled), except when I start streaming/recording with x264.
Was also able to reproduce the problem constantly by using the same settings for recording as I stream with. (x264, CBR @ 6000kbps, keyframe 2, CPU usage slow/medium, Profile high, tune none and no additional settings).
Stutters all over the place, lowering the CPU usage preset to veryfast does help a little, but the issue is still there and noticable.

I need to verify this, but I think I don't have any issues when using NVENC..funny side note:
If I stream and save a replay of 15 seconds length with NVENC, I don't have any stutters in the video, but I do have it on stream.

Maybe something is amiss with x264 and the newest Windows Update?
Thats what happened to me. I stopped streaming in 2019 because I moved in with my parents for a few months after surgery then the pandemic hit and all my stuff was still at my house. I come back in october and near the end of the month i noticed it, tried everything i could think of to fix it, got a lot of advice, and finally built a completely different second computer and it does the exact same thing! I spent all Dec, Jan, and most of feb trying to find the issue to no avail. It may be related to intermittent usb issues, as it is also intermittent and depends on the lanes coming off the chipset etc etc but if not they'll be looking into it soon after OBS 27 is finished
 
Top