Question / Help Obs-studio drop frames only when playing lol

winefold

New Member
#main Question
My OBS classic can stream league of legends with no droppedframes.
But my OBS studio can barely upload once lol(main-game / client is fine) is opened.
So I can see that there's no problem with my internet or ports.

I have been streaming for few years and with lots games.
I used to use OBS classic and games are fine but there's always some games that I couldn't game capture(like DBD , pubg).

So, I use OBS studio to capture other games that I couldnt capture by classic.
And now there's the problem, that "only" drops frames when I play league of legend.

Pubg is a game that needs more sources from PC, it doesn't frame drop, and others too.

Can someone help me setting my OBS?
It's kind of weird that I have to switch to the other OBS for streaming other games.
I hope I can only need studio for streaming.

log file:
https://gist.github.com/c5d3c6f778d1485f18ad2711dc664f6e
 
Last edited:
Your uploaded logfile includes a recording, not a streaming attempt and it is far too short to be of real value for troubleshooting, unfortunately.

Can you upload another logfile please, this time with a few minutes' worth of streaming attempt, doing what you would normally do in-game. It will greatly assist in further troubleshooting.
 
@winefold
The below parts of your logfile shows you have render (GPU) lag and network bandwidth lag:
20:28:03.513: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 183 (2.2%)
20:28:03.513: Output 'simple_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 1595 (19.2%)
I would hazard a guess that your render lag is as result of your network lag, your bandwidth speed is not sufficient to handle the data being sent when you stream. Can you go to the below site and download the TwitchTest tool, it will help you find the best server based upon your location, for optimal streaming throughput via Twitch.tv:
https://r1ch.net/projects/twitchtest
You also have a killer network interface card, which is reported to be problematic when streaming (& quite likely to be the cause of the issue at hand) The below link is to the killernetworking.com site for a driver only package download for better compatibility. You need to completely uninstall your previous NIC drivers and killer networking software before installing the driver only package:
http://www.killernetworking.com/driver-downloads/category/other-downloads

@mrmadnessmd
You really should create your own thread for more personalized troubleshooting as every configuration is different...
Your logfile shows you have GameDVR and GameBar turned on, you should turn them off via Windows OS Settings for better compatibility.
Your logfile also shows you have Game Capture and Monitor Capture in the same scene, this will conflict, you need to create a separate scene for your Xbox monitor capture.
You also have the same NIC as Winefold, you should follow the same steps as outlined.
 

winefold

New Member
@winefold
The below parts of your logfile shows you have render (GPU) lag and network bandwidth lag:
20:28:03.513: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 183 (2.2%)
20:28:03.513: Output 'simple_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 1595 (19.2%)
I would hazard a guess that your render lag is as result of your network lag, your bandwidth speed is not sufficient to handle the data being sent when you stream. Can you go to the below site and download the TwitchTest tool, it will help you find the best server based upon your location, for optimal streaming throughput via Twitch.tv:
https://r1ch.net/projects/twitchtest
You also have a killer network interface card, which is reported to be problematic when streaming (& quite likely to be the cause of the issue at hand) The below link is to the killernetworking.com site for a driver only package download for better compatibility. You need to completely uninstall your previous NIC drivers and killer networking software before installing the driver only package:
http://www.killernetworking.com/driver-downloads/category/other-downloads

Thanks a lot, I changed my driver to killerdriver, and it's solved. :D
 

winefold

New Member
Glad it helped, can you upload an updated logfile so I can see the difference please.

Sorry that I found out it still has the same problem the second day.
Really weird :(

studio (re-update 2hrs normal streaming games //no frame dropped,
and 1 hr on league after that //should be the problem part with lots dropped frames)

https://gist.github.com/1d7ea68040ba0668cbcc6e0ddcea91b5

classic (this one can stream normally)
https://gist.github.com/388f10b9547c8c4fe17b331ada7e4d37
 
Last edited:
In your latest logfile you are forcing shared memory (Multi-Adapter compatibility, right-click the game source and select properties to locate the option) to capture the game with TslGame.exe (PUBG?) which runs a lot slower and is designed to support SLI/x-Fire configurations as OBS can only utilize one GPU.
As it implies, forcing shared memory grabs the frame from your system RAM, whereas Game Capture grabs the frame from your GPU VRAM which is not only a lot faster, also a little earlier in the rendering pipeline.

Are you using wireless connection? If so, an Ethernet connection will most likely be far more stable for streaming as wireless connections can tend to buffer then burst stream the data a lot more.
 

winefold

New Member
Your new log with OBS 20.1.3 shows no connection issues.
In your latest logfile you are forcing shared memory (Multi-Adapter compatibility, right-click the game source and select properties to locate the option) to capture the game with TslGame.exe (PUBG?) which runs a lot slower and is designed to support SLI/x-Fire configurations as OBS can only utilize one GPU.
As it implies, forcing shared memory grabs the frame from your system RAM, whereas Game Capture grabs the frame from your GPU VRAM which is not only a lot faster, also a little earlier in the rendering pipeline.

Are you using wireless connection? If so, an Ethernet connection will most likely be far more stable for streaming as wireless connections can tend to buffer then burst stream the data a lot more.

Sorry that I just found out I uploaded the wrong file
https://gist.github.com/anonymous/019d908a9dfbe132f3b471296356c3af
This one should do ( This one has 10 mins in lol lobby -> 5 mins ingame (*the only droppedframe part )-> 4mins back in lobby).
The last file I uploaded should be PUBG with no frame dropped.
I had been streaming for years, so the internet connection should be no problem, and it's wired.
And I had changed the way game captured , thanks.
 
No problem on logfile,

From your latest uploaded logfile:
19:41:15.265: Output 'simple_stream': Total frames output: 25801 (34488 attempted)
19:41:15.265: Output 'simple_stream': Total drawn frames: 34364 (34635 attempted)
19:41:15.265: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 271 (0.8%)
19:41:15.265: Output 'simple_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 8687 (25.2%)

You definitely do have some bandwidth issues going on, not entirely sure as to why it would be an issue for only one game and none others, or why it would be intermittent between logs.

Did you try using the TwitchTest tool I linked previously?
What is your ping like when in-game? Is it stable?

Not sure how to proceed as normally the issues would be for any game when streaming are bandwidth related, not just a single game.

Some potential causes, disregarding the factor of it being just one game having issues:
Congestion on your network
Bandwidth capped due to data allowance being exceeded
Internet Service Provider is having some issues in your area
Stream service provider you are using is having issues with their ingest servers
Modem/Router issues, network interface card issues or network driver related issues.

Can you enable the 'New Networking Code' in OBS options, try another stream attempt and upload the associated logfile please.
 

winefold

New Member
No problem on logfile,

From your latest uploaded logfile:
19:41:15.265: Output 'simple_stream': Total frames output: 25801 (34488 attempted)
19:41:15.265: Output 'simple_stream': Total drawn frames: 34364 (34635 attempted)
19:41:15.265: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 271 (0.8%)
19:41:15.265: Output 'simple_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 8687 (25.2%)

You definitely do have some bandwidth issues going on, not entirely sure as to why it would be an issue for only one game and none others, or why it would be intermittent between logs.

Did you try using the TwitchTest tool I linked previously?
What is your ping like when in-game? Is it stable?

Not sure how to proceed as normally the issues would be for any game when streaming are bandwidth related, not just a single game.

Some potential causes, disregarding the factor of it being just one game having issues:
Congestion on your network
Bandwidth capped due to data allowance being exceeded
Internet Service Provider is having some issues in your area
Stream service provider you are using is having issues with their ingest servers
Modem/Router issues, network interface card issues or network driver related issues.

Can you enable the 'New Networking Code' in OBS options, try another stream attempt and upload the associated logfile please.

First of all, I'll have to say thank you for helping.

Yea I tried few twitch servers, but my OBS classic works fine, so don't think the server is the problem.
And this log file is linked to a new platform called kingkong not twitch.
My in-game ping is under 30, it's pretty fast and stable.
And I remember the chicago twitch server ping for me is around 30 too (I'm trying the auto for server).
I did tick the new networking code already for my last log.

New log file connect to my local LAN by Monaserver :
https://gist.github.com/anonymous/ca650adb9076d0f7571df60238d81a8f

So, I can be sure that it shouldn't be the server's problem.
The framedropped hard after 4mins where I started in-game.

I think it's just the studio's setting that may be somewhere I need to change.
Thanks, once again.
 
Can you do a few minutes' worth of streaming attempt with another game (Using your own rtmp server you have set up) using the same OBS streaming settings and configuration as you would for LoL, closing down OBS after you have finished the stream attempt and upload the logfile please, for a comparison stream attempt.

Again, not sure why it would be affecting just one game in particular, especially with ~40% dropped frames due to bandwidth issues.
 
Top