Question / Help OBS invokes frame-crawling after a while.

Moonkis

New Member
I'v been trying out OBS, and my initial thought was that it's a great piece of software! Though after using it for a while I'v noticed a huge problem. Sometimes or rather somedays OBS just drops and lags the fudge out, slowing any game until it is not playable any more.

This happens after every 8~10 minutes of gameplay, I can restart OBS and the Game instantly and then it works great, for about 8~10 minutes. After that it just randomly drops my frame-rate and makes the game lag something horrible.

Other days I can livestream the whole day without any slowdowns or such, it just works flawlessly. Yesterday was such a day, I streamed the entire day and I only got problems once night came, then the same problem. I was thinking that maybe my computer is very warm. But the problem persists today.

I'v decided to turn to the forums, is anyone else having these problems?

Here is an log-file, note that enabling or disabling multi-threading doesn't make a difference.
Open Broadcaster Software v0.472b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
CPU Speed: 2394MHz
Physical Memory: 4001MB Total, 2211MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
monitor 1: pos={0, 0}, size={1366, 768}
monitor 2: pos={-1366, 48}, size={1366, 768}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GT 520M
Video Adapter Dedicated Video Memory: 1026097152
Video Adapter Shared System Memory: 1829275648
------------------------------------------
Adapter 2
Video Adapter: NVIDIA GeForce GT 520M
Video Adapter Dedicated Video Memory: 1026097152
Video Adapter Shared System Memory: 1829275648
=====Stream Start=====================================================================
Multithreaded optimizations: Off
Base resolution: 1280x720
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{21c4d025-58b0-4c8d-9172-756114aaa408}
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using bitmap image
------------------------------------------
device: ASUS USB2.0 WebCam,
device id \\?\usb#vid_058f&pid_a014&mi_00#7&335c350b&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, fps: 15-30.0001, fourCC: 'YUY2'

Using directshow input
Using Window Capture
Using bitmap image
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
fps: 30
width: 1280, height: 720
preset: superfast
CBR: no
CFR: no
max bitrate: 1000
buffer size: 1000
quality: 7
------------------------------------------
Total frames rendered: 27716, number of frames that lagged: 3510 (12.66%) (it's okay for some frames to lag)
x264: frame I:111 Avg QP:24.17 size: 56867
x264: frame P:8773 Avg QP:19.02 size: 5290
x264: frame B:18802 Avg QP:19.07 size: 1054
x264: consecutive B-frames: 9.1% 0.8% 0.5% 89.6%
x264: mb I I16..4: 36.9% 29.5% 33.5%
x264: mb P I16..4: 2.6% 0.7% 0.6% P16..4: 10.6% 0.0% 0.0% 0.0% 0.0% skip:85.5%
x264: mb B I16..4: 0.2% 0.0% 0.0% B16..8: 2.5% 0.0% 0.0% direct: 1.5% skip:95.8% L0:40.7% L1:53.7% BI: 5.6%
x264: 8x8 transform intra:20.5% inter:18.4%
x264: coded y,uvDC,uvAC intra: 35.9% 33.3% 25.1% inter: 1.8% 2.8% 0.8%
x264: i16 v,h,dc,p: 72% 24% 4% 0%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 28% 17% 6% 5% 6% 6% 5% 8%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 29% 12% 7% 6% 5% 5% 5% 7%
x264: i8c dc,h,v,p: 53% 24% 20% 3%
x264: Weighted P-Frames: Y:0.4% UV:0.0%
x264: kb/s:614.71
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 22.037 ms] [avg calls per frame: 1] [children: 48%] [unaccounted: 52%]
| scene->Preprocess - [17.9%] [avg time: 3.953 ms] [avg calls per frame: 1]
| video encoding and uploading - [30%] [avg time: 6.615 ms] [avg calls per frame: 1] [children: 29.8%] [unaccounted: 0.213%]
| | CopyResource - [0.449%] [avg time: 0.099 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [15.4%] [avg time: 3.402 ms] [avg calls per frame: 0]
| | call to encoder - [13.8%] [avg time: 3.043 ms] [avg calls per frame: 0]
| | sending stuff out - [0.109%] [avg time: 0.024 ms] [avg calls per frame: 0]
==============================================================

I know it's not the best computer, BUT how come it works sometimes ( for a full day ) without ANY problems?
 

Grimio

Member
What game are you streaming? And is it the same game that sometimes works and sometimes doesn't?

You may run into problems if you have SLI enabled as well, maybe this is at least a contributor to the problem. Try turning off SLI.
 

Moonkis

New Member
So far every game have behaved the same way ( works flawless sometimes, other times halts after 8-10 minutes ); Don't Starve, The Binding of Isaac, ClaDun x2 ect

As for SLI - I'm not sure I can disable it, couldn't find anything inside Nvidia Control panel about it.
 

hilalpro

Member
you're on a laptop. so your problem could be coming out of heating issues. also in a non sli scenario that gpu is really not enough. try lowering the game settings.
 

Moonkis

New Member
I was trying to profile today if there was indeed heating problems today, unfortunately today is a good day and OBS worked flawlessly, I was able to stream a good hour or so, the frame crawling didn't show and according to the heat profiling they were all stable.

I did the profiling with both the lowest graphical settings and my standard settings.
Here is a log file of 50~ minutes of Binding of Isaac without ANY slowdowns.
Open Broadcaster Software v0.472b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
CPU Speed: 2394MHz
Physical Memory: 4001MB Total, 2715MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
monitor 1: pos={0, 0}, size={1366, 768}
monitor 2: pos={-1366, 48}, size={1366, 768}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GT 520M
Video Adapter Dedicated Video Memory: 1026097152
Video Adapter Shared System Memory: 1829275648
------------------------------------------
Adapter 2
Video Adapter: NVIDIA GeForce GT 520M
Video Adapter Dedicated Video Memory: 1026097152
Video Adapter Shared System Memory: 1829275648
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1366x768
Output resolution: 1364x768
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{21c4d025-58b0-4c8d-9172-756114aaa408}
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using bitmap image
------------------------------------------
device: ASUS USB2.0 WebCam,
device id \\?\usb#vid_058f&pid_a014&mi_00#7&335c350b&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, fps: 15-30.0001, fourCC: 'YUY2'

Using directshow input
Using Window Capture
Using bitmap image
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.2
------------------------------------------
Video Encoding: x264
fps: 30
width: 1364, height: 768
preset: veryfast
CBR: no
CFR: no
max bitrate: 1000
buffer size: 1000
quality: 7
------------------------------------------
Total frames rendered: 81063, number of frames that lagged: 3 (0.00%) (it's okay for some frames to lag)
x264: frame I:348 Avg QP:20.71 size: 38823
x264: frame P:27813 Avg QP:22.57 size: 2453
x264: frame B:52864 Avg QP:25.08 size: 718
x264: consecutive B-frames: 12.5% 1.3% 0.9% 85.3%
x264: mb I I16..4: 53.6% 13.9% 32.5%
x264: mb P I16..4: 2.1% 1.2% 0.5% P16..4: 2.6% 1.1% 0.5% 0.0% 0.0% skip:92.0%
x264: mb B I16..4: 0.2% 0.1% 0.0% B16..8: 1.9% 0.7% 0.1% direct: 0.3% skip:96.6% L0:45.0% L1:50.7% BI: 4.3%
x264: 8x8 transform intra:26.7% inter:15.1%
x264: coded y,uvDC,uvAC intra: 32.9% 31.2% 18.5% inter: 0.7% 0.9% 0.3%
x264: i16 v,h,dc,p: 64% 29% 6% 2%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 35% 21% 4% 4% 4% 5% 4% 6%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 30% 17% 5% 5% 5% 5% 4% 5%
x264: i8c dc,h,v,p: 61% 23% 14% 2%
x264: Weighted P-Frames: Y:2.0% UV:1.3%
x264: kb/s:354.20
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 7.778 ms] [avg calls per frame: 1] [children: 52.4%] [unaccounted: 47.6%]
| scene->Preprocess - [17.6%] [avg time: 1.369 ms] [avg calls per frame: 1]
| video encoding and uploading - [34.8%] [avg time: 2.703 ms] [avg calls per frame: 1] [children: 34.5%] [unaccounted: 0.257%]
| | CopyResource - [0.373%] [avg time: 0.029 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.617%] [avg time: 0.048 ms] [avg calls per frame: 0]
| | call to encoder - [33.5%] [avg time: 2.604 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0257%] [avg time: 0.002 ms] [avg calls per frame: 0]
==============================================================

Hopefully tomorrow is a bad day, and I can prove that heating is not an issue ( or if unlucky, prove that heat is the issue but I'm skeptical ).
 
Top