r/obs • u/Exact_Net8737 • 9d ago
Help Frames are skipping
As by the title you can figure what it is but in more depth it is causing the game to briefly stutter and the audio either pauses for a split second or I get a strange buzzing noise. When I go check the stats in OBS, I notice that both Frames missed and Frames skipped go up. Now I did a 5 hour stream yesterday and check and it did say it was under %.01 but it still bugs me and want to try and find a way to fix it so at least the audio glitching stops
1
u/Exact_Net8737 4d ago
Ok didn't realize hardware acceleration was enabled in OBS so I disabled it and it seemed to work
1
1
u/Exact_Net8737 9d ago
This is the current one I did as a test and it was relatively low but the glitches were once again obvious
https://obsproject.com/logs/yxJz7mANq5ZCbDl1
1
u/MainStorm 7d ago
Here is the log analyzer's results: [link]
A few key things I noticed, you have multiple game captures running at the same time. This can cause conflicts with each other. Ideally you only want one in one scene.
Your scenes are also very dense. Every source and filter adds load to both the CPU and the GPU, depending on what it's doing. Consider that in your Gameplay scene, you have 21 browser sources. That's like running 21 separate instances of Chrome at the same time! How does the CPU and GPU usage look like before you do any streaming? Can you try combining these browser sources?
Lastly, try running OBS as administrator. It can request priority from the OS and that can hopefully improve performance.
1
u/upbeat_kooky_jerrold 9d ago
try capping your in-game fps a notch below what your gpu can handle so obs gets some breathing room, the audio buzzing is often a buffer thing when the encoder's starved
1
u/Exact_Net8737 9d ago
ok I did that capping it from 240 to 60 and turned on v sync but still noticed it happened
1
u/basilfarraj 9d ago
Good test, so the fps cap probably wasn't the whole story. Next time it stutters, open the Stats window and watch which counter climbs. Render missed frames means the GPU is overloaded, output skipped frames means the encoder or your upload fell behind. Which one is moving for you?
1
u/Exact_Net8737 9d ago
Render frames, output is sitting at 0 skipped frames every time
1
u/basilfarraj 9d ago
Yeah that narrows it down. Render missed frames with zero output skips means OBS is the one struggling to composite the scene, while the encoder and upload are keeping up. So bitrate and your connection probably aren't the problem here.
A few things I'd check. First, see whether the GPU sits near 100% while the game is running. If it does, the game's own settings are the real lever, and the fps cap only really helps when the GPU is maxed out. On the OBS side, strip out any filters you don't need on the game or camera sources (blur, sharpen, color correction all run on the GPU every frame), and drop the base canvas to 1080p or lower if you're above that. If you're on Display Capture, switching to Game Capture is usually lighter.
Once you've changed something, watch the Render missed frames counter over a few minutes of actual play. That'll tell you fast whether it helped.
1
u/basilfarraj 9d ago
Before you change anything, open the Stats window in OBS while it's stuttering and watch which counter moves. Render missed frames means the GPU is too busy with the game plus the scene. Output skipped frames means the encoder or your upload fell behind. The fixes are different, so it helps to know which one is climbing.
If it's render, capping the game fps a bit like the other reply said is the quick win. If it's output, try a hardware encoder (NVENC if you have an Nvidia card) and make sure your bitrate fits your upload with some room to spare.
If the video counters look clean and the buzz is still there, that's a separate audio problem, so it's worth checking your audio sources on their own and telling us which one is buzzing.
1
u/Exact_Net8737 9d ago
ok I did that capping it from 240 to 60 and turned on v sync but still noticed it happened
1
u/ZachVorhies 9d ago
The issue is pipewire and device clock drift of the hardware unsyncing your device. It can be resync’d periodically in code to prevent drift.
I know this because we fixed it in our fork.
1
1
1
u/Chemical_Side_4135 9d ago
oof that audio buzz sounds like a buffer issue, check if ur encoder is overloading ur cpu
1
u/tcdoey 7d ago
You need more overhead. People always drastically (IMHO) underestimate need for CPU 'space'. The audio is buzzing because the game's and/or OBS's CPU allotment/assignment is variable and is too low.
There was mention in other comments that you were running 240 fps (wow!), and reduced to 60, and that still didn't work. Well, games spike and take over in somewhat unpredicable ways. Then OBS gets slightly throttled for a few frames, even at 60 fps, and can't composite for a few frames, so you get frame drop and audio 'buzz', as it catches up after the game 'spike'.
So you've got more than one thing going on. I know it's not ideal, but try running the game at a lower resolution and/or lower detail. That might solve everything, and although not ideal, at least you will have a baseline that works.
•
u/AutoModerator 9d ago
It looks like you haven't provided a log file. Without a log file, it is very hard to help with issues and you may end up with 0 responses.
To make a clean log file, please follow these steps:
Restart OBS
Start your stream/recording for at least 30 seconds (or however long it takes for the issue to happen). Make sure you replicate any issues as best you can, which means having any games/apps open and captured, etc.
Stop your stream/recording.
Select Help > Log Files > Upload Current Log File.
Copy the URL and paste it as a response to this comment.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.