Question / Help Framerate in OBS is hardly ever constant.

DJS

Member
d8324b2f2a312c0c921c17baa42f2cbf.gif


I once read a post someone wrote going really in depth about how the GPU works within OBS but cant seem to find it anymore. I believe this to be related to GPU somehow but my 1080 is doing nothing else at the same time yet it is not producing a stable framerate.

Any ideas?
 

Attachments

  • 2017-09-02 00-07-51.txt
    99 KB · Views: 22

Mario345

Member
dont use 20.0.1 it has quite alot of issues if you using new networking code i have slight issues after turning this off my friend and some others have the dropping frames so if this is applying to you try obs 18(this one has no issues)
 

R1CH

Forum Admin
Developer
@Mario345 Please don't spread misinformation, 20.0.1 is perfectly fine. There is only an issue with the new network code when using the AMD encoder.

@DJS If possible, post a log from a session that highlights the problem, your log seems to show an awful lot going on (capture card and game capture both active, multiple x264 attempts at slow presets, auto configs, etc). Open OBS, start recording until the problem occurs, stop recording, then "Upload current log".
 

DJS

Member
Alright, I still stream at 30fps because I have viewers who cant watch 60fps right now with the ambition to do 60fps in the future. While streaming at 30fps there are visible stutters during the stream but only every so often, but if i change to 60fps it's constantly missing frames.

The log is 720p60fps, veryfast, 3000kbps although I usually stream medium-slow cause the cpu can handle it.

One thing though, I have a lot of scenes within scenes, could this be the problem? It's the only way for me to group my cam border and the cam for example. I also have all my game captures in one scene called game.

From testing I noticed that if i had the Firefox scene enabled but Firefox actually closed the "time to render" would go much higher. During the whole time the time to render never peaked above the 33.333 for 30fps or 16.666 for 60fps (Am i right there?) at least from what I could see from the stats box.
 

Attachments

  • 2017-09-04 23-45-01.txt
    23.3 KB · Views: 20

Mario345

Member
@Mario345 Please don't spread misinformation, 20.0.1 is perfectly fine. There is only an issue with the new network code when using the AMD encoder.

@DJS If possible, post a log from a session that highlights the problem, your log seems to show an awful lot going on (capture card and game capture both active, multiple x264 attempts at slow presets, auto configs, etc). Open OBS, start recording until the problem occurs, stop recording, then "Upload current log".
lol im not spreading misinfo if you looked at your github youll see your own post with the coder issue and 20.0.1 isnt perfectly fine now 18.0.2 is fine same with 19.0,0 and its not just amd its also nvidia encoder
 

Fenrir

Forum Admin
lol im not spreading misinfo if you looked at your github youll see your own post with the coder issue and 20.0.1 isnt perfectly fine now 18.0.2 is fine same with 19.0,0 and its not just amd its also nvidia encoder

Please provide the exact location in the github repo where this issue is introduced.

OBS uses FFmpeg for nvenc, and we have not changed or updated FFmpeg in that time.

You've been warned multiple times now to stop spreading misinformation based on your own, specific, isolated issues. Consider this a final warning.
 

Mario345

Member
Please provide the exact location in the github repo where this issue is introduced.

OBS uses FFmpeg for nvenc, and we have not changed or updated FFmpeg in that time.

You've been warned multiple times now to stop spreading misinformation based on your own, specific, isolated issues. Consider this a final warning.
even though im not spreading misinfo harold doesnt help much also the nvidia coder doesnt work correctly with the new networking code so i dont care if you ban me as you can tell everyone is having issues with 20.0.1, and the part of the github post said were looking into issues with amd and other encoders that are having issues with the new networking code or whatever so yeah maybe tell harold to be more helpful

[Mod edit: User was warned for this post.]
 
Last edited by a moderator:

Fenrir

Forum Admin
Alright, I still stream at 30fps because I have viewers who cant watch 60fps right now with the ambition to do 60fps in the future. While streaming at 30fps there are visible stutters during the stream but only every so often, but if i change to 60fps it's constantly missing frames.

The log is 720p60fps, veryfast, 3000kbps although I usually stream medium-slow cause the cpu can handle it.

One thing though, I have a lot of scenes within scenes, could this be the problem? It's the only way for me to group my cam border and the cam for example. I also have all my game captures in one scene called game.

From testing I noticed that if i had the Firefox scene enabled but Firefox actually closed the "time to render" would go much higher. During the whole time the time to render never peaked above the 33.333 for 30fps or 16.666 for 60fps (Am i right there?) at least from what I could see from the stats box.

Looking at the log, it appears something is causing your GPU to become overloaded. Have you used a tool like GPUz to watch GPU load?

Also, you can use GPUz to verify that the card is running in the correct mode. Take a screenshot of the main tab and post it here (there's a button in GPUz that will screenshot itself).
 

DJS

Member
Looking at the log, it appears something is causing your GPU to become overloaded. Have you used a tool like GPUz to watch GPU load?

Also, you can use GPUz to verify that the card is running in the correct mode. Take a screenshot of the main tab and post it here (there's a button in GPUz that will screenshot itself).
Thanks, I'll try that tonight

Is this my problem?

23:47:32.115: ┣tick_sources: min=0.002 ms, median=0.049 ms, max=4600.37 ms, 99th percentile=1.018 ms
 

DJS

Member
Looking at the log, it appears something is causing your GPU to become overloaded. Have you used a tool like GPUz to watch GPU load?

Also, you can use GPUz to verify that the card is running in the correct mode. Take a screenshot of the main tab and post it here (there's a button in GPUz that will screenshot itself).

GPUz

rst.png


Video of the recording

https://youtu.be/oBjPLipaRmo

Log attatched
 

Attachments

  • 2017-09-06 21-15-13.txt
    23.2 KB · Views: 14

Fenrir

Forum Admin
Sorry, I've been really busy lately and this one requires a bit more thought to respond, I have a few ideas but will take me a bit to put it down.
 

Fenrir

Forum Admin
Ok, sorry for the delay here.

To start, let's try a few tests and see if I'm on the right track.

Create a new scene collection (not scene, scene COLLECTION. Menu at the top of OBS).
Add ONLY the game capture source, and make a sample recording of the game itself with no other sources.

Get that log and upload.
 
Top