Question / Help Framerate dops to ~20 after some while of streaming/recording

oRbb

New Member
I have this issue since I first used OBS and therefore I could never use the program. But I finally want to find out what's actually wrong.

The problem's symptomes are quiet simple: I stream or record a game and everything runs fine and smooth. Then, after 5 - 10 minutes, the framerate drops to 15 - 20 fps until I stop to stream or record.

This happens with
  • 32 bit / 64 bit OBS
  • any game or program
  • streaming and recording
  • 30 and 60 fps recording/streaming
Only similar problems I found on google or the forums are low framerates directly from the beginning, but nothing that drops after a while of recording. But I also might be looking for the wrong thing, I don't know.

Here is a log where the problem occurs:
Code:
21:18:10: Open Broadcaster Software v0.651b - 64bit ( ^ω^)
21:18:10: -------------------------------
21:18:10: CPU Name: AMD FX(tm)-8150 Eight-Core Processor
21:18:10: CPU Speed: 3624MHz
21:18:10: Physical Memory:  8173MB Total, 5186MB Free
21:18:10: stepping id: 2, model 1, family 21, type 0, extmodel 0, extfamily 3, HTT 1, logical cores 8, total cores 4
21:18:10: monitor 1: pos={0, 0}, size={1920, 1080}
21:18:10: monitor 2: pos={1920, 0}, size={1366, 768}
21:18:10: Windows Version: 6.2 Build 9200
21:18:10: Aero is Enabled
21:18:10: -------------------------------
21:18:10: OBS Modules:
21:18:10: Base Address  Module
21:18:10: 0000000037160000 OBS.exe
21:18:10: 00000000B29E0000 OBSApi.dll
21:18:10: 00000000C2A90000 DShowPlugin.dll
21:18:10: 00000000C2A50000 GraphicsCapture.dll
21:18:10: 00000000C9860000 NoiseGate.dll
21:18:10: 00000000C3230000 PSVPlugin.dll
21:18:10: 00000000BA3B0000 scenesw.dll
21:18:10: ------------------------------------------
21:18:10: Adapter 1
21:18:10:  Video Adapter: AMD Radeon HD 6900 Series
21:18:10:  Video Adapter Dedicated Video Memory: 2134573056
21:18:10:  Video Adapter Shared System Memory: 4026531840
21:18:10:  Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
21:18:10:  Video Adapter Output 2: pos={1920, 0}, size={1366, 768}, attached=true
21:18:10: =====Stream Start: 2015-04-12, 21:18:10===============================================
21:18:10:  Multithreaded optimizations: On
21:18:10:  Base resolution: 1920x1080
21:18:10:  Output resolution: 1280x720
21:18:10: ------------------------------------------
21:18:10: Loading up D3D10 on AMD Radeon HD 6900 Series (Adapter 1)...
21:18:10: ------------------------------------------
21:18:10: Audio Format: 48000 Hz
21:18:10: ------------------------------------------
21:18:10: Audio Channels: 2 Ch
21:18:10: Playback device Default
21:18:10: ------------------------------------------
21:18:10: Using desktop audio input: Lautsprecher (High Definition Audio-Gerät)
21:18:10: Global Audio time adjust: 0
21:18:10: ------------------------------------------
21:18:10: Using auxilary audio input: Mikrofon (High Definition Audio-Gerät)
21:18:10: Mic time offset: 0
21:18:10: ------------------------------------------
21:18:10: Audio Encoding: AAC
21:18:10:  bitrate: 128
21:18:10: Using graphics capture
21:18:10: Trying to hook process: csgo.exe
21:18:11: Scene buffering time set to 700
21:18:11: ------------------------------------------
21:18:11: Video Encoding: x264
21:18:11:  fps: 60
21:18:11:  width: 1280, height: 720
21:18:11:  preset: veryfast
21:18:11:  profile: main
21:18:11:  keyint: 120
21:18:11:  CBR: yes
21:18:11:  CFR: yes
21:18:11:  max bitrate: 3200
21:18:11:  buffer size: 3200
21:18:11: ------------------------------------------
21:18:12: Using RTMP service: Twitch
21:18:12:  Server selection: rtmp://live-fra.twitch.tv/app
21:18:12:  Interface: Controller der Familie Realtek PCIe GBE (ethernet, 1000 mbps)
21:18:13: Completed handshake with rtmp://live-fra.twitch.tv/app in 569 ms.
21:18:14: SO_SNDBUF was at 65536
21:18:15: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 425984)
21:18:21: SharedTexCapture hooked
21:18:23: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 524288 (buffer: 30884 / 425984)
21:29:10: GraphicsCaptureSource::NewCapture:  eliminating old capture
21:29:10: SharedTexCapture hooked
21:32:35: RTMPPublisher::SocketLoop: Stalled for 2313 ms to write 6682 bytes (buffer: 0 / 425984), unstable connection?
21:32:37: FlushBufferedVideo: Flushing 214 packets over 3550 ms
21:32:41: Total frames encoded: 52129, total frames duplicated: 917 (1.76%)
21:32:42: Number of frames skipped due to encoder lag: 324 (0.62%)
21:32:42: Total frames rendered: 51350, number of late frames: 27 (0.05%) (it's okay for some frames to be late)
21:32:42: ~RTMPPublisher: Packet flush completed in 96 ms
21:32:42: ~RTMPPublisher: Send thread terminated in 2 ms
21:32:42: RTMPPublisher::SocketLoop: Graceful loop exit
21:32:42: ~RTMPPublisher: Socket thread terminated in 7 ms
21:32:42:
21:32:42: Profiler time results:
21:32:42:
21:32:42: ==============================================================
21:32:43: video thread frame - [100%] [avg time: 0.939 ms] [children: 15.5%] [unaccounted: 84.5%]
21:32:43: | scene->Preprocess - [0.213%] [avg time: 0.002 ms]
21:32:43: | GPU download and conversion - [15.3%] [avg time: 0.144 ms] [children: 12.6%] [unaccounted: 2.77%]
21:32:43: | | flush - [10.4%] [avg time: 0.098 ms]
21:32:43: | | CopyResource - [1.6%] [avg time: 0.015 ms]
21:32:43: | | conversion to 4:2:0 - [0.532%] [avg time: 0.005 ms]
21:32:43: Convert444Threads - [100%] [avg time: 0.701 ms] [children: 99%] [unaccounted: 0.999%]
21:32:43: | Convert444toNV12 - [99%] [avg time: 0.694 ms]
21:32:43: encoder thread frame - [100%] [avg time: 1.345 ms] [children: 3.49%] [unaccounted: 96.5%]
21:32:43: | sending stuff out - [3.49%] [avg time: 0.047 ms]
21:32:43: ==============================================================
21:32:43:
21:32:43:
21:32:43: Profiler CPU results:
21:32:43:
21:32:43: ==============================================================
21:32:43: video thread frame - [cpu time: avg 0.071 ms, total 3687.5 ms] [avg calls per frame: 1]
21:32:43: | scene->Preprocess - [cpu time: avg 0 ms, total 15.625 ms] [avg calls per frame: 1]
21:32:43: | GPU download and conversion - [cpu time: avg 0.02 ms, total 1046.88 ms] [avg calls per frame: 1]
21:32:43: | | flush - [cpu time: avg 0.013 ms, total 671.875 ms] [avg calls per frame: 1]
21:32:43: | | CopyResource - [cpu time: avg 0.003 ms, total 171.875 ms] [avg calls per frame: 1]
21:32:43: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 31.25 ms] [avg calls per frame: 1]
21:32:43: Convert444Threads - [cpu time: avg 0.918 ms, total 94281.3 ms] [avg calls per frame: 2]
21:32:43: | Convert444toNV12 - [cpu time: avg 0.917 ms, total 94140.6 ms] [avg calls per frame: 2]
21:32:43: encoder thread frame - [cpu time: avg 0.926 ms, total 48125 ms] [avg calls per frame: 1]
21:32:43: | sending stuff out - [cpu time: avg 0.068 ms, total 3546.88 ms] [avg calls per frame: 1]
21:32:43: ==============================================================
21:32:43:
21:32:43: =====Stream End: 2015-04-12, 21:32:43=================================================
21:32:53: ~RTMPPublisher: Final socket shutdown completed in 11335 ms
21:32:53: Average send payload: 5537 bytes, average send interval: 13 ms
21:32:53: Number of times waited to send: 0, Waited for a total of 0 bytes
21:32:53: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
21:32:53: Number of bytes sent: 360057420
 
Smells like overheating of your CPU.
Check CPU temperature when it happens, if it's really high (60-70°C or more) you need a better cooler.
 
Hey, thanks for the thought!

I just measureed it. Temperature does get pretty high and goes up to 66°C first, then later to 70°C. But the problem does not accur directly at 70°C. The framerate drops after the temperature stayed there for arodun a minute or two.

But I guess that really is too hot then. As seen in the log, I have the AMD FX8350, but I run it witht he default cooler. Is it enough to just buy a nice Alpenföhn or other custom fan or do I need something special with more power?

Quick edit: As an example I mean the EKL Alpenföhn Brocken Eco or similar one that fits the AM3+ socket.
 
Back
Top