Question / Help Good computer - Low FPS while streaming

AquraStyle

New Member
Hello guys.
I've done all the guide for OBS on twitch TV but i dont know why i can't stream smoothly..

My Computer settings:

Intel Core i5-4590 3.3GHz 3.7Ghz
Gigabyte GA-H81M-HD3 Front USB3
MSI Radeon R9 280X Gaming 3GB GDDR5
Windows 8 64 bit

Trying to stream games like Rift, HoN etc.

My streaming log:

Code:
14:28:33: Using fixed low latency mode, factor 20
14:28:33: =====Stream Start: 2014-07-14, 14:28:33===============================================
14:28:33:  Multithreaded optimizations: On
14:28:33:  Base resolution: 1600x900
14:28:33:  Output resolution: 1600x900
14:28:33: ------------------------------------------
14:28:33: Loading up D3D10 on Intel(R) HD Graphics 4600 (Adapter 1)...
14:28:33: ------------------------------------------
14:28:33: Audio Format: 48000 Hz
14:28:33: ------------------------------------------
14:28:33: Audio Channels: 2 Ch
14:28:33: Playback device {0.0.0.00000000}.{d772b7d1-7cee-48e0-9b80-480b336a81bc}
14:28:33: ------------------------------------------
14:28:33: Using desktop audio input: רמקולים (Realtek High Definition Audio)
14:28:33: Global Audio time adjust: 0
14:28:33: ------------------------------------------
14:28:33: Using auxilary audio input: מיקרופון (Realtek High Definition Audio)
14:28:33: Mic time offset: 0
14:28:33: ------------------------------------------
14:28:33: Audio Encoding: AAC
14:28:33:  bitrate: 128
14:28:33: Using graphics capture
14:28:33: Trying to hook process: hon.exe
14:28:33: Scene buffering time set to 400
14:28:33: ------------------------------------------
14:28:33: Video Encoding: x264
14:28:33:  fps: 30
14:28:33:  width: 1600, height: 900
14:28:33:  preset: veryfast
14:28:33:  profile: main
14:28:33:  keyint: 60
14:28:33:  CBR: yes
14:28:33:  CFR: yes
14:28:33:  max bitrate: 1800
14:28:33:  buffer size: 1800
14:28:33: ------------------------------------------
14:28:33: using memory capture
14:28:34: Using RTMP service: Twitch / Justin.tv
14:28:34:  Server selection: rtmp://live-lhr.justin.tv/app
14:28:34:  Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
14:28:35: Completed handshake with rtmp://live-lhr.justin.tv/app in 989 ms.
14:28:36: SO_SNDBUF was at 8192
14:28:36: SO_SNDBUF is now 65536
14:30:27: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 128447 / 246784)
14:31:16: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 10020 / 246784)
14:31:26: Total frames encoded: 5158, total frames duplicated: 77 (1.49%)
14:31:26: Total frames rendered: 5175, number of late frames: 1 (0.02%) (it's okay for some frames to be late)
14:31:26: RTMPPublisher::SocketLoop: Graceful loop exit
14:31:26: Average send payload: 11455 bytes, average send interval: 50 ms
14:31:26: Number of times waited to send: 7, Waited for a total of 27807 bytes
14:31:26: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
14:31:26: Number of bytes sent: 38376008
14:31:26:
14:31:26: Profiler time results:
14:31:26:
14:31:26: ==============================================================
14:31:26: video thread frame - [100%] [avg time: 6.956 ms] [children: 15.7%] [unaccounted: 84.3%]
14:31:26: | scene->Preprocess - [0.0719%] [avg time: 0.005 ms]
14:31:26: | GPU download and conversion - [15.6%] [avg time: 1.085 ms] [children: 2.76%] [unaccounted: 12.8%]
14:31:26: | | flush - [1.96%] [avg time: 0.136 ms]
14:31:26: | | CopyResource - [0.561%] [avg time: 0.039 ms]
14:31:26: | | conversion to 4:2:0 - [0.244%] [avg time: 0.017 ms]
14:31:26: Convert444Threads - [100%] [avg time: 3.126 ms] [children: 99.5%] [unaccounted: 0.48%]
14:31:26: | Convert444toNV12 - [99.5%] [avg time: 3.111 ms]
14:31:26: encoder thread frame - [100%] [avg time: 4.43 ms] [children: 1.04%] [unaccounted: 99%]
14:31:26: | sending stuff out - [1.04%] [avg time: 0.046 ms]
14:31:26: ==============================================================
14:31:26:
14:31:26:
14:31:26: Profiler CPU results:
14:31:26:
14:31:26: ==============================================================
14:31:26: video thread frame - [cpu time: avg 5.26 ms, total 27222.2 ms] [avg calls per frame: 1]
14:31:26: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:31:26: | GPU download and conversion - [cpu time: avg 0.123 ms, total 639.603 ms] [avg calls per frame: 1]
14:31:26: | | flush - [cpu time: avg 0.069 ms, total 358.802 ms] [avg calls per frame: 1]
14:31:26: | | CopyResource - [cpu time: avg 0.03 ms, total 156.001 ms] [avg calls per frame: 1]
14:31:26: | | conversion to 4:2:0 - [cpu time: avg 0.009 ms, total 46.8 ms] [avg calls per frame: 1]
14:31:26: Convert444Threads - [cpu time: avg 2.813 ms, total 29031.8 ms] [avg calls per frame: 2]
14:31:26: | Convert444toNV12 - [cpu time: avg 2.804 ms, total 28938.2 ms] [avg calls per frame: 2]
14:31:26: encoder thread frame - [cpu time: avg 3.689 ms, total 19032.1 ms] [avg calls per frame: 1]
14:31:26: | sending stuff out - [cpu time: avg 0.03 ms, total 156.001 ms] [avg calls per frame: 1]
14:31:26: ==============================================================
14:31:26:
 
Last edited by a moderator:
14:28:33: Loading up D3D10 on Intel(R) HD Graphics 4600 (Adapter 1)...

This doesn't seem right. Head into the settings of OBS, and go to the Video settings. Check to see if the correct video adapter is selected. If not, try switching to your AMD card and see if that improves anything.
 

AquraStyle

New Member
Actually maybe it actually woked ,thanks will check it further now.
My second question is about Twitch-
When i keep my browser open on my own stream, it takes alot of CPU with firefox and then game begin to spike, but if i close the window then i cant see chat messages + it seems like it removes the title i put on my stream.

how is it working exactly?
 
You only need to set and update the title of your stream once. Whether or not you then keep your browser open, the title will stay the same.

Your Firefox is taking up a lot of CPU because Twitch works with Flash. Flash is very taxing. The way I used to do it (before I got a second monitor), is I just briefly check in the Twitch dashboard if the stream looks okay, and then I'll hide the video player. I usually pop out the chat so I can capture that separately. This way it also takes less screen space, and I don't actually need to have the Twitch dashboard open.

Now with two monitors I just put the stream preview and chat on my other monitor.
 

AquraStyle

New Member
actually i still have issues =[ when i stream my game is spiking a bit and not smooth. still.
should i lower the graphics? or ? i dunno =[

i have 8 GB ram
my graphic card is good
i picked the server with least latency


what can cause this?
 
You could lower the resolution of your stream. You currently have your base resolution set to 1600x900. You could use the downsample option to scale it to 1280x720 instead, or change the base resolution to that. Try and see if that works.

Actually, what do you mean with not being able to stream smoothly? Are you experiencing a drop in framerate when in-game?
 

AquraStyle

New Member
yes, game is like .. not the same as without streaming. harder to play that way. will try to lower resolution.

Just posting my current log:
Code:
16:32:42: Using fixed low latency mode, factor 20
16:32:42: =====Stream Start: 2014-07-14, 16:32:42===============================================
16:32:42:  Multithreaded optimizations: On
16:32:42:  Base resolution: 1600x900
16:32:42:  Output resolution: 1600x900
16:32:42: ------------------------------------------
16:32:42: Loading up D3D10 on AMD Radeon R9 200 Series (Adapter 2)...
16:32:42: ------------------------------------------
16:32:42: Audio Format: 48000 Hz
16:32:42: ------------------------------------------
16:32:42: Audio Channels: 2 Ch
16:32:42: Playback device {0.0.0.00000000}.{d772b7d1-7cee-48e0-9b80-480b336a81bc}
16:32:42: ------------------------------------------
16:32:42: Using desktop audio input: רמקולים (Realtek High Definition Audio)
16:32:42: Global Audio time adjust: 0
16:32:42: ------------------------------------------
16:32:42: Using auxilary audio input: מיקרופון (Realtek High Definition Audio)
16:32:42: Mic time offset: 0
16:32:42: ------------------------------------------
16:32:42: Audio Encoding: AAC
16:32:42:  bitrate: 128
16:32:42: Using graphics capture
16:32:42: Trying to hook process: hon.exe
16:32:42: Scene buffering time set to 400
16:32:42: ------------------------------------------
16:32:42: Video Encoding: x264
16:32:42:  fps: 30
16:32:42:  width: 1600, height: 900
16:32:42:  preset: veryfast
16:32:42:  profile: main
16:32:42:  keyint: 60
16:32:42:  CBR: yes
16:32:42:  CFR: yes
16:32:42:  max bitrate: 1800
16:32:42:  buffer size: 1800
16:32:42: ------------------------------------------
16:32:42: using memory capture
16:32:44: Using RTMP service: Twitch / Justin.tv
16:32:44:  Server selection: rtmp://live-lhr.justin.tv/app
16:32:44:  Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
16:32:44: Completed handshake with rtmp://live-lhr.justin.tv/app in 649 ms.
16:32:45: SO_SNDBUF was at 8192
16:32:45: SO_SNDBUF is now 65536
 
Last edited by a moderator:

AquraStyle

New Member
Hey. I'll tell you what. lowerng the resolution from 1600x900 to 1024x768 did actually help, but now the screen in twitch isnt stretched to 16:9, as the twitch should be. I mean, there are two black lines in the right and left sides and thats not cool.
any idea?
 

AquraStyle

New Member
Just, i mean, why the game is running fine at 1280 x 720 but not at 1600 x 900?
how resolution affects the way the game will be while streaming ? espeically on a good computer?
 
The higher the resolution, the more taxing it is to process. I would've indeed expected your CPU to handle x264 encoding a little better, though. You could always try and analyze your entire log (Help > Log files > Analyze last/current log file) and see if that brings up anything. I'd also like to look at it. You've been posting parts of your log so far.
 

AquraStyle

New Member
Hey.
So The analyze found 2 minor problems: 1. the server im connected to is "too slow" - 925 ms. weird, JTVping shows that this one has the lowest [75~90].

It also says "multiple video cards detected" - huh? I do have only one [and dont have like multiple drivers installs etc, installed only once].

My full log:
Code:
12:18:21: Open Broadcaster Software v0.625b - 64bit ( ^ω^)
12:18:21: -------------------------------
12:18:21: CPU Name: Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz
12:18:21: CPU Speed: 3292MHz
12:18:21: Physical Memory:  8068MB Total, 4878MB Free
12:18:21: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
12:18:21: monitor 1: pos={0, 0}, size={1280, 768}
12:18:21: Windows Version: 6.1 Build 7601 S
12:18:21: Aero is Enabled
12:18:21: -------------------------------
12:18:21: OBS Modules:
12:18:21: Base Address  Module
12:18:21: 000000003F110000 OBS.exe
12:18:21: 00000000E6550000 OBSApi.dll
12:18:21: 00000000EC860000 DShowPlugin.dll
12:18:21: 00000000EB350000 GraphicsCapture.dll
12:18:21: 00000000EB0A0000 NoiseGate.dll
12:18:21: 00000000EB070000 PSVPlugin.dll
12:18:21: ------------------------------------------
12:18:21: Adapter 1
12:18:21:  Video Adapter: Intel(R) HD Graphics 4600
12:18:21:  Video Adapter Dedicated Video Memory: 67108864
12:18:21:  Video Adapter Shared System Memory: 1711276032
12:18:21:  Video Adapter Output 1: pos={0, 0}, size={1280, 768}, attached=true
12:18:21: ------------------------------------------
12:18:21: Adapter 2
12:18:21:  Video Adapter: AMD Radeon R9 200 Series
12:18:21:  Video Adapter Dedicated Video Memory: 3202392064
12:18:21:  Video Adapter Shared System Memory: 3961903104
12:18:21: =====Stream Start: 2014-07-18, 12:18:21===============================================
12:18:21:  Multithreaded optimizations: On
12:18:21:  Base resolution: 1600x900
12:18:21:  Output resolution: 1600x900
12:18:21: ------------------------------------------
12:18:21: Loading up D3D10 on AMD Radeon R9 200 Series (Adapter 2)...
12:18:22: ------------------------------------------
12:18:22: Audio Format: 48000 Hz
12:18:22: ------------------------------------------
12:18:22: Audio Channels: 2 Ch
12:18:22: Playback device {0.0.0.00000000}.{d772b7d1-7cee-48e0-9b80-480b336a81bc}
12:18:22: ------------------------------------------
12:18:22: Using desktop audio input: רמקולים (Realtek High Definition Audio)
12:18:22: Global Audio time adjust: 0
12:18:22: ------------------------------------------
12:18:22: Using auxilary audio input: מיקרופון (Realtek High Definition Audio)
12:18:22: Mic time offset: 0
12:18:22: ------------------------------------------
12:18:22: Audio Encoding: AAC
12:18:22:  bitrate: 128
Warning -- D3D10Texture::CreateFromFile: Could not get information about texture file 'C:\Users\User\Desktop\no.jpg'
Warning -- BitmapImage::Init: could not create texture 'C:\Users\User\Desktop\no.jpg'
12:18:22: Using Slide Show
12:18:22: Using graphics capture
12:18:22: Trying to hook process: hon.exe
12:18:23: Scene buffering time set to 400
12:18:23: ------------------------------------------
12:18:23: Video Encoding: x264
12:18:23:  fps: 30
12:18:23:  width: 1600, height: 900
12:18:23:  preset: veryfast
12:18:23:  profile: main
12:18:23:  keyint: 60
12:18:23:  CBR: yes
12:18:23:  CFR: yes
12:18:23:  max bitrate: 1800
12:18:23:  buffer size: 1800
12:18:23: ------------------------------------------
12:18:23: Audio timestamp for device 'מיקרופון (Realtek High Definition Audio)' was behind target timestamp by 660858310
12:18:24: Using RTMP service: Twitch / Justin.tv
12:18:24:  Server selection: rtmp://live-lhr.justin.tv/app
12:18:24:  Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
12:18:24: using memory capture
12:18:25: Completed handshake with rtmp://live-lhr.justin.tv/app in 925 ms.
12:18:26: SO_SNDBUF was at 8192
12:18:26: SO_SNDBUF is now 65536
12:18:27: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 173 / 246784)
12:19:11: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 11116 / 246784)
12:19:13: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 524288 (buffer: 0 / 246784)
13:21:38: Capture window 0x00500702 invalid or changing, terminating capture
13:21:44: Total frames encoded: 114011, total frames duplicated: 201 (0.18%)
13:21:44: Total frames rendered: 114022, number of late frames: 2 (0.00%) (it's okay for some frames to be late)
13:21:44: RTMPPublisher::SocketLoop: Graceful loop exit
13:21:44: Average send payload: 7019 bytes, average send interval: 29 ms
13:21:44: Number of times waited to send: 0, Waited for a total of 0 bytes
13:21:44: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
13:21:44: Number of bytes sent: 918149762
13:21:44:
13:21:44: Profiler time results:
13:21:44:
13:21:44: ==============================================================
13:21:44: video thread frame - [100%] [avg time: 4.607 ms] [children: 8.9%] [unaccounted: 91.1%]
13:21:44: | scene->Preprocess - [0.0651%] [avg time: 0.003 ms]
13:21:44: | GPU download and conversion - [8.83%] [avg time: 0.407 ms] [children: 7.97%] [unaccounted: 0.868%]
13:21:44: | | flush - [7.49%] [avg time: 0.345 ms]
13:21:44: | | CopyResource - [0.391%] [avg time: 0.018 ms]
13:21:44: | | conversion to 4:2:0 - [0.0868%] [avg time: 0.004 ms]
13:21:44: Convert444Threads - [100%] [avg time: 2.233 ms] [children: 99.7%] [unaccounted: 0.313%]
13:21:44: | Convert444toNV12 - [99.7%] [avg time: 2.226 ms]
13:21:44: encoder thread frame - [100%] [avg time: 2.818 ms] [children: 1.35%] [unaccounted: 98.7%]
13:21:44: | sending stuff out - [1.35%] [avg time: 0.038 ms]
13:21:44: ==============================================================
13:21:44:
13:21:44:
13:21:44: Profiler CPU results:
13:21:44:
13:21:44: ==============================================================
13:21:44: video thread frame - [cpu time: avg 1.906 ms, total 217356 ms] [avg calls per frame: 1]
13:21:44: | scene->Preprocess - [cpu time: avg 0 ms, total 15.6 ms] [avg calls per frame: 1]
13:21:44: | GPU download and conversion - [cpu time: avg 0.113 ms, total 12979.3 ms] [avg calls per frame: 1]
13:21:44: | | flush - [cpu time: avg 0.085 ms, total 9703.27 ms] [avg calls per frame: 1]
13:21:44: | | CopyResource - [cpu time: avg 0.013 ms, total 1591.21 ms] [avg calls per frame: 1]
13:21:44: | | conversion to 4:2:0 - [cpu time: avg 0.004 ms, total 468.004 ms] [avg calls per frame: 1]
13:21:44: Convert444Threads - [cpu time: avg 2.161 ms, total 492745 ms] [avg calls per frame: 2]
13:21:44: | Convert444toNV12 - [cpu time: avg 2.156 ms, total 491778 ms] [avg calls per frame: 2]
13:21:44: encoder thread frame - [cpu time: avg 2.212 ms, total 252207 ms] [avg calls per frame: 1]
13:21:44: | sending stuff out - [cpu time: avg 0.024 ms, total 2792.41 ms] [avg calls per frame: 1]
13:21:44: ==============================================================
13:21:44:
13:21:44: =====Stream End: 2014-07-18, 13:21:44=================================================


Last game capture log:
2014-07-18, 12:18:23: we're booting up:
12:18:23: CaptureThread: attached to process hon.exe
12:18:23: GL Present
12:18:23: (half life scientist) everything..  seems to be in order
12:18:24: SwapBuffers(3120631597) Called
12:18:24: NV Capture available
12:18:24: FBO available
12:18:24: setting up gl data
12:18:24: DoGLGPUHook: wglDXOpenDeviceNV failed
12:18:24: ---------------------- Cleared OpenGL Capture ----------------------
12:18:24: DoGLCPUHook: success
12:18:24: wglSwapBuffers(3120631597) Called
12:18:24: setting up gl data
12:18:25: SwapBuffers(3120631597) Called
12:18:25: successfully capturing gl frames via RAM
13:21:38: wglDeleteContext Called
13:21:38: ---------------------- Cleared OpenGL Capture ----------------------



wat do u think?
 
Last edited by a moderator:

Sapiens

Forum Moderator
The connection to the server isn't an issue if you aren't dropping any frames, don't worry about that.

You obviously have two GPUs, the HD4600 integrated GPU on your i5-4590, and your AMD R9 200 series discrete GPU. This also isn't an issue as long as you select the right one in OBS.
 

AquraStyle

New Member
yep thats wat i thought, so anything wrong with the log or something?
I mean I wana run it 1600:900 and not something else, cuz i want full screen on twitch :{
 

AquraStyle

New Member
By the way wat do u mean by dropping frames?
I DO have this, i mean instead of running smooth, the game is running more framey..u know, like small annoying "stops" that u can still play but its just annoying and u play much worse cuz u cant use ur skills properly etc.

However I do not have lags / net issues, so I dont know what the problem is.
 

Sapiens

Forum Moderator
"Dropped frames" refers to a networking issue, not game performance. Run your game at your native resolution (1600x900 I assume?), set your base resolution in OBS to 1600x900, and use the resolution downscale option to stream at a lower resolution like 1280x720.
 

AquraStyle

New Member
I stream on Twitch which require to run the game on resoluton of 1600x900 in order to have a full-screen view, so I can't stream on 1280x720 cuz it won't show proprely on twitch
 
Top