Frames Missed due to rendering lag (I7-10700K & EVGA FTW3 ULTRA RTX 3090)

fieldgoal00

New Member
I stream every night using OBS on Twitch. For almost a year I've been using a GTX-1080TI and using x264 for encoding. Last week I updated my system with an EVGA FTW3 Ultra RTX-3090. I mainly play Destiny 2, COD Black Ops Cold War and Valheim (1440P @ 165HZ). I have two monitors, a Viewsonic Elite 27" 1440P 165HZ as my main gameplay monitor and a 1080P 144HZ monitor as my second monitor.
I noticed last night, since last night was the first time I've played COD since I added the RTX-3090 to my system that when I was streaming all of the sudden I was having consistent "Frames missed due to rendering lag" show up on the OBS Stats screen. When I stream any other gameplay such as Destiny 2 or Valheim I've never had and issue and I've also never had an issue like this before streaming COD when I had the GTX-1080TI installed in the system.
Any help would be greatly appreciated.
 

FerretBomb

Active Member
Please post a logfile from a live streaming or recording session at least 30 seconds in length, when the problem was occurring. We can take a look and diagnose the issue, but we *need* the log to tell what's going on.
 

fieldgoal00

New Member
I will stream again tonight with the same settings and save a log file.
On another note, I did see that someone else posted issues with COD after the season 2 update as well. It may be a software issue related to the game affecting this. Like I said, I streamed for 4 hours last night before switching to COD and I had no issues.
Does OBS always save log files or do I have to tell it to save a log file?
 

FerretBomb

Active Member
I will stream again tonight with the same settings and save a log file.
On another note, I did see that someone else posted issues with COD after the season 2 update as well. It may be a software issue related to the game affecting this. Like I said, I streamed for 4 hours last night before switching to COD and I had no issues.
Does OBS always save log files or do I have to tell it to save a log file?
It always saves a logfile. They're saved in %appdata%\obs-studio\logs and date/timestamped with when OBS was started.
The other guy was recording in RGBA, which forces CPU encoding.
Chances are good (almost absolutely certain) you aren't doing that, so that isn't your problem.
 

fieldgoal00

New Member
It always saves a logfile. They're saved in %appdata%\obs-studio\logs and date/timestamped with when OBS was started.
The other guy was recording in RGBA, which forces CPU encoding.
Chances are good (almost absolutely certain) you aren't doing that, so that isn't your problem.
 

Attachments

  • 2021-03-02 18-36-24.txt
    172.8 KB · Views: 12

FerretBomb

Active Member
Your first streaming session in that log was using software x264 Veryfast encoding:
23:48:41.991: Output 'simple_stream': Total frames output: 1123341 (1123737 attempted)
23:48:41.991: Output 'simple_stream': Total drawn frames: 1102629 (1123848 attempted)
23:48:41.991: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 21219 (1.9%)
23:48:41.991: Output 'simple_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 396 (0.0%)
This could be the result of GPU overload by the game. Running as Admin does allow the GPU priority workaround, but some games ignore it. The traditional fixes of using a frame limiter, turning down in-game visual options, or enabling vsync to curb game GPU usage would be recommended. If a game is running un-throttled, no matter the hardware it may simply use all of the capacity available.

Your second and third streaming attempts both use NVENC, and show zero rendering lag/stalls. They're also considerably shorter; only a couple of minutes, and a few seconds respectively. From the logs, I would guess that during these two, the game was not actually running.

As a side note (possibly related), you are using multiple Display Capture sources in your scenes ('Display Capture' and 'blur' for Monitor 1, 'Bandwidth' and 'Display Capture 2' for Monitor 2) which absolutely can conflict and cause performance problems.
Display Capture is the least-performant capture method and should be avoided at all costs (especially when capturing games!); having one in a scene with a Game or Window Capture can cause rendering lag. A few of your scenes do include Window Captures.
As far as having multiple, it's a better idea to use a single Display Capture, and if filters or alternate cropping are needed, add the second copy (of one DC) to a Group in the scene, and apply those per-scene filters to the Group. You can also install Xaymar's StreamFX plugin pack and use the Source Mirror sourcetype to create a global filterable duplicate without the risk of multiple-capture interference.
 
Top