Question / Help Huge packet loss / low CPU usage

Gradus

Member
Hello,

Recently I have moved from OBS classic to OBS studio. As comparison OBS Studio has much better render technology provided by Lanczos. However I am having strange issues with OBS Studio. During streaming I get massive frame drops and low cpu usage. I have 2 PC setup and their specs are below. Please also see the other findings below.

My OBS Classic log file:
https://gist.github.com/838dd6d11ca3e1ca8489526f8f00b31b

My OBS Studio log file:
https://gist.github.com/anonymous/0ef190c6bf7ac4a760db31385b18c118

Moreover OBS Studio can't utilize my E5-2683v3 CPU. The encoding gives warning when the CPU reaches around 30%-40 utilization at slow encoding settings. I tried adding thread=28 parameter manually however it didn't help either. Whereas I am not having similar issue with OBS Classic. It works just great. Please see the screenshot at the link below.

http://imgur.com/a/prtyR

Qk0tAPK.png
 

Attachments

  • ss.jpg
    ss.jpg
    575.5 KB · Views: 35
Last edited:

DamageInc

Member
If i havent closed obs down after a recording session i find my log us only partly completed. Closing obs makes it write the whole log.

Just a thought
 

Gradus

Member
I tried to close OBS however no change. I see the same type of logs. For me OBS Studio seems much more unstable than OBS Classic.
 

Suslik V

Active Member
Such big numbers...

Output 'simple_stream': Number of skipped frames due to encoding lag: 1342282180 (2417.6%)

and always memory leak at the end.
_______________________________

By the way, only connection issues in the log. Restart application/OS. Try other web service.
About CPU utilization, some tasks require higher frequency to complete all stuff in time.
 

Gradus

Member
Thank for the reply.

The reason why I have linked the screenshot below. OBS Studio can't utilize my CPU. However OBS Classic works just great. The log file above. I can hit up to 80% CPU utilization when I stream 720p 60FPS 2500bitrate at "slower" encoding settings.

I believe this is some kind of bug with OBS Studio because I can't go more than 35% CPU utilization.

http://imgur.com/a/prtyR
 

Suslik V

Active Member
Some encoding tasks require consecutive calculations to be completed to generate the result. If CPU unable to complete it in time then no one parallel computing helps you. It's like: next frame depends on previous and if previous not ready - CPU can't encode the next one (but it has few cores free). Thus you'll get overload error but has free resources.
 

Gradus

Member
Thanks for letting me know. However my question is why it doesn't occur with OBS Classic? Both program are using x264 core. I have encountered this problem only with OBS Studio. As I said above I can hit 80% utilization with OBS Classic. Above the number I start getting frame drops due to CPU saturation which makes sense.
 

RytoEX

Forum Admin
Forum Moderator
Developer
However my question is why it doesn't occur with OBS Classic? Both program are using x264 core.
Sure, both programs use libx264, but that doesn't mean that both programs assemble or composite scenes in the same way. OBS Studio could be built against newer versions of libx264 that do things differently. OBS Studio itself is designed differently from OBS Classic, since it is a completely different program that just happens to share a name. OBS Studio and OBS Classic may look and behave similarly, but they do not work exactly the same.

Have you tried using a faster x264 preset?
 

Gradus

Member
It seems like my current CPU (E5-2683 v3) can handle up to "medium encoding" (720p-60FPS 2500bitrate) with OBS Studio. However I was able to run at "slower encoding" preference with OBS classic.

I will give a try the same configuration with E5-2699 V4 and will share my experience with you guys.

Thanks for your assistance.
 
Top