Question / Help Upgraded GPU, stream lags while game is fine!

solidOz

New Member
Hello there o/

  • i5-4570
  • MSI Z87-G43
  • MSI GTX 970 4G Gaming (1080 for now, read below)
  • 8 GB DDR3 Ram
  • 128 GB SSD Adata Premier Pro 900
  • Nvenc

Upgraded my GPU from a GTX 970 to a GTX 1080. (I bought a completely new rig but I have to wait to like December until the new Intel CPUs are in stock again... that's why I decided to simply use the new GPU in my current pc!)

I had big hopes to solve some of my laggy issues while streaming but sadly it actually didn't change much.

Games I tried are PUBG and Overwatch. I didn't save the video so there is sadly no example of it. But we do have a log!

What happened?
I was able to increase the graphics of both games and not lag myself, at least not as much as with the 970.
If we take Overwatch as an example, I have similar FPS with Ultra as I do with Low presets. Sounds good, but for some reason, the stream is lagging when I put it on ultra. I can also constantly observe my FPS dropping down for a second to like 90 and then go back up. Very important also, my FPS keep dropping lower and lower over time. If my FPS drops start from 150 to 120, over time it changes from 110 to 90. This goes so far, I can't even play PUBG sometimes without rebooting first.

Same problem in PUBG. I was able to put the textures to High, but even though I can play the game with around 50-70 FPS, the stream is lagging crazy, much more than the game I can see on my screen. The lags are present in OBS's preview already, meaning my webcam is laggy too. (Same issue in both games!)

I am not dropping any frames, my 14-15mb upload should be enough to take care of 6000 bitrates.
I've been spending hours upon hours each day bashing my head against the wall lol

Is the CPU really not enough to handle this or do I just need more RAM? I feel like something is wrong with my PC, I have already reinstalled Windows twice. I was planning on using the PC you can see inside the log for a dual-pc stream setup, the GTX 970 goes back into it obviously once I can assemble the new one.

As a side note which could be of help:

I noticed my SSD is not running at it's full potential, I'm already trying to get help. I've opened up a Reddit post in hopes to fix my stream lags through that. (If this is the issue!)
https://www.reddit.com/r/techsupport/comments/768d1m/newold_ssds_are_underperforming/
 

Attachments

  • 2017-10-13 17-47-26.txt
    39.3 KB · Views: 75
Last edited:

solidOz

New Member
I realized, my bad, I was under the impression last log would take the last stream.
The log I edited is correct now. I'm sorry for that :)

Dead by Daylight is running fine, it isn't as demanding as Overwatch though.
 
Last edited:

Aertew

Member
I think it happened when I was recording once, I think either your PC cant handle it, and you have your recording on Ultrafast or some other setting like that so gameplay is fine but recording isn't, or idk.
 

EBrito

Active Member
From the reposted log:
23:08:40.668: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 69617 (6.1%) --> GPU overloaded
23:08:40.668: Output 'simple_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 2021 (0.2%) --> minor network problems. You can reduce a bit your bitrate to solve this.
23:08:40.670: Video stopped, number of skipped frames due to encoding lag: 107/1145725 (0.0%)

So, do not increase graphics at their best. You need to leave room for OBS to render frames. For example, reduce anysotropic filtering (from 8x to 2x) Your last option would be limiting fps to 60.
 

solidOz

New Member
Thanks for the input guys.

So the issue really is simply my PC not being strong enough.
I still don't get it though.

I can play PUBG on very low settings, or put something like textures up to high to utilize the strong GPU and take work off of the CPU. The stream is still lagging more than the game, there is no way the GPU is overloaded in this scenario, no?!

PUBG is barely using the GPU, especially when it comes to the 1080. Shouldn't there be enough room for OBS to encode with Nvenc? I see that I will have to drop Overwatches settings, didn't expect even the 1080 to struggle it's crazy. Putting OW back to low should fix this then, disappointed but what can you do, what am I going to do with a game which isn't overloading the GPU to begin with?

I feel like or have expected more performance sadly.

Let me ask a question for the future while I'm here too:

Do you think the streaming PC can handle the streaming part?
The gaming one will be strong, I would like to avoid spending even more money but I really want to fix these lag issues for good. I wanted to use my older PC as the streaming one, without any games and just streaming should work I hope?

Streaming PC:
  • i5-4570 3.2Ghz
  • MSI Z87-G43
  • MSI GTX 970 4G Gaming
  • 8GB, DDR3 Ram
  • Elgato Capture Card HD60 Pro

Gaming PC:
  • i7-8700k
  • ASUS MAXIMUS X HERO
  • GeForce GTX 1080
  • 16GB, DDR4-3200
 

EBrito

Active Member
You use two monitors. I think both have different refresh rate. I gess main monitor, where you game, is 75 Hz and the second one, with OBS is 60 Hz. This causes some issues with OBS. So, try disabling preview in OBS. You can use a web browser to check streaming is OK.


About two PC configuration, I am not expert on it. But I think your scenario should work fine.
 

solidOz

New Member
EBrito, could I ask you to look into this log too please?

I am even having small lags when I put Overwatch into low settings too. I'm so mad, sad, disappointed it's just a whole lot of negative emotions people can see on the webcam too. I want the stream to be good and I have no idea where the problem is.

I wanted to stream PUBG but given it's impossible because of the stream laggs I avoided it. All I did today was Overwatch, maybe it gives a better benchmark. Never played with the settings, just all on super low. There is no way my GTX 1080 is being overloaded, it just can't be.

It's not lagging all the time, the best word I could use to describe it is hiccups. Something is so wrong or broken to the point where it shows itself when I stream. It must be. I could cry, my god -_-

https://gist.github.com/anonymous/e53d0b2d15c06776d8ca10d5772475d1
 

MrGhostO1O

New Member
Same issue on twitch as well. The quality is much better compared to YouTube because it does not compress the video as much but sometimes the stream starts to reduce the framerate or drops frames. I have posted the log file below and here is the video: https://www.twitch.tv/videos/182254674

The log file says:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
23:28:39.327: Output 'adv_stream': stopping
23:28:39.327: Output 'adv_stream': Total frames output: 198277 (204687 attempted)
23:28:39.327: Output 'adv_stream': Total drawn frames: 204908 (204917 attempted)
23:28:39.327: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 9 (0.0%)
23:28:39.327: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 6410 (3.1%)
23:28:39.329: ==== Streaming Stop ================================================
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Is the 3.1% far too high or still reasonable?
I will try to change the server and then lower the bitrate slightly from 6000 to see if the issue is resolved with similar quality.
Any other suggestions?
 

Attachments

  • 2017-10-14 22-02-59.txt
    20.4 KB · Views: 12

EBrito

Active Member
EBrito, could I ask you to look into this log too please?

I am even having small lags when I put Overwatch into low settings too. I'm so mad, sad, disappointed it's just a whole lot of negative emotions people can see on the webcam too. I want the stream to be good and I have no idea where the problem is.

I wanted to stream PUBG but given it's impossible because of the stream laggs I avoided it. All I did today was Overwatch, maybe it gives a better benchmark. Never played with the settings, just all on super low. There is no way my GTX 1080 is being overloaded, it just can't be.

It's not lagging all the time, the best word I could use to describe it is hiccups. Something is so wrong or broken to the point where it shows itself when I stream. It must be. I could cry, my god -_-

https://gist.github.com/anonymous/e53d0b2d15c06776d8ca10d5772475d1
================
After four and a half hour streaming:

23:30:56.559: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 5681 (0.8%)
23:30:56.559: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 92 (0.0%)
23:30:56.560: [rtmp stream: 'adv_stream'] Freeing 1 remaining packets
23:30:56.560: Video stopped, number of skipped frames due to encoding lag: 4/698245 (0.0%)

This log show very minor problems.
As you said, this is not really laggy. Some minor incidents.

Rendering lag: try capping FPS ingame.
Insufficient bandwith:
Use https://r1ch.net/projects/twitchtest
TCP Window 64k and test duration 30 secs.
This will show you the best Twitch ingest server for you.
Or you can try Advanced settings --> Enable new networking code and low latency mode
 

solidOz

New Member
I was already using the best server I could.
Tomorrow I will test the New Networking Code.

I forgot to say, these are my numbers on the screen:
screen1: 144hz
screen2: 120hz

They are running with those numbers at least in the Nvidia Panel!
 

MrGhostO1O

New Member
I run two montiors with different frequences too. This, along with to high bitrate and insufficient server, may be the main sources of our problems with output framerate drop. Will test it out later today.
 

Harold

Active Member
Yes it's actually true and physical proximity has no bearing on your connection quality to the server.
 

solidOz

New Member
So what are we getting at?

Drop the 144 hz screen down to 120 so both are at 120?

I will do that now and enable the New Network Code and see how it goes for today.
 
Last edited:

solidOz

New Member
Nothing changed tbh, it's not an OBS issue. Over time I'm still dropping to like 88fps and go back up.
Could a RAM upgrade help with this? It's impossible to diagnose it for you guys too, since I can't deliver any information we could work with. I don't know where to look to troubleshoot it.

The SSD is the only thing which I know for sure is underperforming, but I can't find a person to help me on it.
https://www.reddit.com/r/techsupport/comments/768d1m/newold_ssds_are_underperforming/

Every time the stream laggs, I see a noticeable drop in my in-game FPS too. It's still high I mind you, it drops to like 90 from 145 (I put the FPS limit to hz+1).
 

solidOz

New Member
Looks like the issue was with my SSD.
I uninstalled PUBG on my SSD and installed it on my HDD. The lags on stream disappeared.

I can't tell you guys why but it strangely fixed the issue. I will have to test Overwatch tomorrow, but I'm very confident that should be fine too.
 

MrGhostO1O

New Member
Why would you install games on your SSD in the first place. Top priority for SSD are OS and only a few minor softwares.
 
Top