Question / Help Cpu overworked

Popoch

New Member
Hello, for begin sorry for my english but i'm french.
I have a problem with OBS, when I launch a live with OBS my stream lagg and one message appear : Warning : Excessive use of the CPU for encoding! consider lowering settings. (thank's google trad :p)
I'm going in encoding to find the problem but I don't find him. My CPU have 6 months and I have a good connection. I don't understand where is the problem
 
16:24:01: Open Broadcaster Software v0.64b - 32bit (´・ω・`)
16:24:01: -------------------------------
16:24:01: CPU Name: AMD FX(tm)-8320 Eight-Core Processor
16:24:01: CPU Speed: 3516MHz
16:24:01: Physical Memory: 4095MB Total, 4095MB Free
16:24:01: stepping id: 0, model 2, family 21, type 0, extmodel 0, extfamily 3, HTT 1, logical cores 8, total cores 4
16:24:01: monitor 1: pos={-1920, 0}, size={1920, 1080}
16:24:01: monitor 2: pos={0, 0}, size={1920, 1080}
16:24:01: Windows Version: 6.2 Build 9200
16:24:01: Aero is Enabled
16:24:01: -------------------------------
16:24:01: OBS Modules:
16:24:01: Base Address Module
16:24:01: 01120000 OBS.exe
16:24:01: 62760000 OBSApi.dll
16:24:01: 72BF0000 DShowPlugin.dll
16:24:01: 71850000 GraphicsCapture.dll
16:24:01: 712E0000 NoiseGate.dll
16:24:01: 71CB0000 PSVPlugin.dll
16:24:01: ------------------------------------------
16:24:01: Adapter 1
16:24:01: Video Adapter: AMD Radeon HD 7900 Series
16:24:01: Video Adapter Dedicated Video Memory: 3202392064
16:24:01: Video Adapter Shared System Memory: 1092509696
16:24:01: Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
16:24:01: Video Adapter Output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
16:24:01: =====Stream Start: 2015-02-12, 16:24:01===============================================
16:24:01: Multithreaded optimizations: On
16:24:01: Base resolution: 1920x1080
16:24:01: Output resolution: 1920x1080
16:24:01: ------------------------------------------
16:24:01: Loading up D3D10 on AMD Radeon HD 7900 Series (Adapter 1)...
16:24:01: ------------------------------------------
16:24:01: Audio Format: 48000 Hz
16:24:01: ------------------------------------------
16:24:01: Audio Channels: 2 Ch
16:24:01: Playback device Default
16:24:01: ------------------------------------------
16:24:01: Using desktop audio input: Casque pour téléphone (Razer Kraken 7.1)
16:24:01: Global Audio time adjust: 0
16:24:01: ------------------------------------------
16:24:01: Using auxilary audio input: Microphone sur casque (Razer Kraken 7.1)
16:24:01: Mic time offset: 0
16:24:01: ------------------------------------------
16:24:01: Audio Encoding: AAC
16:24:01: bitrate: 128
16:24:02: Using bitmap image
16:24:02: Using graphics capture
16:24:02: Trying to hook process: csgo.exe
16:24:02: Scene buffering time set to 700
16:24:02: ------------------------------------------
16:24:02: Video Encoding: x264
16:24:02: fps: 30
16:24:02: width: 1920, height: 1080
16:24:02: preset: veryfast
16:24:02: profile: main
16:24:02: keyint: 60
16:24:02: CBR: yes
16:24:02: CFR: yes
16:24:02: max bitrate: 2500
16:24:02: buffer size: 2500
16:24:02: ------------------------------------------
16:24:03: Using RTMP service: Twitch
16:24:03: Server selection: rtmp://live-cdg.twitch.tv/app
16:24:03: Interface: Contr“leur Realtek PCIe GBE Family (ethernet, 1000 mbps)
16:24:04: Completed handshake with rtmp://live-cdg.twitch.tv/app in 911 ms.
16:24:05: SO_SNDBUF was at 65536
16:24:08: SharedTexCapture hooked
16:24:10: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 107722 / 335872)
16:24:10: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 524288 (buffer: 0 / 335872)
16:25:38: GraphicsCaptureSource::NewCapture: eliminating old capture
16:25:38: SharedTexCapture hooked
16:26:36: GraphicsCaptureSource::NewCapture: eliminating old capture
16:26:36: SharedTexCapture hooked
16:27:42: FlushBufferedVideo: Flushing 3 packets over 66 ms
16:27:42: Total frames encoded: 6575, total frames duplicated: 1808 (27.50%)
16:27:42: Number of frames skipped due to encoder lag: 1524 (23.18%)
16:27:42: Total frames rendered: 4974, number of late frames: 113 (2.27%) (it's okay for some frames to be late)
16:27:42:
16:27:42: Profiler time results:
16:27:42:
16:27:42: ==============================================================
16:27:42: video thread frame - [100%] [avg time: 2.613 ms] [children: 31.9%] [unaccounted: 68.1%]
16:27:42: | scene->Preprocess - [0.153%] [avg time: 0.004 ms]
16:27:42: | GPU download and conversion - [31.8%] [avg time: 0.83 ms] [children: 30%] [unaccounted: 1.76%]
16:27:42: | | flush - [8.84%] [avg time: 0.231 ms]
16:27:42: | | CopyResource - [20.9%] [avg time: 0.545 ms]
16:27:42: | | conversion to 4:2:0 - [0.306%] [avg time: 0.008 ms]
16:27:42: Convert444Threads - [100%] [avg time: 4.023 ms] [children: 99.1%] [unaccounted: 0.945%]
16:27:42: | Convert444toNV12 - [99.1%] [avg time: 3.985 ms]
16:27:42: encoder thread frame - [100%] [avg time: 14.389 ms] [children: 0.632%] [unaccounted: 99.4%]
16:27:42: | sending stuff out - [0.632%] [avg time: 0.091 ms]
16:27:42: ==============================================================
16:27:42:
16:27:42:
16:27:42: Profiler CPU results:
16:27:42:
16:27:42: ==============================================================
16:27:42: video thread frame - [cpu time: avg 0.59 ms, total 2937.5 ms] [avg calls per frame: 1]
16:27:42: | scene->Preprocess - [cpu time: avg 0.003 ms, total 15.625 ms] [avg calls per frame: 1]
16:27:42: | GPU download and conversion - [cpu time: avg 0.201 ms, total 1000 ms] [avg calls per frame: 1]
16:27:42: | | flush - [cpu time: avg 0.131 ms, total 656.25 ms] [avg calls per frame: 1]
16:27:42: | | CopyResource - [cpu time: avg 0.028 ms, total 140.625 ms] [avg calls per frame: 1]
16:27:42: | | conversion to 4:2:0 - [cpu time: avg 0.003 ms, total 15.625 ms] [avg calls per frame: 1]
16:27:42: Convert444Threads - [cpu time: avg 3.068 ms, total 30375 ms] [avg calls per frame: 2]
16:27:42: | Convert444toNV12 - [cpu time: avg 3.063 ms, total 30328.1 ms] [avg calls per frame: 2]
16:27:42: encoder thread frame - [cpu time: avg 4.353 ms, total 28609.4 ms] [avg calls per frame: 1]
16:27:42: | sending stuff out - [cpu time: avg 0.059 ms, total 390.625 ms] [avg calls per frame: 1]
16:27:42: ==============================================================
16:27:42:
16:27:42: =====Stream End: 2015-02-12, 16:27:42=================================================
16:27:42: ~RTMPPublisher: Packet flush completed in 133 ms
16:27:42: ~RTMPPublisher: Send thread terminated in 0 ms
16:27:42: RTMPPublisher::SocketLoop: Graceful loop exit
16:27:42: ~RTMPPublisher: Socket thread terminated in 1 ms
16:27:52: ~RTMPPublisher: Final socket shutdown completed in 10187 ms
16:27:52: Average send payload: 5645 bytes, average send interval: 17 ms
16:27:52: Number of times waited to send: 0, Waited for a total of 0 bytes
16:27:52: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
16:27:52: Number of bytes sent: 67941922
16:28:07: Terminating 0x13a0


Last game capture log:
2015-02-12, 16:24:02: we're booting up:
16:24:02: CaptureThread: attached to process csgo.exe
16:24:02: D3D9 Present
16:24:02: WARNING: Another hook is already present while trying to hook opengl32.dll, hook target is unknown. If you experience crashes, try disabling the other hooking application
16:24:02: WARNING: Another hook is already present while trying to hook opengl32.dll, hook target is unknown. If you experience crashes, try disabling the other hooking application
16:24:02: GL Present
16:24:02: DirectDraw capture: Windows 8 not supported yet
16:24:02: (half life scientist) everything.. seems to be in order
16:24:08: D3D9EndScene called
16:24:08: D3DPRESENT_PARAMETERS {
16:24:08: BackBufferWidth: 1920
16:24:08: BackBufferHeight: 1080
16:24:08: BackBufferFormat: D3DFMT_A8R8G8B8
16:24:08: BackBufferCount: 1
16:24:08: MultiSampleType: D3DMULTISAMPLE_4_SAMPLES
16:24:08: MultiSampleQuality: 0
16:24:08: SwapEffect: D3DSWAPEFFECT_DISCARD
16:24:08: hDeviceWindow: 8981340
16:24:08: Windowed: false
16:24:08: EnableAutoDepthStencil: true
 
You're trying to stream in 1080p, which is basically overworking your CPU. To put it bluntly, your CPU isn't fast enough to stream in 1080p.
Lower your output resolution to 720p (1280x720) and change your encoding preset to superfast, and see if that helps
 
You're trying to stream in 1080p, which is basically overworking your CPU. To put it bluntly, your CPU isn't fast enough to stream in 1080p.
Lower your output resolution to 720p (1280x720) and change your encoding preset to superfast, and see if that helps

fx8320 should be fine doing 1080p30 + csgo

but still there are quite a few people having problems on the fx8xxx series and streaming csgo

anyway 720p30 is usually better anyway for a fast paced game due to pixelation
 
fx8320 should be fine doing 1080p30 + csgo
streaming at 1080p with CPU encoding will 100% result in degraded performance ingame. I've tried it myself on my 4790K, which is a better CPU than the FX8320. You can probably get away with 720p30fps but at 1080p you will take a performance hit garunteed.
 
@Popoch
Code:
encoder thread frame - [100%] [avg time: 14.389 ms]
this is a lot of time to spend on one frame but it probably has to do with the code below...
Code:
16:24:02: WARNING: Another hook is
already present while trying to hook
opengl32.dll, hook target is unknown.
If you experience crashes, try disabling
the other hooking application
make sure raptr (aka Gaming Evolved) isn't installed. if so, remove it. make sure a program called overwolf isn't installed (its an in-game overlay) because it will lag the stream out.
make sure you disable/uncheck in-home streaming and broadcasting from steam. this might be the culprit in your situation.
@AndehX though the 8 core isn't as good as the 4790K (but pretty close in x264 benchmarks), sometimes its other things that cause encoder lag.
 
though the 8 core isn't as good as the 4790K (but pretty close in x264 benchmarks), sometimes its other things that cause encoder lag.
Very true, although its always best to eliminate the most obvious possibility first.
On the other hand, you're probably right about the Gaming Evolved program. I've had nothing but issues whenever thats been installed, and it surved absolutely no purpose to me what so ever. Stupid AMD trying to copy Nvidia all the time.
 
Back
Top