Question / Help What ports to open?

Stonehaven

New Member
What port range should i open if i think im having related issues?

Basically what happens is OBS is causing me to get 3-4 sec lag spikes when i play battlerite, I didnt used to have these issues they just seemed to develope. I dont get any lag spikes when im not streaming even if OBS is still open.

I had a similar issue with discord where i would get disconnected now and then, then it would auto reconnect. They had me open some ports and that fixed it.
 

Fenrir

Forum Admin
There are no ports to open for OBS. If you're having issues with lag, it's likely your connection is having problems.

That said, RTMP operates over port 1935, but it's kind of a "it works" or "it doesn't work" thing. Opening a port won't fix this kind of issue.
 

Stonehaven

New Member
My connection hasn't changed and obs ran fine on my old pc after i got some help from the forums here; and my old pc was a lot worse off than this new one, the only thing changed is i got a new pc but it was fine for a few weeks till i noticed the lag i am getting in battlerite, i also haven't been streaming too much for a few weeks before a week or so ago.

If it were my internet connection i would continue to get the lag even when OBS is closed, and i would notice lag in other games i play online but that isnt the case. Only happens when OBS is streaming.

Here is a log file i created after i started noticing lag during a stream, not sure if it help: https://gist.github.com/8496de812e61143ef99c3f8bf95c2ff2

And PC Specs:
AMD FX 8350 octo-core CPU
AMD Radeon R9 380 GPU
16GB RAM
Windows 10 pro 64bit
Network connection is 50 down 10 up from Spectrum (time warner)
 

Fenrir

Forum Admin
If it were my internet connection i would continue to get the lag even when OBS is closed, and i would notice lag in other games i play online but that isnt the case. Only happens when OBS is streaming.

What? This comment doesn't make any sense. OBS uses a fair bit of your connection to stream, so it absolutely makes sense that you'd see issues while streaming.

Try the twitch test tool here: http://www.teamliquid.net/forum/tech-support/478845-twitchtest-twitch-bandwidth-tester
 

Benman2785

Member
when you dont live in USA why use their servers? if u r in USA your ISP has shitty pings

do u use h264? it takes a lot of CPU -> if your Game also requires CPU you will have dropped frames - and in some extreme cases your game will lag

try to use AMF Encoder
 

Harold

Active Member
Dropped frames as reported in the status bar of OBS have precisely NOTHING to do with the encoder.
 

Harold

Active Member
Skipped frames are not dropped frames, so no they won't show up in the dropped frames in the main window.
 

Harold

Active Member
But the two problems have completely different troubleshooting steps, so you should NOT be dealing with encoder selection when dealing with dropped frames.
 

Stonehaven

New Member
when you dont live in USA why use their servers? if u r in USA your ISP has shitty pings

do u use h264? it takes a lot of CPU -> if your Game also requires CPU you will have dropped frames - and in some extreme cases your game will lag

try to use AMF Encoder

You mean the AMD Encoder? AMD and x246 is all that show for encoders
 

Stonehaven

New Member
hmm I just streamed Saints Row last night and the lag translates into that game as well so its not network lag because saints row isn't a network game (or at least I wasn't using network features), OBS is creating some other type lag. The game just freezes for about 3 or 5 seconds...
 

Fenrir

Forum Admin
hmm I just streamed Saints Row last night and the lag translates into that game as well so its not network lag because saints row isn't a network game (or at least I wasn't using network features), OBS is creating some other type lag. The game just freezes for about 3 or 5 seconds...

Can you grab the log from that streaming session?
 

DrizzintahL

New Member
If you run OBS then your game lags (or anything else) that means you're most likely using the same hardware for encoding and for the game. x264 is pretty good since it can give the highest quality, but it uses your CPU, so you'd need a pretty beefy CPU to play a cpu intensive game and stream on that setting. whatever AMD calls it, or nVidia's NVENC is using the GPU, but also utilizes a lot less and sometimes looks pretty bad compared to CPU streaming, but that'll depend on your hardware and other settings.

Anytime you're having issues with OBS (or anything, honestly) open up your perfmon (with windows 10 it'll show you GPU usage too, which is awesome) and have it up on the other screen, anything spiking above 85% is probably a bottleneck, you can then see which processes are using that device the most and go from there. Raising the CPU Encoding Speed in OBS will make it look worse but use less CPU; it's all about finding the mix that works for you, as there is never going to be "one setting to rule them all"
 
Top