Question / Help FPS drop in CS:GO help

eftz

New Member
New to open broadcaster software program. Im trying to stream on twitch.tv and play Counter Strike Global Offensive. When i start streaming i drop about 100 fps. In CS:GO, without streaming, I get 170-270 fps. When I start stream, I get 80-150 fps. When playing and streaming, you can feel the same isn't smooth. Any help would be great.

My setup:
AMD Phenom II X4 965 3.4ghz
8gb ram
GTX760 2gb
64bit OS

Speed Connection
Download: 27.5mbps
Upload: 3.5mbps

I Believe I have the right logs:
18:31:15: =====Stream Start: 2014-03-18, 18:31:15===============================================
18:31:15: Multithreaded optimizations: On
18:31:15: Base resolution: 1680x1050
18:31:15: Output resolution: 1120x700
18:31:15: ------------------------------------------
18:31:15: Loading up D3D10 on NVIDIA GeForce GTX 760 (Adapter 1)...
18:31:16: ------------------------------------------
18:31:16: Audio Format: 48000 Hz
18:31:16: ------------------------------------------
18:31:16: Audio Channels: 2 Ch
18:31:16: Playback device Default
18:31:16: ------------------------------------------
18:31:16: Using desktop audio input: Speakers (Realtek High Definition Audio)
18:31:16: ------------------------------------------
18:31:16: Using auxilary audio input: Microphone (3- Logitech Mic (Communicate STX))
18:31:16: ------------------------------------------
18:31:16: Audio Encoding: AAC
18:31:16: bitrate: 128
18:31:16: Using graphics capture
18:31:16: Scene buffering time set to 700
18:31:16: ------------------------------------------
18:31:16: Video Encoding: x264
18:31:16: fps: 25
18:31:16: width: 1120, height: 700
18:31:16: preset: veryfast
18:31:16: profile: main
18:31:16: keyint: 50
18:31:16: CBR: no
18:31:16: CFR: yes
18:31:16: max bitrate: 1920
18:31:16: buffer size: 1920
18:31:16: quality: 8
18:31:16: ------------------------------------------
18:31:18: SharedTexCapture hooked
18:31:18: Using RTMP service: Twitch / Justin.tv
18:31:18: Server selection: rtmp://live.justin.tv/app
18:31:18: Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
18:31:18: Completed handshake with rtmp://live.justin.tv/app in 85 ms.
18:31:19: SO_SNDBUF was at 8192
18:31:19: SO_SNDBUF is now 65536
18:31:50: GraphicsCaptureSource::NewCapture: eliminating old capture
18:31:50: SharedTexCapture hooked
18:31:52: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 262144)
18:31:56: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 262144)
18:32:29: GraphicsCaptureSource::NewCapture: eliminating old capture
18:32:29: SharedTexCapture hooked
18:34:09: Settings::Video: Enabling Aero
18:34:17: GraphicsCaptureSource::NewCapture: eliminating old capture
18:34:17: SharedTexCapture hooked
18:34:43: Total frames encoded: 5159, total frames duplicated: 129 (2.50%)
18:34:43: Total frames rendered: 5091, number of late frames: 21 (0.41%) (it's okay for some frames to be late)
18:34:43: RTMPPublisher::SocketLoop: Graceful loop exit
18:34:43: Average send payload: 4231 bytes, average send interval: 31 ms
18:34:43: Number of times waited to send: 0, Waited for a total of 0 bytes
18:34:43: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
18:34:43: Number of bytes sent: 27182264
18:34:43:
18:34:43: Profiler time results:
18:34:43:
18:34:43: ==============================================================
18:34:43: video thread frame - [100%] [avg time: 2.004 ms] [children: 20.5%] [unaccounted: 79.5%]
18:34:43: | scene->Preprocess - [0.0499%] [avg time: 0.001 ms]
18:34:43: | GPU download and conversion - [20.4%] [avg time: 0.409 ms] [children: 13.7%] [unaccounted: 6.69%]
18:34:43: | | flush - [8.58%] [avg time: 0.172 ms]
18:34:43: | | CopyResource - [4.89%] [avg time: 0.098 ms]
18:34:43: | | conversion to 4:2:0 - [0.25%] [avg time: 0.005 ms]
18:34:43: Convert444Threads - [100%] [avg time: 1.149 ms] [children: 99.2%] [unaccounted: 0.783%]
18:34:43: | Convert444toNV12 - [99.2%] [avg time: 1.14 ms]
18:34:43: encoder thread frame - [100%] [avg time: 1.835 ms] [children: 3.38%] [unaccounted: 96.6%]
18:34:43: | sending stuff out - [3.38%] [avg time: 0.062 ms]
18:34:43: ==============================================================
18:34:43:
18:34:43:
18:34:43: Profiler CPU results:
18:34:43:
18:34:43: ==============================================================
18:34:43: video thread frame - [cpu time: avg 0.269 ms, total 1372.81 ms] [avg calls per frame: 1]
18:34:43: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:34:43: | GPU download and conversion - [cpu time: avg 0.085 ms, total 436.802 ms] [avg calls per frame: 1]
18:34:43: | | flush - [cpu time: avg 0.061 ms, total 312.002 ms] [avg calls per frame: 1]
18:34:43: | | CopyResource - [cpu time: avg 0.015 ms, total 78 ms] [avg calls per frame: 1]
18:34:43: | | conversion to 4:2:0 - [cpu time: avg 0.003 ms, total 15.6 ms] [avg calls per frame: 1]
18:34:43: Convert444Threads - [cpu time: avg 1.035 ms, total 10498.9 ms] [avg calls per frame: 2]
18:34:43: | Convert444toNV12 - [cpu time: avg 1.032 ms, total 10467.7 ms] [avg calls per frame: 2]
18:34:43: encoder thread frame - [cpu time: avg 1.18 ms, total 6068.44 ms] [avg calls per frame: 1]
18:34:43: | sending stuff out - [cpu time: avg 0.009 ms, total 46.8 ms] [avg calls per frame: 1]
18:34:43: ==============================================================
18:34:43:
18:34:43: =====Stream End: 2014-03-18, 18:34:43=================================================
 

UberDragon

Member
Well real time video encoding definitely puts some load on your system. You can try selecting a faster x264 CPU Preset in Settings -> Advanced or downscale your Resolution further in Settings -> Video but you'll likely have to sacrifice a lot of quality if you need the game to stay above 150 fps

Also I'm not really sure what the benefit is anyways, assuming your monitor probably runs at 60Hz

One thing you might try is right clicking the preview area and uncheck "Enable View" in "Preview" and see if this makes any significant difference.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Some people report this "lag" in CS:GO, as you describe it.

Generally it's because OBS is sharing both the CPU and graphics adapter, and because the game is rendering so fast and updating so frequently, so it's doing a lot of processing both on the CPU and GPU to be able to maintain that framerate, and sometimes OBS and the 120fps games can conflict.

  • Right click OBS' preview, turn off OBS preview so it doesn't needlessly have to waste resources drawing the OBS preview screen
  • Change or reduce the process priority of OBS in advanced so it interferences less with the game
  • Reduce graphical settings in CS:GO
  • Perhaps try v-sync in CS:GO to cap it at 120fps and to even out processing?
  • Perhaps try reducing OBS' settings, downscale/etc?
 
Top