Bug Report High-End PC having trouble

Urf the Mudkip

New Member
Hi there

I want to start streaming using OBS, but I'm having trouble with lags.

I have a pretty potent PC; i7 2600k (3,4 GHz Quad), GTX 670, 16 GB Ram, softwares stored on an SSD. My internet's 35/25. I have Windows 7 64-bit. I also have the PC well cooled. Still, when I was using Xsplit to stream some gaming, I got 50-60 FPS in-game (League of Legends) when streaming at 720p. I know people who stream from laptops, who can get better FPS doing the same.

When I tried OBS, I practically couldn't stream on any quality setting without having 20 FPS. I'd like to support an Open Source program and I like the layout more, so I'd wish I could make it work. It also looks super smooth on other people's streams.

As far as I know, livestreaming is mostly CPU-demanding, but I'd like to think of my CPU as pretty decent. My only theory is that is might be some dissynergy between the CPU model and these programs, but I have no idea if that is even possible.

I'm going to OC my CPU in the nearest future, once my new heatsink gets here, but I'm doubtful that simply more power will solve it.

Any suggestions to reasons/solutions to my FPS issues?

Thanks in advance ^^
 

micechal

Member
Please post a log file so we can see what settings do you use. Have you tried capturing your game with Game Capture source?
 

Urf the Mudkip

New Member
I just tried the Game Capture, it seems to run much smoother, but I'd be sad to just have a black screen inbetween games. I also have to run the 32-bit version of OBS, but I have no idea what kind of impact that has.

Here's the log:

Open Broadcaster Software v0.452a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
CPU Speed: 3392MHz
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
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 670
Video Adapter Dedicated Video Memory: 2091581440
Video Adapter Shared System Memory: 2147479552
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (Blue Snowball)
------------------------------------------
Audio Encoding: MP3
bitrate: 128
------------------------------------------
Video Encoding: x264
fps: 40
width: 1920, height: 1080
preset: veryfast
CBR: no
max bitrate: 700
buffer size: 700
quality: 3
------------------------------------------
bufferTime: 2807, outputRateWindowTime: 1000, dropThreshold: 3307
Total frames rendered: 1436, number of frames that lagged: 1436 (100.00%) (it's okay for some frames to lag)
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: Mikrofon (Blue Snowball)
------------------------------------------
Audio Encoding: MP3
bitrate: 128
------------------------------------------
Video Encoding: x264
fps: 40
width: 1920, height: 1080
preset: veryfast
CBR: no
max bitrate: 700
buffer size: 700
quality: 3
------------------------------------------
bufferTime: 2984, outputRateWindowTime: 1000, dropThreshold: 3484
Total frames rendered: 257, number of frames that lagged: 257 (100.00%) (it's okay for some frames to lag)
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: 46.165 ms] [avg calls per frame: 1] [children: 98.7%] [unaccounted: 1.31%]
| scene->Preprocess - [85.9%] [avg time: 39.667 ms] [avg calls per frame: 1]
| video encoding and uploading - [12.8%] [avg time: 5.893 ms] [avg calls per frame: 1] [children: 5.22%] [unaccounted: 7.55%]
| | CopyResource - [0.0433%] [avg time: 0.02 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0065%] [avg time: 0.003 ms] [avg calls per frame: 0]
| | call to encoder - [5.14%] [avg time: 2.372 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0282%] [avg time: 0.013 ms] [avg calls per frame: 0]
==============================================================
 

Urf the Mudkip

New Member
Ok, so I tried with the Game Capture and it runs pretty well:

=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (Blue Snowball)
------------------------------------------
Audio Encoding: MP3
bitrate: 128
Using bitmap image
Using graphics capture
------------------------------------------
device: Logitech HD Webcam C525,
device id \\?\usb#vid_046d&pid_0826&mi_02#7&3582999e&0&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
chosen type: RGB24, usingFourCC: false, res: 1600x896 - 1600x896, fps: 5-30, fourCC: 00000000

Using directshow input
------------------------------------------
Video Encoding: x264
fps: 30
width: 1920, height: 1080
preset: veryfast
CBR: no
max bitrate: 20000
buffer size: 20000
quality: 8
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-3c.justin.tv/app
bufferTime: 2194, outputRateWindowTime: 1000, dropThreshold: 2694
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, GetLastError = 5
Total frames rendered: 12718, number of frames that lagged: 3 (0.02%) (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: 8.355 ms] [avg calls per frame: 1] [children: 94.9%] [unaccounted: 5.07%]
| scene->Preprocess - [7.61%] [avg time: 0.636 ms] [avg calls per frame: 1]
| video encoding and uploading - [87.3%] [avg time: 7.295 ms] [avg calls per frame: 1] [children: 47%] [unaccounted: 40.3%]
| | CopyResource - [0.323%] [avg time: 0.027 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.622%] [avg time: 0.052 ms] [avg calls per frame: 0]
| | call to encoder - [45.9%] [avg time: 3.831 ms] [avg calls per frame: 0]
| | sending stuff out - [0.203%] [avg time: 0.017 ms] [avg calls per frame: 0]
==============================================================

There are 0 lags in game and the stream is running in 1080p and with little or no lag.

I just hate that I cant capture the game client when out of the actual game.
 

XeiZ

Member
Make a second scene with monitor capture and rightclick BOTH of your scenes to set hotkeys, only way at the moment to use gamecapture for LoL while still being able to capture the lobby.
 

Urf the Mudkip

New Member
XeiZ said:
Make a second scene with monitor capture and rightclick BOTH of your scenes to set hotkeys, only way at the moment to use gamecapture for LoL while still being able to capture the lobby.

Sweet, thank you!

Now I think that my problems are pretty much solved ^^
 

dodgepong

Administrator
Community Helper
I'm a bit confused...in your OP, you said you were trying to stream at 720p, but these logs say that you are streaming at 1080p. Which do you want?

And in your second log, that bit rate is WAAAAAAY TOO HIGH! For 1080p @ 30fps video for LoL you don't really need more than 4000/4000 I'd say. 20000 is much much too high!

Use this tool to determine what your bit rate should be: http://obsproject.com/estimator
 

Xaraa

Member
If i was you i would put you bitrate down to 3000, because no streaming site with accpet 20000 or any viewer will be able to watch it.
 
Top