Bug Report Performance drop when loading existing config

wackazong

New Member
I have a strange problem. I set up a config in OBS, all is fine. Three camlink 4k with 2160p video input, each one in a separate scene. Everything beautiful, CPU is at about 4-5%.

Then the only thing I do is quit and restart OBS, nothing else. Suddenly CPU usage is at 22% and my laptop is completely topped out, all other apps run sluggish and I get lots of dropped frames.

Create a new scene and profile, set up a new config, everything is fine again. I can reproduce this every single time.

How can that be? Logfiles are attached, the older one is the one before the restart.
 

Attachments

  • 2019-11-19 20-26-40.txt
    22.4 KB · Views: 4
  • 2019-11-19 20-32-31.txt
    10.5 KB · Views: 3

Narcogen

Active Member
No output session in either log, so there's not full performance data. (Needs a started/stopped streaming or recording session.

All I do see is that your canvas and output resolutions are 4K, but I assume that's intended, and you're using the 709/Full color space, which for most applications would result in higher load and lower quality-- for most users 709/Partial is suggested.

https://obsproject.com/forum/resour...t-color-range-settings-guide-test-charts.442/

Part of the log does indicate that your GPU is not able to reliably generate frames fast enough to avoid dropping at your selected frame size and frame rate, which is not particularly suprising.

20:32:25.235: obs_hotkey_thread(25 ms): min=25.037 ms, median=28.648 ms, max=33.042 ms, 15.4139% within ±2% of 25 ms (0% lower, 84.5861% higher)
20:32:25.235: obs_graphics_thread(33.3667 ms): min=28.379 ms, median=33.435 ms, max=38.263 ms, 28.3802% within ±2% of 33.367 ms (34.0027% lower, 37.6171% higher)
20:32:25.235: obs_graphics_thread(33.3333 ms): min=28.308 ms, median=33.502 ms, max=38.252 ms, 40.2182% within ±2% of 33.333 ms (30.3273% lower, 29.4545% higher)
20:32:25.235: obs_graphics_thread(33.3667 ms): min=1.403 ms, median=33.375 ms, max=4957.51 ms, 28.7354% within ±2% of 33.367 ms (34.4174% lower, 36.8471% higher)


Your median time to render a frame is hovering around 30ms, when the max to maintain a smooth framerate of 30fps is 32.
 

wackazong

New Member
I am getting different values in the OBS status display. Time to render a frame with a new setup is at around 10-15ms. With a loaded set it's about 25ms. Strange.
 

Narcogen

Active Member
Either of those is pretty high, and an average of 25 if there are spikes almost guarantees you will get some dropped frames.
 
Top