Bug Report Stutter and other FPS issues

Voxletum

Member
Tested again with aero disabled and the only source in the scene being the game capture on full screen league. Had serious FPS drops that made it unplayable a few times a minute, sometimes during no action scenes and sometimes during heavy action. My CPU would max out when this happens, but OBS shouldn't make it do that since it's running at 2.6-2.7ghz during the game...?

*edit* this vod at that timecode and for a minute after is a good example of it happening in both low intensity and high intensity scenes: http://www.twitch.tv/voxletum/b/354766292?t=39m18s The lag makes it hard to react to anything really.

Code:
Open Broadcaster Software v0.466a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
CPU Speed: 2192MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 580M     
  Video Adapter Dedicated Video Memory: 2096693248
  Video Adapter Shared System Memory: 2147233792
------------------------------------------
Adapter 2
  Video Adapter: NVIDIA GeForce GTX 580M     
  Video Adapter Dedicated Video Memory: 2096693248
  Video Adapter Shared System Memory: 2147233792
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Razer Banshee)
------------------------------------------
Audio Encoding: AAC
    bitrate: 160
Using Monitor Capture
Using graphics capture
Using Monitor Capture
------------------------------------------
    device: Integrated Webcam,
    device id \\?\usb#vid_05ca&pid_181a&mi_00#7&38ee4c21&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
    chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, fps: 30-30, fourCC: 'YUY2'

Using directshow input
Using text output
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 2500
    quality: 8
------------------------------------------
Total frames rendered: 159, number of frames that lagged: 2 (1.26%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Razer Banshee)
------------------------------------------
Audio Encoding: AAC
    bitrate: 160
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 2500
    quality: 8
------------------------------------------
Total frames rendered: 175, number of frames that lagged: 3 (1.71%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Razer Banshee)
------------------------------------------
Audio Encoding: AAC
    bitrate: 160
Using Monitor Capture
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 2500
    quality: 8
------------------------------------------
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 1003, number of frames that lagged: 36 (3.59%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Razer Banshee)
------------------------------------------
Audio Encoding: AAC
    bitrate: 160
Using Monitor Capture
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 2500
    quality: 8
------------------------------------------
Total frames rendered: 62, number of frames that lagged: 1 (1.61%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Razer Banshee)
------------------------------------------
Audio Encoding: AAC
    bitrate: 160
Using Monitor Capture
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 2500
    quality: 8
------------------------------------------
Using Window Capture
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 3665, number of frames that lagged: 18 (0.49%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Razer Banshee)
------------------------------------------
Audio Encoding: AAC
    bitrate: 160
Using Monitor Capture
Using graphics capture
Using Window Capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 2500
    quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-mia.justin.tv/app
bufferTime: 1434, outputRateWindowTime: 1000, dropThreshold: 1934
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 71580, number of frames that lagged: 5161 (7.21%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 24.421 ms] [avg calls per frame: 1] [children: 95.2%] [unaccounted: 4.76%]
| scene->Preprocess - [62.6%] [avg time: 15.288 ms] [avg calls per frame: 1]
| video encoding and uploading - [32.6%] [avg time: 7.971 ms] [avg calls per frame: 1] [children: 14.3%] [unaccounted: 18.3%]
| | CopyResource - [0.086%] [avg time: 0.021 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0942%] [avg time: 0.023 ms] [avg calls per frame: 0]
| | call to encoder - [14.1%] [avg time: 3.436 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0737%] [avg time: 0.018 ms] [avg calls per frame: 0]
==============================================================

and my settings with key removed:
Code:
[Audio]
MicBoostMultiple=2
ForceMicMono=0
MuteDesktopHotkey=0
MuteMicHotkey=0
PushToTalkDelay=200
PushToTalkHotkey=0
UsePushToTalk=0
UseHighQualityResampling=0
DesktopVolume=1.000000
MicVolume=0.000000
Device=Default

[Video]
UnlockFPS=0
BaseHeight=1080
BaseWidth=1920
DisableAero=1
Downscale=1.000000
FPS=30
Monitor=0

[Video Encoding]
DisableCTSAdjust=0
UseSyncFix=0
CustomSettings=
UseCustomSettings=0
UseCBR=0
Use444=0
Quality=8
Preset=veryfast
MaxBitrate=2500
BufferSize=2500

[Audio Encoding]
Codec=AAC
Bitrate=160
Format=1

[Publish]
UseSendBuffer=1
BindToIP=Default
SendBufferSize=1460
Dashboard=http://www.twitch.tv/broadcast/dashboard
StartStreamHotkey=0
StopStreamHotkey=0
SavePath=
SaveToFile=0
Delay=0
AutoReconnectTimeout=10
AutoReconnect=1
URL=US East: Miami, FL
PlayPath=key deleted
Mode=0
Service=1

[General]
UseMultithreadedOptimizations=1
Priority=Normal
 

lt_yao

New Member
Voxletum said:
Tested again with aero disabled and the only source in the scene being the game capture on full screen league. Had serious FPS drops that made it unplayable a few times a minute, sometimes during no action scenes and sometimes during heavy action. My CPU would max out when this happens, but OBS shouldn't make it do that since it's running at 2.6-2.7ghz during the game...?

*edit* this vod at that timecode and for a minute after is a good example of it happening in both low intensity and high intensity scenes: http://www.twitch.tv/voxletum/b/354766292?t=39m18s The lag makes it hard to react to anything really.

Code:
Open Broadcaster Software v0.466a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
CPU Speed: 2192MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 580M     
  Video Adapter Dedicated Video Memory: 2096693248
  Video Adapter Shared System Memory: 2147233792
------------------------------------------
Adapter 2
  Video Adapter: NVIDIA GeForce GTX 580M     
  Video Adapter Dedicated Video Memory: 2096693248
  Video Adapter Shared System Memory: 2147233792
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Razer Banshee)
------------------------------------------
Audio Encoding: AAC
    bitrate: 160
Using Monitor Capture
Using graphics capture
Using Monitor Capture
------------------------------------------
    device: Integrated Webcam,
    device id \\?\usb#vid_05ca&pid_181a&mi_00#7&38ee4c21&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
    chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, fps: 30-30, fourCC: 'YUY2'

Using directshow input
Using text output
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 2500
    quality: 8
------------------------------------------
Total frames rendered: 159, number of frames that lagged: 2 (1.26%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Razer Banshee)
------------------------------------------
Audio Encoding: AAC
    bitrate: 160
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 2500
    quality: 8
------------------------------------------
Total frames rendered: 175, number of frames that lagged: 3 (1.71%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Razer Banshee)
------------------------------------------
Audio Encoding: AAC
    bitrate: 160
Using Monitor Capture
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 2500
    quality: 8
------------------------------------------
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 1003, number of frames that lagged: 36 (3.59%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Razer Banshee)
------------------------------------------
Audio Encoding: AAC
    bitrate: 160
Using Monitor Capture
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 2500
    quality: 8
------------------------------------------
Total frames rendered: 62, number of frames that lagged: 1 (1.61%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Razer Banshee)
------------------------------------------
Audio Encoding: AAC
    bitrate: 160
Using Monitor Capture
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 2500
    quality: 8
------------------------------------------
Using Window Capture
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 3665, number of frames that lagged: 18 (0.49%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Razer Banshee)
------------------------------------------
Audio Encoding: AAC
    bitrate: 160
Using Monitor Capture
Using graphics capture
Using Window Capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 2500
    quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-mia.justin.tv/app
bufferTime: 1434, outputRateWindowTime: 1000, dropThreshold: 1934
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 71580, number of frames that lagged: 5161 (7.21%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 24.421 ms] [avg calls per frame: 1] [children: 95.2%] [unaccounted: 4.76%]
| scene->Preprocess - [62.6%] [avg time: 15.288 ms] [avg calls per frame: 1]
| video encoding and uploading - [32.6%] [avg time: 7.971 ms] [avg calls per frame: 1] [children: 14.3%] [unaccounted: 18.3%]
| | CopyResource - [0.086%] [avg time: 0.021 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0942%] [avg time: 0.023 ms] [avg calls per frame: 0]
| | call to encoder - [14.1%] [avg time: 3.436 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0737%] [avg time: 0.018 ms] [avg calls per frame: 0]
==============================================================

and my settings with key removed:
Code:
[Audio]
MicBoostMultiple=2
ForceMicMono=0
MuteDesktopHotkey=0
MuteMicHotkey=0
PushToTalkDelay=200
PushToTalkHotkey=0
UsePushToTalk=0
UseHighQualityResampling=0
DesktopVolume=1.000000
MicVolume=0.000000
Device=Default

[Video]
UnlockFPS=0
BaseHeight=1080
BaseWidth=1920
DisableAero=1
Downscale=1.000000
FPS=30
Monitor=0

[Video Encoding]
DisableCTSAdjust=0
UseSyncFix=0
CustomSettings=
UseCustomSettings=0
UseCBR=0
Use444=0
Quality=8
Preset=veryfast
MaxBitrate=2500
BufferSize=2500

[Audio Encoding]
Codec=AAC
Bitrate=160
Format=1

[Publish]
UseSendBuffer=1
BindToIP=Default
SendBufferSize=1460
Dashboard=http://www.twitch.tv/broadcast/dashboard
StartStreamHotkey=0
StopStreamHotkey=0
SavePath=
SaveToFile=0
Delay=0
AutoReconnectTimeout=10
AutoReconnect=1
URL=US East: Miami, FL
PlayPath=key deleted
Mode=0
Service=1

[General]
UseMultithreadedOptimizations=1
Priority=Normal

Try doing as I did and set the FPS to 28 - 29. Solved it for me. For some reason OBS starts using up all the CPU every few moments if you stream at 30 FPS. As I understand you have the same machine as mine, that being MSI GT783/780
 

Voxletum

Member
I changed it to 29 fps and had the same problems where my cpu would max out and in game fps would drop. I guess I will change it to 28, test again, and pay close attention to what's using the CPU, although I know it's OBS, I just don't know why.

I have the Alienware m17x R3 by the way, not an MSI, but they have mostly the same hardware

Code:
Open Broadcaster Software v0.466a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
CPU Speed: 2192MHz
Physical Memory:  4095MB Total, 3783MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 580M     
  Video Adapter Dedicated Video Memory: 2096693248
  Video Adapter Shared System Memory: 2147233792
------------------------------------------
Adapter 2
  Video Adapter: NVIDIA GeForce GTX 580M     
  Video Adapter Dedicated Video Memory: 2096693248
  Video Adapter Shared System Memory: 2147233792
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Razer Banshee)
------------------------------------------
Audio Encoding: AAC
    bitrate: 160
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 29
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 2500
    quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-mia.justin.tv/app
bufferTime: 1758, outputRateWindowTime: 1000, dropThreshold: 2258
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Monitor Capture
Total frames rendered: 580, number of frames that lagged: 4 (0.69%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Razer Banshee)
------------------------------------------
Audio Encoding: AAC
    bitrate: 160
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 29
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 2500
    quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-mia.justin.tv/app
bufferTime: 1594, outputRateWindowTime: 1000, dropThreshold: 2094
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using graphics capture
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 12742, number of frames that lagged: 572 (4.49%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 20.664 ms] [avg calls per frame: 1] [children: 91.5%] [unaccounted: 8.53%]
| scene->Preprocess - [51.7%] [avg time: 10.683 ms] [avg calls per frame: 1]
| video encoding and uploading - [39.8%] [avg time: 8.218 ms] [avg calls per frame: 1] [children: 17.1%] [unaccounted: 22.7%]
| | CopyResource - [0.106%] [avg time: 0.022 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.106%] [avg time: 0.022 ms] [avg calls per frame: 0]
| | call to encoder - [16.8%] [avg time: 3.472 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0919%] [avg time: 0.019 ms] [avg calls per frame: 0]
==============================================================
 

Voxletum

Member
@Jim
I sort of found the problem, it seems my CPU's clock randomly drops to idle (about 800mhz) while in game. So when I'm playing it fluctuates between 800mhz and 2700mhz. Only during these few seconds when it drops to 800 does OBS then cause the CPU to max out, which makes league slow down and my GPU utilization to drop because league is unable to control it.

I attached a picture, since my cpu is overclocked it runs (with turbo active) at 114% max frequency, which is indicated by the blue line in the graph. When the speed of the cpu (blue line) drops to 800mhz, naturally the utilization of the entire cpu, and OBS (orange line) goes up to the point where it maxes out or comes very close and causes the game to stutter down to a few frames a second.

This might not be a problem with OBS.. so I need to figure out what is going on, but is there a way OBS can force the CPU to not do this kind of thing?

I don't have these issues when I'm just playing league and not streaming; i.e., I believe my cpu still drops to 800mhz but league doesn't use enough cpu to make a difference and I always have 60 fps (vert sync).

Do you have any advice?

Also, I'm pretty sure this is intel speedstep, http://en.wikipedia.org/wiki/SpeedStep Do you think it's possible for OBS to somehow tell the processor to remain at a certain performance state while the application is running? (and maybe have that be a configuration option?) I don't know how complicated that would be to do.

*edit* I disabled Intel SpeedStep in BIOS, and not only did this not stop the throttling from happening, my CPU would no longer go over the reference clock of 2.2; effectively disabling turbo boost. All the while the CPU still happily downclocked to 800mhz and everywhere in between.

Open Broadcaster Software v0.466a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
CPU Speed: 2192MHz
Physical Memory: 4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 580M
Video Adapter Dedicated Video Memory: 2096693248
Video Adapter Shared System Memory: 2147233792
------------------------------------------
Adapter 2
Video Adapter: NVIDIA GeForce GTX 580M
Video Adapter Dedicated Video Memory: 2096693248
Video Adapter Shared System Memory: 2147233792
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Razer Banshee)
------------------------------------------
Audio Encoding: AAC
bitrate: 160
Using Monitor Capture
------------------------------------------
Video Encoding: x264
fps: 29
width: 1920, height: 1080
preset: veryfast
CBR: no
max bitrate: 2500
buffer size: 2500
quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-mia.justin.tv/app
bufferTime: 1750, outputRateWindowTime: 1000, dropThreshold: 2250
++++++++++++++++++++++++++++++++++++++++++++++++++++++
New Scene
Using graphics capture
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
Warning -- Capture BitBlt failed.. just so you know
SharedTexCapture hooked
Total frames rendered: 49538, number of frames that lagged: 1070 (2.16%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 23.023 ms] [avg calls per frame: 1] [children: 98.3%] [unaccounted: 1.7%]
| scene->Preprocess - [57.7%] [avg time: 13.284 ms] [avg calls per frame: 1]
| video encoding and uploading - [40.6%] [avg time: 9.348 ms] [avg calls per frame: 1] [children: 15.3%] [unaccounted: 25.3%]
| | CopyResource - [0.0782%] [avg time: 0.018 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0825%] [avg time: 0.019 ms] [avg calls per frame: 0]
| | call to encoder - [15.1%] [avg time: 3.468 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0869%] [avg time: 0.02 ms] [avg calls per frame: 0]
==============================================================
 

Attachments

  • utildrop.PNG
    175.8 KB · Views: 164

Lain

Forum Admin
Lain
Forum Moderator
Developer
I don't quite know for sure. I know that laptops tend to be funky, but I don't know about what to do specifically for the situation. I mean you're doing real time HD encoding a mobile CPU, and they always have these weird power hacks and stuff, they don't always guarantee the same sort of stability that you'd have with a desktop CPU.
 

Voxletum

Member
I'm doing more testing, it seems to be throttling due to thermal issues according to intel extreme tuning utility. I think even when speedstep is turned off, it's hardcoded somewhere that it will throttle itself when it starts to hit a certain temperature, which I wasn't aware of as I wasn't monitoring my core temps in this test.

I ran prime95 torture test and almost immediately is started throttling due to heat at 190F on all cores. I improved the cooling and so far have been able to run it for a few minutes at max turbo (2.6-2.7) at 180-190F without it throttling... although these temps are ridiculously extreme, it shouldn't get anywhere near that hot with league + OBS.

I will test in game and stream now with improved cooling, I think if someone has this issue in the future you can just assume it's overheating... more or less. Problem is it makes it harder to play the game with this thing underneath it so I never tried it as I wanted to avoid it. :(

I'm building a desktop soon though so it shouldn't matter. Thanks for bearing with me ._.
 

lt_yao

New Member
That is so weird, that happened to me too, but ever since I changed my FPS to 28 it was all normal. Though the CPU usage didn't used to go that mad when I used different software at 1080p, such as FFSplit, Xsplit 720p was fine too, this however went mad on me regardless of the settings until I lowered the FPS.

I wonder if our motherboard is the same? I take it that might be the difference.
 
Top