Question / Help FPS Lag =/

eldiablo

Member
Problem:
Trying to stream CS:GO @ 720/30 and getting fps drop.

Specs
CPU: i7 3930k @ 4.63GHz
MOBO: Intel DX79SI
RAM: 16GB HyperX DDR3 @ 1600Mhz
GPU: MSI 660Ti PE x 2 (sli'd for "activate all monitors" mode )
Cap Card: Avermedia C985 LGHD
Drive1: 128GB Samsung 840 Pro SSD (OS)
Drive2: 256GB Intel 520 SSD (steam)
PSU: PC Air and Cooling 750watt Silencer
Monitor: Asus 24" 144Hz VG248QE
Cooling: Corsair H80i (keeps cpu around 50c)

Monitor Setup for Cap card
I have 2 physical monitors.
I have a Display port going from main GPU to Asus 24" 144Hz VG248QE.
I have an HDMI jumper going from HDMI port on main GPU to Cap Card.
I have HDMI going from 2nd GPU to spare monitor as extended desktop.

I have my main monitor cloned to my Cap Card "monitor" (cap card shows up as virtual monitor but no actual monitor attached")

Native resolution is 1920x1080 downscaled in OBS to 1280x720

without OBS running at all, I can push a solid 300+fps in CSGO constantly.
With OBS running, I can barely keep it at the 144fps and I experience fps lag.

Below is my obs config

[removed]
 
Last edited by a moderator:

Lain

Forum Admin
Lain
Forum Moderator
Developer
Reset your twitch stream key. You pasted it in with your config for everyone to see.
 

eldiablo

Member
My sincerest apologies.
Stream key was to a test channel. I changed it.

Here is my log after streaming a game of csgo
Code:
14:12:12: CLR host plugin strings not found, dynamically loading 4 strings
14:12:12: CLRHost::Initialize() attempting to load and start the .NET runtime (null)
14:12:12: CLRHost::Initialize() Found version v2.0.50727 .NET runtime
14:12:12: CLRHost::Initialize() Found version v4.0.30319 .NET runtime
14:12:12: CLRHost::Initialize() attempting to use v4.0.30319 .NET runtime
14:12:12: CLRHost::LoadInteropLibrary() load the assembly plugins\CLRHostPlugin\CLRHost.Interop.dll
14:12:12: CLRHost::LoadPlugins() attempting to load the plugin assembly CLRBrowserSourcePlugin
14:12:12: CLRHost:: Could not find/load browser settings at location C:\Users\grnslv\AppData\Roaming\OBS\pluginData\browser.json
14:12:12: CLRHost::LoadPlugins() successfully added CLR plugin [Type: CLRBrowserSourcePlugin.CLRBrowserSourcePlugin, Name: CLR Browser Source Plugin]
14:12:28: Open Broadcaster Software v0.625b - 32bit (´・ω・`)
14:12:28: -------------------------------
14:12:28: CPU Name: Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz
14:12:28: CPU Speed: 4000MHz
14:12:28: Physical Memory:  4095MB Total, 4095MB Free
14:12:28: stepping id: 7, model 45, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 12, total cores 6
14:12:28: monitor 1: pos={0, 0}, size={1280, 720}
14:12:28: monitor 2: pos={1280, 0}, size={1920, 1080}
14:12:28: Windows Version: 6.1 Build 7601 S
14:12:28: Aero is Disabled
14:12:28: -------------------------------
14:12:28: OBS Modules:
14:12:28: Base Address  Module
14:12:28: 00330000  OBS.exe
14:12:28: 69B10000  OBSApi.dll
14:12:28: 6F470000  CLRHostPlugin.dll
14:12:28: 6F3D0000  DShowPlugin.dll
14:12:28: 6EFE0000  GraphicsCapture.dll
14:12:28: 6EFB0000  NoiseGate.dll
14:12:28: 6D1B0000  PSVPlugin.dll
14:12:28: ------------------------------------------
14:12:28: Adapter 1
14:12:28:  Video Adapter: NVIDIA GeForce GTX 660 Ti
14:12:28:  Video Adapter Dedicated Video Memory: 2086469632
14:12:28:  Video Adapter Shared System Memory: 2147807232
14:12:28:  Video Adapter Output 1: pos={0, 0}, size={1280, 720}, attached=true
14:12:28: ------------------------------------------
14:12:28: Adapter 2
14:12:28:  Video Adapter: NVIDIA GeForce GTX 660 Ti
14:12:28:  Video Adapter Dedicated Video Memory: 2086600704
14:12:28:  Video Adapter Shared System Memory: 2147676160
14:12:28:  Video Adapter Output 1: pos={1280, 0}, size={1920, 1080}, attached=true
14:12:28: Using automatic low latency mode
14:12:28: =====Stream Start: 2014-09-06, 14:12:28===============================================
14:12:28:  Multithreaded optimizations: On
14:12:28:  Base resolution: 1280x720
14:12:28:  Output resolution: 1280x720
14:12:28: ------------------------------------------
14:12:28: Loading up D3D10 on NVIDIA GeForce GTX 660 Ti (Adapter 1)...
14:12:28: ------------------------------------------
14:12:28: Audio Format: 44100 Hz
14:12:28: ------------------------------------------
14:12:28: Audio Channels: 2 Ch
14:12:28: Playback device Default
14:12:28: ------------------------------------------
14:12:28: Using desktop audio input: Speakers (Realtek High Definition Audio)
14:12:28: Global Audio time adjust: 0
14:12:28: ------------------------------------------
14:12:28: Using auxilary audio input: Input (4- M-Audio M-Track)
14:12:28: Mic time offset: 0
14:12:28: ------------------------------------------
14:12:28: Audio Encoding: AAC
14:12:28:  bitrate: 128
14:12:29: ------------------------------------------
14:12:29:  device: Microsoft LifeCam HD-5000,
14:12:29:  device id \\?\usb#vid_045e&pid_076d&mi_00#7&2e5ceb67&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
14:12:29:  chosen type: YUY2, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-666666
14:12:29:  use buffering: false - 0, fourCC: 'YUY2'
14:12:29:  audio device: Disable,
14:12:29:  audio device id Disabled,
14:12:29:  audio time offset 0,
14:12:29:
14:12:30: Using directshow input
14:12:30: ------------------------------------------
14:12:30:  device: AVerMedia HD Capture C985 Bus 7,
14:12:30:  device id \\?\pci#ven_1af2&dev_a001&subsys_a0011af2&rev_00#4&8b732cb&0&00e1#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{957bd672-7934-4b55-b81a-3e22b14c679a},
14:12:30:  chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, frameIntervals: 166666-666666
14:12:30:  use buffering: false - 0, fourCC: 'YV12'
14:12:30:
14:12:30:  device audio info - bits per sample: 16, channels: 2, samples per sec: 48000, block size: 4
14:12:31: Using directshow input
14:12:31: Scene buffering time set to 700
14:12:32: ------------------------------------------
14:12:32: Video Encoding: x264
14:12:32:  fps: 30
14:12:32:  width: 1280, height: 720
14:12:32:  preset: veryfast
14:12:32:  profile: main
14:12:32:  keyint: 60
14:12:32:  CBR: yes
14:12:32:  CFR: no
14:12:32:  max bitrate: 2500
14:12:32:  buffer size: 2500
14:12:32: ------------------------------------------
14:12:32: Audio timestamp for device 'Input (4- M-Audio M-Track)' was behind target timestamp by 63707277
14:12:32: Audio timestamp for device 'AVerMedia HD Capture C985 Bus 7' was behind target timestamp by 63707277
14:12:34: Using RTMP service: Twitch / Justin.tv
14:12:34:  Server selection: rtmp://live-dfw.justin.tv/app
14:12:34:  Interface: Intel(R) 82579LM Gigabit Network Connection (ethernet, 1000 mbps)
14:12:34: Completed handshake with rtmp://live-dfw.justin.tv/app in 559 ms.
14:12:35: SO_SNDBUF was at 128480
14:16:33: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 335872)
14:16:34: Total frames encoded: 7239, total frames duplicated: 372 (5.14%)
14:16:34: Total frames rendered: 6960, number of late frames: 27 (0.39%) (it's okay for some frames to be late)
14:16:35: RTMPPublisher::SocketLoop: Graceful loop exit
14:16:45: Average send payload: 1421 bytes, average send interval: 4 ms
14:16:45: Number of times waited to send: 0, Waited for a total of 0 bytes
14:16:45: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
14:16:45: Number of bytes sent: 78485925
14:16:45:
14:16:45: Profiler time results:
14:16:45:
14:16:45: ==============================================================
14:16:45: video thread frame - [100%] [avg time: 7.506 ms] [children: 18.5%] [unaccounted: 81.5%]
14:16:45: | scene->Preprocess - [14.6%] [avg time: 1.095 ms]
14:16:45: | GPU download and conversion - [3.94%] [avg time: 0.296 ms] [children: 2.88%] [unaccounted: 1.07%]
14:16:45: | | flush - [2.65%] [avg time: 0.199 ms]
14:16:45: | | CopyResource - [0.173%] [avg time: 0.013 ms]
14:16:45: | | conversion to 4:2:0 - [0.0533%] [avg time: 0.004 ms]
14:16:45: Convert444Threads - [100%] [avg time: 0.379 ms] [children: 98.9%] [unaccounted: 1.06%]
14:16:45: | Convert444toNV12 - [98.9%] [avg time: 0.375 ms]
14:16:45: encoder thread frame - [100%] [avg time: 0.939 ms] [children: 2.24%] [unaccounted: 97.8%]
14:16:45: | sending stuff out - [2.24%] [avg time: 0.021 ms]
14:16:45: ==============================================================
14:16:45:
14:16:45:
14:16:45: Profiler CPU results:
14:16:45:
14:16:45: ==============================================================
14:16:45: video thread frame - [cpu time: avg 1.988 ms, total 13837.3 ms] [avg calls per frame: 1]
14:16:45: | scene->Preprocess - [cpu time: avg 0.517 ms, total 3603.63 ms] [avg calls per frame: 1]
14:16:45: | GPU download and conversion - [cpu time: avg 0.174 ms, total 1216.81 ms] [avg calls per frame: 1]
14:16:45: | | flush - [cpu time: avg 0.15 ms, total 1045.21 ms] [avg calls per frame: 1]
14:16:45: | | CopyResource - [cpu time: avg 0.011 ms, total 78 ms] [avg calls per frame: 1]
14:16:45: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:16:45: Convert444Threads - [cpu time: avg 0.378 ms, total 10545.7 ms] [avg calls per frame: 4]
14:16:45: | Convert444toNV12 - [cpu time: avg 0.375 ms, total 10452.1 ms] [avg calls per frame: 4]
14:16:45: encoder thread frame - [cpu time: avg 0.213 ms, total 1544.41 ms] [avg calls per frame: 1]
14:16:45: | sending stuff out - [cpu time: avg 0.021 ms, total 156.001 ms] [avg calls per frame: 1]
14:16:45: ==============================================================
14:16:45:
14:16:45: =====Stream End: 2014-09-06, 14:16:45=================================================
 
Last edited:

Sapiens

Forum Moderator
Try running CS:GO with the -high switch. You may need to cap your FPS as well if you're running without vsync or in borderless windowed mode.
 

Sapiens

Forum Moderator
Have you tried enabling vsync (for fullscreen mode) or capping your FPS using the fps_max cvar?
 

eldiablo

Member
Yes.
ive tried double buffered and triple buffered with cvar fps_max 150

I just OC'd my 660ti PE a little bit and that seemed to have fixed my issue.
Stock Core Clock 915MHz OC'd to 1162MHz
Stock Memory Clock 1502MHz OC'd to 1796MHz
and I just played a full match on inferno with my vsync set to triple buffered and I never once dropped below 140fps or so.

I also unchecked "disable aero" and even set my FPS to 60.
I know..what????

Since I have my Avermedia C985 doing my encoding, wouldn't that take the load completely off my cpu and gpu??
 

Sapiens

Forum Moderator
No, using a capture card in a single PC setup is a complete waste unless you're using it to capture something like a console or a game/program that renders in such a way that none of the OBS capture sources will work with it.
 

eldiablo

Member
No, using a capture card in a single PC setup is a complete waste unless you're using it to capture something like a console or a game/program that renders in such a way that none of the OBS capture sources will work with it.

This is excellent news for me actually.
I would like to use my sexy sexy NEX-VG30h Camera as a webcam.
So, now i can do software encoding and use my C985 as my hdmi capture card for my cam.

booya.

Only problem with that...is this.
https://obsproject.com/forum/threads/c985-video-proc-amp-greyed-out.18383/

Which is a whole different problem.
 

Sapiens

Forum Moderator
I'm pretty sure that window has been grayed for my C985 for as long as I can remember, but I don't have it installed right now so I can't check.
 

eldiablo

Member
no worries! thanks for the assistance.

I am a bit anal when it comes to competitive gaming.
After 6 hours or so of gaming i started noticing a bit of fps lag again.

Ended up building a seperate cap pc and it is working excellent!
Only problem is a distinct high pitch whine on my mic
http://www.twitch.tv/eldiablo_tv/c/5078659

Not a problem for this thread. just thought i'd share my results
 

Sapiens

Forum Moderator
I used Skype to get my voice over to my encoding PC (make a second account, call the encoding PC), it worked much better than trying to mirror the mic itself via HDMI or using a splitter or whatever. A program like TeamSpeak or Mumble will work for that purpose as well.
 
Top